/* Google Business Extractor - one plain stylesheet, no build step. */
:root {
  --ink: #16202c;
  --muted: #5d6b7a;
  --line: #dfe5ec;
  --bg: #f5f7fa;
  --card: #ffffff;
  --brand: #0b6e6e;
  --brand-dark: #085555;
  --ok: #1d7a46;
  --ok-bg: #e7f5ec;
  --bad: #b3261e;
  --bad-bg: #fdecea;
  --warn-bg: #fff6df;
  --warn: #7a5a00;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 26px; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.nav { background: var(--card); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 17px; color: var(--ink); }
.nav-links { display: flex; gap: 16px; flex: 1; flex-wrap: wrap; }
.nav-links a { color: var(--muted); }
.nav-links a.on { color: var(--brand); font-weight: 600; }
.nav form { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 20px 60px; }
.narrow { max-width: 440px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > .grow { flex: 1; min-width: 180px; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], select {
  width: 100%; padding: 9px 11px; border: 1px solid #c5ced8; border-radius: 7px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus { outline: 2px solid #9fd3d3; border-color: var(--brand); }
.field { margin-bottom: 14px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; }
.check input { width: auto; }
.err { color: var(--bad); font-size: 13px; margin-top: 4px; }

.btn { display: inline-block; padding: 9px 16px; border-radius: 7px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--brand); }
.btn.ghost:hover { background: #eef7f7; }
.btn.danger { background: #fff; color: var(--bad); border-color: #e3b4b0; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.block { display: block; width: 100%; text-align: center; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; }

.flash { padding: 11px 14px; border-radius: 8px; margin-bottom: 18px; }
.flash.ok { background: var(--ok-bg); color: var(--ok); }
.flash.bad { background: var(--bad-bg); color: var(--bad); }
.flash.warn { background: var(--warn-bg); color: var(--warn); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.table-scroll { overflow-x: auto; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.wrapcell { max-width: 260px; overflow-wrap: anywhere; }

.badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #e8edf2; color: var(--muted); }
.badge.completed, .badge.active { background: var(--ok-bg); color: var(--ok); }
.badge.failed, .badge.canceled, .badge.past_due { background: var(--bad-bg); color: var(--bad); }
.badge.pending, .badge.running { background: var(--warn-bg); color: var(--warn); }

.meter { height: 10px; background: #e3e9ef; border-radius: 99px; overflow: hidden; margin: 8px 0; }
.meter > span { display: block; height: 100%; background: var(--brand); }
.stat { font-size: 26px; font-weight: 700; }

.hero { text-align: center; padding: 30px 0 34px; }
.hero h1 { font-size: 34px; }
.hero p { font-size: 17px; color: var(--muted); max-width: 640px; margin: 0 auto 20px; }
.plan h2 { margin-bottom: 2px; }
.price { font-size: 24px; font-weight: 700; margin: 10px 0 2px; }
.plan .btn { margin-top: 8px; }
.plan.current { border-color: var(--brand); box-shadow: 0 0 0 2px #cfe9e9; }

.pager { margin-top: 16px; display: flex; gap: 14px; align-items: center; }

.credit { margin-top: 34px; }
code { background: #eef1f5; padding: 1px 5px; border-radius: 4px; font-size: 13px; overflow-wrap: anywhere; }
.detail { background: #f8f9fb; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }

/* 1.3: search form helpers and search previews */
.chip { border: 1px solid #c5ced8; background: #fff; color: var(--ink); border-radius: 99px; padding: 3px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.quick { align-items: center; gap: 8px; }
.tips { margin: 12px 0 0; padding-left: 18px; }
.tips li { margin-bottom: 3px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
tr.preview-row > td { background: #f8f9fb; padding: 14px 16px; }
tr.preview-row[hidden] { display: none; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; margin: 0 0 12px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
table.mini th, table.mini td { padding: 6px 8px; font-size: 14px; background: #fff; }
table.mini { border: 1px solid var(--line); }

/* 1.4: contact actions, logo, site footer, policy pages */
.actions { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-top: 2px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-size: 13px; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.brand img { max-height: 36px; max-width: 200px; display: block; }
.site-footer { border-top: 1px solid var(--line); background: var(--card); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 18px 20px 26px; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-bottom: 8px; }
.footer-links a { color: var(--muted); }
.legal h2 { margin-top: 22px; }
.legal ul { padding-left: 20px; }
textarea { width: 100%; padding: 9px 11px; border: 1px solid #c5ced8; border-radius: 7px; font: 14px/1.5 ui-monospace, Menlo, Consolas, monospace; min-height: 260px; }
input[type=file] { font: inherit; }
.thumb { max-height: 48px; max-width: 220px; border: 1px solid var(--line); border-radius: 6px; padding: 4px; background: #fff; vertical-align: middle; }

/* 1.7: WhatsApp sign-in and sign-up */
.auth { padding: 28px 26px; }
.auth-brand { text-align: center; margin-bottom: 14px; font-weight: 700; font-size: 20px; }
.auth-brand img { max-height: 54px; max-width: 220px; }
.auth h1 { text-align: center; }
.auth > p.muted { text-align: center; }
.phone-box { display: flex; border: 1px solid #c5ced8; border-radius: 8px; overflow: hidden; background: #fff; }
.phone-box:focus-within { outline: 2px solid #9fd3d3; border-color: var(--brand); }
.phone-code { padding: 11px 12px; background: #eef1f5; color: var(--muted); font-weight: 600; border-right: 1px solid #c5ced8; }
.phone-box input { border: 0; border-radius: 0; font-size: 18px; letter-spacing: .04em; padding: 10px 12px; }
.phone-box input:focus { outline: none; }
.wa-btn { background: #128c4a; border-color: #128c4a; font-size: 16px; padding: 12px 16px; }
.wa-btn:hover { background: #0e7a40; }
.steps { margin: 18px 0 0; padding-left: 20px; }
.auth-switch { text-align: center; margin: 16px 0 0; }
#code { font-size: 24px; letter-spacing: .3em; text-align: center; }

/* 1.8: country code choice */
select.phone-code { width: auto; max-width: 118px; border: 0; border-right: 1px solid #c5ced8; border-radius: 0; padding: 10px 8px; font-weight: 600; background: #eef1f5; color: var(--ink); }
select.phone-code:focus { outline: none; }

/* 2.0: CRM */
textarea.short { min-height: 0; font: inherit; }
input[type=datetime-local], input[type=tel] { width: 100%; padding: 9px 11px; border: 1px solid #c5ced8; border-radius: 7px; font: inherit; background: #fff; color: var(--ink); }

/* 2.2: board */
.board { display: flex; gap: 12px; overflow-x: auto; align-items: flex-start; padding-bottom: 10px; }
.board-col { flex: 0 0 250px; background: #eef1f5; border: 1px solid #dfe5ec; border-radius: 8px; padding: 10px; }
.board-col.drop { outline: 2px dashed #0d6efd; outline-offset: -2px; background: #e3edff; }
.board-col.is-won { border-top: 3px solid #198754; }
.board-col.is-lost { border-top: 3px solid #dc3545; }
.board-col > header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.board-cards { min-height: 60px; }
.board-card { background: #fff; border: 1px solid #dfe5ec; border-radius: 6px; padding: 8px 10px; margin-bottom: 8px; cursor: grab; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.board-card.dragging { opacity: .45; }
.board-card > a { font-weight: 600; }
.board-card select.board-move { width: 100%; margin-top: 6px; padding: 2px 6px; font-size: 12px; border: 1px solid #dfe5ec; border-radius: 5px; background: #f8f9fb; color: inherit; }

/* 2.4: Google Translate widget: no top banner, no page shift, compact box */
.goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe { display: none !important; }
body { top: 0 !important; position: static !important; }
#google_translate_element { display: inline-block; margin: 0 8px; min-width: 0; }
#google_translate_element .goog-te-gadget { font-size: 0; color: transparent; white-space: nowrap; }
#google_translate_element .goog-te-gadget > span, #google_translate_element .goog-logo-link { display: none !important; }
#google_translate_element select.goog-te-combo { font: inherit; font-size: 14px; width: auto; max-width: 150px; padding: 3px 6px; margin: 0; border: 1px solid #c5ced8; border-radius: 6px; background: #fff; color: #1c2733; }

/* 2.5: icon buttons, pop-ups, attached files */
.ico { vertical-align: -3px; }
.icobar { display: inline-flex; gap: 6px; align-items: center; margin-top: 3px; }
.icobtn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #c5ced8; background: transparent; color: inherit; cursor: pointer; padding: 0; vertical-align: middle; text-decoration: none; }
.icobtn:hover { text-decoration: none; filter: brightness(.92); }
.icobtn.call { color: #0d6efd; border-color: #0d6efd; }
.icobtn.wa { color: #fff; background: #128c4a; border-color: #128c4a; }
.icobtn.mail { color: #b45309; border-color: #d97706; }
.icobtn.eye { width: 26px; height: 26px; margin-right: 4px; color: #0d6efd; border-color: transparent; background: rgba(13,110,253,.1); }
.gbe-modal { position: fixed; inset: 0; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000; background: rgba(0,0,0,.5); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 24px 12px; }
.gbe-modal[hidden] { display: none; }
.gbe-modal-box { position: relative; width: 100%; max-width: 520px; background: #fff; color: #1c2733; border-radius: 10px; padding: 20px 22px; box-shadow: 0 10px 40px rgba(0,0,0,.3); text-align: left; }
.gbe-modal-box.wide { max-width: 760px; }
.gbe-modal-x { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: inherit; }
body.gbe-modal-open { overflow: hidden; }
.filegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.fileitem img { width: 100%; height: 96px; object-fit: cover; border: 1px solid #c5ced8; border-radius: 6px; display: block; background: #fff; }
.filepdf { display: flex; align-items: center; justify-content: center; gap: 6px; height: 96px; border: 1px solid #c5ced8; border-radius: 6px; font-weight: 700; color: #b91c1c; background: #fef2f2; }
