.infra-intro{padding-top:30px}.infra-intro p{margin-top:10px}.infra-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;max-width:360px}.infra-actions #checked-at{width:100%;text-align:right;font-size:10px}.infra-summary{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:18px;margin-bottom:38px}.capacity-summary,.reset-summary{border:1px solid var(--border);border-radius:16px;padding:24px;background:linear-gradient(130deg,#1a2938,#111a29)}.capacity-summary{position:relative;overflow:hidden}.capacity-summary:after{content:'';position:absolute;width:130px;height:130px;border:20px solid #5cce9111;border-radius:50%;right:-25px;top:18px;pointer-events:none}.capacity-number{font:42px Melon,sans-serif;color:var(--green);line-height:1.2}.capacity-summary p{font-size:11px;max-width:80%;margin:7px 0 12px}.reset-summary{display:flex;align-items:center;gap:18px;background:#121c2b}.reset-summary .eyebrow{display:block;font-size:9px;line-height:1.7}.reset-summary strong{display:block;font:27px Melon,sans-serif;font-variant-numeric:tabular-nums;margin:7px 0}.reset-summary p{font-size:10px}.reset-symbol{font:46px Inter,sans-serif;color:#e9ad61}.firebase-symbol{color:var(--bright)}.provider-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:32px 0 13px}.provider-identity{display:flex;align-items:center;gap:14px}.provider-mark{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;font-size:29px}.cloudflare-mark{background:#382c20;color:#ffad62}.firebase-mark{background:#342f1b;color:#ffd77a;font-size:25px}.provider-identity p{font-size:11px;color:var(--muted);margin-top:4px}.source-status{display:flex;gap:8px;flex-wrap:wrap;min-height:24px;margin-bottom:12px;font-size:10px;color:var(--muted)}.source-status .source-pill{padding:3px 8px;background:#162a25;border-radius:5px;color:#9bd9b5}.source-status .source-pill.issue{background:#30271a;color:var(--bright)}.quota-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.quota-card{border:1px solid var(--border);border-radius:14px;background:linear-gradient(145deg,#162134,#111a29);padding:20px;min-width:0;display:flex;flex-direction:column;gap:9px}.quota-card .card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-service{font-size:9px;text-transform:uppercase;letter-spacing:1.3px;color:var(--muted)}.quota-card h3{font:13px Inter,sans-serif;line-height:1.5;min-height:20px}.quota-status{font-size:9px;color:var(--green)}.quota-number{font:30px Melon,sans-serif;line-height:1.25;white-space:nowrap;margin-top:5px;font-variant-numeric:tabular-nums}.quota-denominator{font:10px Inter,sans-serif;color:var(--muted);margin-top:-5px}.quota-meter{height:7px;border-radius:8px;overflow:hidden;background:#29364c;margin:6px 0 2px}.quota-fill{height:100%;width:0;background:var(--green);border-radius:8px;min-width:0}.quota-foot{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted)}.quota-foot strong{color:var(--text);font-weight:400}.quota-sparkline{height:35px;width:100%;margin-top:4px}.quota-timestamp{font-size:9px;color:#94a3bb;margin-top:0}.quota-card details{font-size:10px;color:var(--muted);margin-top:auto}.quota-card summary{cursor:pointer;color:#b7c5d9;font-size:10px;padding:6px 0}.quota-card details p{margin:6px 0;line-height:1.7}.quota-card .card-chart{font-size:10px;align-self:flex-start;background:none;padding:0;color:var(--bright);text-decoration:underline;text-underline-offset:3px}.quota-card.warning{border-color:#977332}.quota-card.warning .quota-status,.quota-card.warning .quota-number{color:var(--bright)}.quota-card.warning .quota-fill{background:var(--bright)}.quota-card.danger{border-color:#995163}.quota-card.danger .quota-status,.quota-card.danger .quota-number{color:var(--red)}.quota-card.danger .quota-fill{background:var(--red)}.quota-card.unavailable .quota-status{color:var(--muted)}.quota-card.unavailable .quota-meter{background:repeating-linear-gradient(125deg,#26334a 0 6px,#1c283b 6px 12px)}.firebase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.firebase-grid .quota-card{display:grid;grid-template-columns:1fr 1fr;column-gap:30px}.firebase-grid .card-heading,.firebase-grid h3,.firebase-grid .quota-number,.firebase-grid .quota-denominator{grid-column:1}.firebase-grid .quota-meter,.firebase-grid .quota-foot,.firebase-grid .quota-sparkline,.firebase-grid .quota-timestamp{grid-column:2}.firebase-grid .quota-meter{grid-row:3;align-self:center}.firebase-grid .quota-foot{grid-row:4}.firebase-grid .quota-sparkline{grid-row:1 / span 2}.firebase-grid .quota-timestamp{grid-row:5}.firebase-grid details{grid-column:1/-1}.usage-history{margin-top:36px}.infra-filters{display:grid;grid-template-columns:1.5fr .9fr 1fr 1fr auto;gap:14px;align-items:end}.infra-filters label{font-size:10px;color:var(--muted);display:grid;gap:7px}.history-highlights{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:25px 0;padding:18px 0;gap:20px}.history-highlights span{display:block;font-size:10px;color:var(--muted)}.history-highlights strong{display:block;font:24px Melon,sans-serif;line-height:1.2;margin-top:9px}.usage-chart{height:260px;position:relative}.usage-chart svg{width:100%;height:100%}.usage-chart .usage-column{fill:var(--green)}.usage-chart .usage-column.partial{fill:var(--blue)}.usage-chart .usage-column:hover,.usage-chart .usage-column:focus{fill:var(--bright);outline:none}.usage-chart .missing-column{fill:#53627b;opacity:.6}.usage-chart .limit-line{stroke:var(--gold);stroke-width:1;stroke-dasharray:5 5}.chart-legend{display:flex;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin-top:13px}.chart-legend>span{display:flex;align-items:center;gap:7px}.no-sample{background:#53627b}.limit-key{display:inline-block;width:15px;border-top:1px dashed var(--gold)}.daily-details{margin-top:22px;font-size:11px}.daily-details summary{cursor:pointer;color:#b7c5d9;padding:10px 0}.daily-details table{font-size:11px}.daily-details .table-wrap{max-height:340px;overflow:auto}.infra-notes{display:grid;grid-template-columns:1fr 1fr;gap:20px}.infra-notes h2{font-size:22px;margin-bottom:15px}.infra-notes p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:12px}.service-limits{margin:0}.service-limits>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--border);padding:9px 0;gap:15px;font-size:11px}.service-limits dt{color:var(--muted)}.service-limits dd{margin:0;text-align:right}footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.chart-empty{height:100%;display:grid;place-content:center;text-align:center;gap:7px;color:var(--muted);font-size:12px}
@media(max-width:1150px){.quota-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.firebase-grid{grid-template-columns:1fr 1fr}.firebase-grid .quota-card{display:flex;gap:9px}.infra-summary{grid-template-columns:1fr 1fr}.capacity-summary{grid-row:span 2;display:flex;flex-direction:column;justify-content:center}.reset-summary{padding:19px}.infra-filters{grid-template-columns:1.4fr 1fr 1fr}.infra-filters label:first-child{grid-column:span 2}}
@media(max-width:760px){.infra-intro{align-items:flex-start;gap:20px;flex-direction:column}.infra-actions{max-width:none;width:100%;justify-content:flex-start}.infra-actions #checked-at{text-align:left}.quota-grid{grid-template-columns:1fr 1fr}.infra-summary{gap:12px}.capacity-summary{grid-column:1/-1;grid-row:auto;display:block;padding:20px}.capacity-summary:after{top:-15px;right:10px}.reset-summary{padding:16px;gap:10px;align-items:flex-start}.reset-summary strong{font-size:23px}.reset-symbol{font-size:30px}.reset-summary .eyebrow{font-size:8px}.provider-heading>.tag{font-size:9px}.quota-card{padding:16px}.quota-number{font-size:28px}.infra-notes{grid-template-columns:1fr}.infra-filters{grid-template-columns:1fr 1fr}.infra-filters label:first-child{grid-column:auto}.infra-filters button{grid-column:1/-1}.history-highlights{grid-template-columns:1fr 1fr;gap:20px}.usage-chart{height:220px}.history-coverage{display:none}.source-status{gap:6px}.infra-notes .panel{padding:20px}.page-nav{padding-top:16px}.page-nav a{padding:8px 11px}}
@media(max-width:370px){.quota-grid{grid-template-columns:1fr}.infra-summary{grid-template-columns:1fr}.capacity-summary{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:760px){.quota-number{font-size:24px;white-space:normal}.quota-foot{flex-wrap:wrap;gap:3px}.quota-card .card-heading{flex-wrap:wrap;gap:4px}}

.platform-limits{width:100%;table-layout:fixed;margin-top:16px;border-collapse:collapse}.platform-limits th,.platform-limits td{padding:11px 7px;text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere;font:11px/1.6 Inter,sans-serif;border-bottom:1px solid var(--border)}.platform-limits thead th{font-size:9px;color:var(--muted)}.platform-limits small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.platform-limits th:first-child{width:38%}.platform-limits th:nth-child(2){width:25%}
/* The primary reading is always the share of the free allowance. */
.quota-percent{font:38px/1.2 Melon,sans-serif;color:var(--green);font-variant-numeric:tabular-nums;margin-top:5px}.quota-number{font-size:18px;margin-top:0;color:var(--text)}.quota-card.warning .quota-percent,.ranked-quota.warning .ranked-percentage strong{color:var(--bright)}.quota-card.danger .quota-percent,.ranked-quota.danger .ranked-percentage strong{color:var(--red)}.quota-card.unavailable .quota-percent{color:var(--muted);font-size:28px}.firebase-grid .quota-card{display:flex;gap:9px}.chart-scale{font-size:11px;color:var(--bright);margin-bottom:12px}.summary-hero{grid-template-columns:1.4fr 1fr}.summary-filter{display:grid;gap:5px;font-size:10px;color:var(--muted)}.summary-filter select{width:160px}.ranking-legend,.ranked-quota{display:grid;grid-template-columns:1.3fr 1fr 1.05fr;gap:28px;align-items:center}.ranking-legend{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid var(--border);padding:0 0 13px}.ranked-quota{padding:24px 0;border-bottom:1px solid var(--border)}.ranked-quota:last-child{border:0}.ranked-identity{display:flex;gap:15px;align-items:center;min-width:0}.rank-number{font:18px Melon,sans-serif;color:#6c7e99;min-width:25px}.ranked-identity .card-service{display:block;margin-bottom:6px}.ranked-identity a{font-size:13px;text-decoration:none;color:var(--text)}.ranked-identity a:hover{text-decoration:underline;color:var(--bright)}.ranked-identity small,.ranked-amount small{display:block;color:var(--muted);font-size:9px;line-height:1.7;margin-top:5px}.ranked-percentage strong{font:34px/1.2 Melon,sans-serif;color:var(--green);font-variant-numeric:tabular-nums}.ranked-percentage .quota-meter{margin-top:10px}.ranked-amount strong{font-size:12px;font-weight:400;line-height:1.7}.ranked-quota.unknown .ranked-percentage strong{color:var(--muted)}.ranked-quota.warning .quota-fill{background:var(--bright)}.ranked-quota.danger .quota-fill{background:var(--red)}.summary-explanation h2{font-size:23px}.summary-explanation p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:12px}
@media(max-width:760px){.quota-percent{font-size:clamp(25px,6.5vw,34px)}.quota-number{font-size:16px}.summary-hero{grid-template-columns:1fr}.summary-hero .capacity-summary{grid-column:auto}.ranking-legend{display:none}.ranked-quota{grid-template-columns:1fr auto;gap:12px 15px;padding:20px 0}.ranked-identity{gap:10px}.rank-number{font-size:15px;min-width:20px}.ranked-identity a{font-size:12px}.ranked-percentage{min-width:85px;text-align:right}.ranked-percentage strong{font-size:28px}.ranked-amount{grid-column:1/-1;padding-left:30px}.ranked-amount small{display:inline;margin-right:10px}.summary-filter select{width:130px}.page-nav{gap:3px;flex-wrap:wrap}.page-nav a{font-size:11px;padding:7px 9px}.summary-hero .reset-summary strong{white-space:nowrap}.summary-hero .capacity-summary{grid-row:auto}}
.quota-percent small{display:block;font:10px/1.5 Inter,sans-serif;color:var(--muted);margin-top:5px}.quota-percent.precise{font-size:32px}@media(max-width:760px){.quota-percent.precise{font-size:22px}}
.quota-title,.summary-resource-title{display:flex;align-items:center;gap:8px;justify-content:space-between}.quota-title h3{flex:1;min-width:0}.quota-help{display:inline-flex;flex:none}.help-button{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid #52617b;border-radius:50%;color:#c4d2e8;background:#25334a;font:12px Inter,sans-serif;padding:0;cursor:help}.help-button:hover,.help-button[aria-expanded=true]{color:var(--bright);border-color:var(--gold);background:#352e22}.quota-help-tip{position:fixed;z-index:30;display:block;width:min(320px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:17px 18px;border:1px solid #64738a;background:#1c293d;box-shadow:0 12px 40px #0008;border-radius:12px;white-space:normal;text-align:left;letter-spacing:0;text-transform:none;font:12px/1.75 Inter,sans-serif;color:#d7e0ef}.quota-help-tip strong{display:block;font:13px/1.5 Inter,sans-serif;color:var(--bright);margin-bottom:9px}.quota-help-tip>span{display:block}.quota-help-tip small{display:block;color:#b8c9df;font-size:10px;line-height:1.7;margin-top:12px}.quota-help-tip[hidden]{display:none}.summary-resource-title{justify-content:flex-start}.ranked-identity .quota-help-tip small{font-size:10px;color:#b8c9df}.ranked-identity .quota-help-tip strong{font-size:13px}.ranked-identity .help-button{width:23px;height:23px}.quota-title .quota-help{margin-left:auto}
/* A quiet status indicator beside the primary manual action. */
.infra-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:18px;row-gap:10px;width:360px;max-width:100%;justify-content:end}.infra-actions>.tag{justify-self:end;gap:7px;padding:4px 0;border:0;background:transparent;font-size:11px;color:#b7c5d9;white-space:normal}.infra-actions>.tag:before{content:'';display:inline-block;flex:none;width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #5cce9110}.infra-actions>.tag.issue:before{background:var(--gold)}.infra-actions>.button.primary{min-width:135px;min-height:47px;padding:12px 22px;font-size:13px;border:1px solid #ffe29b;box-shadow:inset 0 -3px 0 #74521030,0 4px 14px #e8b84a12}.infra-actions #checked-at{grid-column:1/-1;justify-self:end;width:auto;font-size:9px;line-height:1.6;color:#8696b1}.infra-actions>.button.primary .refresh-icon{font-size:24px}.infra-actions>.button.primary:active{transform:translateY(1px)}@media(max-width:760px){.infra-actions{width:100%;max-width:380px;column-gap:14px}.infra-actions>.tag{justify-self:start}.infra-actions #checked-at{justify-self:start;text-align:left}.infra-actions>.button.primary{min-width:130px}}
.firebase-import-note{color:var(--muted);font-size:11px;line-height:1.8;margin:0 0 18px;max-width:850px}.firebase-import-note code{color:#d4dfed;background:#202e43;padding:2px 5px;border-radius:4px;font-size:10px}
.manual-sources-note{font-size:11px;color:var(--muted);line-height:1.8;margin:-8px 0 22px}.manual-sources-note a{margin-left:5px}
