/* Scoped Google module. Does not restyle Facebook, TikTok or other pages. */
.g-app{margin-top:18px;--g-border:#e4e8ed;--g-muted:#687482;--g-accent:#196f68;--g-soft:#f2f7f6;min-width:0}.g-app *{box-sizing:border-box}.g-app h2{font-size:23px;letter-spacing:-.035em;line-height:1.3;margin:4px 0 8px}.g-app p{line-height:1.6}.g-panel{padding:24px;background:var(--panel,#fff);border:1px solid var(--g-border);border-radius:18px;margin-bottom:16px;min-width:0}.g-section-head,.g-workspace-head,.g-title-line,.g-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.g-section-head{align-items:flex-start}.g-section-head p{margin:0;max-width:620px;color:var(--g-muted);font-size:13px}.g-pill{display:inline-flex;padding:5px 10px;background:#f5f7f9;border:1px solid var(--g-border);border-radius:7px;white-space:nowrap;font-size:11px;font-weight:750;color:#566272}.g-app label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;min-width:0}.g-app input,.g-app select,.g-app button{font-family:inherit}.g-app .control-input{font-size:13px;min-width:0}.g-app button:focus-visible,.g-app input:focus-visible,.g-app select:focus-visible,.g-app summary:focus-visible{outline:2px solid var(--g-accent);outline-offset:3px}.g-create-form{display:flex;align-items:flex-end;gap:12px;margin:25px 0}.g-create-form label{flex:1;max-width:470px}.g-create-form .button{min-height:44px}.g-mcc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.g-mcc-card{border:1px solid var(--g-border);border-radius:14px;background:#fff;overflow:hidden;transition:border-color .15s}.g-mcc-card:hover{border-color:#a9bbb8}.g-mcc-open{display:block;padding:22px;text-align:left;width:100%;background:none;border:0;cursor:pointer;color:inherit}.g-mcc-open strong{font-size:17px;display:block;margin:12px 0 9px;overflow-wrap:anywhere}.g-mcc-open small{font-size:12px;color:var(--g-muted)}.g-mcc-logo{font-size:12px;font-weight:800;color:var(--g-accent);letter-spacing:.08em}.g-mcc-actions{display:flex;border-top:1px solid var(--g-border);padding:10px 18px;gap:15px;background:#fafbfc}.g-link,.g-back{border:0;background:transparent;color:var(--g-muted);font-size:12px;font-weight:650;cursor:pointer;padding:2px 0;text-align:left}.g-link:hover,.g-back:hover{color:var(--g-accent)}.g-danger{color:#a64444}.g-archived{margin-top:22px}.g-archived summary,.g-settings summary,.g-app #gUnmatched summary{cursor:pointer;color:var(--g-muted);font-size:12px;font-weight:650}.g-archive-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--g-border);padding:12px 0;gap:15px}.g-workspace-head{margin:20px 0;align-items:center}.g-back{margin-bottom:8px}.g-title-line{justify-content:flex-start}.g-title-line h2{margin:0;overflow-wrap:anywhere}.g-filter-grid{display:grid;grid-template-columns:160px 160px minmax(200px,1fr) auto;gap:14px;align-items:end}.g-filter-grid .button{min-height:44px}.g-settings{margin-top:18px;border-top:1px solid var(--g-border);padding-top:14px}.g-settings-row{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;padding-top:14px}.g-settings-row label{max-width:180px}.g-settings-row .g-footnote{margin-bottom:12px}.g-footnote{font-size:11px;line-height:1.7;color:var(--g-muted);margin:14px 0 0;overflow-wrap:anywhere}.g-notice{margin:12px 0;padding:12px 15px;border-radius:11px;border:1px solid #bfdcd5;background:#f3faf7;color:#266453;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.g-notice-error{border-color:#efcece;background:#fff7f7;color:#9e3434}.g-notice-warning{border-color:#e7d7ac;background:#fffaf0;color:#806223}.g-notice-neutral{border-color:var(--g-border);background:#f6f8fa;color:#506175}.g-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 12px}.g-kpi{padding:20px;border:1px solid var(--g-border);border-radius:15px;background:#fff;min-width:0}.g-kpi>span{color:var(--g-muted);font-size:11px;font-weight:600;display:block}.g-kpi strong{font-size:27px;font-weight:750;letter-spacing:-.045em;display:block;margin-top:9px;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.g-kpi small{font-size:11px;display:block;margin-top:7px;color:var(--g-muted)}.g-kpi-featured{background:#152a28;border-color:#152a28;color:#fff}.g-kpi-featured>span,.g-kpi-featured small{color:#b6c7c3}.g-data-status{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;font-size:11px;color:var(--g-muted);margin:12px 0 18px}.g-tabs{display:flex;gap:6px;border-bottom:1px solid var(--g-border);padding-bottom:13px;overflow:auto}.g-tabs button{background:transparent;border:0;color:var(--g-muted);padding:10px 13px;white-space:nowrap;border-radius:9px;font-weight:700;font-size:12px;cursor:pointer}.g-tabs button.active{color:#185d55;background:#edf5f2}.g-table-wrap{width:100%;overflow:auto;margin-top:18px;overscroll-behavior-x:contain}.g-table{min-width:990px;font-variant-numeric:tabular-nums}.g-table th{background:#f8f9fb;padding:13px 12px;font-size:10px;letter-spacing:.025em;color:#788491;border-top:1px solid var(--g-border);text-transform:none}.g-table td{padding:16px 12px;font-size:12px;vertical-align:middle}.g-table td:not(:first-child),.g-table th:not(:first-child){text-align:right}.g-table td.g-left,.g-table th.g-left{text-align:left}.g-table tbody tr:hover>td{background:#fafcfb}.g-table td strong{font-weight:700}.g-table small{display:block;color:var(--g-muted);font-size:10px;margin-top:4px}.g-table .g-account-link{padding:0;border:0;background:transparent;font:inherit;color:inherit;font-weight:750;cursor:pointer}.g-table .g-account-link:before{content:'+';display:inline-block;width:17px;color:#71938b}.g-table .g-site-label{font-size:11px;max-width:280px;white-space:normal;overflow-wrap:anywhere}.g-table .g-subrow>td{background:#f6f9f8;padding:12px 16px}.g-subrow .g-table{min-width:740px}.g-positive{color:#19734e}.g-negative{color:#a43b3b}.g-forecast-button{border:1px solid #cbded9;background:#f4faf7;color:#246457;padding:8px 11px;border-radius:8px;font-size:11px;font-weight:650;cursor:pointer;white-space:nowrap}.g-table tfoot td{background:#f6f8f8;font-weight:750}.g-empty{padding:40px 20px;text-align:center;color:var(--g-muted);border:1px dashed var(--g-border);border-radius:12px;grid-column:1/-1;font-size:13px}.g-pager{display:flex;justify-content:flex-end;align-items:center;gap:13px;margin-top:15px;font-size:11px;color:var(--g-muted)}.g-pager button{border:1px solid var(--g-border);background:#fff;padding:6px 10px;border-radius:7px;cursor:pointer;font-size:11px}.g-app button:disabled{opacity:.45;cursor:not-allowed}.g-dialog{padding:26px;border:1px solid var(--g-border);border-radius:20px;width:min(720px,calc(100vw - 30px));max-height:calc(100dvh - 36px);overflow:auto;color:var(--text);box-shadow:0 25px 100px #0003}.g-dialog-wide{width:min(920px,calc(100vw - 30px))}.g-dialog::backdrop{background:#18262688;backdrop-filter:blur(3px)}.g-dialog h2{font-size:22px}.g-dialog-head{align-items:flex-start;margin-bottom:14px}.g-dialog-head .icon-button{flex-shrink:0}.g-import-fields{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin:20px 0}.g-file-field input{padding:10px;background:#f7f9fa;border:1px dashed #c6d0d8;border-radius:10px;max-width:100%;font-size:12px;min-height:44px}.g-file-field input::file-selector-button{border:0;border-radius:6px;padding:5px 8px;cursor:pointer;background:#e6edec;color:#253f38;margin-right:8px}.g-import-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 12px}.g-import-summary>div{background:#f6f8fa;border:1px solid var(--g-border);padding:13px;border-radius:10px}.g-import-summary small{font-size:11px;color:var(--g-muted);display:block}.g-import-summary strong{display:block;margin-top:5px;font-size:18px}.g-import-preview-table{min-width:630px}.g-app .g-check{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.6;margin:17px 0;font-size:12px}.g-check input{margin-top:4px;flex-shrink:0;accent-color:var(--g-accent)}.g-scenario-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:20px 0}.g-scenario-output{border:1px solid var(--g-border);padding:16px 18px;border-radius:13px;margin:18px 0;background:#f8fbfa}.g-scenario-line{display:flex;justify-content:space-between;gap:20px;padding:8px 0;font-size:12px}.g-scenario-line span{color:var(--g-muted);max-width:70%}.g-scenario-result{border-top:1px solid var(--g-border);margin-top:10px;padding-top:16px}.g-scenario-result strong{font-size:26px;letter-spacing:-.04em}.g-dialog-actions{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:20px}.g-loading{opacity:.65;pointer-events:none}.g-app .is-hidden{display:none!important}
.g-forecast-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.g-forecast-section{min-width:0}.g-forecast-section h3{margin:0 0 7px;font-size:12px;color:var(--g-muted);font-weight:750;letter-spacing:.01em}.g-forecast-section .g-scenario-output{height:calc(100% - 19px);margin:0;background:#fbfcfc}.g-scenario-highlight strong{color:var(--g-accent);font-size:17px}.g-scenario-result.g-positive strong{color:#19734e}.g-scenario-result.g-negative strong{color:#a43b3b}
@media(max-width:1200px){.g-mcc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g-filter-grid{grid-template-columns:1fr 1fr}.g-kpi strong{font-size:24px}.g-kpi{padding:17px}}@media(max-width:760px){.g-forecast-grid{grid-template-columns:1fr}.g-panel{padding:17px}.g-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.g-workspace-head{align-items:flex-start}.g-workspace-head>.button{padding:10px 13px;font-size:11px}.g-title-line{display:block}.g-title-line h2{font-size:20px}.g-title-line .g-pill{margin-top:8px}.g-mcc-grid{grid-template-columns:1fr}.g-create-form{flex-wrap:wrap}.g-create-form label{max-width:none;flex-basis:100%}.g-create-form .button{width:100%}.g-section-head h2{font-size:21px}.g-dialog{padding:19px}.g-import-fields{grid-template-columns:1fr}.g-import-summary{grid-template-columns:1fr 1fr}.g-scenario-fields{grid-template-columns:1fr}.g-dialog-actions{align-items:stretch;flex-direction:column-reverse}.g-dialog-actions .g-link{text-align:center}.g-filter-grid{gap:11px}.g-filter-grid>label:nth-child(3),.g-filter-grid>.button{grid-column:1/-1}.g-pager{justify-content:space-between}.g-data-status{align-items:flex-start}.g-kpi strong{font-size:23px}.g-scenario-line{gap:12px}.g-tabs button{padding:9px 10px}.g-footnote{font-size:11px}}
@media(prefers-reduced-motion:reduce){.g-app *{transition:none!important;scroll-behavior:auto!important}}

/* V43.4.3 help/instruction modal */
.g-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.g-help-trigger{white-space:nowrap}.g-help-steps{display:flex;flex-direction:column;gap:18px;margin-top:18px}.g-help-step{border:1px solid var(--g-border);border-radius:16px;padding:16px;background:#fbfcfc}.g-help-copy{font-size:13px;line-height:1.7;margin-bottom:12px;color:#203238}.g-help-step img{display:block;width:100%;height:auto;border:1px solid var(--g-border);border-radius:12px;background:#fff}
@media(max-width:760px){.g-head-actions{width:100%;justify-content:space-between}.g-help-trigger{order:2;width:auto}.g-help-copy{font-size:12px}}

/* V43.4.4 compact MCC list */
.g-mcc-grid{display:flex;flex-direction:column;gap:10px}
.g-mcc-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border-radius:12px}
.g-mcc-open{padding:14px 18px;display:flex;flex-direction:column;justify-content:center;min-height:0}
.g-mcc-open strong{font-size:18px;margin:6px 0 4px}
.g-mcc-open small{font-size:12px;line-height:1.35}
.g-mcc-open small+small{margin-top:4px !important}
.g-mcc-actions{display:flex;align-items:center;gap:14px;border-top:0;border-left:1px solid var(--g-border);padding:0 18px;background:#fafbfc}
.g-mcc-actions .g-link{font-size:12px;white-space:nowrap}
.g-mcc-logo{font-size:11px}
.g-create-form{margin:20px 0 18px}
@media(max-width:760px){
  .g-mcc-card{grid-template-columns:1fr}
  .g-mcc-actions{border-left:0;border-top:1px solid var(--g-border);padding:10px 16px;justify-content:flex-start}
}


/* V43.4.5 ultra-compact MCC list */
.g-mcc-grid{display:flex;flex-direction:column;gap:6px}
.g-mcc-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border-radius:10px;min-height:48px}
.g-mcc-open{padding:8px 14px;display:grid;grid-template-columns:minmax(120px,220px) auto auto;align-items:center;gap:16px;min-height:48px}
.g-mcc-logo{display:none}
.g-mcc-open strong{font-size:15px;line-height:1.2;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g-mcc-open small{font-size:11px;line-height:1.25;margin:0!important;white-space:nowrap;color:var(--g-muted)}
.g-mcc-actions{display:flex;align-items:center;gap:12px;border-top:0;border-left:1px solid var(--g-border);padding:0 14px;background:#fafbfc}
.g-mcc-actions .g-link{font-size:11px;white-space:nowrap}
.g-create-form{margin:16px 0 14px}
@media(max-width:900px){.g-mcc-open{grid-template-columns:minmax(100px,180px) 1fr}.g-mcc-open small+small{display:none}}
@media(max-width:760px){.g-mcc-card{grid-template-columns:1fr}.g-mcc-open{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 14px}.g-mcc-open small+small{display:block}.g-mcc-actions{border-left:0;border-top:1px solid var(--g-border);padding:8px 14px;justify-content:flex-start}}


/* V43.4.7 compact campaign column */
.g-account-table{min-width:1120px}
.g-account-table th:first-child,.g-account-table td:first-child{width:170px}
.g-campaign-head,.g-campaign-cell{width:260px;max-width:260px;text-align:left!important;vertical-align:top}
.g-campaign-list{display:flex;flex-direction:column;gap:3px;min-width:0;max-width:250px;font-size:9.5px;line-height:1.18;color:#394955}
.g-campaign-name{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word;padding:1px 0}
.g-campaign-more{display:block;color:var(--g-accent);font-weight:700;font-size:9.5px;margin-top:1px;white-space:nowrap}
.g-campaign-empty{color:var(--g-muted)}
.g-account-table td{padding-top:10px;padding-bottom:10px}
.g-account-table td small{display:block;margin-top:3px;font-size:10.5px;line-height:1.2}
@media(max-width:760px){.g-campaign-head,.g-campaign-cell{width:210px;max-width:210px}.g-campaign-list{max-width:200px;font-size:9px;line-height:1.16}}

/* V43.4.11 MCC name hard-left alignment */
#googleWorkspace .g-mcc-open{
  grid-template-columns:220px minmax(220px,1fr) 190px;
  text-align:left!important;
  justify-items:start;
}
#googleWorkspace .g-mcc-open strong{
  width:100%;
  text-align:left!important;
  justify-self:start;
}
#googleWorkspace .g-mcc-open small{
  text-align:left!important;
  justify-self:start;
}
@media(max-width:900px){
  #googleWorkspace .g-mcc-open{grid-template-columns:180px minmax(0,1fr)}
}
@media(max-width:760px){
  #googleWorkspace .g-mcc-open{display:flex;grid-template-columns:none;text-align:left!important;align-items:flex-start}
}


/* V43.4.13 hard-left MCC + expandable campaign list */
#googleWorkspace .g-mcc-open{
  width:100%;
  grid-template-columns:220px minmax(0,1fr) 190px;
  justify-content:stretch!important;
  justify-items:start;
  text-align:left!important;
}
#googleWorkspace .g-mcc-open strong,
#googleWorkspace .g-mcc-open small{
  justify-self:start!important;
  text-align:left!important;
}
#googleWorkspace .g-campaign-more{
  appearance:none;
  border:0;
  background:transparent;
  padding:1px 0;
  margin:1px 0 0;
  color:var(--g-accent);
  font:inherit;
  font-size:9.5px;
  font-weight:750;
  line-height:1.2;
  text-align:left;
  cursor:pointer;
  width:max-content;
  max-width:100%;
}
#googleWorkspace .g-campaign-more:hover{text-decoration:underline}
#googleWorkspace .g-campaign-more:focus-visible{outline:2px solid var(--g-accent);outline-offset:2px;border-radius:3px}
@media(max-width:900px){
  #googleWorkspace .g-mcc-open{grid-template-columns:180px minmax(0,1fr)}
}
@media(max-width:760px){
  #googleWorkspace .g-mcc-open{display:flex;grid-template-columns:none;justify-content:flex-start!important;align-items:flex-start;text-align:left!important}
}
