/* HK Glass addition: client card v2, for the tracker's Home ("Month over") and Clients grids. Link it after hk-glass.css.
   The eye gets it without reading: a ring round her picture = how far her month has run (red = locked, orange = ends soon,
   gold = calm), the day count as a badge on the ring, her month as a bar with today's mark, SMM / Ads as a colour mark.
   Markup: home-v2.html. Rules: the five lines at the end of this file. */
:root{--hkg-ads:#3565a8;--hkg-smm:#75509f;--hkg-ring-track:rgba(92,70,36,.17)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--hkg-ads:#9cbdea;--hkg-smm:#cdb2ee;--hkg-ring-track:rgba(222,196,152,.20)}}
:root[data-theme="dark"]{--hkg-ads:#9cbdea;--hkg-smm:#cdb2ee;--hkg-ring-track:rgba(222,196,152,.20)}
/* the four states: each sets a fill (rings, bars, dots) and an ink (words, badges) */
.is-calm{--c:var(--hkg-gold);--ci:var(--hkg-gold-ink)}
.is-soon{--c:var(--hkg-warn-fill);--ci:var(--hkg-warn)}
.is-locked,.is-long{--c:var(--hkg-bad-fill);--ci:var(--hkg-bad)}
.is-ok{--c:var(--hkg-ok-fill);--ci:var(--hkg-ok)}

/* 1. the summary strip: the whole picture before any card */
.hkg-sum{display:grid;gap:var(--hkg-s3)}
.hkg-sum__bar{display:flex;gap:3px;height:12px}
.hkg-sum__bar>i{min-width:6px;border-radius:4px;background:var(--c)}
.hkg-sum__bar>i:first-child{border-radius:6px 4px 4px 6px}.hkg-sum__bar>i:last-child{border-radius:4px 6px 6px 4px}
.hkg-sum__bar>i.is-locked{opacity:.62}
.hkg-sum__keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--hkg-s2)}
.hkg-sum__k{appearance:none;-webkit-appearance:none;border:0;background:none;margin:0;padding:6px 8px;min-height:48px;border-radius:var(--hkg-r-s);display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px;
  font:inherit;color:inherit;text-align:left;cursor:pointer;transition:background-color var(--hkg-t-quick)}
.hkg-sum__k:active,.hkg-sum__k[aria-pressed="true"]{background:var(--hkg-well)}
.hkg-sum__k>b{font:400 30px/1 var(--hkg-serif);color:var(--ci);font-variant-numeric:tabular-nums}
.hkg-sum__k>span{font:700 13px/1.25 var(--hkg-sans);color:var(--hkg-text-2)}
.hkg-sum__k>span::before{content:"";display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:50%;background:var(--c)}
.hkg-sum__k.is-locked>span::before{opacity:.62}
@media (max-width:560px){.hkg-sum__keys{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 2. a group header with its count */
.hkg-group{display:flex;align-items:center;gap:10px;margin-top:var(--hkg-s2);padding:0 var(--hkg-s1)}
.hkg-group>.hkg-head{margin-right:auto}
.hkg-group::before{content:"";width:10px;height:10px;flex:none;border-radius:50%;background:var(--c)}
.hkg-group.is-locked::before{opacity:.62}

/* 3. the grid and the card */
.hkg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:var(--hkg-s3)}
.hkg-cc{position:relative;display:grid;gap:10px;padding:14px;border-radius:var(--hkg-r-l);background:var(--hkg-sheen),var(--hkg-surface);box-shadow:var(--hkg-shadow-1)}
.hkg-cc.is-long{box-shadow:inset 0 1px 0 var(--hkg-edge),inset 0 0 0 1px var(--hkg-bad-line),0 16px 34px -24px rgba(74,52,18,.5)}
.hkg-cc__hit{appearance:none;-webkit-appearance:none;border:0;background:none;margin:0;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;min-height:68px;border-radius:var(--hkg-r-s)}
.hkg-cc__hit:active{opacity:.6}
.hkg-cc__main{display:grid;gap:7px;min-width:0}
.hkg-cc__name{font:700 16px/1.25 var(--hkg-sans);padding-right:52px;overflow-wrap:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}   /* in full, two lines; never dots on one line */
.hkg-cc__acts{display:flex;align-items:center;justify-content:space-between;margin:0 -8px -8px;padding-top:2px;border-top:1px solid var(--hkg-line)}   /* a quiet line of actions: words for the one that matters, an icon for the other */
.hkg-cc__acts>.hkg-btn{min-height:44px}
.hkg-cc__acts>.hkg-btn--icon{width:44px;color:var(--hkg-text-2)}
/* her picture in a ring: --p is how far her month has run (0 to 1) */
.hkg-ring{position:relative;flex:none;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;
  background:conic-gradient(var(--c) calc(var(--p,0) * 1turn),var(--hkg-ring-track) 0)}
.hkg-ring>img,.hkg-ring>span{width:54px;height:54px;border-radius:50%;object-fit:cover;display:grid;place-items:center;box-shadow:0 0 0 2.5px var(--hkg-surface-solid);
  font:800 18px/1 var(--hkg-sans);color:var(--hkg-gold-ink);background:var(--hkg-surface-solid)}
.hkg-ring>b{position:absolute;right:-8px;bottom:-4px;display:inline-flex;align-items:center;gap:3px;height:22px;padding:0 7px 0 6px;border-radius:11px;
  font:800 12px/1 var(--hkg-sans);font-variant-numeric:tabular-nums;color:var(--hkg-surface-solid);background:var(--ci);box-shadow:0 0 0 2px var(--hkg-surface-solid)}
.hkg-ring>b>svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
/* her month: a bar with today's mark, both dates in full under it */
.hkg-month{position:relative;display:block;height:6px;border-radius:3px;background:linear-gradient(90deg,var(--c) calc(var(--p,0) * 100%),var(--hkg-ring-track) 0)}
.hkg-month::after{content:"";position:absolute;top:-4px;left:calc(var(--p,0) * 100% - 1.5px);width:3px;height:14px;border-radius:2px;background:var(--hkg-text);box-shadow:0 0 0 2px var(--hkg-surface-solid)}
.hkg-month__d{display:flex;justify-content:space-between;gap:8px;font:600 12.5px/1.2 var(--hkg-sans);font-variant-numeric:tabular-nums;color:var(--hkg-text-2);white-space:nowrap}
/* SMM / Ads: a colour mark in the card's corner */
.hkg-svc{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;gap:5px;font:800 12px/1 var(--hkg-sans);letter-spacing:.04em;color:var(--sv)}
.hkg-svc::before{content:"";width:9px;height:9px;border-radius:3px;background:var(--sv)}
.hkg-svc--ads{--sv:var(--hkg-ads)}.hkg-svc--smm{--sv:var(--hkg-smm)}
.hkg-svc--ads::before{border-radius:50%}                                     /* a round mark for Ads, a square one for SMM: not colour alone */

/* The five rules
   1. The ring is her month: the arc is how far it has run, the colour is the state (gold calm, orange ends within 3 days, red locked;
      a red edge on the card from 10 days). The day count sits on the ring as a badge; no text pill for the state.
   2. Her month is one bar with today's mark; its two dates are written in full under it and are never cut.
   3. Her name is written in full (two lines at most); SMM / Ads is a colour-and-shape mark in the corner, never a pill.
   4. One clear action on the card ("Renewed"); the second is an icon with a 44 px tap and a spoken label. The card itself opens her sheet,
      where both are spelled out. No gold on cards: gold stays for the one thing on the screen that matters most.
   5. Before any card: one summary strip (a bar in the states' colours with four counts that filter) and group headers with counts,
      worst first. Taps 44 px, text 12 px at least, light and dark from the same tokens. */

/* ───── Clients tab (the same card, no action row) ───── */
.hkg-cc__sub{font:500 13px/1.3 var(--hkg-sans);color:var(--hkg-text-2);overflow-wrap:anywhere}                 /* her handle, in full */
.hkg-cc__meta{display:flex;align-items:center;gap:10px;font:600 12.5px/1 var(--hkg-sans);font-variant-numeric:tabular-nums;color:var(--hkg-text-2)}
.hkg-cc__meta{justify-content:flex-end}                               /* the level, the sign and the date sit on the right, clear of the ring's badge */
/* the package as a level: one, two, three steps = Basic, Standard, Advanced (aria-label says the word) */
.hkg-level{display:inline-flex;align-items:flex-end;gap:2.5px;height:14px}
.hkg-level>i{width:5px;border-radius:1.5px;background:var(--hkg-ring-track)}
.hkg-level>i:nth-child(1){height:6px}.hkg-level>i:nth-child(2){height:10px}.hkg-level>i:nth-child(3){height:14px}
.hkg-level[data-n="1"]>i:nth-child(1),.hkg-level[data-n="2"]>i:nth-child(-n+2),.hkg-level[data-n="3"]>i{background:var(--hkg-text)}
/* "came back": a small sign beside the level */
.hkg-back{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;color:var(--hkg-smm);background:var(--hkg-well-2)}
.hkg-back>svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* the next seven days: who is due on each, today first; a tap filters the grid */
.hkg-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:var(--hkg-s2)}
.hkg-day{appearance:none;-webkit-appearance:none;border:0;margin:0;padding:10px 6px;min-height:104px;border-radius:var(--hkg-r-m);display:grid;gap:6px;justify-items:center;align-content:start;
  font:inherit;color:inherit;cursor:pointer;background:var(--hkg-well);transition:background-color var(--hkg-t-quick)}
.hkg-day[aria-pressed="true"]{background:var(--hkg-gold-tint);box-shadow:inset 0 0 0 1px var(--hkg-gold-line)}
.hkg-day.is-today{box-shadow:inset 0 0 0 2px var(--hkg-warn-fill)}
.hkg-day__d{font:700 12.5px/1 var(--hkg-sans);color:var(--hkg-text-2)}
.hkg-day__n{font:400 28px/1 var(--hkg-serif);color:var(--ci,var(--hkg-text));font-variant-numeric:tabular-nums}
.hkg-day.is-none .hkg-day__n{color:var(--hkg-text-3)}
.hkg-faces{display:flex;justify-content:center;padding-left:8px}
.hkg-faces>img,.hkg-faces>span{width:28px;height:28px;margin-left:-8px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--hkg-surface-solid);display:grid;place-items:center;
  font:800 12px/1 var(--hkg-sans);color:var(--hkg-text-2);background:var(--hkg-ground-2)}
@media (max-width:640px){.hkg-week{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:88px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}.hkg-day{scroll-snap-align:start}}
/* the bar of filters above the grid: one row on an iPad */
.hkg-tools{display:flex;flex-wrap:wrap;gap:var(--hkg-s2);align-items:center}
.hkg-tools>.hkg-search{flex:1 1 240px}
.hkg-tools>.hkg-seg{flex:0 1 auto}
.hkg-tools>.hkg-seg>button{padding:0 12px;white-space:nowrap}
.hkg-seg>button>b{font-weight:800;color:var(--hkg-text-3);margin-left:4px;font-variant-numeric:tabular-nums}
/* More rules (Clients): 6. the ring is her month's clock here too: full and orange on the day her renewal is due, gold while it is days away;
   "Today / 1d / 5d" is the badge. 7. The package is a level mark, "came back" a small sign, each with a spoken label; her handle and her date
   are written in full. 8. The week strip comes before the grid: seven days, the faces of who is due on each. */

/* ───── Uploads tab ───── */
/* the week: a bar a day (done of expected); today is boxed, an off day is hollow */
.hkg-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:var(--hkg-s2)}
.hkg-dbar{appearance:none;-webkit-appearance:none;border:0;background:none;margin:0;padding:10px 4px 8px;min-height:120px;border-radius:var(--hkg-r-m);display:grid;justify-items:center;gap:6px;font:inherit;color:inherit;cursor:pointer}
.hkg-dbar[aria-pressed="true"]{background:var(--hkg-well);box-shadow:inset 0 0 0 1px var(--hkg-gold-line)}
.hkg-dbar>i{position:relative;width:14px;height:52px;border-radius:7px;background:var(--hkg-ring-track);overflow:hidden}
.hkg-dbar>i::after{content:"";position:absolute;left:0;right:0;bottom:0;height:calc(var(--p,0) * 100%);border-radius:7px;background:linear-gradient(180deg,var(--hkg-gold),var(--hkg-ok-fill))}
.hkg-dbar.is-off>i{background:none;box-shadow:inset 0 0 0 1.5px var(--hkg-line-2)}
.hkg-dbar>b{font:800 13px/1 var(--hkg-sans);font-variant-numeric:tabular-nums}
.hkg-dbar>b>em{font-style:normal;color:var(--hkg-bad);margin-left:4px}
.hkg-dbar>span{font:600 12.5px/1 var(--hkg-sans);color:var(--hkg-text-2)}
/* a row of faces (an off day, a "not connected" group): one calm line instead of a card each */
.hkg-facerow{display:flex;flex-wrap:wrap;gap:8px}
.hkg-facerow>img,.hkg-facerow>span{width:40px;height:40px;border-radius:50%;object-fit:cover;display:grid;place-items:center;font:800 13px/1 var(--hkg-sans);color:var(--hkg-gold-ink);background:var(--hkg-gold-tint);box-shadow:inset 0 0 0 1px var(--hkg-gold-line)}
/* a client's day as marks: reel and story, each done / missing / not in her plan */
.hkg-marks{display:inline-flex;gap:6px;flex:none}
.hkg-mk{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;color:var(--hkg-text-3);box-shadow:inset 0 0 0 1.5px var(--hkg-line-2)}
.hkg-mk>svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hkg-mk.is-done{color:var(--hkg-surface-solid);background:var(--hkg-ok-fill);box-shadow:none}
.hkg-mk.is-miss{color:var(--hkg-bad);background:var(--hkg-bad-bg);box-shadow:inset 0 0 0 1.5px var(--hkg-bad-fill)}
.hkg-mk.is-none{opacity:.55;box-shadow:inset 0 0 0 1.5px var(--hkg-line);border-style:dashed}
.hkg-mk--story{border-radius:50%}
/* a small client line: face, name, marks */
.hkg-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:var(--hkg-s2)}
.hkg-chip{display:flex;align-items:center;gap:10px;min-height:52px;padding:6px 10px 6px 6px;border-radius:26px;background:var(--hkg-well)}
.hkg-chip>img,.hkg-chip>span:first-child{width:40px;height:40px;flex:none;border-radius:50%;object-fit:cover;display:grid;place-items:center;font:800 13px/1 var(--hkg-sans);color:var(--hkg-gold-ink);background:var(--hkg-gold-tint)}
.hkg-chip>b{flex:1;min-width:0;font:700 14.5px/1.25 var(--hkg-sans);overflow-wrap:break-word}
/* More rules (Uploads): 9. the week's bars stay; an off day is ONE calm card with the faces of who rests, not a card each.
   10. A client's day is two marks, reel (square) and story (round): green done, red missing, faint not in her plan; the ones with a
   red mark come first, the done ones are a quiet grid of faces. No grey word pills. */
@media (max-width:480px){.hkg-days{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(52px,1fr);overflow-x:auto;gap:4px}}   /* on a phone each day keeps a 44 px tap */

/* ───── For the build (15 Nov, after Harsh's yes): the states and signs the real data also has ───── */
.is-idle{--c:var(--hkg-ring-track);--ci:var(--hkg-text-2)}                    /* paused or ended: a grey ring, a grey badge ("Paused", "Ended") */
.hkg-cc.is-idle .hkg-cc__name{color:var(--hkg-text-2)}
.hkg-sign{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--hkg-well-2);color:var(--hkg-text-2)}   /* a small sign with an aria-label: came back, new */
.hkg-sign>svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hkg-sign--back{color:var(--hkg-smm)}.hkg-sign--new{color:var(--hkg-ok)}
.hkg-cc__meta>.hkg-pill{min-height:22px;font-size:12px}                         /* a fact with no picture form yet may stay one small quiet pill */

/* ───── Home: the top band of numbers, and the gap between sections ───── */
:root{--hkg-gap-section:32px;--hkg-gap-block:12px}
@media (max-width:560px){:root{--hkg-gap-section:24px}}
.hkg-sections>*+*{margin-top:var(--hkg-gap-section)}                          /* sections never touch: one gap everywhere on a page */
.hkg-sections>.hkg-group+*{margin-top:var(--hkg-gap-block)}                    /* a header and its own grid sit close */
.hkg-band{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--hkg-gap-block)}
.hkg-stat{appearance:none;-webkit-appearance:none;border:0;margin:0;font:inherit;color:inherit;text-align:left;display:grid;align-content:start;gap:4px;min-height:112px;padding:14px 16px;
  border-radius:var(--hkg-r-l);background:var(--hkg-sheen),var(--hkg-surface);box-shadow:var(--hkg-shadow-1);grid-column:span 2}
button.hkg-stat,a.hkg-stat{cursor:pointer;text-decoration:none}
.hkg-stat__k{display:flex;align-items:center;gap:8px;font:800 12px/1.2 var(--hkg-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--hkg-text-2)}
.hkg-stat__n{font:400 40px/1.05 var(--hkg-serif);font-variant-numeric:tabular-nums;white-space:nowrap}
.hkg-stat__s{font:500 13px/1.3 var(--hkg-sans);color:var(--hkg-text-2)}
.hkg-stat--lead{grid-column:span 3;box-shadow:inset 0 1px 0 var(--hkg-edge),inset 0 0 0 1px var(--hkg-gold-line),0 16px 34px -24px rgba(74,52,18,.5)}
.hkg-stat--lead .hkg-stat__n{font-size:clamp(44px,6vw,60px);color:var(--hkg-gold-ink)}
.hkg-stat--month{grid-column:span 3}
.hkg-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end}                 /* joined · left · upgraded: three numbers, each with its word under it */
.hkg-trio>span{display:grid;gap:2px}
.hkg-trio b{font:400 30px/1.05 var(--hkg-serif);font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ci,var(--hkg-text))}
.hkg-trio i{font:600 12.5px/1.2 var(--hkg-sans);font-style:normal;color:var(--hkg-text-2)}
@media (min-width:1024px){.hkg-band{grid-template-columns:repeat(12,minmax(0,1fr))}.hkg-stat{grid-column:span 2}.hkg-stat--lead{grid-column:span 3}.hkg-stat--month{grid-column:span 3}}
@media (max-width:560px){.hkg-band{grid-template-columns:repeat(3,minmax(0,1fr))}.hkg-stat{grid-column:span 1;min-height:96px;padding:12px}.hkg-stat--lead,.hkg-stat--month{grid-column:1/-1}.hkg-stat__n{font-size:32px}.hkg-stat:not(.hkg-stat--lead):not(.hkg-stat--month) .hkg-stat__s{display:none}}
/* Rules (Home's top band): 11. The band is the first thing on Home, under the greeting: Monthly value leads (largest, gold figure, the eye
   beside its label), then Active, Renewing in 7 days, Paused, then this month's three numbers (joined green, left red, upgraded gold), each
   number with its one word under it; nothing wraps inside a figure. 12. Sections never touch: 32 px between sections (24 on a phone), 12 px
   between a header and its grid and between cards. */

/* ───── Card wording (after Harsh, 14:27: "7 days bache hain ya 7 days ho gaye hain?"): no bare day count anywhere ───── */
.hkg-cc__state{display:flex;flex-wrap:wrap;align-items:center;column-gap:6px;font:700 13.5px/1.3 var(--hkg-sans);color:var(--ci)}   /* the count in words, in the state's colour: "Overdue by 14 days", "7 days left" */
.hkg-cc__state>svg{width:13px;height:13px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hkg-cc__state>span{font-weight:600;color:var(--hkg-text-2)}                                                      /* the date beside it, quiet */
.hkg-month__line{font:600 12.5px/1.3 var(--hkg-sans);font-variant-numeric:tabular-nums;color:var(--hkg-text-2)}     /* one plain line under the bar; it carries the dates in full */
.hkg-ring>b:empty{display:none}
.hkg-ring>b.is-icon{width:22px;padding:0;justify-content:center}                                                  /* the ring's badge is only a lock now; the number is said in words */
/* Rule 13. A number of days always says which way it counts: "7 days left", "Renews tomorrow", "Renewal due today", "Overdue by 14 days".
   The words sit in one coloured line under her name; the ring carries only the arc, the colour and (locked) a lock. Under the bar, one
   plain line: "Day 23 of 30 · renews 21 Nov" / "Month ends today, 15 Nov" / "Was due 1 Nov · month runs to 30 Nov". */

/* ================= money states (card v3, 15 Nov 15:35) =================
   Rule 14. A card says the MONEY in one of three words, each with its own colour and sign:
            Paid (green, a tick) · Renewal coming (amber, a clock) · Payment not received (red, "!").
            In between, gold with "?": "Probably paid 27 Oct", "Payment message seen 3 Nov"; they ask for one tap, "Confirm".
            The words "overdue", "locked" and "unlock" are never on a card.
   Rule 15. The ring and the bar say one thing: how far her month has run. The colour says the money. Nothing else.
   Rule 16. One action, only where one is needed: "Mark renewed" where no payment is found (from the renewal day on),
            "Confirm" on an in-between one, none on a paid one or on one whose renewal is still coming. */
.is-paid{--c:var(--hkg-ok-fill);--ci:var(--hkg-ok);--cb:var(--hkg-ok-bg)}
.is-coming{--c:var(--hkg-warn-fill);--ci:var(--hkg-warn);--cb:var(--hkg-warn-bg)}
.is-notrecv{--c:var(--hkg-bad-fill);--ci:var(--hkg-bad);--cb:var(--hkg-bad-bg)}
.is-confirm{--c:var(--hkg-gold);--ci:var(--hkg-gold-ink);--cb:var(--hkg-gold-tint)}
.is-idle{--cb:var(--hkg-well)}
/* the card: picture and name, the money pill, the month bar with its two dates across the whole card, then the one action */
.hkg-cc--v3{gap:12px;padding:16px}
.hkg-cc--v3 .hkg-cc__hit{row-gap:14px;align-items:center}
.hkg-cc--v3 .hkg-cc__main{gap:8px}
.hkg-cc--v3 .hkg-svc{top:16px;right:16px}
.hkg-cc__when{grid-column:1/-1;display:grid;gap:7px}
.hkg-pay{display:inline-flex;align-items:center;gap:6px;justify-self:start;max-width:100%;min-height:28px;padding:4px 12px 4px 8px;border-radius:14px;
  background:var(--cb);color:var(--ci);font:700 13.5px/1.25 var(--hkg-sans);font-variant-numeric:tabular-nums}
.hkg-pay>svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hkg-pay__why{font:600 12.5px/1.3 var(--hkg-sans);font-variant-numeric:tabular-nums;color:var(--hkg-text-2)}   /* at most one quiet phrase under the pill */
.hkg-month__d>b{font-weight:700;color:var(--hkg-text)}                                                         /* the date that matters next */
.hkg-cc__do{display:flex;gap:8px}
.hkg-cc__do>.hkg-btn{flex:1;min-height:44px;border-radius:12px;box-shadow:none;background:var(--cb);--ink:var(--ci);color:var(--ci);font-weight:700}
.hkg-cc__do>.hkg-btn--quiet{flex:0 0 auto;background:none;--ink:var(--hkg-text-2);color:var(--hkg-text-2);font-weight:600;padding:0 12px}
/* the green pill's ink is a shade deeper in light, so it holds 4.5:1 on its own tint */
.is-paid{--ck:#235f37}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .is-paid{--ck:var(--hkg-ok)}}
:root[data-theme="dark"] .is-paid{--ck:var(--hkg-ok)}
.hkg-pay{color:var(--ck,var(--ci))}
