/* Vallore Meu Negócio · Perfil da Empresa no Google (interface). Ver site/gmn-google.js.
   Usa os tokens do Hub (--surface, --ink, --muted, --line, --good, --warn…). Os tokens --gg-* existem
   só onde o Hub não tinha equivalente (cor da marca Meu Negócio, estrela, área do gráfico). */
:root{--gg-pri:#223631;--gg-pri-soft:#E3ECE8;--gg-sec:#798DA6;--gg-star:#F5B301;--gg-amber:#8A5A00;--gg-amber-soft:#FBF1DC;--gg-danger:#B3261E;--gg-danger-soft:#FBEAEA}
.gg-ic{display:inline-flex;width:20px;height:20px;flex:none}.gg-ic svg,.gg-kpi-ic svg,.btn svg{width:18px;height:18px}
.gg-ic.big{width:44px;height:44px;margin:0 auto 6px}.gg-ic.big svg{width:44px;height:44px}
.gg-ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;min-width:0}
.gg-ell svg{width:14px;height:14px;vertical-align:-2px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* abas, barra de demonstração */
.gg-tabs{margin:18px 0 16px}
.gg-tabs .n,.gg-dd .n,.gg-chip .n{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--warn);color:#fff;font-size:11px;font-weight:700;margin-left:6px}
.gg-chip .n{background:var(--surface-2);color:var(--ink)}.gg-chip.on .n{background:rgba(255,255,255,.22);color:#fff}
.gg-demo{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0 0;padding:10px 14px;border:1px dashed var(--line);border-radius:14px;background:var(--surface);font-size:13px}
.gg-demo label{color:var(--muted)}.gg-demo select{width:auto;min-width:0;max-width:100%}
.gg-body{display:flex;flex-direction:column;gap:16px}.gg-body>.card{margin:0}
.gg-sec-h{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.gg-sec-a{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.gg-sec-a select{width:auto}
.gg-iconbtn{padding:8px}
.gg-note{display:flex;gap:8px;align-items:flex-start;background:var(--gg-pri-soft);color:var(--gg-pri);border-radius:12px;padding:10px 12px;font-size:13px}
.gg-note svg{width:18px;height:18px;flex:none;margin-top:1px}

/* 4.1 card de integração */
.gg-int{display:flex;flex-direction:column;gap:14px}
.gg-bar{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.gg-warn{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--gg-amber-soft);color:var(--gg-amber);border-radius:12px;padding:10px 12px;font-size:13px;font-weight:600}
.gg-warn .link-btn{color:var(--gg-amber);text-decoration:underline;font-weight:700}
.gg-igrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gg-icard{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:16px;min-height:120px;display:flex;flex-direction:column;gap:10px;min-width:0}
.gg-ic-info{grid-column:span 2;background:var(--bg);font-size:13px}.gg-ic-info ul{margin:0;padding-left:18px;color:var(--muted);display:grid;gap:4px}
.gg-ic-top{display:flex;align-items:center;gap:10px;min-width:0}.gg-ic-top b{flex:1;min-width:0;font-size:15px}
.gg-logo{width:32px;height:32px;border-radius:9px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;flex:none}.gg-logo svg{width:20px;height:20px}
.gg-ic-body{flex:1;font-size:13px;display:flex;flex-direction:column;gap:2px;min-width:0}.gg-ic-body p.muted:not(.gg-ell){margin:0}
.gg-ic-foot{display:flex;gap:8px;align-items:center}
.gg-full{width:100%}
.gg-menu{position:relative;margin-left:auto}.gg-dots{padding:6px 8px}
.gg-dd{display:none;position:absolute;right:0;bottom:calc(100% + 6px);width:220px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(20,40,65,.16);padding:6px;z-index:30}
.gg-menu.open .gg-dd{display:flex;flex-direction:column}
.gg-dd button{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border-radius:8px;font-size:14px;color:var(--ink)}
.gg-dd button:hover,.gg-dd button:focus-visible{background:var(--bg)}
.gg-dd button.danger{color:var(--gg-danger)}.gg-dd hr{border:0;border-top:1px solid var(--line);margin:4px 0}
.gg-spin{width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:gg-r .7s linear infinite;vertical-align:-2px}
@keyframes gg-r{to{transform:rotate(360deg)}}

/* esqueletos e estados */
.gg-skel{background:linear-gradient(90deg,var(--surface-2) 0%,var(--bg) 50%,var(--surface-2) 100%);background-size:200% 100%;animation:gg-sh 1.2s ease-in-out infinite;border-radius:10px;opacity:.7}
@keyframes gg-sh{to{background-position:-200% 0}}
.gg-skel.line{height:14px;margin:8px 0}.gg-skel.w60{width:60%}.gg-skel.w40{width:40%}.gg-skel.btn{height:36px;margin-top:auto}
.gg-skel.kpi{height:128px;border-radius:12px}.gg-skel.chart{height:300px}.gg-skel.sum{height:120px}.gg-skel.review{height:130px;border-radius:16px}
.gg-skel.hi{height:180px;border-radius:12px}.gg-skel.ph{aspect-ratio:1/1;border-radius:8px}
.gg-empty{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 16px}.gg-empty h3{margin:0}.gg-empty p{margin:0}
.gg-empty.in{padding:12px 0}
.gg-err{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--gg-danger-soft);background:var(--gg-danger-soft);color:var(--gg-danger)}
.gg-err>div{flex:1;min-width:200px}.gg-err p{margin:2px 0 0}

/* 4.4 métricas */
.gg-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gg-kpi{background:var(--surface);border-radius:12px;border:1px solid var(--line);padding:16px;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"ic l" "v v" "var var" "s s";gap:4px 10px;align-items:center;min-width:0}
.gg-kpi-ic{grid-area:ic;width:36px;height:36px;border-radius:50%;background:var(--gg-pri-soft);color:var(--gg-pri);display:grid;place-items:center}.gg-kpi-ic svg{width:20px;height:20px}
.gg-kpi-l{grid-area:l;font-size:12px;color:var(--muted);line-height:16px}
.gg-kpi-v{grid-area:v;font-size:28px;line-height:34px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);margin-top:6px;letter-spacing:-.02em}
.gg-var{grid-area:var;font-size:12.5px;font-weight:700}.gg-var.up{color:var(--good)}.gg-var.down{color:var(--gg-danger)}.gg-var.flat{color:var(--muted)}
.gg-kpi-s{grid-area:s;font-size:11.5px;color:var(--muted)}
.gg-legs{display:flex;gap:6px;flex-wrap:wrap}
.gg-leg{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;padding:5px 10px;border-radius:99px;border:1px solid var(--line);color:var(--muted)}
.gg-leg i{width:10px;height:3px;border-radius:2px;background:currentColor}
.gg-leg.on{color:var(--ink);border-color:var(--ink)}.gg-leg.total i{background:var(--gg-pri)}.gg-leg.search i{background:var(--gg-pri)}.gg-leg.maps i{background:var(--gg-sec)}
.gg-leg:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.gg-chart-c .gg-sec-h{margin-bottom:12px;align-items:center}
.gg-chart{position:relative;display:grid;grid-template-columns:44px 1fr;grid-template-rows:280px 22px}
.gg-yl{position:relative}.gg-yl span{position:absolute;right:8px;transform:translateY(50%);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.gg-plot{position:relative;touch-action:pan-y}.gg-plot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gg-grid i{position:absolute;left:0;right:0;border-top:1px solid var(--line);opacity:.7}
.gg-line{fill:none;stroke-width:2.25}.gg-line.total,.gg-line.search{stroke:var(--gg-pri)}.gg-line.maps{stroke:var(--gg-sec)}
.gg-area{stroke:none;opacity:.08}.gg-area.total,.gg-area.search{fill:var(--gg-pri)}.gg-area.maps{fill:var(--gg-sec)}
.gg-xl{grid-column:2;position:relative}.gg-xl span{position:absolute;top:6px;transform:translateX(-50%);font-size:11px;color:var(--muted);white-space:nowrap}
.gg-hl{position:absolute;top:0;bottom:0;border-left:1px dashed var(--muted);pointer-events:none}
.gg-dot{position:absolute;width:10px;height:10px;border-radius:50%;border:2px solid #fff;transform:translate(-50%,50%);pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.gg-dot.total,.gg-dot.search{background:var(--gg-pri)}.gg-dot.maps{background:var(--gg-sec)}
.gg-tip{position:absolute;top:8px;background:var(--ink);color:#fff;border-radius:10px;padding:8px 10px;font-size:12px;display:flex;flex-direction:column;gap:2px;pointer-events:none;white-space:nowrap;z-index:2}
.gg-tip b{font-weight:600;margin-bottom:2px}.gg-tip b::first-letter{text-transform:uppercase}.gg-tip span{display:flex;align-items:center;gap:6px}.gg-tip i{width:8px;height:8px;border-radius:50%;background:#9FB7AE}.gg-tip .maps i{background:var(--gg-sec)}.gg-tip .total i{background:#fff}
.gg-hbar{display:grid;grid-template-columns:minmax(0,170px) 1fr 64px 40px;gap:10px;align-items:center;font-size:13px;padding:5px 0}
.gg-hbar span{color:var(--muted)}.gg-hbar i{height:8px;background:var(--surface-2);border-radius:99px;overflow:hidden}.gg-hbar em{display:block;height:100%;background:var(--gg-pri);border-radius:99px}
.gg-hbar b{text-align:right;font-variant-numeric:tabular-nums}.gg-hbar small{color:var(--muted);text-align:right}

/* 4.5 avaliações */
.gg-rsum{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;align-items:center}
.gg-rsum-l{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.gg-avg{font-size:44px;line-height:1;font-weight:700;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.gg-stars{display:inline-flex;gap:1px;color:var(--line)}.gg-stars i{display:inline-flex;width:14px;height:14px}.gg-stars svg{width:100%;height:100%}.gg-stars i.on{color:var(--gg-star)}
.gg-stars.lg i{width:20px;height:20px}
.gg-dist{display:grid;grid-template-columns:14px 1fr 28px;gap:10px;align-items:center;font-size:12.5px;padding:2px 0}.gg-dist i{height:8px;background:var(--surface-2);border-radius:99px;overflow:hidden}.gg-dist em{display:block;height:100%;background:var(--gg-star);border-radius:99px}.gg-dist b{text-align:right;font-variant-numeric:tabular-nums}
.gg-filt{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}.gg-filt select{width:auto}
.gg-chips{display:flex;gap:6px;flex-wrap:wrap}
.gg-chip{all:unset;cursor:pointer;display:inline-flex;align-items:center;padding:6px 12px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:13px;font-weight:600;color:var(--ink)}
.gg-chip.on{background:var(--ink);border-color:var(--ink);color:#fff}.gg-chip:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.gg-rlist{display:flex;flex-direction:column;gap:12px}
.gg-review{display:flex;flex-direction:column;gap:8px;margin:0}
.gg-review header{display:flex;gap:10px;align-items:center}.gg-review header>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.gg-av{width:36px;height:36px;border-radius:50%;background:var(--gg-pri-soft);color:var(--gg-pri);display:grid;place-items:center;font-weight:700;font-size:13px;flex:none;overflow:hidden}.gg-av img{width:100%;height:100%;object-fit:cover}
.gg-rmeta{display:flex;gap:8px;align-items:center;font-size:12px}
.gg-rtext{margin:0;font-size:14px;line-height:20px;white-space:pre-wrap}.gg-rtext.clamp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.gg-review .link-btn{align-self:flex-start;font-size:13px}
.gg-tr{font-size:13px;color:var(--muted)}.gg-tr summary{cursor:pointer;font-weight:600}.gg-tr p{margin:6px 0 0;font-style:italic}
.gg-reply{margin-left:18px;border-left:2px solid var(--gg-pri);padding:4px 0 4px 12px;display:flex;flex-direction:column;gap:4px}
.gg-reply-l{font-size:12px;color:var(--muted);font-weight:600}.gg-reply p{margin:0;font-size:14px}
.gg-reply-a{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gg-editor{display:flex;flex-direction:column;gap:8px;margin-left:18px;border-left:2px solid var(--gg-pri);padding-left:12px}
.gg-editor textarea{min-height:84px;resize:vertical;font:inherit}
.gg-ed-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.gg-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.gg-count.warn{color:var(--gg-danger)}
.gg-ed-a{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.gg-cfm{display:flex;gap:10px;background:var(--gg-amber-soft);color:var(--gg-amber);border-radius:12px;padding:12px;font-size:13px}
.gg-cfm>div{min-width:0}.gg-cfm b{display:block}.gg-cfm ul{margin:6px 0;padding-left:18px}
.gg-cfm-t{margin:6px 0 0;padding:8px 10px;background:var(--surface);color:var(--ink);border-radius:8px;white-space:pre-wrap;word-break:break-word}
.gg-cfm mark{background:#F7D58B;color:#3A2600;border-radius:3px;padding:0 2px}
.gg-cfm-ok{display:flex;gap:8px;align-items:center;font-weight:600;cursor:pointer}

/* 4.7 galeria */
.gg-hi{display:grid;grid-template-columns:2fr 1fr;gap:16px}
.gg-hicard{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);display:flex;flex-direction:column}
.gg-hiimg{aspect-ratio:16/9;background:var(--surface-2);display:grid;place-items:center}.gg-hicard.logo .gg-hiimg{aspect-ratio:auto;flex:1;min-height:0;padding:16px}
.gg-hiimg img{width:100%;height:100%;object-fit:cover;display:block}.gg-hicard.logo .gg-hiimg img{width:auto;max-width:70%;max-height:200px;aspect-ratio:1/1;border-radius:50%;object-fit:cover}
.gg-hibar{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;gap:8px}
.gg-galf{margin-top:2px}
.gg-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gg-ph{position:relative;margin:0;aspect-ratio:1/1;border-radius:8px;overflow:hidden;background:var(--surface-2)}
.gg-ph img{width:100%;height:100%;object-fit:cover;display:block}
.gg-ph figcaption{position:absolute;left:8px;bottom:8px;background:rgba(20,40,65,.72);color:#fff;font-size:11px;font-weight:600;padding:3px 8px;border-radius:99px}
.gg-ph-o{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;background:rgba(20,40,65,.45);opacity:0;transition:opacity .15s}
.gg-ph:hover .gg-ph-o,.gg-ph:focus-within .gg-ph-o{opacity:1}
.gg-ph-o button{all:unset;cursor:pointer;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center}.gg-ph-o button svg{width:18px;height:18px}
.gg-ph-o button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (hover:none){.gg-ph-o{opacity:1;background:none;align-items:flex-start;justify-content:flex-end;padding:6px;gap:6px}.gg-ph-o button{width:34px;height:34px;box-shadow:0 1px 4px rgba(0,0,0,.2)}}
.gg-ups{display:flex;flex-direction:column;gap:8px}.gg-up{display:grid;grid-template-columns:minmax(0,1fr) 120px 56px;gap:10px;align-items:center;font-size:13px}
.gg-up i{height:6px;background:var(--surface-2);border-radius:99px;overflow:hidden}.gg-up em{display:block;height:100%;background:var(--gg-pri);transition:width .2s}.gg-up small{text-align:right;color:var(--muted)}
.gg-drop{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;border:1.5px dashed var(--line);border-radius:14px;padding:22px 14px;cursor:pointer;background:var(--bg)}
.gg-drop.over{border-color:var(--gg-pri);background:var(--gg-pri-soft)}.gg-drop input{max-width:100%;margin-top:8px;font-size:13px}
.gg-flist{display:flex;flex-direction:column;gap:6px}.gg-fi{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;font-size:13px;padding:8px 10px;border-radius:10px;background:var(--bg)}
.gg-fi small{color:var(--muted);text-align:right}.gg-fi.ok small{color:var(--good);font-weight:600}.gg-fi.bad small{color:var(--gg-danger);font-weight:600}
.gg-lb{width:100%;border-radius:10px;display:block}

/* informações do local e editar local */
.gg-2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gg-2col>.card{margin:0}
.gg-kv{display:grid;grid-template-columns:minmax(0,170px) minmax(0,1fr);gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:14px}
.gg-kv:first-of-type{border-top:0}.gg-kv>span{color:var(--muted);font-size:13px}.gg-kv>div{min-width:0;overflow-wrap:anywhere}.gg-kv .chip{margin:0 4px 4px 0}
.gg-pre{white-space:pre-wrap}.gg-rev{margin-left:6px;vertical-align:1px}
.gg-hours{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}.gg-hours>div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--line);font-size:14px}
.gg-hours span{color:var(--muted)}.gg-hours b{font-weight:600;text-align:right}
.modal.gg-modal-lg{max-width:640px}.modal.gg-modal-md{max-width:480px}
.gg-mtabs{margin:0 -4px}
.gg-mp{display:flex;flex-direction:column;gap:12px}.gg-mp[hidden]{display:none}
.gg-cats{display:flex;flex-wrap:wrap;gap:6px}.gg-cchip{text-transform:none;letter-spacing:0;font-size:12.5px;font-weight:600;padding:4px 6px 4px 10px}
.gg-cchip button{all:unset;cursor:pointer;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-size:15px;line-height:1}.gg-cchip button:hover{background:var(--line)}
.gg-cat-in{display:flex;gap:8px;margin-top:6px}.gg-cat-in .input{flex:1;min-width:0}
.field .gg-count{align-self:flex-end}
.gg-hrows{display:flex;flex-direction:column;gap:6px}
.gg-hrow{display:grid;grid-template-columns:72px 104px minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center;font-size:13.5px}
.gg-hrow .gg-hday{font-weight:600}.gg-hrow.off .gg-hr{opacity:.35;pointer-events:none}
.gg-hr{display:flex;align-items:center;gap:4px;min-width:0}.gg-hr .input{padding:6px 6px;min-width:0;width:100%}
.gg-tog{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:13px}
.gg-sps{display:flex;flex-direction:column;gap:6px}
.gg-sprow{display:grid;grid-template-columns:140px minmax(0,1fr) auto 92px 92px auto;gap:6px;align-items:center}.gg-sprow .input{padding:6px 8px;min-width:0}
.gg-radios{display:flex;flex-direction:column;gap:8px}
.gg-radio{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px;cursor:pointer;font-weight:600}
.gg-radio.danger{color:var(--gg-danger)}.gg-radio:has(input:checked){border-color:var(--ink)}.gg-radio.danger:has(input:checked){border-color:var(--gg-danger);background:var(--gg-danger-soft)}
.gg-perm{display:flex;flex-direction:column;gap:8px;background:var(--gg-danger-soft);color:var(--gg-danger);padding:12px;border-radius:12px;font-size:13px}.gg-perm[hidden]{display:none}.gg-perm label{display:flex;gap:8px;align-items:center;font-weight:600}
.gg-diff{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:10px 0;border-top:1px solid var(--line);font-size:13px}
.gg-diff .old{color:var(--muted);text-decoration:line-through;overflow-wrap:anywhere}.gg-diff .new{color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.gg-locs{display:flex;flex-direction:column;gap:8px;max-height:52vh;overflow:auto}
.gg-loc{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:10px 12px;cursor:pointer}
.gg-loc[hidden]{display:none}.gg-loc span{display:flex;flex-direction:column;min-width:0}.gg-loc small{font-size:12px}.gg-loc:has(input:checked){border-color:var(--ink)}
.gg-nets{border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;margin:0}.gg-nets legend{font-size:12px;color:var(--muted);padding:0 4px}
.gg-nets label{display:flex;gap:8px;align-items:center;font-size:14px}.gg-nets svg{width:16px;height:16px}.gg-nets small{font-size:11.5px}
.gg-linkrow{display:flex;gap:8px}.gg-linkrow .input{flex:1;min-width:0;font-size:13px}
.gg-linkfoot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px}.link-btn.danger{color:var(--gg-danger)}

/* página pública /conectar/:token */
html.gg-pub-on,html.gg-pub-on body{overflow:hidden}
.gg-pub{position:fixed;inset:0;z-index:99990;overflow:auto;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:radial-gradient(900px 600px at 50% 30%,#2D4A42 0%,#223631 55%,#142841 100%);font-family:"Inter Tight",system-ui,sans-serif}
.gg-pub-c{width:100%;max-width:420px;background:#fff;border-radius:22px;padding:28px 22px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;box-shadow:0 30px 80px rgba(0,0,0,.3);color:#142841}
.gg-pub-logo{height:30px;width:auto;margin-bottom:6px}
.gg-pub-c h1{font-size:24px;line-height:30px;letter-spacing:-.02em;margin:4px 0 0}.gg-pub-c p{margin:0;color:#5E6A82;font-size:15px;line-height:22px}
.gg-gbtn{all:unset;box-sizing:border-box;cursor:pointer;width:100%;min-height:52px;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #DADCE0;border-radius:99px;font-weight:600;font-size:16px;color:#1F1F1F;background:#fff}
.gg-gbtn svg{width:22px;height:22px}.gg-gbtn:hover{background:#F7F8F8}.gg-gbtn:focus-visible{outline:2px solid #223631;outline-offset:2px}.gg-gbtn[disabled]{opacity:.6;cursor:default}
.gg-pub-priv{font-size:12px!important;line-height:17px!important;margin-top:12px!important;color:#8A93A5!important}.gg-pub-priv a{color:inherit}
.gg-pub .gg-ic.big.ok{color:#2C7A55}.gg-pub .gg-ic.big.warn{color:#8A5A00}.gg-pub-err{color:#B3261E!important;font-weight:600}

/* telas médias e celular */
@media (max-width:1023px){
  .gg-igrid{grid-template-columns:repeat(2,minmax(0,1fr))}.gg-ic-info{grid-column:auto}
  .gg-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gg-rsum{grid-template-columns:auto minmax(0,1fr)}.gg-rsum-a{grid-column:1/-1}
  .gg-2col{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:639px){
  .gg-igrid,.gg-kpis{grid-template-columns:minmax(0,1fr)}
  .gg-kpi{grid-template-columns:auto 1fr auto;grid-template-areas:"ic l var" "ic v v" "s s s";padding:12px 14px}.gg-kpi-v{margin:0;font-size:24px;line-height:28px}.gg-kpi-s{display:none}
  .gg-rsum{grid-template-columns:minmax(0,1fr);gap:14px}.gg-rsum-l{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}
  .gg-filt select{width:100%}
  .gg-chart{grid-template-columns:34px 1fr;grid-template-rows:220px 22px}
  .gg-hbar{grid-template-columns:minmax(0,1fr) 64px 34px;grid-template-areas:"l b p" "bar bar bar";row-gap:4px}.gg-hbar span{grid-area:l}.gg-hbar i{grid-area:bar}.gg-hbar b{grid-area:b}.gg-hbar small{grid-area:p}
  .gg-hi{grid-template-columns:minmax(0,1fr)}.gg-hicard.logo .gg-hiimg{min-height:150px}
  .gg-grid4{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .gg-kv{grid-template-columns:minmax(0,1fr);gap:2px}
  .gg-hours{grid-template-columns:minmax(0,1fr)}
  .gg-hrow{grid-template-columns:1fr auto;grid-template-areas:"d t" "r1 r1" "r2 r2";padding:8px 0;border-bottom:1px solid var(--line)}.gg-hrow .gg-hday{grid-area:d}.gg-hrow .gg-tog{grid-area:t}.gg-hrow .gg-hr:nth-of-type(1){grid-area:r1}.gg-hrow .gg-hr:nth-of-type(2){grid-area:r2}
  .gg-hrow.off .gg-hr{display:none}
  .gg-sprow{grid-template-columns:1fr 1fr;padding:8px 0;border-bottom:1px solid var(--line)}.gg-sprow>.input:nth-child(2){grid-column:1/-1;grid-row:2}
  .gg-reply,.gg-editor{margin-left:0}
  .gg-ed-a .btn{flex:1}
  .gg-up{grid-template-columns:minmax(0,1fr) 80px 48px}
  .gg-linkrow{flex-direction:column}
  .gg-dd{right:0;width:min(220px,calc(100vw - 48px))}
}
/* o visual novo deixa .input com largura total: aqui os seletores ficam do tamanho do texto */
.gg-demo select.input,.gg-sec-a select.input,.gg-filt select.input{width:auto;flex:0 1 auto}
.gg-dot[hidden],.gg-tip[hidden],.gg-hl[hidden],.gg-mp[hidden],.gg-loc[hidden]{display:none!important}
@media (max-width:639px){.gg-filt select.input{width:100%}.gg-demo select.input{width:100%}}
.gg-review>.chip{align-self:flex-start}
html .gg-cats .chip.gg-cchip{text-transform:none;letter-spacing:0}
.gg-loc .chip,.gg-ic-top .chip{flex:none;white-space:nowrap}
.gg-loc>span:not(.chip){display:flex;flex-direction:column}
.gg-ic-top{flex-wrap:wrap;row-gap:6px}.gg-ic-top b{flex:1 1 130px;white-space:normal;line-height:1.25}

/* 02/12/2026 · legenda do gráfico com área de toque de 44px no celular */
@media (max-width:639px){.gg-leg{min-height:44px}}
