/* Cadastros de gestão no layout aprovado (G1 a G4) — 1.5.35 */
.g-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.g-carregando { padding: 8px 0; color: #5E5A53; font-size: 14px; }
.g-h1 { margin: 0 0 14px; font-family: var(--titulo); font-size: 30px; font-weight: 700; line-height: normal; }
.g-sem-topo { display: none; }
.g-sub:has(.g-topo-ficha) .c-topo { padding-bottom: 0; }
.g-ctx-l { margin-top: 6px; }
.g-pad0 { padding: 0 0 10px; }
/* G2 */
.g2-prog { margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid #DFE6DC; display: flex; flex-direction: column; gap: 8px; }
.g2-prog > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.g2-prog span { color: #5E5A53; }
.g2-barra { height: 6px; border-radius: 3px; background: #DFE6DC; overflow: hidden; }
.g2-barra span { display: block; height: 6px; background: var(--marca); }
.g2-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.g2-item { display: flex; gap: 14px; position: relative; }
.g2-marca { width: 28px; height: 28px; margin-top: 10px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; box-sizing: border-box; }
.g2-ok .g2-marca { background: #1D6B3F; color: #FFFFFF; }
.g2-alerta .g2-marca { background: #E3F1E8; color: #06602D; }
.g2-falta .g2-marca { border: 2px dashed #D0D9CD; color: #8A857C; }
.g2-corpo { flex-grow: 1; min-width: 0; border-bottom: 1px solid #DFE6DC; padding: 10px 0 12px; display: flex; flex-direction: column; gap: 2px; }
.g2-item:last-child .g2-corpo { border-bottom: 0; }
.g2-tit { font-size: 16px; font-weight: 600; color: #1C1B19; text-decoration: none; }
.g2-tit::after { content: ""; position: absolute; inset: 0; }
.g2-sub { font-size: 13px; color: #5E5A53; }
.g2-alerta .g2-sub { color: #B3261E; font-weight: 500; }
.g2-acao { position: relative; z-index: 1; align-self: flex-start; margin-top: 4px; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--marca); color: #FFFFFF; display: flex; align-items: center; font-size: 14px; font-weight: 600; text-decoration: none; }
/* G1 */
.g1-abas { display: flex; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.g1-abas button { padding: 0 0 4px; min-height: 32px; border: 0; border-bottom: 2px solid transparent; background: none; font-family: var(--font); font-size: 13px; color: #5E5A53; cursor: pointer; }
.g1-abas button.on { color: #1C1B19; font-weight: 600; border-bottom-color: var(--marca); }
.g1-abas button.g1-alerta:not(.on) { color: #B3261E; font-weight: 500; }
.g1-lista { display: flex; flex-direction: column; }
.g1-linha, .g1-ficha-topo { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #DFE6DC; background: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; font-family: var(--font); color: #1C1B19; cursor: pointer; }
.g1-ficha-topo { border-bottom: 0; padding: 0; align-items: flex-start; }
.g1-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g1-nome { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.g1-sub { font-size: 13px; color: #5E5A53; }
.g1-sub-alerta { color: #B3261E; font-weight: 500; }
.g1-ficha { margin: 8px 0; padding: 14px; border-radius: 16px; background: #FFFFFF; border: 1px solid #DFE6DC; display: flex; flex-direction: column; gap: 10px; }
.g1-tag { flex: none; font-size: 12px; font-weight: 600; color: #B3261E; }
.g1-info { font-size: 13px; color: #5E5A53; }
.g1-acoes { display: flex; gap: 8px; }
.g1-b1, .g1-b2 { height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; text-decoration: none; }
.g1-b1 { flex-grow: 1; background: var(--marca); color: #FFFFFF; }
.g1-b2 { padding: 0 14px; border: 1px solid #D0D9CD; background: #FFFFFF; color: #1C1B19; }
.g1-novo { position: sticky; bottom: calc(96px + var(--safe-b)); padding: 16px 0 0; }
.g1-novo-btn { width: 100%; display: flex; align-items: center; justify-content: center; text-decoration: none; }
/* G3 */
.g3 { display: flex; flex-direction: column; gap: 18px; padding-bottom: 96px; }
.g3-topo { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.g3-av { width: 56px; height: 56px; border-radius: 28px; background: #1C1B19; color: #F7F9F6; display: flex; align-items: center; justify-content: center; font-family: var(--titulo); font-size: 20px; font-weight: 700; flex: none; }
.g3-nome { margin: 0; font-family: var(--titulo); font-size: 24px; font-weight: 700; line-height: normal; }
.g3-meta { font-size: 13px; color: #5E5A53; }
.g3-bloco { display: flex; flex-direction: column; gap: 6px; }
.g3-bloco .c-sec { margin-bottom: 0; }
.g3-cab { display: flex; justify-content: space-between; align-items: center; }
.g3-cab a { font-size: 13px; font-weight: 600; text-decoration: none; }
.g3-lot { padding: 14px 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid #DFE6DC; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.g3-lot span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g3-lot small { font-size: 12px; color: #5E5A53; }
.g3-lot b { font-size: 14px; overflow-wrap: anywhere; }
.g3-obs, .g3-vazio { font-size: 13px; color: #5E5A53; }
.g3-riscos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.g3-risco { padding: 6px 10px; border-radius: 14px; font-size: 13px; font-weight: 500; }
.g-r-alto { background: #FBE4E2; color: #B3261E; } .g-r-medio { background: #E3F1E8; color: #06602D; } .g-r-baixo { background: #E8EEE6; color: #3A3833; }
.g3 .c-kv { margin-top: 0; padding: 10px 0; }
.g3 .c-kv b { font-weight: 600; }
.g3-ok { color: #1D6B3F; } .g3-prev { color: var(--marca); } .g3-atraso { color: #B3261E; }
.g3-hist { display: flex; gap: 12px; font-size: 13px; padding: 6px 0; }
.g3-hist span:first-child { width: 44px; flex: none; color: #5E5A53; }
.g3-mais { font-size: 13px; font-weight: 600; }
.g3-editar { display: flex; align-items: center; justify-content: center; text-decoration: none; }
/* G4 */
.g4 { margin: 0 -20px; padding-bottom: 100px; }
@media (min-width: 900px) { .g4 { margin: 0; } }
.g4-topo { padding: calc(24px + var(--safe-t)) 20px 14px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid #DFE6DC; }
.g4-linha { display: flex; justify-content: space-between; font-size: 13px; color: #5E5A53; }
.g4-topo h1 { margin: 0; font-family: var(--titulo); font-size: 24px; font-weight: 700; line-height: normal; }
.g4-form { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 14px; }
.g4-form .c-sec { margin-bottom: 0; }
.g4-sec { margin-top: 6px; }
.g4-campo { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.g4-campo input, .g4-campo select { height: 48px; min-height: 48px; border: 1px solid #DFE6DC; border-radius: 12px; padding: 0 14px; font-family: var(--font); font-size: 15px; font-weight: 400; background: #FFFFFF; color: #1C1B19; }
.g4-opc { font-weight: 400; color: #5E5A53; }
.g4-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.g4-chips button { height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid #D0D9CD; background: transparent; font-family: var(--font); font-size: 14px; color: #1C1B19; cursor: pointer; }
.g4-chips button.on { border-color: #1C1B19; background: #1C1B19; color: #F7F9F6; font-weight: 600; }
.g4-chips .g4-outras { border-style: dashed; color: #5E5A53; }
.g4-form select#g4-sel { height: 48px; border: 1px solid #DFE6DC; border-radius: 12px; padding: 0 10px; font-size: 15px; background: #FFFFFF; }
.g4-duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#g4-ghe { display: flex; flex-direction: column; gap: 10px; }
#g4-ghe:empty { display: none; }
.g4-sug { padding: 12px 14px; border-radius: 12px; background: #E3F1E8; color: #06602D; font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.g4-sug b { font-weight: 600; }
.g4-sug-falta { background: #E8EEE6; color: #3A3833; }
.g4-aviso { font-size: 13px; color: #B3261E; font-weight: 400; }
.g4-erro { color: #B3261E; font-size: 14px; }
.g4-erro:empty { display: none; }
.g4 .c-rodape a, .g3 .c-rodape a { text-decoration: none; }
.g1, .g2, .g3, .g4 { line-height: normal; color: #1C1B19; }
.g2 .g-h1 { margin-top: -8px; }
.g3-cab a { color: var(--marca); }
.g3 .c-kv span { color: #1C1B19; }
.g4-trocar { align-self: flex-start; margin-top: 4px; padding: 0; min-height: 32px; border: 0; background: none; color: #06602D; font-family: var(--font); font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
/* Início da Gestão (H1/H2, 1.5.36): escolha da empresa e obra por cartões; com a obra escolhida, indicadores e as três áreas em cartões. */
.tela-c.g-home { max-width: 1080px; }
.g-home ~ .g-conteudo { display: none; }
.g-home .c-topo { padding-bottom: 18px; }
.g-home .c-topo h1 { font-size: 32px; }
.gh-corpo, .gh-vazio-grid { padding: 0 20px 32px; }
.gh-av { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #EDF2EB; color: #1C1B19; display: flex; align-items: center; justify-content: center; font-family: var(--titulo); font-size: 14px; font-weight: 700; }
.gh-av-esc { width: 44px; height: 44px; border-radius: 12px; background: #1C1B19; color: #F7F9F6; font-size: 15px; }
.gh-seta { color: #B5AFA4; font-size: 18px; line-height: 1; }
.gh-vazio-grid { display: grid; gap: 22px; }
.gh-pick { border: 1px solid #DFE6DC; border-radius: 20px; background: #FFFFFF; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.gh-pick h2 { margin: 0; font-family: var(--titulo); font-size: 22px; font-weight: 700; }
.gh-pick > p { margin: 0 0 6px; color: #5E5A53; font-size: 14px; line-height: 1.45; }
.gh-esc { width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 14px; border: 1px solid #DFE6DC; border-radius: 14px; background: #FFFFFF; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.gh-esc:hover { border-color: #BCD3C3; }
.gh-esc:focus-visible { outline: 2px solid #0A7F3B; outline-offset: 2px; }
.gh-esc.on { border-color: #0A7F3B; box-shadow: 0 0 0 3px #E3F1E8; }
.gh-esc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gh-esc-t b { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.gh-esc-t span { font-size: 13px; color: #5E5A53; }
.gh-sec-uni { margin-top: 12px; }
.gh-vazio { margin: 4px 0; font-size: 14px; color: #5E5A53; }
.gh-prev { display: flex; flex-direction: column; gap: 12px; }
.gh-prev .gh-card { opacity: .6; padding-bottom: 16px; }
.gh-card { border: 1px solid #DFE6DC; border-radius: 18px; background: #FFFFFF; padding: 18px 18px 6px; display: flex; flex-direction: column; }
.gh-card h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.gh-card h3 i { width: 30px; height: 30px; flex: none; border-radius: 9px; background: #EDF2EB; display: inline-flex; align-items: center; justify-content: center; }
.gh-card svg { width: 18px; height: 18px; fill: none; stroke: #1C1B19; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gh-card p { margin: 2px 0 10px 40px; font-size: 13px; color: #5E5A53; }
.gh-prev .gh-card p { margin-bottom: 0; }
.gh-ctx { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #DFE6DC; border-radius: 16px; background: #FFFFFF; margin-bottom: 16px; }
.gh-ctx-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gh-ctx-t b { font-size: 16px; font-weight: 600; }
.gh-ctx-t span { font-size: 13px; color: #5E5A53; }
.gh-trocar { height: 38px; padding: 0 14px; border: 1px solid #D0D9CD; border-radius: 10px; background: #FFFFFF; color: #1C1B19; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; flex: none; }
.gh-trocar:hover { border-color: #0A7F3B; color: #0A7F3B; }
.gh-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.gh-kpi { padding: 14px 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid #DFE6DC; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gh-kpi span { font-size: 13px; color: #5E5A53; }
.gh-kpi b { font-family: var(--titulo); font-size: 28px; font-weight: 700; line-height: 1.2; }
.gh-kpi small { font-size: 12px; font-weight: 600; min-height: 16px; }
.gh-kpi.gh-alerta { background: #E3F1E8; border-color: #F6CDB0; }
.gh-kpi.gh-alerta b, .gh-kpi.gh-alerta small { color: #06602D; }
.gh-areas { display: grid; gap: 14px; }
.gh-ln { display: flex; align-items: center; gap: 8px; min-height: 46px; border-top: 1px solid #E8EEE6; color: #1C1B19; text-decoration: none; font-size: 14px; font-weight: 500; }
.gh-ln > span:first-child { flex: 1; }
.gh-ln:hover > span:first-child { color: #0A7F3B; }
.gh-tag:empty { display: none; }
.gh-tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 12px; background: #E8EEE6; color: #3A3833; white-space: nowrap; }
.gh-tag.o { background: #E3F1E8; color: #06602D; }
.gh-tag.r { background: #FBE4E2; color: #B3261E; }
.gh-tag.g { background: #E3F1E8; color: #1D6B3F; }
.gh-atalhos { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.gh-atalhos a { padding: 8px 14px; border: 1px solid #DFE6DC; border-radius: 20px; background: #FFFFFF; color: #1C1B19; font-size: 13px; font-weight: 500; text-decoration: none; }
.gh-atalhos a:hover { border-color: #0A7F3B; color: #0A7F3B; }
@media (min-width: 900px) {
  .gh-corpo, .gh-vazio-grid { padding: 0 0 40px; }
  .g-home .c-topo { padding-left: 0; padding-right: 0; }
  .gh-vazio-grid { grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
  .gh-pick { padding: 24px; }
  .gh-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
  .gh-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gh-ctx { margin-bottom: 24px; padding: 14px 18px; }
}
/* Empresas — amostra aprovada: Empresa em foco. */
.ef-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.ef-page-header .mod-breadcrumb{margin:0}
.empresas-foco{color:#20352c;max-width:1200px;margin:auto}.empresas-foco *{box-sizing:border-box}.ef-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.ef-heading h1{font-size:33px;font-weight:500;letter-spacing:-1px;line-height:1.2;margin:0 0 8px}.ef-heading p{font-size:14px;color:#65756c;margin:0}.ef-primary,.ef-edit{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 17px;border-radius:8px;text-decoration:none;font-size:13px;font-weight:500;flex-shrink:0}.ef-primary{background:#243c31;color:white}.ef-primary:hover{background:#135d40;color:white}.ef-edit{color:#263e32;border:1px solid #d7e1da;background:white}.ef-edit:hover{background:#f0f6f1}.ef-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.ef-search{display:flex;align-items:center;gap:10px;flex:1;max-width:410px;background:#fff;border:1px solid #dce4dd;border-radius:9px;padding:0 14px}.ef-search svg{width:17px;height:17px;flex-shrink:0;color:#73877c}.ef-search input{width:100%;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;margin:0;padding:12px 0;min-height:44px;font:inherit;font-size:13px}.ef-search:focus-within{outline:2px solid #26845b;outline-offset:2px}.ef-count{color:#718077;font-size:12px;white-space:nowrap}.ef-switcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px;max-height:270px;overflow:auto}.ef-choice{display:flex;align-items:center;gap:12px;min-width:0;min-height:64px;padding:13px 18px;border:1px solid #dae3dc;border-radius:10px;background:transparent;text-align:left;color:#30483a;font:inherit;font-size:14px;cursor:pointer;transition:background .16s,border-color .16s}.ef-choice span:last-child{overflow-wrap:anywhere}.ef-choice:hover{background:#edf4ef;border-color:#a6bfb0}.ef-choice[aria-pressed=true]{background:#e8f3ec;border-color:#409469;color:#125b38}.ef-logo{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e9f0eb;color:#286146;font-size:12px;font-weight:600;flex-shrink:0}.ef-passport{background:white;border:1px solid #dce4de;border-radius:14px;padding:28px}.ef-passport-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.ef-title{display:flex;align-items:center;gap:15px;min-width:0}.ef-title>div{min-width:0}.ef-title>.ef-logo{width:48px;height:48px;font-size:15px}.ef-title h2{font-size:24px;font-weight:500;line-height:1.25;letter-spacing:-.5px;overflow-wrap:anywhere;margin:0 0 5px}.ef-title p{font-size:13px;line-height:1.5;color:#6f7d74;margin:0;overflow-wrap:anywhere}.ef-identity{display:grid;grid-template-columns:1.1fr 1fr .7fr;gap:24px;margin:28px 0;padding:0 0 26px;border-bottom:1px solid #e3e9e4}.ef-identity dt{font-size:11px;color:#7a887f;margin-bottom:7px}.ef-identity dd{margin:0;font-size:14px;overflow-wrap:anywhere}.ef-status{display:inline-flex;align-items:center;gap:6px;background:#edf6ef;color:#217344;border-radius:5px;padding:4px 9px;font-size:11px}.ef-status:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.ef-status.ef-inactive{background:#f0f1f0;color:#69746b}.ef-units-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.ef-units-head h3{font-size:15px;font-weight:500;margin:0}.ef-units-head>span{font-size:11px;color:#7a887f}.ef-units{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}.ef-units li{display:flex;align-items:flex-start;gap:11px;padding:15px;background:#f7f9f6;border:1px solid #e5ebe5;border-radius:8px;min-width:0}.ef-units svg{width:18px;height:18px;flex-shrink:0;color:#548268;margin-top:2px}.ef-units strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.ef-units small{display:block;font-size:11px;color:#76847b;margin-top:4px;overflow-wrap:anywhere}.ef-expand{background:none;border:0;color:#31784e;font:inherit;font-size:12px;padding:12px 0 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.ef-empty{font-size:13px;color:#6d7b72;margin:16px 0}.empresas-foco button:focus-visible,.empresas-foco a:focus-visible,.ef-context summary:focus-visible{outline:2px solid #26845b;outline-offset:3px}
@media(max-width:680px){.ef-page-header{align-items:flex-start;gap:10px;margin-bottom:22px}.ef-context{flex-shrink:0;font-size:11px}.ef-context summary{padding:8px}.ef-heading{flex-wrap:wrap;align-items:flex-start;margin-bottom:21px;gap:15px}.ef-heading h1{font-size:29px}.ef-toolbar{flex-wrap:wrap;gap:10px}.ef-search{flex-basis:100%;max-width:none}.ef-search input{font-size:16px}.ef-switcher{grid-template-columns:1fr;gap:9px;max-height:245px}.ef-choice{padding:12px 14px}.ef-passport{padding:20px}.ef-passport-head{flex-wrap:wrap;gap:16px}.ef-title h2{font-size:22px}.ef-identity{grid-template-columns:1fr 1fr;gap:18px;margin:23px 0}.ef-identity>div:first-child{grid-column:1/-1}.ef-units{grid-template-columns:1fr}.ef-units-head{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.ef-choice{transition:none}}

/* Ajuste do cabeçalho: busca à direita de Nova empresa, todas as obras visíveis. */
.ef-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.ef-header-actions .ef-search{width:300px;max-width:300px;flex:0 1 300px}.ef-toolbar{justify-content:flex-end;margin-top:-10px;margin-bottom:18px}.ef-units{align-items:stretch}
@media(max-width:960px){.ef-heading{align-items:flex-start;flex-wrap:wrap}.ef-header-actions{margin-left:auto;flex-wrap:wrap}.ef-header-actions .ef-search{width:280px}}
@media(max-width:680px){.ef-header-actions{width:100%;margin-left:0;justify-content:flex-start;gap:10px}.ef-header-actions .ef-search{flex:1 1 180px;max-width:none;width:auto}.ef-toolbar{margin-top:-8px}.ef-header-actions .ef-primary{min-height:44px}}
/* Empresas: composição compacta e grade fluida de unidades. */
.ef-page-header{margin-bottom:16px}.ef-heading{margin-bottom:14px;gap:16px}.ef-heading h1{font-size:30px;margin-bottom:5px}.ef-heading p{font-size:13px}.ef-toolbar{margin-top:0;margin-bottom:10px}.ef-switcher{gap:10px;margin-bottom:14px}.ef-choice{min-height:56px;padding:9px 14px}.ef-passport{padding:22px}.ef-passport-head{gap:14px}.ef-title{gap:12px}.ef-title>.ef-logo{width:42px;height:42px}.ef-title h2{font-size:22px;margin-bottom:3px}.ef-identity{margin:18px 0;padding-bottom:17px;gap:18px}.ef-identity dt{margin-bottom:5px}.ef-units-head{margin-bottom:11px}.ef-units{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px}.ef-units li{padding:13px;gap:10px;min-height:72px;align-items:center;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.ef-units li:nth-child(2){animation-delay:25ms}.ef-units li:nth-child(3){animation-delay:50ms}.ef-units li:nth-child(4){animation-delay:75ms}.ef-units li:nth-child(n+5){animation-delay:100ms}.ef-units li>div{min-width:0}.ef-units small{margin-top:3px}.ef-units svg{margin-top:0}
@keyframes ef-unit-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){.ef-units li:hover{transform:translateY(-2px);background:#edf5ef;border-color:#a4c6af;box-shadow:0 4px 12px #254a3210}}
@media(max-width:680px){.ef-page-header{margin-bottom:14px}.ef-heading{margin-bottom:12px;gap:12px}.ef-heading h1{font-size:27px}.ef-toolbar{margin-top:0;margin-bottom:10px}.ef-passport{padding:16px}.ef-passport-head{gap:12px}.ef-title h2{font-size:21px}.ef-identity{margin:16px 0;padding-bottom:15px;gap:14px}.ef-units{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}.ef-units li{padding:12px;min-height:66px}}
@media(prefers-reduced-motion:reduce){.ef-units li{animation:none;transition:none}.ef-units li:hover{transform:none}}

/* Unidades | Obras — mesmo padrão da tela Empresas (1.5.106) */
.uf-identity{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}
.uf-empresa{display:flex;align-items:center;gap:8px;font-size:12px;color:#65756c}.uf-empresa select{min-height:38px;max-width:260px;border:1px solid #dce4dd;border-radius:8px;background:#fff;padding:6px 10px;font:inherit;font-size:13px;color:#20352c}
@media(max-width:680px){.ef-page-header:has(.uf-empresa){flex-wrap:wrap}.uf-empresa{width:100%}.uf-empresa select{flex:1;max-width:none;font-size:16px}.uf-identity{grid-template-columns:1fr 1fr}}

/* 1.5.107: Empresa na linha de ações; unidades em grade de cards */
.unidades-foco .ef-header-actions{flex-wrap:wrap}.unidades-foco .uf-empresa select{min-height:42px}
.unidades-foco .ef-switcher{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:12px;max-height:none;overflow:visible}
.uf-choice{min-height:68px;padding:12px 14px;background:#fff;border-color:#e0e8e2;box-shadow:0 1px 2px #254a320a;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.uf-choice-txt{display:flex;flex-direction:column;gap:3px;min-width:0}.uf-choice-txt strong{font-weight:500;font-size:14px;line-height:1.3;overflow-wrap:anywhere}.uf-choice-txt small{font-size:11px;color:#76847b}
.uf-choice[aria-pressed=true]{background:#e8f3ec;border-color:#409469;box-shadow:inset 3px 0 0 #2f8a5b}.uf-choice[aria-pressed=true] .ef-logo{background:#2f6e4c;color:#fff}
@media(hover:hover) and (pointer:fine){.uf-choice:hover{transform:translateY(-2px);box-shadow:0 4px 12px #254a3214}}
@media(max-width:680px){.unidades-foco .uf-empresa{width:100%}.unidades-foco .ef-switcher{grid-template-columns:1fr 1fr;gap:8px}.uf-choice{min-height:60px;padding:10px;gap:9px}.uf-choice .ef-logo{width:32px;height:32px;font-size:11px}.uf-choice-txt strong{font-size:13px}}
@media(max-width:380px){.unidades-foco .ef-switcher{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.uf-choice{animation:none;transition:none}.uf-choice:hover{transform:none}}
