/* =========================================================
   AeroAgro — Área do cliente (login, perfil, admin)
   Mesma identidade visual do site (css/style.css).
   ========================================================= */
:root {
  --dark: #003324;
  --dark-2: #0b4231;
  --lime: #8bc652;
  --lime-soft: #e8f4dc;
  --cream: #f7efe8;
  --cream-2: #efe4d9;
  --orange: #fe7d31;
  --red: #d64545;
  --blue: #3a7bd5;
  --white: #fff;
  --text: #1f2e28;
  --muted: #5f6b66;
  --line: #e6ddd3;

  --font: "Satoshi", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(0 51 36 / .06), 0 8px 24px rgb(0 51 36 / .06);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
/* Ícones herdam o tamanho da fonte. O SVG de desenho do Leaflet fica de fora. */
svg:not(.leaflet-zoom-animated) { width: 1em; height: 1em; flex-shrink: 0; }
[hidden] { display: none !important; }

.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 500; text-decoration: none; }
.logo svg { width: 22px; height: 22px; color: var(--lime); }
.logo .logo-img { height: 28px; width: auto; max-width: 140px; object-fit: contain; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.btn svg { font-size: 18px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--primary { background: var(--dark); color: var(--white); }
.btn--primary:hover:not(:disabled) { background: var(--dark-2); }
.btn--lime { background: var(--lime); color: var(--dark); }
.btn--lime:hover:not(:disabled) { background: #7db845; }
.btn--ghost { background: transparent; border-color: var(--dark); color: var(--dark); }
.btn--ghost:hover:not(:disabled) { background: var(--dark); color: var(--white); }
.btn--soft { background: var(--cream); color: var(--dark); }
.btn--soft:hover:not(:disabled) { background: var(--cream-2); }
.btn--danger { background: transparent; border-color: #f0c9c9; color: var(--red); }
.btn--danger:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 0; background: var(--cream); color: var(--dark); font-size: 16px;
}
.icon-btn:hover { background: var(--cream-2); }
.icon-btn--danger:hover { background: #fbe3e3; color: var(--red); }

/* ---------- Formulários ---------- */
.field { display: grid; gap: 6px; }
.field + .field, .field-row + .field, .field + .field-row { margin-top: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row > .field { margin-top: 0; }
.field label, .label { font-size: 13px; font-weight: 500; color: var(--dark); }
.input, .select, .textarea {
  width: 100%;
  height: 50px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 96px; padding: 14px 18px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--lime); box-shadow: 0 0 0 4px rgb(139 198 82 / .22); }
.input[aria-invalid="true"] { border-color: var(--red); }
.input:read-only { background: var(--cream); color: var(--muted); }
.hint { font-size: 12.5px; color: var(--muted); }
.field-error { font-size: 12.5px; color: var(--red); min-height: 0; }
.password { position: relative; }
.password .input { padding-right: 52px; }
.password button {
  position: absolute; right: 8px; top: 50%; translate: 0 -50%;
  width: 36px; height: 36px; border: 0; border-radius: 50%; background: none;
  display: grid; place-items: center; color: var(--muted); font-size: 18px;
}
.password button:hover { background: var(--cream); color: var(--dark); }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.alert--error { background: #fdeaea; color: #9b2c2c; }
.alert--ok { background: var(--lime-soft); color: var(--dark); }

/* ---------- Badges de status ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--pendente { background: #fff1e6; color: #c25a14; }
.badge--em_analise { background: #e7f0fb; color: #2d64b3; }
.badge--respondido { background: #f3e9ff; color: #7b3fc7; }
.badge--aprovado { background: var(--lime-soft); color: #3f7a17; }
.badge--recusado, .badge--cancelado { background: #f0eeec; color: #7a716b; }

/* =========================================================
   LOGIN / CADASTRO
   ========================================================= */
.auth { min-height: 100%; display: grid; grid-template-columns: 1.05fr 1fr; padding: 16px; gap: 16px; }
.auth__visual {
  position: relative; overflow: hidden;
  border-radius: 40px;
  background: url(../assets/img/hero-bg.jpg) center / cover;
  color: var(--white);
  padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth__visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 30 15 / .35), rgb(0 30 15 / .1) 40%, rgb(0 30 15 / .75)); }
.auth__visual > * { position: relative; }
.auth__visual .logo { background: var(--white); color: var(--dark); padding: 12px 22px 12px 16px; border-radius: 999px; align-self: flex-start; }
.auth__visual h1 { font-size: clamp(34px, 4vw, 58px); line-height: 1.05; font-weight: 400; letter-spacing: -.02em; }
.auth__perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.auth__perks li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.auth__perks span {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--dark); font-size: 17px;
}
.auth__panel { display: grid; place-items: center; padding: 24px; }
.auth__card { width: min(440px, 100%); }
.auth__back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.auth__back:hover { color: var(--dark); }
.auth__forgot { margin: -6px 0 18px; text-align: right; font-size: 14px; }
.auth__forgot a { color: var(--dark); font-weight: 500; }
.auth__forgot--center { margin: 18px 0 0; text-align: center; }
.auth__card h2 { font-size: 34px; font-weight: 500; letter-spacing: -.02em; color: var(--dark); }
.auth__card > p { color: var(--muted); margin-top: 6px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin: 28px 0 24px; background: var(--white); border-radius: 999px; }
.tabs button {
  height: 44px; border: 0; border-radius: 999px; background: none;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: background .2s, color .2s;
}
.tabs button[aria-selected="true"] { background: var(--dark); color: var(--white); }
.auth form .alert { margin-bottom: 16px; }
.auth form .btn--block { margin-top: 24px; height: 52px; }
.pw-rules { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 2px; }
.pw-rules li { list-style: none; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.pw-rules li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.pw-rules li.ok { color: #3f7a17; }
.pw-rules li.ok::before { background: var(--lime); border-color: var(--lime); }
.pw-rules { padding: 0; margin-bottom: 0; }

/* =========================================================
   APP SHELL (perfil e admin)
   ========================================================= */
.shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100%; }
.sidebar {
  position: sticky; top: 0; height: 100vh;
  background: var(--dark); color: var(--white);
  padding: 26px 18px;
  display: flex; flex-direction: column; gap: 28px;
}
.sidebar .logo { color: var(--white); padding: 0 10px; }
.sidebar__tag { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--lime); padding: 0 12px; margin-bottom: -18px; }
.nav { display: grid; gap: 4px; }
.nav a {
  display: flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 14px; border-radius: 14px;
  color: rgb(255 255 255 / .75); text-decoration: none; font-weight: 500; font-size: 14.5px;
  transition: background .2s, color .2s;
}
.nav a svg { font-size: 20px; }
.nav a:hover { background: rgb(255 255 255 / .06); color: var(--white); }
.nav a[aria-current="page"] { background: var(--lime); color: var(--dark); }
.nav .count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 12px; display: grid; place-items: center; }
.sidebar__foot { margin-top: auto; display: grid; gap: 10px; }
.sidebar__link { display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: 13.5px; color: rgb(255 255 255 / .7); text-decoration: none; }
.sidebar__link:hover { color: var(--lime); }
.user-chip { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgb(255 255 255 / .06); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--lime); color: var(--dark); font-weight: 700; font-size: 15px;
}
.user-chip__info { min-width: 0; flex: 1; }
.user-chip__info b { display: block; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip__info span { display: block; font-size: 12px; color: rgb(255 255 255 / .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip button { border: 0; background: none; color: rgb(255 255 255 / .7); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; }
.user-chip button:hover { background: rgb(255 255 255 / .1); color: var(--white); }

.main { min-width: 0; padding: 30px 36px 60px; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.topbar h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -.02em; color: var(--dark); line-height: 1.1; }
.topbar p { color: var(--muted); margin-top: 6px; }
.topbar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.crumb:hover { color: var(--dark); }

.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card__head h2, .card__head h3 { font-size: 19px; font-weight: 500; color: var(--dark); letter-spacing: -.01em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stack { display: grid; gap: 20px; }

/* Estatísticas */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { background: var(--white); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; }
.stat__ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--cream); color: var(--dark); flex-shrink: 0; }
.stat--lime .stat__ic { background: var(--lime); }
.stat--dark { background: var(--dark); color: var(--white); }
.stat--dark .stat__ic { background: rgb(255 255 255 / .1); color: var(--lime); }
.stat b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.stat > div > span { font-size: 13px; color: var(--muted); }
.stat--dark > div > span { color: rgb(255 255 255 / .7); }

/* Estado vazio / onboarding */
.empty { text-align: center; padding: 48px 20px; }
.empty__ic { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 32px; color: var(--dark); }
.empty h3 { font-size: 20px; font-weight: 500; color: var(--dark); }
.empty p { color: var(--muted); max-width: 380px; margin: 8px auto 20px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--cream); border-radius: var(--radius-sm); padding: 18px; }
.step i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: var(--lime); display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.step b { display: block; font-weight: 500; color: var(--dark); }
.step span { font-size: 13.5px; color: var(--muted); }

/* Lista de mapas */
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.map-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.map-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgb(0 51 36 / .1); }
.map-card__thumb { height: 170px; background: var(--cream-2); }
.map-card__body { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; }
.map-card__body h3 { font-size: 18px; font-weight: 500; color: var(--dark); }
.map-card__meta { display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.map-card__meta b { color: var(--dark); font-weight: 500; }
.map-card__actions { display: flex; gap: 8px; margin-top: 12px; }
.map-card__actions .btn { flex: 1; }

/* Lista de orçamentos */
.quote-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.quote { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.quote__row { display: grid; grid-template-columns: auto 1.4fr 1fr 1fr auto auto; align-items: center; gap: 18px; width: 100%; padding: 16px 20px; border: 0; background: none; text-align: left; }
.quote__id { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.quote__title b { display: block; font-weight: 500; color: var(--dark); }
.quote__title span, .quote__cell span { font-size: 12.5px; color: var(--muted); }
.quote__cell b { display: block; font-weight: 500; font-size: 14px; color: var(--dark); }
.quote__chev { font-size: 18px; color: var(--muted); transition: rotate .2s; }
.quote.is-open .quote__chev { rotate: 180deg; }
.quote__detail { border-top: 1px solid var(--line); padding: 20px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; }
.quote__map { height: 240px; border-radius: var(--radius-sm); overflow: hidden; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--dark); font-weight: 500; overflow-wrap: anywhere; }
.response { margin-top: 18px; padding: 18px; border-radius: var(--radius-sm); background: var(--cream); }
.response--highlight { background: var(--dark); color: var(--white); }
.response__price { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.response p { margin-top: 6px; white-space: pre-wrap; }
.response--highlight p { color: rgb(255 255 255 / .8); }
.response__actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.response--highlight .btn--ghost { border-color: rgb(255 255 255 / .4); color: var(--white); }
.response--highlight .btn--ghost:hover { background: var(--white); color: var(--dark); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { height: 36px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 13.5px; font-weight: 500; color: var(--muted); }
.chip:hover { border-color: var(--dark); color: var(--dark); }
.chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--white); }
.chip em { font-style: normal; opacity: .7; margin-left: 4px; }

/* =========================================================
   EDITOR DE MAPA
   ========================================================= */
.editor { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
.editor__panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.editor__map-wrap { position: sticky; top: 20px; }
.editor__map-wrap { position: relative; }
.editor__map { height: calc(100vh - 170px); min-height: 520px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-search { position: absolute; z-index: 800; top: 14px; left: 62px; right: 66px; max-width: 420px; }
.map-search__box { display: flex; gap: 6px; background: var(--white); border-radius: 999px; padding: 5px; box-shadow: 0 4px 16px rgb(0 0 0 / .18); }
.map-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; background: none; font-size: 14px; }
.map-search .btn { height: 38px; }
.map-search__results { list-style: none; margin: 6px 0 0; padding: 6px; background: var(--white); border-radius: 16px; box-shadow: 0 4px 16px rgb(0 0 0 / .18); max-height: 260px; overflow: auto; }
.map-search__results button { width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font-size: 13.5px; }
.map-search__results button:hover { background: var(--cream); }
.map-hint {
  position: absolute; z-index: 800; left: 50%; bottom: 18px; translate: -50% 0;
  background: var(--dark); color: var(--white); font-size: 13.5px;
  padding: 10px 18px; border-radius: 999px; box-shadow: 0 4px 16px rgb(0 0 0 / .25);
  display: flex; align-items: center; gap: 10px; white-space: nowrap; max-width: calc(100% - 24px);
}
.map-hint { flex-wrap: wrap; justify-content: center; white-space: normal; text-align: center; border-radius: 22px; }
.map-hint b { color: var(--lime); font-weight: 500; }
.map-hint__actions { display: flex; gap: 6px; }
.map-hint__actions:empty { display: none; }
.map-hint__btn { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .12); color: var(--white); font-size: 13px; font-weight: 500; }
.map-hint__btn:hover { background: rgb(255 255 255 / .22); }
.map-hint__btn.is-primary { background: var(--lime); color: var(--dark); }

/* Modo mão livre: cursor de mira e sem rolagem da página no toque */
.leaflet-container.is-freehand { cursor: crosshair; touch-action: none; }
.leaflet-container.is-freehand .leaflet-interactive { cursor: crosshair; }
.map-locate { width: 34px; height: 34px; display: grid !important; place-items: center; background: #fff; color: var(--dark) !important; font-size: 18px; }

/* Fluxo de orçamento */
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; background: var(--dark); color: var(--lime); font-size: 13px; font-weight: 700; vertical-align: 2px; }
.service-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.service-grid--compact label { grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 12px; }
.service-grid--compact label svg { font-size: 20px; }
.service-grid--compact label b { font-size: 13.5px; }
.submit-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 22px; border-radius: 999px; background: var(--dark); color: var(--white); box-shadow: 0 10px 30px rgb(0 51 36 / .25); }
.submit-bar span { display: block; font-size: 12px; color: rgb(255 255 255 / .65); }
.submit-bar b { font-size: 22px; font-weight: 500; color: var(--lime); letter-spacing: -.02em; }
.submit-bar .btn { height: 50px; }
code { font-size: 12px; background: var(--cream); padding: 1px 6px; border-radius: 6px; }

.area-total { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--dark); color: var(--white); }
.area-total span { font-size: 13px; color: rgb(255 255 255 / .7); }
.area-total small { display: block; font-size: 12px; color: rgb(255 255 255 / .5); font-variant-numeric: tabular-nums; }
.area-total b { font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: var(--lime); }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-height: 280px; overflow: auto; }
.area-item { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--cream); }
.area-item__dot { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; }
.area-item input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-weight: 500; font-size: 14px; color: var(--dark); }
.area-item input:focus { text-decoration: underline; text-decoration-color: var(--lime); }
.area-item small { font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.area-item__main { flex: 1; min-width: 0; display: grid; }
.area-item__main small { overflow: hidden; text-overflow: ellipsis; }
.area-empty { font-size: 13.5px; color: var(--muted); padding: 14px; border: 1.5px dashed var(--line); border-radius: 12px; text-align: center; }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tools .btn { height: 42px; padding: 0 10px; min-width: 0; }
.tools__wide { grid-column: 1 / -1; }
.editor__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.editor__actions .btn { min-width: 0; padding: 0 14px; }
.editor__actions .btn--lime { grid-column: 1 / -1; }

.area-label { background: rgb(0 51 36 / .88); color: var(--white); border: 0; border-radius: 8px; padding: 4px 8px; font-family: var(--font); font-size: 12px; font-weight: 500; box-shadow: none; }
.area-label::before { display: none; }
.leaflet-container { font-family: var(--font); }

/* Formulário de orçamento */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.service { position: relative; }
.service input { position: absolute; opacity: 0; }
.service label {
  display: grid; gap: 8px; height: 100%;
  padding: 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--white); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.service label svg { font-size: 24px; color: var(--dark); }
.service label b { font-weight: 500; font-size: 14px; color: var(--dark); }
.service label span { font-size: 12px; color: var(--muted); }
.service input:checked + label { border-color: var(--lime); background: var(--lime-soft); }
.service input:focus-visible + label { box-shadow: 0 0 0 4px rgb(139 198 82 / .3); }
.preview-map { height: 300px; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-2); }
.summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--cream); border-radius: var(--radius-sm); margin-top: 12px; font-size: 14px; }
.summary b { font-size: 20px; font-weight: 500; color: var(--dark); }

/* Tabela admin */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { cursor: pointer; transition: background .15s; }
.table tbody tr:hover { background: var(--cream); }
.table td b { font-weight: 500; color: var(--dark); display: block; }
.table td span { font-size: 12.5px; color: var(--muted); }

/* ---------- Drawer, dialog e toast ---------- */
.drawer { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: flex-end; background: rgb(0 20 12 / .45); animation: fade .2s; }
.drawer__panel { width: min(640px, 100%); height: 100%; overflow-y: auto; background: var(--cream); padding: 26px; animation: slide .25s ease-out; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.drawer__head h2 { font-size: 24px; font-weight: 500; color: var(--dark); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }

dialog.confirm { border: 0; border-radius: var(--radius); padding: 26px; width: min(420px, calc(100% - 32px)); box-shadow: 0 20px 60px rgb(0 0 0 / .25); }
dialog.confirm::backdrop { background: rgb(0 20 12 / .45); }
dialog.confirm h3 { font-size: 20px; font-weight: 500; color: var(--dark); }
dialog.confirm p { color: var(--muted); margin-top: 8px; }
dialog.confirm .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* Avisos não bloqueiam cliques no que estiver embaixo (ex.: botão do painel lateral). */
.toasts { position: fixed; z-index: 2000; right: 20px; bottom: 20px; display: grid; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: var(--dark); color: var(--white); font-size: 14px; box-shadow: 0 10px 30px rgb(0 0 0 / .2); animation: slide .25s ease-out; max-width: 380px; }
.toast svg { color: var(--lime); font-size: 18px; }
.toast--error { background: #9b2c2c; }
.toast--error svg { color: #ffd0d0; }

.spinner { width: 28px; height: 28px; border: 3px solid var(--cream-2); border-top-color: var(--dark); border-radius: 50%; animation: spin .8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.mobile-bar { display: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1200px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .editor { grid-template-columns: minmax(0, 1fr); }
  .editor__panel { position: static; order: 2; }
  .editor__map { height: 62vh; min-height: 420px; }
  .editor__map-wrap { position: relative; top: 0; }
}

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; padding: 10px; }
  .auth__visual { min-height: 240px; border-radius: 28px; padding: 24px; }
  .auth__visual .auth__perks { display: none; }
  .auth__panel { padding: 24px 8px 40px; }

  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; z-index: 1500; inset: 0 auto 0 0; width: 280px;
    transform: translateX(-100%); transition: transform .25s;
  }
  .sidebar.is-open { transform: none; box-shadow: 0 0 0 100vmax rgb(0 20 12 / .45); }
  .mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 900;
    padding: 12px 16px; background: var(--dark); color: var(--white);
  }
  .mobile-bar .logo { color: var(--white); font-size: 19px; }
  .mobile-bar button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: var(--white); display: grid; place-items: center; font-size: 20px; }
  .main { padding: 22px 16px 60px; }
  .grid-2, .steps, .quote__detail { grid-template-columns: 1fr; }
  .quote__row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .quote__id, .quote__cell--hide { display: none; }
  .quote__row .badge { grid-row: 1; grid-column: 2; }
  .quote__chev { display: none; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .stat b { font-size: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .topbar__actions, .topbar__actions .btn { width: 100%; }
  .map-search { left: 56px; right: 60px; top: 10px; }
  .map-hint { white-space: normal; font-size: 12.5px; bottom: 10px; }
  .drawer__panel { padding: 18px; }
}

/* Aviso de áreas sobrepostas */
.area-warning { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fff1e6; color: #8a3f0d; font-size: 13px; line-height: 1.45; }
.area-warning svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }

/* Coluna principal do perfil + aviso de cadastro incompleto */
.main-col { min-width: 0; }
.notice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 36px 0; padding: 12px 14px 12px 18px; border-radius: 16px; background: var(--dark); color: var(--white); font-size: 14px; }
.notice svg { color: var(--lime); font-size: 20px; }
.notice span { flex: 1; min-width: 200px; }
@media (max-width: 900px) { .notice { margin: 14px 16px 0; } }

/* =========================================================
   CONTRATOS
   ========================================================= */
.notice--inline { margin: 0 0 20px; }
.notice--inline svg { color: var(--orange); }
.alert--legal { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 14px 16px; border-radius: 14px; background: #eef4ff; color: #1f3b6b; font-size: 13.5px; line-height: 1.5; }
.alert--legal svg { flex-shrink: 0; font-size: 18px; margin-top: 1px; }
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.kv--terms { margin-top: 12px; font-size: 13.5px; }
.response--highlight .kv--terms dt { color: rgb(255 255 255 / .6); }
.response--highlight .kv--terms dd { color: var(--white); }
.response__note { font-size: 12.5px; opacity: .75; margin-top: 12px !important; }

/* Status dos contratos */
.badge--ct-aguardando_assinatura { background: #fff1e6; color: #c25a14; }
.badge--ct-assinado_cliente { background: #e7f0fb; color: #2d64b3; }
.badge--ct-vigente { background: var(--lime-soft); color: #3f7a17; }
.badge--ct-executado { background: #f3e9ff; color: #7b3fc7; }
.badge--ct-quitado { background: var(--dark); color: var(--lime); }
.badge--ct-inadimplente { background: #fdeaea; color: #b42323; }
.badge--ct-cancelado { background: #f0eeec; color: #7a716b; }

/* Etapas */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); text-align: center; position: relative; }
.stepper li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); font-weight: 700; font-size: 13px; }
.stepper li.done { color: var(--dark); }
.stepper li.done::before, .stepper li.current::before { background: var(--lime); }
.stepper li.done span { background: var(--lime); border-color: var(--lime); color: var(--dark); }
.stepper li.current { color: var(--dark); font-weight: 500; }
.stepper li.current span { border-color: var(--dark); background: var(--dark); color: var(--lime); }
.stepper li.is-danger span { border-color: var(--red); color: var(--red); }

/* Histórico */
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 16px; }
.timeline__item { position: relative; display: grid; gap: 2px; font-size: 13.5px; }
.timeline__item::before { content: ""; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--lime); }
.timeline__item b { font-weight: 500; color: var(--dark); }
.timeline__item span { font-size: 12px; color: var(--muted); }
.timeline__item p { font-size: 13px; background: var(--cream); border-radius: 8px; padding: 6px 10px; margin-top: 4px; white-space: pre-wrap; }
.timeline__item code { justify-self: start; margin-top: 2px; }
.timeline__item--inadimplente::before, .timeline__item--cancelado::before { border-color: var(--red); }
.timeline__item--pagamento::before { background: var(--lime); }
.timeline__item--reagendado::before { border-color: #4fc3f7; }
.timeline__warn { background: #fff1e6 !important; color: #8a3f0d; }

.doc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.howto { margin: 0 0 14px; padding-left: 20px; font-size: 14px; display: grid; gap: 6px; }
.input--file { height: auto; padding: 12px; background: var(--cream); cursor: pointer; }
.action-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.action-chips .chip { height: 34px; font-size: 13px; }

/* Assistente de contrato */
.wizard-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: ws; }
.wizard-steps li { counter-increment: ws; display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--white); color: var(--muted); font-size: 13.5px; font-weight: 500; }
.wizard-steps li::before { content: counter(ws); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); font-size: 12px; font-weight: 700; }
.wizard-steps li.is-current { background: var(--dark); color: var(--white); }
.wizard-steps li.is-current::before { background: var(--lime); color: var(--dark); }
.wizard-steps li.is-done::before { content: "\2713"; background: var(--lime); color: var(--dark); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 16px; background: var(--cream); border-radius: 14px; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; text-align: center; padding: 10px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.segmented input:checked + span { background: var(--white); color: var(--dark); box-shadow: var(--shadow); }
.segmented input:focus-visible + span { outline: 2px solid var(--lime); }

.card--note { display: flex; gap: 12px; align-items: flex-start; background: var(--lime-soft); box-shadow: none; font-size: 13.5px; color: var(--dark); }
.card--note svg { font-size: 20px; flex-shrink: 0; }

.contract-doc { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px clamp(18px, 4vw, 56px); max-height: 62vh; overflow-y: auto; font-size: 14px; line-height: 1.65; text-align: justify; }
.contract-doc h2 { font-size: 17px; font-weight: 700; color: var(--dark); text-align: center; margin-bottom: 6px; }
.contract-doc h3 { font-size: 14px; font-weight: 700; color: var(--dark); margin: 20px 0 6px; }
.contract-doc p { margin-bottom: 8px; }
.contract-doc__meta { text-align: center; font-size: 12.5px; color: var(--muted); }
.accept-card { margin-top: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--dark); flex-shrink: 0; }
.accept-card__actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* Detalhe do contrato (cliente) */
.sign-card { border: 2px solid var(--lime); }
.sign-steps { margin: 0; padding-left: 20px; display: grid; gap: 18px; font-size: 14px; }
.sign-steps li::marker { font-weight: 700; color: var(--dark); }
.upload-box { display: grid; gap: 10px; margin-top: 10px; }
.status-card { display: flex; gap: 14px; align-items: flex-start; }
.status-card > svg { font-size: 26px; color: #3f7a17; flex-shrink: 0; margin-top: 2px; }
.status-card b { color: var(--dark); font-weight: 500; font-size: 16px; }
.status-card p { color: var(--muted); margin-top: 4px; font-size: 14px; }
.status-card--pay > svg { color: #7b3fc7; }
.status-card--danger { background: #fdeaea; }
.status-card--danger > svg { color: var(--red); }

.contract-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s; }
.contract-row:hover { transform: translateY(-1px); }
.contract-row__ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--dark); font-size: 20px; }
.contract-row__main b { display: block; font-weight: 500; color: var(--dark); }
.contract-row__main span { font-size: 12.5px; color: var(--muted); }
.contract-row__next { font-size: 13px; color: var(--muted); }
.contract-row__todo { color: #c25a14; font-weight: 500; }

/* Tutorial gov.br */
.help-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 14px; }
.help-list li { display: flex; gap: 12px; align-items: flex-start; }
.help-list svg { font-size: 20px; color: var(--dark); flex-shrink: 0; margin-top: 1px; }
.faq dt { font-weight: 500; color: var(--dark); margin-top: 12px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.tutorial { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 14px; }
.tutorial li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.tutorial li::before { content: counter(t); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: var(--lime); font-weight: 700; }
.help-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 900px) {
  .stepper { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .stepper li:nth-child(4)::before { display: none; }
  .contract-row { grid-template-columns: auto 1fr; }
  .contract-row__next { grid-column: 2; }
  .contract-row .badge { grid-column: 2; justify-self: start; }
}

/* =========================================================
   CONDIÇÕES DE PAGAMENTO
   ========================================================= */
.pay-options { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pay-options__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pay-options > .btn { justify-self: start; }
.pay-list { display: grid; gap: 8px; }
.pay-choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; transition: border-color .15s, background .15s; }
.pay-choice input { width: 18px; height: 18px; accent-color: var(--dark); flex-shrink: 0; }
.pay-choice.is-checked { border-color: var(--lime); background: var(--lime-soft); }
.pay-choice__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pay-choice__body b { font-weight: 500; color: var(--dark); font-size: 14px; }
.pay-choice__body span { font-size: 12.5px; color: var(--muted); }
.pay-choice__body em { font-style: normal; color: #7b3fc7; }
.pay-choice--manage { cursor: default; }

.plan-editor { padding: 16px; border-radius: 16px; background: var(--cream); display: grid; }
.plan-rows { display: grid; gap: 8px; margin-top: 6px; }
.plan-row { display: grid; grid-template-columns: 90px auto 1fr 90px auto; gap: 8px; align-items: center; }
.plan-row .input, .plan-row .select { height: 42px; padding: 0 12px; font-size: 14px; }
.plan-row > span { font-size: 13px; color: var(--muted); }
.plan-row [data-f=days][hidden] + .icon-btn { grid-column: 5; }
.plan-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.plan-sum .is-ok { color: #3f7a17; }
.plan-sum .is-bad { color: var(--red); }
.plan-preview { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--white); font-size: 13px; color: var(--muted); line-height: 1.5; }
.plan-preview b { color: var(--dark); font-weight: 500; }
.plan-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* Proposta vista pelo cliente */
.pay-offer { margin-top: 12px; font-size: 13.5px; }
.pay-offer > span { opacity: .75; }
.pay-offer ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.pay-offer b { font-weight: 500; }

/* Escolha da condição no assistente do contrato */
.pay-pick { display: grid; gap: 10px; }
.pay-pick__item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-pick__item:has(input:checked) { border-color: var(--lime); background: var(--lime-soft); }
.pay-pick__item input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--dark); flex-shrink: 0; }
.pay-pick__body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.pay-pick__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pay-pick__top b { font-weight: 500; color: var(--dark); font-size: 14.5px; }
.pay-pick__total { font-weight: 700; color: var(--dark); white-space: nowrap; }
.pay-pick__method { font-size: 12.5px; color: var(--muted); }
.pay-pick__parts { margin: 4px 0 0; padding-left: 18px; font-size: 13px; color: var(--text); display: grid; gap: 2px; }
.pay-pick__parts b { font-weight: 500; }

/* Parcelas do contrato */
.progress { height: 8px; border-radius: 999px; background: var(--cream); overflow: hidden; margin-bottom: 14px; }
.progress span { display: block; height: 100%; background: var(--lime); border-radius: 999px; }
.installments { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.installment { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--cream); font-size: 13.5px; }
.installment__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--white); font-size: 12px; font-weight: 700; color: var(--dark); }
.installment__main { display: grid; }
.installment__main b { font-weight: 500; color: var(--dark); }
.installment__main span { font-size: 12px; color: var(--muted); }
.installment__due { font-size: 12.5px; color: var(--dark); text-align: right; }
.installment__status { font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--white); color: var(--muted); }
.installment--paga .installment__status { background: var(--lime-soft); color: #3f7a17; }
.installment--paga .installment__n { background: var(--lime); }
.installment--vencida { background: #fdeaea; }
.installment--vencida .installment__status { background: var(--red); color: var(--white); }

@media (max-width: 560px) {
  .plan-row { grid-template-columns: 70px auto 1fr auto; }
  .plan-row [data-f=days] { grid-column: 1 / 3; }
  .installment { grid-template-columns: auto 1fr auto; }
  .installment__due { grid-column: 2; text-align: left; }
}

/* Painel: avaliações do Google */
.rv-list { display: grid; gap: 14px; }
.rv-item { padding: 18px; border-radius: 16px; background: var(--cream); display: grid; }
.rv-item.is-hidden { opacity: .55; }
.rv-row { grid-template-columns: 1.2fr 1fr; }
.rv-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.save-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 16px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--white); box-shadow: 0 10px 30px rgb(0 51 36 / .15); }
.save-bar .hint { color: #c25a14; }
@media (max-width: 700px) { .rv-row { grid-template-columns: 1fr; } }

/* Nomes longos de serviço (ex.: Georreferenciamento) quebram dentro do cartão */
.service-grid--compact label b { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Admin → Site (fotos) ---------- */
.site-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.site-photo { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.site-photo__img { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--cream-2); display: grid; place-items: center; margin-bottom: 6px; }
.site-photo__img img { width: 100%; height: 100%; object-fit: cover; }
.site-photo__img--logo { aspect-ratio: 3 / 1; background: var(--dark); padding: 10px; text-align: center; }
.site-photo__img--logo img { object-fit: contain; }
.site-photo__img--logo .hint { color: rgb(255 255 255 / .7); }
.site-photo__actions { display: flex; gap: 8px; margin-top: 6px; }
.site-photo__actions .is-busy { opacity: .6; pointer-events: none; }

/* ---------- Admin → Assinatura ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; }
.plan--current { outline: 2px solid var(--lime); }
.plan__price { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.plan__price b { font-size: 32px; color: var(--dark); font-weight: 600; }
.plan__feats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 14px; flex: 1; }
.plan__feats li { display: flex; gap: 8px; align-items: flex-start; }
.plan__feats svg { width: 16px; height: 16px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }

/* ---------- Admin → Início ---------- */
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--cream); }
.steps-list li > div { flex: 1; display: grid; gap: 2px; }
.steps-list li.is-done { opacity: .65; }
.steps-list li.is-done b { text-decoration: line-through; }
.steps-list__ic { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex-shrink: 0; background: var(--white); }
.steps-list li.is-done .steps-list__ic { background: var(--lime); border-color: var(--lime); color: var(--dark); }
.steps-list__ic svg { width: 16px; height: 16px; }
.qr-box { display: flex; gap: 16px; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.qr-box #qrImg svg { display: block; width: 150px; height: 150px; background: #fff; border-radius: 10px; }
.qr-box > div:last-child { flex: 1; min-width: 180px; display: grid; gap: 6px; justify-items: start; }

/* ---------- Serviços por família, perguntas do pedido e diário ---------- */
.svc-family { margin: 14px 0 0; font-weight: 600; color: var(--dark); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 14px; margin-top: 16px; }
.details-grid .field { margin: 0; }
.area-note { margin-top: 8px; font-size: 12.5px; line-height: 1.45; }
.submit-bar small { display: block; font-size: 11.5px; }
.response__rule { font-size: 13.5px; margin: 6px 0 10px; opacity: .92; }
.diary { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.diary__item { padding: 12px 14px; border-radius: 14px; background: var(--cream); }
.diary__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.diary__vals { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; }
.diary__vals small { color: var(--muted); }
.diary__item p { margin-top: 6px; font-size: 13.5px; }
.diary__photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.diary__photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.agenda { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.agenda__col { background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.agenda__col h3 { font-size: 16px; font-weight: 600; color: var(--dark); }
.agenda__col .hint { display: block; margin-bottom: 10px; }
.agenda__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.agenda__item { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); cursor: pointer; border: 0; text-align: left; font: inherit; width: 100%; }
.agenda__item:hover { outline: 2px solid var(--lime); }
.agenda__pos { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: var(--lime); font-weight: 700; font-size: 13px; }
.agenda__item b { display: block; font-size: 14px; }
.agenda__item span { font-size: 12.5px; color: var(--muted); }
.fleet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fleet-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); }
.fleet-list li.is-off { opacity: .55; }
.fleet-list b { display: block; }
.fleet-list span { font-size: 12.5px; color: var(--muted); }

.estimate-box { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--lime-soft); font-size: 13.5px; }
.estimate-box:empty { display: none; }

/* =========================================================
   ADMIN → SITE (editor por seções + pré-visualização)
   ========================================================= */
.badge--ok { background: var(--lime-soft); color: #3f7a17; }
.badge--muted { background: #f0eeec; color: #7a716b; }
.site-editor { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1280px) { .site-editor { grid-template-columns: minmax(0, 1fr) minmax(380px, 42%); } }
.site-editor__form { display: grid; gap: 14px; }
.site-sec { padding: 0; }
.site-sec > summary { display: flex; align-items: center; gap: 12px; padding: 18px 24px; cursor: pointer; list-style: none; }
.site-sec > summary::-webkit-details-marker { display: none; }
.site-sec > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.site-sec[open] > summary::after { transform: rotate(-135deg); }
.site-sec > summary h3 { margin: 0; font-size: 17px; }
.site-sec > :not(summary) { margin-left: 24px; margin-right: 24px; }
.site-sec > :last-child { margin-bottom: 22px; }
.site-sec[data-hidden] > summary h3 { color: var(--muted); }
.site-sec__toggle { margin-bottom: 12px; }
.site-sec__fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 16px; margin-top: 4px; }
.site-sec__fields > .field { margin-top: 0; }
.site-sec__fields > .field--wide { grid-column: 1 / -1; }
.site-sec__fields .field-row { grid-column: 1 / -1; margin-top: 0; }
.site-sec > .hint { margin-top: 10px; margin-bottom: 10px; }
.site-photos--sec { margin-top: 18px; }
.svc-edit { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; counter-reset: svc; }
.svc-edit__item { display: grid; gap: 8px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.svc-edit__item.is-off { background: var(--cream-2); }
.svc-edit__item.is-off .input, .svc-edit__item.is-off .textarea { display: none; }
.svc-edit__item.is-off { padding-block: 8px; }
.svc-edit__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.svc-edit__move { display: flex; gap: 4px; }
.svc-edit__item .textarea { min-height: 0; }
.site-editor__save { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 12px 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
#siteDirty { color: #c25a14; }
.site-editor__preview { display: none; }
@media (min-width: 1280px) {
  .site-editor__preview { display: flex; flex-direction: column; position: sticky; top: 16px; height: calc(100vh - 32px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
}
.site-editor__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-editor__frame { flex: 1; position: relative; overflow: hidden; background: var(--cream); }
/* O site é desenhado em 1280 px e reduzido para caber: a prévia mostra a versão de computador. */
.site-editor__frame iframe { position: absolute; top: 0; left: 0; width: 1280px; border: 0; transform-origin: 0 0; background: var(--cream); }
.notice--danger { background: #fdeaea; color: #9b2c2c; }
.notice--danger svg { color: #c53030; }

/* =========================================================
   CLIENTES (@) E NOVO SERVIÇO
   ========================================================= */
.handle { color: #3f7a17; font-weight: 600; }
.tag-company { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #e7f0fb; color: #2d64b3; font-size: 11.5px; font-weight: 600; }
.clients-search { padding: 8px 8px 12px; }
.clients-search .input { max-width: 420px; }
.client-picker { position: relative; }
.client-picker__list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px; list-style: none; background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 12px 34px rgb(0 0 0 / .16); max-height: 300px; overflow: auto; }
.client-picker__list button { width: 100%; display: block; text-align: left; padding: 9px 10px; border: 0; background: none; border-radius: 10px; font: inherit; cursor: pointer; color: var(--dark); }
.client-picker__list button:hover, .client-picker__list button:focus-visible { background: var(--cream-2); }
.client-picker__list button b { color: #3f7a17; margin-right: 6px; }
.client-picker__list button span { display: block; font-size: 12.5px; color: var(--muted); }
.client-picker__empty { padding: 10px; color: var(--muted); font-size: 14px; }
.client-chip { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.client-chip .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--dark); font-weight: 700; flex-shrink: 0; }
.client-chip div { flex: 1; min-width: 0; }
.client-chip b { display: block; }
.client-chip span { font-size: 13px; color: var(--muted); }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mini-list button { width: 100%; text-align: left; display: grid; gap: 4px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font: inherit; cursor: pointer; color: var(--dark); }
.mini-list button:hover { border-color: var(--dark); }
.mini-list button > span:not(.badge):not(.tag-company) { font-size: 13px; color: var(--muted); }
.mini-list .badge { justify-self: start; }
.handle-input { display: flex; align-items: stretch; }
.handle-input > span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--cream-2); color: #3f7a17; font-weight: 700; }
.handle-input .input { border-top-left-radius: 0; border-bottom-left-radius: 0; }
/* Barra "Área estimada": não quebra o número; em painel estreito o botão vai para baixo. */
.submit-bar { flex-wrap: wrap; border-radius: 26px; }
.submit-bar > div { min-width: 0; }
.submit-bar b { white-space: nowrap; }
.submit-bar small { white-space: nowrap; }
.tag-pending { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #fff1e6; color: #c25a14; font-size: 11.5px; font-weight: 600; }
.link-client { border: 2px dashed #f0b27a; }
.link-client__invite { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
/* Área aberta (proposta) */
.open-area { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: #eef4ff; }
.open-area .check span { font-size: 14px; }
.open-area__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.open-area__fields .field { margin-top: 0; }

/* =========================================================
   BOLETINS DE MEDIÇÃO (área aberta)
   ========================================================= */
.meas-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 6px 0 16px; }
.meas-summary > div { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--cream-2); }
.meas-summary b { display: block; font-size: 19px; font-weight: 600; color: var(--dark); }
.meas-summary span { font-size: 12.5px; color: var(--muted); }
.meas-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.meas { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.meas--enviado { border-color: #f0b27a; background: #fffaf5; }
.meas--contestado { border-color: #e5a0a0; background: #fdf4f4; }
.meas--cancelado { opacity: .55; }
.meas__head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.meas__status { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.meas--aprovado .meas__status { color: #3f7a17; }
.meas--enviado .meas__status { color: #c25a14; }
.meas--contestado .meas__status { color: #9b2c2c; }
.meas__vals { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 14px; }
.meas p { margin: 6px 0 0; font-size: 13.5px; }
.meas__contest { color: #9b2c2c; }
.meas__actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.meas__contest-form { margin-top: 10px; }
.meas-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.meas-form h4 { margin: 0 0 8px; font-size: 15px; }
.meas-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.meas-form__grid .field { margin-top: 0; }

/* =========================================================
   TALHÕES (empresa / cliente / falta fazer)
   ========================================================= */
.plots-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #eee9df; margin: 4px 0 10px; }
.plots-bar__empresa { background: #5fa82a; }
.plots-bar__cliente { background: #2d7fd3; }
.plots-bar__falta { background: #d8d2c6; }
.plots-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.plots-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.plots-legend b { color: var(--dark); font-weight: 600; }
.plots-map { height: 360px; border-radius: var(--radius-sm); overflow: hidden; }
.plots-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.plot-pop { font: 13.5px/1.45 inherit; }
.plot-pop__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.plot-pop__actions button { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 5px 10px; font: inherit; font-size: 12.5px; cursor: pointer; color: var(--dark); }
.plot-pop__actions button:hover { border-color: var(--dark); }
.meas-plots { display: grid; gap: 6px; margin-top: 6px; max-height: 180px; overflow: auto; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.submit-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn--light { color: var(--white); border-color: rgb(255 255 255 / .35); }
.btn--light:hover { background: rgb(255 255 255 / .08); }
/* Início → "O que você pode fazer" */
.features-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.feature-link { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--dark); }
.feature-link:hover { border-color: var(--dark); }
.feature-link__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--lime-soft, #eef7e3); }
.feature-link__ic svg { width: 18px; height: 18px; }
.feature-link b { display: block; font-weight: 600; }
.feature-link > span > span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.feature-link em { grid-column: 2; font-style: normal; font-size: 13px; font-weight: 600; color: #3f7a17; }
.status-card--attention { border: 2px solid #f0b27a; background: #fffaf5; }
.status-card--attention > svg { color: #c25a14; }
.meas-auto { display: grid; gap: 6px; margin: 0 0 14px; font-size: 14px; font-weight: 500; color: var(--dark); }
.meas-auto .select { max-width: 320px; }

/* ---------- Planos: cadeados, uso e página de Assinatura ---------- */
.nav-lock { margin-left: auto; display: inline-grid; opacity: .7; }
.nav-lock svg { width: 16px; height: 16px; }
.plan-chip { margin-left: auto; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgb(255 255 255 / .1); white-space: nowrap; }
.nav a[aria-current="page"] .plan-chip { background: rgb(0 51 36 / .12); }
.btn.is-locked { opacity: .85; }
.btn.is-locked svg { width: 15px; height: 15px; }
dialog.confirm p { white-space: pre-line; }

.lock-card { max-width: 640px; text-align: center; padding: 40px 32px; display: grid; justify-items: center; gap: 12px; }
.lock-card__icon { width: 64px; height: 64px; border-radius: 20px; background: var(--lime-soft); color: var(--dark); display: grid; place-items: center; }
.lock-card__icon svg { width: 30px; height: 30px; }
.lock-card p { color: var(--muted); max-width: 500px; }
.lock-card__perks { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 8px; text-align: left; }
.lock-card__perks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.lock-card__perks svg { width: 16px; height: 16px; color: var(--lime); margin-top: 3px; flex-shrink: 0; }

.usage { display: grid; gap: 6px; }
.usage__top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.usage__top span { color: var(--muted); }
.usage__bar { height: 8px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.usage__bar i { display: block; height: 100%; border-radius: 99px; background: var(--lime); }
.usage--near .usage__bar i { background: var(--orange); }
.usage--full .usage__bar i { background: var(--red); }
.usage--full .usage__top b { color: var(--red); }

.plan-now { margin-bottom: 20px; }
.plan-now__head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.plan-now__label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan-now h2 { font-size: 30px; margin: 4px 0 6px; color: var(--dark); }
.plan-now__price { text-align: right; display: grid; }
.plan-now__price b { font-size: 28px; color: var(--dark); }
.plan-now__price span, .plan-now__price small { color: var(--muted); font-size: 13.5px; }
.plan-now__usage { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

.plan-cycle { display: flex; gap: 4px; width: fit-content; margin: 8px auto 20px; padding: 4px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); }
.plan-cycle button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--dark); display: inline-flex; gap: 8px; align-items: center; }
.plan-cycle button span { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: var(--dark); }
.plan-cycle button.is-on { background: var(--dark); color: var(--white); }
.plans--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan { position: relative; }
.plan--popular { outline: 2px solid var(--dark); }
.plan--current { outline: 2px solid var(--lime); }
.plan__flag { position: absolute; top: -11px; left: 22px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--dark); color: var(--white); }
.plan__bill { margin: -10px 0 14px; font-size: 12.5px; }
.plan__current { align-self: center; }
.plan-compare summary { cursor: pointer; }
.plans--3 .plan__feats { align-content: start; }
.plan-compare .table td:not(:first-child), .plan-compare .table th:not(:first-child) { text-align: center; }
.plan-compare .yes svg { width: 18px; height: 18px; color: var(--lime); }

/* =========================================================
   APP NO CELULAR (instalado na tela inicial) — barra de navegação, modo offline
   ========================================================= */
.tabbar { display: none; }
.offline-bar {
  position: fixed; z-index: 1900; left: 50%; translate: -50% 0; bottom: 20px;
  display: flex; align-items: center; gap: 10px; max-width: min(620px, calc(100% - 24px));
  padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--dark); color: var(--white);
  font-size: 13.5px; box-shadow: 0 10px 30px rgb(0 0 0 / .25);
}
.offline-bar--off { background: #5b3a12; }
.offline-bar button { border: 0; border-radius: 999px; padding: 7px 12px; background: rgb(255 255 255 / .14); color: inherit; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.install-card { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--dark); color: var(--white); }
.install-card img { border-radius: 12px; flex-shrink: 0; }
.install-card div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.install-card span { font-size: 13px; opacity: .8; }
.pending-box { margin-bottom: 18px; border: 1.5px dashed var(--orange); }
.pending-box h3 { display: flex; align-items: center; gap: 8px; }
.pending-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pending-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); }
.pending-list li > b, .pending-list li div b { display: block; font-size: 14px; }
.pending-list li span { display: block; font-size: 12.5px; color: var(--muted); }
.pending-list em { color: var(--red); font-style: normal; }
dialog.outbox { width: min(520px, calc(100% - 24px)); }
.outbox__list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; max-height: 50vh; overflow: auto; }
.outbox__list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--cream); }
.outbox__list li div { display: grid; gap: 2px; }
.outbox__list li span { font-size: 12.5px; color: var(--muted); }
.outbox__list em { color: var(--red); font-style: normal; }
.map-offline a { display: grid !important; place-items: center; width: 34px; height: 34px; color: var(--dark); background: #fff; }
.map-offline a svg { width: 18px; height: 18px; }
.map-offline.is-busy a { width: auto; min-width: 34px; padding: 0 6px; }
.map-offline__pct { font-size: 11px; font-weight: 700; }

@media (max-width: 900px) {
  /* Barra de baixo, como num app */
  .tabbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; z-index: 1100; left: 0; right: 0; bottom: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgb(0 51 36 / .08);
  }
  .tabbar a, .tabbar button {
    position: relative; display: grid; justify-items: center; align-content: center; gap: 3px;
    min-height: 54px; border: 0; background: none; border-radius: 14px;
    color: var(--muted); text-decoration: none; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar svg { width: 23px; height: 23px; }
  .tabbar a[aria-current="page"] { color: var(--dark); background: var(--lime-soft); }
  .tabbar a[aria-current="page"] svg { color: var(--dark); }
  .tabbar .nav-lock, .tabbar .plan-chip, .tabbar .count { display: none; }
  .has-tabbar .main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .has-tabbar #openMenu { display: none; }
  .has-tabbar .toasts { bottom: calc(80px + env(safe-area-inset-bottom)); left: 12px; right: 12px; justify-items: center; }
  .has-tabbar .offline-bar { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .has-tabbar .submit-bar, .has-tabbar .save-bar, .has-tabbar .site-editor__save { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .sidebar { z-index: 1600; padding-top: calc(26px + env(safe-area-inset-top)); }

  /* Cabeçalho compacto, respeitando o "notch" do celular */
  .mobile-bar { padding: calc(10px + env(safe-area-inset-top)) 16px 10px; min-height: 56px; }
  .topbar { margin-bottom: 18px; gap: 12px; }
  .topbar h1 { font-size: 25px; }
  .topbar p { font-size: 14px; }
  .crumb { margin-bottom: 10px; }

  /* Toque confortável e sem zoom automático do iPhone nos campos */
  .input, .select, .textarea { font-size: 16px; }
  .btn { min-height: 44px; }
  .btn--sm { min-height: 38px; }
  .card { border-radius: 18px; }
  .drawer__panel { width: 100%; max-width: 100%; border-radius: 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* Instalado (tela cheia): sem links que só fazem sentido no navegador */
.is-app .sidebar__link[href$="/"] { display: none; }
@media (display-mode: standalone) { body { overscroll-behavior-y: none; } }
@media (max-width: 900px) {
  .offline-bar { left: 12px; right: 12px; translate: none; max-width: none; border-radius: 16px; font-size: 13px; line-height: 1.35; }
  .offline-bar span { flex: 1; }
}
@media (max-width: 560px) {
  .install-card { flex-wrap: wrap; }
  .install-card div { flex-basis: calc(100% - 62px); }
  .install-card .btn { width: 100%; }
  .pending-list li { flex-wrap: wrap; }
}
.pending-box .pending-list li { display: grid; gap: 2px; }

/* =========================================================
   APP DA PLATAFORMA — tela inicial (/app)
   ========================================================= */
.hub-body { background: radial-gradient(900px 600px at 50% -10%, #0e4a34 0%, var(--dark) 60%); min-height: 100%; }
.hub { max-width: 480px; margin: 0 auto; padding: calc(18px + env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom)); color: var(--white); display: grid; gap: 18px; }
.hub__top { display: flex; align-items: center; justify-content: space-between; }
.hub__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.hub__logo svg { width: 30px; height: 30px; color: var(--lime); }
.hub__install { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .08); color: var(--white); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.hub__install svg { width: 16px; height: 16px; }
.hub__hero h1 { font-size: 32px; line-height: 1.08; font-weight: 500; letter-spacing: -.02em; margin-top: 18px; }
.hub__hero h1 span { color: var(--lime); }
.hub__hero p { margin-top: 10px; color: rgb(255 255 255 / .75); }
.hub__recent h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--lime); margin-bottom: 10px; font-weight: 600; }
.hub__list { display: grid; gap: 8px; }
.hub__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12); color: var(--white); text-decoration: none; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.hub__item > svg { width: 18px; height: 18px; opacity: .7; margin-left: auto; }
.hub__item-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: var(--dark); font-weight: 700; font-size: 17px; flex-shrink: 0; }
.hub__item-txt { display: grid; gap: 2px; min-width: 0; }
.hub__item-txt span { font-size: 13px; opacity: .7; }
.hub__card { background: var(--white); color: var(--text); border-radius: 26px; padding: 20px; display: grid; gap: 14px; box-shadow: 0 30px 70px rgb(0 0 0 / .3); }
.hub__card .hub__item { background: var(--cream); border-color: var(--line); color: var(--text); }
.hub__card .hub__item-ic { background: var(--dark); color: var(--white); }
.hub__tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--cream); }
.hub__tabs button { border: 0; background: none; border-radius: 999px; padding: 11px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.hub__tabs button[aria-selected="true"] { background: var(--dark); color: var(--white); }
.hub__card form { display: grid; gap: 4px; }
.hub__card .field { margin-bottom: 10px; }
.hub__card .input { font-size: 16px; }
.hub__link { border: 0; background: none; color: var(--dark); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; justify-self: center; padding: 6px; }
.hub__hint { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.hub__choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white); color: var(--text); text-decoration: none; cursor: pointer; }
.hub__choice:hover { border-color: var(--lime); }
.hub__choice-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--lime-soft); color: var(--dark); flex-shrink: 0; }
.hub__choice-ic svg { width: 22px; height: 22px; }
.hub__choice div { display: grid; gap: 4px; }
.hub__choice span { font-size: 13.5px; color: var(--muted); }
#produtorBox { display: grid; gap: 8px; margin-top: -4px; }
.hub__foot { text-align: center; }
.hub__foot a { color: rgb(255 255 255 / .7); font-size: 14px; }
#panelEntrar:not([hidden]), #panelCriar:not([hidden]) { display: grid; gap: 10px; }
/* Menu lateral no celular: desliza suave, fundo escurecido, página parada atrás */
.menu-backdrop { display: none; }
@media (max-width: 900px) {
  .sidebar { transition: transform .3s cubic-bezier(.2,.8,.2,1); will-change: transform; overflow-y: auto; overscroll-behavior: contain; }
  .sidebar.is-open { box-shadow: 12px 0 40px rgb(0 0 0 / .3); }
  .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 1550; background: rgb(0 20 12 / .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
  .menu-open { overflow: hidden; }
}

/* =========================================================
   JEITO DE APP (celular): cabeçalho com título e voltar, botão flutuante, cartões,
   transições, esqueleto de carregamento e toque com resposta
   ========================================================= */
.mb-back, .fab { display: none; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  /* Cabeçalho: voltar + nome da tela */
  .mobile-bar { justify-content: flex-start; gap: 6px; }
  .mobile-bar .logo { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; }
  .mobile-bar .logo svg { flex-shrink: 0; }
  .mb-title { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mb-back:not([hidden]) { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -8px; border: 0; border-radius: 50%; background: none; color: var(--white); font-size: 22px; }
  .mb-back:not([hidden]) + .logo svg { display: none; }
  .main .crumb { display: none; }

  /* Transição suave entre telas */
  .main > * { animation: viewIn .24s ease-out backwards; } /* "backwards": depois de animar não fica ativa (a tela cheia do mapa precisa disso) */

  /* Esqueleto no lugar do "carregando" */
  .main > .spinner {
    width: auto; height: 260px; margin: 6px 0; border: 0; border-radius: 18px; animation: none;
    background:
      linear-gradient(90deg, transparent 0, rgb(255 255 255 / .55) 50%, transparent 100%) 0 0 / 200% 100%,
      linear-gradient(var(--cream-2), var(--cream-2)) 0 0 / 60% 28px no-repeat,
      linear-gradient(var(--cream-2), var(--cream-2)) 0 44px / 90% 14px no-repeat,
      linear-gradient(var(--white), var(--white)) 0 84px / 100% 76px no-repeat,
      linear-gradient(var(--white), var(--white)) 0 176px / 100% 76px no-repeat;
    animation: shimmer 1.2s linear infinite;
  }

  /* Botão flutuante (+) com a ação principal */
  .fab {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 1050;
    right: 16px; bottom: calc(80px + env(safe-area-inset-bottom));
    height: 54px; padding: 0 20px 0 16px; border: 0; border-radius: 18px;
    background: var(--dark); color: var(--white); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none;
    box-shadow: 0 12px 28px rgb(0 51 36 / .35); cursor: pointer; animation: viewIn .3s ease-out both;
  }
  .fab svg { width: 22px; height: 22px; color: var(--lime); }
  .fab span { max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .has-fab { display: none !important; }
  .topbar__actions:not(:has(> :not(.has-fab))) { display: none; }
  .has-tabbar .offline-bar ~ .fab, body:has(.offline-bar) .fab { bottom: calc(136px + env(safe-area-inset-bottom)); }

  /* Filtros e números: faixas que deslizam de lado */
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 2px 16px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .filters::-webkit-scrollbar { display: none; }
  .filters .chip { flex-shrink: 0; scroll-snap-align: start; }
  .stats { display: flex; overflow-x: auto; margin: 0 -16px 18px; padding: 2px 16px 6px; gap: 10px; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .stats::-webkit-scrollbar { display: none; }
  .stats > * { flex: 0 0 auto; min-width: 148px; scroll-snap-align: start; }
  .stat { padding: 14px 16px; gap: 10px; flex-direction: row; align-items: center; }
  .stat b { font-size: 20px; }

  /* Painéis (contrato, pedido) sobem de baixo, com o topo fixo */
  .drawer { align-items: flex-end; }
  .drawer__panel { animation: sheetUp .3s cubic-bezier(.2,.8,.2,1); padding-top: 0; }
  .drawer__head { position: sticky; top: 0; z-index: 5; margin: 0 -18px 16px; padding: calc(14px + env(safe-area-inset-top)) 18px 12px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .drawer__head .icon-btn { width: 42px; height: 42px; background: var(--white); }

  /* Toque com resposta */
  .btn, .chip, .tabbar a, .tabbar button, .fab, .map-card, .quote__row, .hub__item { -webkit-tap-highlight-color: transparent; }
  .btn:active, .chip:active, .fab:active, .tabbar a:active, .tabbar button:active { transform: scale(.96); }
  .btn, .chip, .fab { transition: transform .12s, background .2s, color .2s; }
}

/* Tabelas viram cartões */
@media (max-width: 760px) {
  .card:has(> .table-wrap > .table--cards) { background: transparent; box-shadow: none; padding: 0 !important; }
  .table--cards thead { display: none; }
  .table--cards, .table--cards tbody { display: block; }
  .table--cards tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 14px 16px; margin-bottom: 10px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
  .table--cards tr[data-id] { cursor: pointer; }
  .table--cards tr[data-id]:active { transform: scale(.98); }
  .table--cards td { display: block; padding: 0; border: 0; min-width: 0; }
  .table--cards td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .table--cards td.td-main { grid-column: 1 / -1; }
  .table--cards td:first-child:not([data-label]) { font-size: 12px; color: var(--muted); }
  .table--cards td[colspan] { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .main.is-sub .topbar h1 { display: none; }
  .drawer { z-index: 1700; }
}

/* =========================================================
   COMPONENTES DE APP — gaveta, menu "Mais", menu lateral em grupos, campos, listas de
   escolha, confirmações, avisos e seções que abrem e fecham
   ========================================================= */
/* Menu lateral (computador): grupos */
.nav__group { margin: 14px 14px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .42); }
.nav__group:first-child { margin-top: 0; }
.nav a { position: relative; }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: -18px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--lime); }

/* Gaveta de baixo */
.sheet { position: fixed; inset: 0; z-index: 2100; }
.sheet__backdrop { position: absolute; inset: 0; background: rgb(0 20 12 / .45); opacity: 0; transition: opacity .25s; }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--cream); border-radius: 26px 26px 0 0; padding: 8px 18px calc(22px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 40px rgb(0 0 0 / .2);
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grip { width: 44px; height: 5px; border-radius: 99px; background: rgb(0 51 36 / .2); margin: 4px auto 12px; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sheet__head h3 { font-size: 18px; font-weight: 600; color: var(--dark); }
.sheet__x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--white); display: grid; place-items: center; cursor: pointer; }
.sheet-open { overflow: hidden; }
@media (min-width: 901px) {
  .sheet__panel { left: 50%; right: auto; bottom: 50%; width: min(520px, calc(100% - 40px)); border-radius: 24px; transform: translate(-50%, 60%); opacity: 0; transition: transform .25s, opacity .2s; }
  .sheet.is-open .sheet__panel { transform: translate(-50%, 50%); opacity: 1; }
  .sheet__grip { display: none; }
}

/* Menu "Mais" (celular) */
.more__user { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--dark); color: var(--white); margin-bottom: 6px; }
.more__user .avatar { width: 46px; height: 46px; font-size: 16px; }
.more__user div { display: grid; gap: 2px; min-width: 0; }
.more__user span:not(.avatar) { font-size: 13px; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more__group { margin: 16px 4px 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.more__tile { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 18px; background: var(--white); color: var(--dark); text-decoration: none; text-align: center; box-shadow: var(--shadow); -webkit-tap-highlight-color: transparent; transition: transform .12s; }
.more__tile:active { transform: scale(.95); }
.more__tile.is-current { background: var(--lime-soft); outline: 2px solid var(--lime); }
.more__ic { position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); }
.more__tile.is-current .more__ic { background: var(--white); }
.more__ic svg { width: 22px; height: 22px; }
.more__count { position: absolute; top: -5px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--orange); color: var(--white); font-size: 11px; display: grid; place-items: center; }
.more__lock { position: absolute; bottom: -4px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--dark); color: var(--white); display: grid; place-items: center; font-style: normal; }
.more__lock svg { width: 11px; height: 11px; }
.more__label { font-size: 12px; font-weight: 600; line-height: 1.2; }
.more__tile small { font-size: 10.5px; color: var(--muted); }
.more__list { display: grid; margin-top: 16px; border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.more__list a, .more__list button { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--dark); font: inherit; font-size: 15px; text-align: left; text-decoration: none; cursor: pointer; }
.more__list > :last-child { border-bottom: 0; }
.more__list span { flex: 1; }
.more__list svg:last-child:not(:first-child) { width: 16px; height: 16px; opacity: .45; transform: rotate(-90deg); }
.more__logout { color: var(--red) !important; }

/* Campos e listas de escolha no mesmo padrão */
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23003324' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
}
.select:disabled, .input:disabled { opacity: .6; cursor: not-allowed; }
.check input[type="checkbox"], .check input[type="radio"] { width: 22px; height: 22px; }
.field label { letter-spacing: .01em; }
.field-error:not(:empty) { display: flex; gap: 6px; align-items: center; }

/* Seções que abrem e fecham (<details>) */
details.card > summary, details.plan-compare > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--dark); border-bottom: 2px solid var(--dark); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
details.card[open] > summary::after { transform: rotate(-135deg); }

@media (max-width: 900px) {
  /* Confirmações viram gaveta de baixo, com botões grandes */
  dialog.confirm { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 26px 26px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); animation: sheetUp .28s cubic-bezier(.2,.8,.2,1); }
  dialog.confirm .actions { display: grid; grid-template-columns: 1fr 1fr; }
  dialog.confirm .actions .btn { width: 100%; min-height: 50px; }
  /* Avisos no topo, como notificação de app */
  .has-tabbar .toasts { top: calc(64px + env(safe-area-inset-top)); bottom: auto; }
  .toast { max-width: none; width: 100%; border-radius: 16px; animation: toastIn .25s ease-out; }
  @keyframes toastIn { from { transform: translateY(-20px); opacity: 0; } }
  .field-row { gap: 12px; }
  .card__head h3 { font-size: 17px; }
}
@media (min-width: 901px) {
  .sidebar { overflow-y: auto; scrollbar-width: thin; gap: 22px; }
  .nav a { height: 42px; }
  .nav__group:first-child { margin-top: 10px; }
}

/* =========================================================
   MAPA: barra de ferramentas por cima, total e tela cheia
   ========================================================= */
.plots-map-wrap { position: relative; }
/* Coluna de ferramentas na lateral direita do mapa (embaixo do botão de camadas). */
.map-tools {
  position: absolute; z-index: 850; right: 10px; top: 64px; width: 78px; max-height: calc(100% - 100px);
  display: flex; flex-direction: column; gap: 4px; padding: 5px; overflow-y: auto; scrollbar-width: none;
  border-radius: 18px; background: rgb(0 30 20 / .82); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgb(0 0 0 / .3);
}
.map-tools::-webkit-scrollbar { display: none; }
.map-tools__btn {
  flex: 0 0 auto; display: grid; justify-items: center; gap: 3px; min-height: 54px; padding: 7px 4px;
  border: 0; border-radius: 13px; background: transparent; color: rgb(255 255 255 / .9); text-align: center;
  font: inherit; font-size: 10.5px; line-height: 1.15; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s, transform .12s;
}
.map-tools__btn svg { width: 21px; height: 21px; }
.map-tools__btn:active { transform: scale(.94); }
.map-tools__btn.is-active { background: var(--lime); color: var(--dark); }
.map-tools__btn.is-primary { background: var(--lime); color: var(--dark); }
.map-tools__text { padding: 4px; color: var(--white); font-size: 11px; text-align: center; }
/* Dica e total ficam à esquerda da coluna, sem cobrir as ferramentas. */
.has-map-tools .map-hint { left: 10px; right: 98px; translate: none; bottom: 40px; max-width: none; }
.map-total {
  position: absolute; z-index: 850; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px;
  background: rgb(0 30 20 / .82); color: var(--white); font-weight: 700; font-size: 14px; pointer-events: none;
}
.map-total[hidden] { display: none; }
/* Tela cheia: o mapa ocupa o aparelho inteiro, por cima de tudo */
.map-full { position: fixed !important; inset: 0; z-index: 1900; background: #000; margin: 0 !important; }
.map-full .editor__map, .map-full .plots-map { height: 100% !important; min-height: 0 !important; border-radius: 0 !important; }
.map-full .map-tools { top: calc(64px + env(safe-area-inset-top)); }
.map-full .map-search { top: calc(10px + env(safe-area-inset-top)); }
.map-full .leaflet-top { margin-top: env(safe-area-inset-top); }
.map-full .leaflet-bottom { margin-bottom: env(safe-area-inset-bottom); }
.map-full .map-total { bottom: calc(10px + env(safe-area-inset-bottom)); }
.map-full .leaflet-control-attribution { font-size: 10px; }
/* Em tela cheia os avisos aparecem embaixo, à esquerda das ferramentas. */
body.map-full-open .toasts { top: auto; bottom: calc(56px + env(safe-area-inset-bottom)); left: 12px; right: 100px; }
.map-full-open { overflow: hidden; }
.map-full-open .tabbar, .map-full-open .fab, .map-full-open .offline-bar { display: none !important; }
@media (max-width: 900px) {
  /* As ferramentas de desenho ficam na barra do mapa; no painel sobra só importar arquivo. */
  .tools [data-tool] { display: none; }
  .tools { grid-template-columns: 1fr; }
  .plots-tools [data-plots-draw] { display: none; }
  .editor__map { height: 62vh; }
  .plots-map { height: 58vh; min-height: 380px; }
  /* Total e botões de envio no fim do formulário (não flutuam por cima do conteúdo). */
  .submit-bar, .has-tabbar .submit-bar { position: static; margin-top: 16px; }
}
