.ges-money-tabs{display:flex;gap:4px;margin-bottom:10px}
.ges-money-tabs button{border:1px solid var(--line,#dce4ec);border-radius:7px;padding:6px 10px;background:var(--surface,#fff);color:inherit;font:inherit;cursor:pointer}
.ges-money-tabs [aria-pressed=true]{background:#fff2d7;color:#805700;border-color:#dda329;font-weight:700}
.ges-money-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ges-money-columns[hidden],.ges-money-equation[hidden]{display:none}
.ges-money-column{border:0;background:transparent;padding:3px;color:inherit;display:flex;flex-direction:column;align-items:stretch;gap:5px;font:inherit;cursor:pointer;min-width:0;border-radius:6px}
.ges-money-column>strong{font-size:12px!important;font-variant-numeric:tabular-nums;white-space:nowrap}
.ges-money-column>span:last-child{font-size:11px;text-align:center;min-height:28px}
.ges-money-plot{height:108px;position:relative;display:block;background:repeating-linear-gradient(to top,transparent 0,transparent 35px,#6c879b12 35px,#6c879b12 36px)}
.ges-money-plot:after{content:'';position:absolute;left:0;right:0;bottom:var(--zero);height:1px;background:#7892a555}
.ges-money-plot i{position:absolute;left:26%;width:48%;bottom:var(--bottom);height:var(--height);background:linear-gradient(90deg,var(--bar),color-mix(in srgb,var(--bar),white 18%));border-radius:5px 5px 0 0;transform-origin:bottom;animation:gesMoneyGrow .7s ease-out}
.ges-money-plot em{position:absolute;inset:40% 0 auto;font-size:11px;font-style:normal;color:var(--muted,#63758a)}
.ges-money-column:hover,.ges-money-column.is-selected{background:#2a78d60c;outline:1px solid #2a78d644}
.ges-money-help{min-height:30px;font-size:11px;line-height:1.4;margin:8px 0 5px;color:var(--muted,#63758a)}
.ges-money-equation{background:#159b8010;border-radius:7px;padding:7px;margin:0;font-size:11px;font-weight:700;text-align:center}
.pv-tl-detail-panel:has(.ges-money-explainer){padding:14px}
.ges-benefit-equation{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr) 16px minmax(0,1fr);align-items:stretch;gap:4px;margin:0 0 12px}
.ges-benefit-part{--benefit-accent:#2576c5;display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-width:0;padding:10px;border:1px solid color-mix(in srgb,var(--benefit-accent),transparent 65%);border-top:3px solid var(--benefit-accent);border-radius:8px;background:color-mix(in srgb,var(--benefit-accent),transparent 94%)}
.ges-benefit-part>span{font-size:11px;font-weight:600;line-height:1.3;min-height:2.6em;color:var(--text,#152b43)}
.ges-benefit-part>strong{font-size:clamp(13px,2.25cqw,18px);font-weight:800;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--benefit-accent)}
.ges-benefit-part>small{font-size:11px;font-weight:600;line-height:1.3;color:var(--benefit-accent)}
.ges-benefit-part[data-benefit-part=sale]{--benefit-accent:#108776}
.ges-benefit-part[data-benefit-part=total]{--benefit-accent:#087854;background:color-mix(in srgb,var(--benefit-accent),transparent 90%)}
.ges-benefit-part[data-negative=true]{--benefit-accent:#bd3d47}
.ges-benefit-operator{align-self:center;text-align:center;font-size:20px;font-weight:700;color:var(--muted,#63758a)}
html[data-theme=dark] .ges-benefit-part{--benefit-accent:#79b9ff}
html[data-theme=dark] .ges-benefit-part[data-benefit-part=sale]{--benefit-accent:#65d4c2}
html[data-theme=dark] .ges-benefit-part[data-benefit-part=total]{--benefit-accent:#64dcae}
html[data-theme=dark] .ges-benefit-part[data-negative=true]{--benefit-accent:#ff8792}
/* Compact desktop documents: all three totals and the benefit remain in view. */
.ges-invoice-overlay{position:fixed;inset:0;z-index:160000;background:#06152599;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:12px;color:var(--text,#152b43)}
.ges-invoice-dialog{width:min(1500px,100%);max-height:calc(100dvh - 24px);overflow:auto;background:var(--surface2,#edf3f7);border:1px solid var(--line,#dce4ec);border-radius:16px;padding:14px 18px;box-sizing:border-box;box-shadow:0 25px 80px #0005}
.ges-invoice-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ges-invoice-head small{color:var(--muted,#63758a);font-size:11px}.ges-invoice-head h2{font-size:20px;line-height:1.2;margin:2px 0 0}
.ges-invoice-head button{border:1px solid var(--line,#dce4ec);border-radius:8px;padding:6px 12px;background:var(--surface,#fff);color:inherit;font:inherit;font-size:12px;cursor:pointer}
.ges-invoice-actions,.ges-invoice-monthnav{display:flex;align-items:center;gap:5px}
.ges-invoice-monthnav{margin-right:8px;padding:4px;background:#e5ac2114;border:1px solid #d49c37;border-radius:11px;box-shadow:0 2px 5px #8057000c}
.ges-invoice-monthlabel{font-size:10px;font-weight:800;letter-spacing:.05em;margin:0 5px;color:var(--gold,#946100)}
.ges-invoice-monthnav input{box-sizing:border-box;width:170px;min-height:36px;border:1px solid #c49b49;border-radius:7px;background:var(--surface,#fff);color:var(--text,#152b43);padding:6px 9px;font:inherit;font-size:15px;font-weight:750}
.ges-invoice-head .ges-invoice-monthnav button{width:34px;height:36px;padding:0;font-size:24px;line-height:1;font-weight:600}
.ges-invoice-head .ges-invoice-actions>button{min-height:38px;white-space:nowrap;font-weight:650}
.ges-invoice-head button.ges-invoice-gold{background:linear-gradient(135deg,#ffdb79,#e6a015);border-color:#c98a0c;color:#2e230a;box-shadow:0 2px 5px #aa780025}
.ges-invoice-head button.ges-invoice-gold:hover{background:linear-gradient(135deg,#ffe5a0,#f0b02d)}
.ges-invoice-actions [data-invoice-share]{display:inline-flex;align-items:center;gap:7px}
.ges-invoice-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.ges-invoice-head button:disabled{opacity:.45;cursor:default}
.ges-invoice-status{padding:50px 20px;text-align:center;font-size:14px;color:var(--muted,#63758a)}
.ges-invoice-content[hidden],#pvInvoicesBtn[hidden],body.ges-perm-no-finance #pvInvoicesBtn{display:none!important}
#pvInvoicesBtn{height:36px;padding:0 12px;font-size:12px}
.ges-invoice-intro{font-size:12px;margin:7px 0 3px;line-height:1.35}.ges-invoice-regime{font-size:11px;line-height:1.35;margin:0 0 9px;color:var(--muted,#63758a)}
.ges-invoice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.ges-invoice-paper{background:var(--surface,#fff);border:1px solid var(--line,#dce4ec);border-top:3px solid #3984d7;box-shadow:0 4px 14px #18384e09;padding:12px;display:flex;flex-direction:column;min-width:0}
.ges-invoice-paper[data-invoice-paper=distribution]{border-top-color:#e39144}.ges-invoice-paper[data-invoice-paper=production]{border-top-color:#159b80}
.ges-invoice-paper>header{display:flex;align-items:center;justify-content:space-between;gap:6px}.ges-invoice-badge{font-size:9px;letter-spacing:.05em;color:var(--muted,#63758a)}
.ges-invoice-paper h3{font-size:17px;line-height:1.2;margin:0}.ges-invoice-direction{font-size:11px;font-weight:700;line-height:1.3;margin:4px 0 8px}.ges-invoice-paper[data-invoice-paper=production] .ges-invoice-direction{color:#159b80}
.ges-invoice-identity{font-size:11px;padding:6px 0;border-top:1px solid var(--line,#dce4ec);border-bottom:1px solid var(--line,#dce4ec);line-height:1.3}
.ges-invoice-identity>div{display:flex;justify-content:space-between;gap:8px;margin:1px 0}.ges-invoice-identity span{color:var(--muted,#63758a);flex-shrink:0}.ges-invoice-identity b{text-align:right;font-weight:600;overflow-wrap:anywhere;min-width:0}
.ges-invoice-purpose{font-size:11px;line-height:1.35;min-height:30px;margin:6px 0;color:var(--muted,#63758a)}
.ges-invoice-quantities{padding:5px 0;margin:2px 0;font-size:11px;line-height:1.35;border-bottom:1px solid var(--line,#dce4ec)}
.ges-invoice-quantities>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
/* Make room for the separately displayed loss and prior-month credit, without nested scrolling. */
.has-billing-proof .ges-invoice-purpose{min-height:0;margin:4px 0}
.has-billing-proof .ges-invoice-lines button{padding-top:4px;padding-bottom:4px}
.has-billing-proof .ges-invoice-discount-block>div{padding:1px 0}
.has-billing-proof .ges-invoice-paper{padding:10px}
.has-billing-proof .ges-invoice-identity{padding:4px 0}
.ges-invoice-quantities span{color:var(--muted,#63758a)}.ges-invoice-quantities strong{font-size:inherit;white-space:nowrap;font-variant-numeric:tabular-nums}
.ges-invoice-lines{margin-bottom:8px;flex:1}.ges-invoice-lines button{display:grid;grid-template-columns:1fr auto;width:100%;gap:8px;align-items:baseline;padding:6px 3px;border:0;border-bottom:1px solid var(--line,#dce4ec);background:transparent;color:inherit;font:inherit;font-size:12px;line-height:1.3;text-align:left;cursor:pointer}
.ges-invoice-lines strong{font-variant-numeric:tabular-nums;white-space:nowrap}.ges-invoice-lines button:hover,.ges-invoice-lines button.is-selected{background:#f5b82b16;color:var(--gold,#986b00)}
.ges-invoice-discount-block{padding:4px 3px 2px;font-size:11px;line-height:1.35;background:#159b8009;border-top:1px solid var(--line,#dce4ec)}
.ges-invoice-discount-block>div{display:flex;justify-content:space-between;gap:8px;padding:2px 0}.ges-invoice-discount-block strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.ges-invoice-discount-saving{color:#087854}.ges-invoice-discount-block p{font-size:10px;color:var(--muted,#63758a);margin:2px 0 0;line-height:1.35}
.ges-invoice-discount-block small{font-size:10px;color:var(--muted,#63758a)}
.ges-invoice-lines button.ges-invoice-info{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:20px;height:20px;padding:2px;margin-left:3px;border:1px solid #397fbd55;border-radius:50%;background:#397fbd0d;color:#2368a3;cursor:pointer}
.ges-invoice-info svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
html[data-theme="dark"] .ges-invoice-lines button.ges-invoice-info{color:#8ccaff}
.ges-invoice-lines button.ges-invoice-discount-net{font-weight:700;background:#159b8009}
.ges-invoice-discount-note{font-size:10px;color:var(--muted,#63758a);line-height:1.3;margin:0 0 5px}
html[data-theme="dark"] .ges-invoice-discount-saving{color:#64dcae}
.ges-invoice-total{border-top:2px solid var(--line,#dce4ec);padding-top:7px;display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:2px;font-size:11px;line-height:1.25}.ges-invoice-total strong{font-size:23px;white-space:nowrap;font-variant-numeric:tabular-nums}.ges-invoice-total small{grid-column:1/-1;text-align:right;color:var(--muted,#63758a);font-size:10px}
.ges-invoice-explanation{background:#e5ac2111;border:1px solid #e5ac2133;padding:7px 10px;border-radius:8px;margin-top:8px;font-size:11px;line-height:1.35;min-height:45px;box-sizing:border-box}.ges-invoice-explanation p{margin:3px 0 0}
.ges-invoice-benefit{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:8px;border:1px solid #159b8044;border-radius:10px;padding:11px 14px;background:#159b8010;color:#087854}
.ges-invoice-benefit h3{font-size:20px;line-height:1.2;margin:0;font-weight:800;letter-spacing:.02em}.ges-invoice-benefit p{font-size:11px;line-height:1.35;margin:4px 0 0;color:var(--muted,#63758a)}
.ges-invoice-benefit-value{display:flex;align-items:baseline;gap:16px;white-space:nowrap;font-variant-numeric:tabular-nums}.ges-invoice-benefit-value strong{font-size:32px;line-height:1.2;font-weight:800}.ges-invoice-benefit-value span{font-size:22px;font-weight:700}
html[data-theme="dark"] .ges-invoice-benefit{color:#64dcae}.ges-invoice-benefit[data-negative],html[data-theme="dark"] .ges-invoice-benefit[data-negative]{color:#df5266;border-color:#df526644;background:#df526608}
.ges-invoice-expense{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:6px;padding:7px 14px;border:1px solid var(--line,#dce4ec);border-radius:10px;background:var(--surface,#fff)}
.ges-invoice-expense h3{font-size:15px;line-height:1.25;margin:0;font-weight:700}.ges-invoice-expense p{font-size:11px;line-height:1.3;margin:3px 0 0;color:var(--muted,#63758a)}
.ges-invoice-expense>strong{font-size:24px;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
.ges-invoice-footnote{font-size:10px;line-height:1.3;color:var(--muted,#63758a);margin:6px 0 0}
@media(max-height:800px){
  .ges-invoice-dialog{padding:10px 14px}.ges-invoice-head h2{font-size:18px}
  .ges-invoice-paper{padding:9px 10px}.ges-invoice-direction{margin-bottom:5px}
  .ges-invoice-identity{padding:4px 0}.ges-invoice-purpose{margin:2px 0;min-height:0}
  .ges-invoice-quantities{padding:3px 0}
  .ges-invoice-lines button{padding:3px 3px}.ges-invoice-lines{margin-bottom:6px}
  .ges-invoice-benefit{padding:6px 12px}.ges-invoice-benefit-value strong{font-size:28px}
  .ges-invoice-expense{padding:5px 12px}
}
@media(max-height:700px){
  .ges-invoice-dialog{padding:6px 12px}
  .ges-invoice-intro,.ges-invoice-purpose{display:none}
  .ges-invoice-regime{margin-top:4px}.ges-invoice-identity{margin-bottom:2px}
  .ges-invoice-benefit{padding:4px 10px;margin-top:6px}.ges-invoice-explanation{padding:5px 8px;min-height:40px;margin-top:6px}
  .ges-invoice-paper{padding:5px 10px}.ges-invoice-identity{padding:2px 0;line-height:1.2}
  .ges-invoice-identity{font-size:10px}.ges-invoice-identity>div{margin:0}
  .ges-invoice-quantities{padding:2px 0;margin:0;font-size:10px;line-height:1.25}
  .ges-invoice-lines button{padding:2px 3px}.ges-invoice-regime{margin-bottom:6px}
  .ges-invoice-discount-block{padding:2px 3px}.ges-invoice-discount-block>div{padding:1px 0}
  .ges-invoice-total{padding-top:4px}.ges-invoice-benefit h3{font-size:18px}
  .ges-invoice-expense{padding:5px 10px;margin-top:4px}.ges-invoice-expense>div{display:flex;align-items:baseline;gap:12px}.ges-invoice-expense p{margin:0}.ges-invoice-expense>strong{font-size:22px}
}
.ges-invoice-overlay button:focus-visible,.ges-money-explainer button:focus-visible{outline:3px solid #559bff;outline-offset:2px}
@keyframes gesMoneyGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){.ges-money-plot i{animation:none}}
.ges-payables{min-width:0;font-size:11px;line-height:1.35;font-variant-numeric:tabular-nums}
.ges-payables>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.ges-payables>div>span{color:var(--muted,#63758a)}
.ges-payables strong{font-size:inherit;white-space:nowrap;color:var(--text,#152b43)}
.ges-payables-total{border-top:1px solid var(--line,#dce4ec);padding-top:3px;margin-top:3px;font-weight:700}
.ges-payables .ges-payables-total>span{color:inherit}.ges-payables-total strong{font-size:14px}
#gesFaturaPayables .ges-payables strong{font-size:11px}#gesFaturaPayables .ges-payables-total strong{font-size:16px}
@container(max-width:650px){.pv-tl-simple-grid .ges-payables{font-size:10px}.pv-tl-simple-grid .ges-payables-total strong{font-size:11px}}
/* Sharing is a separate snapshot of the selected customer's month. */
.ges-invoice-share-overlay{position:fixed;inset:0;z-index:160100;display:flex;align-items:center;justify-content:center;padding:16px;background:#061525b3;backdrop-filter:blur(4px);color:var(--text,#152b43)}
.ges-invoice-share-dialog{width:min(850px,100%);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line,#dce4ec);border-radius:16px;padding:22px;background:var(--surface2,#edf3f7);box-sizing:border-box;box-shadow:0 25px 80px #0005}
.ges-invoice-share-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:16px}.ges-invoice-share-head h2{font-size:21px;line-height:1.3;margin:0}.ges-invoice-share-head p{font-size:13px;margin:6px 0 0;color:var(--muted,#63758a)}
.ges-invoice-share-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center}
.ges-invoice-share-preview{margin:0}.ges-invoice-share-preview img{display:block;width:100%;aspect-ratio:1;border-radius:10px;border:1px solid var(--line,#dce4ec)}.ges-invoice-share-preview img[hidden]{display:none}
.ges-invoice-share-preview figcaption{font-size:12px;color:var(--muted,#63758a);margin-top:8px;line-height:1.4}
.ges-invoice-share-dialog button{border:1px solid var(--line,#dce4ec);border-radius:8px;background:var(--surface,#fff);color:inherit;padding:10px 14px;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.ges-invoice-share-dialog button:disabled{opacity:.45;cursor:default}.ges-invoice-share-dialog button:focus-visible{outline:3px solid #559bff;outline-offset:2px}
.ges-invoice-share-options{display:flex;flex-direction:column;align-items:stretch;gap:9px}.ges-invoice-share-options h3{font-size:16px;margin:0}.ges-invoice-share-options p{font-size:13px;line-height:1.5;margin:0 0 4px;color:var(--muted,#63758a)}
.ges-invoice-share-options [data-share-send]{background:#087854;color:#fff;border-color:#087854}.ges-invoice-share-options [data-share-html]{background:#fff1cd;color:#4d3708;border-color:#d49c37}
.ges-invoice-share-options hr{width:100%;border:0;border-top:1px solid var(--line,#dce4ec);margin:8px 0}
.ges-invoice-share-status{min-height:1.5em;font-size:13px;line-height:1.5;margin:14px 0 0;color:var(--muted,#63758a)}
@media(max-width:680px){.ges-invoice-share-body{grid-template-columns:1fr}.ges-invoice-share-preview{max-width:320px;margin:0 auto}.ges-invoice-share-dialog{padding:16px}}

/* Three distinct invoices, with prominent payment/receivable totals. */
.ges-invoice-paper{--invoice-accent:#246fbd;--invoice-tint:#edf5ff}
.ges-invoice-paper[data-invoice-paper=distribution]{--invoice-accent:#975500;--invoice-tint:#fff4e5}
.ges-invoice-paper[data-invoice-paper=production]{--invoice-accent:#087854;--invoice-tint:#eaf8f2}
.ges-invoice-paper>header{position:relative;padding-left:34px}
.ges-invoice-number{position:absolute;left:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--invoice-accent);color:#fff;font-size:16px;font-weight:800;line-height:1}
.ges-invoice-total{background:var(--invoice-tint);border-top-color:var(--invoice-accent);border-radius:6px;padding-left:8px;padding-right:8px;color:var(--invoice-accent)}
.ges-invoice-total>span{font-size:13px;font-weight:800}
html[data-theme="dark"] .ges-invoice-paper{--invoice-accent:#96c6ff;--invoice-tint:#20354d}
html[data-theme="dark"] .ges-invoice-paper[data-invoice-paper=distribution]{--invoice-accent:#ffd18c;--invoice-tint:#403523}
html[data-theme="dark"] .ges-invoice-paper[data-invoice-paper=production]{--invoice-accent:#75dfb5;--invoice-tint:#203e36}
html[data-theme="dark"] .ges-invoice-number{color:#10243a}
.ges-invoice-head .ges-invoice-watch{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 6px;background:linear-gradient(135deg,#1b405f,#102b44);color:#fff;border-color:#315774;box-shadow:0 3px 8px #102b4426;font-size:12px;transition:background .2s,box-shadow .2s}
.ges-invoice-watch-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ffd16a;color:#24384b;flex:none}
.ges-invoice-head .ges-invoice-watch-icon svg{width:18px;height:18px;fill:currentColor;stroke:none}
.ges-invoice-head .ges-invoice-watch:hover:not(:disabled){background:linear-gradient(135deg,#28577d,#163953);box-shadow:0 4px 12px #102b4440;border-color:#b48c39}
.ges-invoice-head .ges-invoice-watch:disabled{opacity:.45;box-shadow:none;cursor:default}
html[data-theme=dark] .ges-invoice-head .ges-invoice-watch{border-color:#d2aa51;background:#234968}

/* Model provenance is visible before any amounts, not a hidden invoice footnote. */
.ges-invoice-model-note{margin:0 0 8px;padding:8px 10px;border:1px solid #c79228;border-left-width:4px;border-radius:7px;background:var(--surface,#fff);color:var(--text,#152b43);font-size:12px;line-height:1.35}
.ges-invoice-model-note>strong,.ges-invoice-model-note>span{display:block}
.ges-invoice-model-note>strong{font-size:13px}
.ges-invoice-model-assumption{margin:4px 0 0;color:var(--muted,#52677c);font-size:11px}
@media(max-height:820px){
  .ges-invoice-model-note{padding:2px 8px;margin-bottom:2px;font-size:11px;line-height:1.2}
  .ges-invoice-model-note>strong,.ges-invoice-model-note>span{display:inline}
  .ges-invoice-model-note>strong{font-size:11.5px;margin-right:8px}
  .ges-invoice-model-note>.ges-invoice-model-assumption{margin-left:8px}
}

/* Meter scope is separate from the existing single-meter model. Desktop layout. */
.ges-meter-context{margin-top:12px;font-size:13px;line-height:1.45}
.ges-meter-tabs{display:flex;gap:6px;margin-bottom:12px;border-bottom:1px solid var(--line,#dce4ec);padding-bottom:8px}
.ges-meter-tabs button,.ges-meter-context button,.ges-meter-context select{border:1px solid var(--line,#dce4ec);border-radius:7px;padding:7px 10px;background:var(--surface,#fff);color:inherit;font:inherit;cursor:pointer}
.ges-meter-tabs [aria-pressed=true]{background:#153d5d;border-color:#153d5d;color:#fff;font-weight:700}
.ges-meter-context button:disabled{opacity:.5;cursor:default}
.ges-meter-context [hidden]{display:none!important}
.ges-meter-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px;background:var(--surface,#fff);border:1px solid var(--line,#dce4ec);border-radius:10px}
.ges-meter-intro small{font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--muted,#52677c)}
.ges-meter-context h3{font-size:16px;margin:3px 0 6px;line-height:1.3}
.ges-meter-context p{margin:5px 0}
.ges-meter-state{border:1px solid #c79228;background:#fff1cd;color:#684800;padding:7px 11px;border-radius:20px;font-size:12px;font-weight:750;white-space:nowrap}
.ges-meter-warning{padding:10px 12px;border:1px solid #c79228;border-left-width:4px;border-radius:7px;background:var(--surface,#fff);color:var(--text,#152b43);font-size:12px;line-height:1.45;margin:9px 0}
.ges-meter-table-wrap{margin:12px 0;overflow-x:auto;border:1px solid var(--line,#dce4ec);border-radius:9px;background:var(--surface,#fff)}
.ges-meter-table{width:100%;min-width:760px!important;border-collapse:collapse;text-align:left;table-layout:fixed}
.ges-meter-table th,.ges-meter-table td{padding:12px;vertical-align:top;border-bottom:1px solid var(--line,#dce4ec);overflow-wrap:anywhere}
.ges-meter-table th{font-size:11px;color:var(--muted,#52677c);font-weight:750}
.ges-meter-table td{font-size:12px}.ges-meter-table tbody tr:last-child td{border-bottom:0}
.ges-meter-table small{display:block;margin-top:4px;color:var(--muted,#52677c);font-size:11px}
.ges-meter-table button{display:block;margin-top:6px;font-size:11px}
.ges-meter-group{padding:13px 16px;border:1px solid var(--line,#dce4ec);border-radius:9px;background:var(--surface,#fff)}
.ges-meter-group ol{margin:8px 0;padding-left:20px}.ges-meter-group li{margin:4px 0}
.ges-meter-document-group{margin-top:14px}.ges-meter-document-group>p{font-size:12px;color:var(--muted,#52677c)}
.ges-meter-documents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ges-meter-document{min-width:0;padding:13px;background:var(--surface,#fff);border:1px solid var(--line,#dce4ec);border-radius:8px}
.ges-meter-document header{display:flex;justify-content:space-between;gap:8px}.ges-meter-document header span{font-size:9px;color:var(--muted,#52677c)}
.ges-meter-document p,.ges-meter-document small{font-size:11px;overflow-wrap:anywhere}
.ges-meter-document dl{font-size:12px}.ges-meter-document dl>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line,#dce4ec);padding:5px 0}
.ges-meter-document dd{margin:0;font-weight:700;white-space:nowrap}.ges-meter-document small{color:var(--muted,#52677c)}
.ges-meter-context select:focus-visible{outline:3px solid #559bff;outline-offset:2px}
.ges-invoice-status[hidden]{display:none!important}
html[data-theme=dark] .ges-meter-tabs [aria-pressed=true]{background:#335e80;border-color:#7199ba}
html[data-theme=dark] .ges-meter-state{background:#403523;color:#ffd18c}

.ges-meter-table{color:var(--text,#152b43)}
