/* CC Growth+: page styles. Everything is scoped to #cc-growth so it can't affect the rest of the site. */
#cc-growth{--ink:#161616;--paper:#FFFFFF;--muted:#6B6A66;--soft:#EEEDE9;--rule:#DAD8D2;--green:#2F7A3E;--red:#B33A2A;--amber:#B07A1E;--green-bg:#EAF3EC;--red-bg:#F7E9E6;--amber-bg:#F7F0E2;
  color:var(--ink);background:var(--paper);font-family:var(--cc-font,inherit);line-height:1.5;-webkit-font-smoothing:antialiased}
#cc-growth *{box-sizing:border-box}
#cc-growth h1,#cc-growth h2,#cc-growth h3,#cc-growth p{margin:0}
#cc-growth svg{display:block;max-width:100%}
#cc-growth .cap{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:600}
#cc-growth .muted{color:var(--muted)}
#cc-growth .n{font-weight:300;letter-spacing:-.04em;line-height:.9;font-variant-numeric:tabular-nums}
#cc-growth .n-xl{font-size:clamp(96px,15vw,220px)}
#cc-growth .n-l{font-size:clamp(48px,6vw,84px)}
#cc-growth .n-m{font-size:clamp(34px,4vw,52px)}
#cc-growth .n-s{font-size:28px}
#cc-growth .wrap{max-width:1320px;margin:0 auto;padding:0 40px}
#cc-growth .gp-sec{padding:56px 0 8px;border-top:1px solid var(--ink)}
#cc-growth .gp-sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 24px;margin-bottom:28px}
#cc-growth .gp-sec-head h2{font-weight:500;font-size:clamp(26px,3vw,36px);line-height:1.1}
#cc-growth .mk{color:var(--amber);font-size:.45em;vertical-align:super;margin-left:4px;cursor:help}
#cc-growth .chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px;white-space:nowrap}
#cc-growth .chip.good{color:var(--green);background:var(--green-bg)}
#cc-growth .chip.bad{color:var(--red);background:var(--red-bg)}
#cc-growth .chip.flat{color:var(--amber);background:var(--amber-bg)}
#cc-growth .chip.none{color:var(--muted);background:var(--soft)}
#cc-growth .good{color:var(--green)}
#cc-growth .bad{color:var(--red)}
#cc-growth .flat{color:var(--amber)}

/* header */
#cc-growth .gp-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px 40px;padding:56px 0 32px}
#cc-growth .gp-head h1{font-weight:700;font-size:clamp(44px,7vw,88px);line-height:.95;letter-spacing:-.02em}
#cc-growth .gp-week{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
#cc-growth .gp-week select{font:inherit;font-size:16px;padding:10px 40px 10px 14px;border:1px solid var(--ink);border-radius:0;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161616' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;-webkit-appearance:none;appearance:none;color:var(--ink);cursor:pointer}

/* hero: the one number */
#cc-growth .gp-hero{border-top:0;padding-top:24px}
#cc-growth .gp-hero-grid{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,1.5fr);gap:32px 64px;align-items:end;padding-bottom:40px}
#cc-growth .gp-hero-num{display:flex;flex-direction:column;gap:14px}
#cc-growth .gp-hero-lbl{font-size:clamp(24px,2.6vw,34px);line-height:1.1;font-weight:500}
#cc-growth .gp-hero-chips{display:flex;flex-wrap:wrap;gap:8px}
#cc-growth .gp-hero-chart{min-width:0}
#cc-growth .gp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));border-top:1px solid var(--ink)}
#cc-growth .gp-stat{padding:20px 24px 20px 0;border-right:1px solid var(--rule);margin-right:24px}
#cc-growth .gp-stat:last-child{border-right:0;margin-right:0}
#cc-growth .gp-stat .cap{margin-bottom:12px;color:var(--muted)}
#cc-growth .gp-stat .val{font-size:34px;font-weight:300;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
#cc-growth .gp-stat .sub{font-size:13px;color:var(--muted);margin-top:8px}

/* cards */
#cc-growth .gp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;padding-bottom:40px}
#cc-growth .gp-card{border:1px solid var(--rule);padding:22px 24px 20px;display:flex;flex-direction:column;gap:14px;min-width:0;position:relative;background:#fff}
#cc-growth .gp-card .cap{color:var(--muted)}
#cc-growth .gp-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
#cc-growth .gp-card-num{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
#cc-growth .gp-card .n-l{font-size:clamp(44px,5vw,64px)}
#cc-growth .gp-card .foot{font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:auto}
#cc-growth .gp-card .detail{font-size:13px;color:var(--muted);line-height:1.5}
#cc-growth .gp-card .spark{margin-top:4px}
#cc-growth .gp-card.gp-giving .n-l{cursor:help;letter-spacing:0;font-size:44px}
#cc-growth .gp-tip{position:absolute;left:24px;top:-10px;transform:translateY(-100%);background:var(--ink);color:#fff;font-size:13px;padding:8px 12px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s;font-variant-numeric:tabular-nums;z-index:5}
#cc-growth .gp-card:hover .gp-tip,#cc-growth .gp-card:focus-within .gp-tip{opacity:1}

/* staff */
#cc-growth .gp-team{display:flex;flex-wrap:wrap;gap:16px 40px;align-items:flex-end;padding:0 0 28px;font-size:15px}
#cc-growth .gp-team b{font-size:30px;font-weight:300;letter-spacing:-.03em;margin-right:8px;font-variant-numeric:tabular-nums}
#cc-growth .gp-staff{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;padding-bottom:40px}
#cc-growth .gp-person{border:1px solid var(--rule);border-top:4px solid var(--muted);padding:20px 22px 18px;display:flex;flex-direction:column;gap:14px;background:#fff}
#cc-growth .gp-person.s-good{border-top-color:var(--green)}
#cc-growth .gp-person.s-flat{border-top-color:var(--amber)}
#cc-growth .gp-person.s-bad{border-top-color:var(--red)}
#cc-growth .gp-person-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
#cc-growth .gp-person-head h3{font-size:22px;font-weight:600;line-height:1.1}
#cc-growth .gp-person-main{display:flex;align-items:center;gap:18px}
#cc-growth .gp-ring{flex:none;width:84px;height:84px;position:relative}
#cc-growth .gp-ring .gp-rv{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
#cc-growth .gp-ring .gp-rv b{font-size:30px;font-weight:300;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
#cc-growth .gp-ring .gp-rv span{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-top:3px}
#cc-growth .gp-person-stats{display:flex;flex-direction:column;gap:6px;font-size:14px;min-width:0}
#cc-growth .gp-person-stats b{font-weight:600}
#cc-growth .gp-hist{display:flex;flex-direction:column;gap:6px}
#cc-growth .gp-hist-bars{display:flex;gap:4px;align-items:flex-end;height:36px}
#cc-growth .gp-hist-bars span{flex:1;min-height:4px;background:var(--soft);position:relative}
#cc-growth .gp-hist-bars span.good{background:var(--green)}
#cc-growth .gp-hist-bars span.flat{background:var(--amber)}
#cc-growth .gp-hist-bars span.bad{background:var(--red)}
#cc-growth .gp-hist-bars span.none{background:repeating-linear-gradient(135deg,var(--soft) 0 3px,#fff 3px 6px)}
#cc-growth .gp-hist-bars span.cur::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:2px;background:var(--ink)}
#cc-growth .gp-hist-line{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}
#cc-growth .gp-pattern{font-size:13px;font-weight:600}

/* gauges */
#cc-growth .gp-gauges{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;padding-bottom:40px}
#cc-growth .gp-gauge{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
#cc-growth .gp-gauge-svg{width:100%;max-width:260px;position:relative}
#cc-growth .gp-gauge-val{position:absolute;left:0;right:0;top:36%;display:flex;flex-direction:column;align-items:center;line-height:1}
#cc-growth .gp-gauge-val b{font-size:clamp(40px,4.5vw,64px);font-weight:300;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
#cc-growth .gp-gauge-val span{font-size:15px;color:var(--muted);margin-top:6px}
#cc-growth .gp-gauge .cap{margin-top:-8px}
#cc-growth .gp-gauge .sub{font-size:14px;color:var(--muted);max-width:280px}
#cc-growth .gp-sub{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 24px;padding:28px 0 20px;border-top:1px solid var(--rule)}
#cc-growth .gp-sub h3{font-size:22px;font-weight:500}

/* footer */
#cc-growth .gp-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding:24px 0 56px;border-top:1px solid var(--ink);font-size:13px;color:var(--muted)}
#cc-growth .gp-foot a{color:inherit}
#cc-growth .gp-empty{padding:80px 0;text-align:center;color:var(--muted);font-size:18px}

/* PIN gate */
#cc-growth.ccgp-gate{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:40px 20px}
#cc-growth .ccgp-pin{display:flex;flex-direction:column;gap:14px;align-items:flex-start;max-width:360px;width:100%}
#cc-growth .ccgp-pin h1{font-weight:700;font-size:56px;line-height:1;letter-spacing:-.02em}
#cc-growth .ccgp-pin input{font:inherit;font-size:28px;letter-spacing:.3em;padding:12px 16px;border:1px solid var(--ink);width:100%;border-radius:0;background:#fff;color:var(--ink)}
#cc-growth .ccgp-pin button{font:inherit;font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;padding:14px 28px;border:0;background:var(--ink);color:#fff;cursor:pointer;border-radius:999px}
#cc-growth .ccgp-pin-err{color:var(--red);font-weight:600}

/* reveal */
#cc-growth .rv{opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .6s ease}
#cc-growth .rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){#cc-growth .rv{opacity:1;transform:none;transition:none}}

@media (max-width:900px){
  #cc-growth .wrap{padding:0 20px}
  #cc-growth .gp-hero-grid{grid-template-columns:1fr}
  #cc-growth .gp-head{padding-top:36px}
  #cc-growth .gp-week{align-items:flex-start}
  #cc-growth .gp-stat{border-right:0;margin-right:0;border-bottom:1px solid var(--rule)}
}
