/* CC Leadership Dashboard: page styles, scoped to #cc-lead so nothing leaks into the site.
   Same visual language as Growth+ and the Impact Report: ink on paper, thin oversized numerals,
   small-caps labels, one-pixel rules. Color is meaning only (green right, amber flat, red wrong). */
#cc-lead{--ink:#161616;--ink-soft:#3A3936;--muted:#6B6A66;--paper:#F3F2EE;--card:#FFFFFF;--soft:#EEEDE9;--wash:#E6E4DE;--rule:#DAD8D2;--rule-dark:#C9C7C0;
  --good:#2F7A3E;--warn:#B07A1E;--bad:#B33A2A;--good-bg:#EAF3EC;--warn-bg:#F7F0E2;--bad-bg:#F7E9E6;--purple:#7C5CB0;
  color:var(--ink);background:var(--paper);font-family:var(--cc-font,inherit);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;min-height:60vh}
#cc-lead *{box-sizing:border-box}
#cc-lead h1,#cc-lead h2,#cc-lead h3,#cc-lead p,#cc-lead ul{margin:0}
#cc-lead svg{display:block;max-width:100%}
#cc-lead canvas{max-width:100%}
#cc-lead button{font-family:inherit}
#cc-lead a{color:inherit}
#cc-lead .wrap{max-width:1320px;margin:0 auto;padding:0 40px}
#cc-lead .cap{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:600}
#cc-lead .muted{color:var(--muted)}
#cc-lead .num{font-variant-numeric:tabular-nums;letter-spacing:-.03em}
#cc-lead .small{font-size:12.5px;color:var(--muted)}
#cc-lead .good{color:var(--good)}#cc-lead .bad{color:var(--bad)}#cc-lead .flat,#cc-lead .warn{color:var(--warn)}
#cc-lead .sub{font-size:13px;color:var(--muted);margin-top:4px}

/* ---------- hard reset: theme and Elementor rules (pill buttons, uppercase, letter-spacing, min-heights)
   must not reach into the dashboard. High specificity plus !important on the properties themes set globally. ---------- */
html body #cc-lead button,html body #cc-lead .nv,html body #cc-lead .seg button,html body #cc-lead .btn2,html body #cc-lead .ghost,html body #cc-lead .ai-row button,html body #cc-lead details summary{
  text-transform:none!important;letter-spacing:normal!important;border-radius:0!important;box-shadow:none!important;min-height:0!important;min-width:0!important;width:auto!important;height:auto!important;
  line-height:1.3!important;margin:0!important;text-decoration:none!important;font-family:inherit!important;font-weight:500!important;background-image:none!important;transition:none!important;outline-offset:2px}
html body #cc-lead .btn-ink,html body #cc-lead .btn2,html body #cc-lead .ghost,html body #cc-lead .ai-row button,html body #cc-lead .ccld-pin button{border-radius:999px!important;text-transform:uppercase!important;letter-spacing:.14em!important;font-size:12px!important;font-weight:600!important}
html body #cc-lead .seg,html body #cc-lead .seg button,html body #cc-lead .pill{border-radius:999px!important}
html body #cc-lead .nv{background:none!important;border:0!important;border-bottom:3px solid transparent!important;padding:0 14px!important;color:#6B6A66!important;font-size:14.5px!important}
html body #cc-lead .nv.on{color:#161616!important;border-bottom-color:#161616!important;font-weight:600!important}
html body #cc-lead .nv:hover,html body #cc-lead .nv:focus{color:#161616!important;background:none!important}
html body #cc-lead .seg button{border:0!important;background:none!important;padding:7px 15px!important;font-size:13px!important;font-weight:600!important;color:#6B6A66!important}
html body #cc-lead .seg button.on{background:#161616!important;color:#fff!important}
html body #cc-lead .btn-ink{background:#161616!important;color:#fff!important;border:0!important;padding:13px 24px!important}
html body #cc-lead .btn2{background:#fff!important;color:#161616!important;border:1px solid #161616!important;padding:8px 16px!important}
html body #cc-lead .ghost{background:none!important;color:#3A3936!important;border:1px solid #C9C7C0!important;padding:10px 20px!important;font-size:13px!important;text-transform:none!important;letter-spacing:normal!important}
html body #cc-lead h1,html body #cc-lead h2,html body #cc-lead h3,html body #cc-lead h4{margin:0!important;padding:0!important;color:inherit!important;text-transform:none!important;letter-spacing:normal!important;font-family:inherit!important;line-height:1.1!important}
html body #cc-lead h1{font-weight:700!important;letter-spacing:-.02em!important}
html body #cc-lead .phead h1{font-weight:500!important}
html body #cc-lead .card h3,html body #cc-lead .cap,html body #cc-lead .stat .l,html body #cc-lead .phead .eyebrow,html body #cc-lead details.insight summary,html body #cc-lead table.data th,html body #cc-lead .gauge-wrap .gl{text-transform:uppercase!important;letter-spacing:.16em!important;font-weight:600!important}
html body #cc-lead p{margin:0!important;padding:0!important}
html body #cc-lead ul,html body #cc-lead ol{list-style:none!important;margin:0!important;padding:0!important}
html body #cc-lead a{text-decoration:none!important;color:inherit!important;box-shadow:none!important}
html body #cc-lead table,html body #cc-lead td,html body #cc-lead th{border:0;background:transparent}
html body #cc-lead input,html body #cc-lead select,html body #cc-lead textarea{box-shadow:none!important;border-radius:0!important;min-height:0!important;height:auto!important;line-height:1.3!important;font-family:inherit!important;color:#161616!important;text-transform:none!important;letter-spacing:normal!important;margin:0!important}
html body #cc-lead input[type=range]{border:0!important;padding:0!important;background:transparent!important}
html body #cc-lead input[type=checkbox]{width:16px!important;height:16px!important;padding:0!important}
html body #cc-lead img,html body #cc-lead svg,html body #cc-lead canvas{max-width:100%;box-shadow:none;border:0}
html body #cc-lead .wrap{max-width:1320px!important;margin:0 auto!important}
html body #cc-lead{--cc-font:inherit}

/* ---------- header + section nav ---------- */
#cc-lead .ld-head .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px 40px;padding-top:52px;padding-bottom:26px}
#cc-lead .ld-head h1{font-weight:700;font-size:clamp(40px,6.5vw,80px);line-height:.95;letter-spacing:-.02em;margin-top:6px}
#cc-lead .ld-tools{display:flex;flex-direction:column;align-items:flex-end;gap:12px;text-align:right}
#cc-lead .ld-btns{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
#cc-lead #sync-live{max-width:520px;min-height:1.2em}
#cc-lead .stamp{font-size:13px;color:var(--muted);max-width:520px}
#cc-lead .stamp b{color:var(--ink);font-weight:600}
#cc-lead .btn-ink{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;padding:13px 24px;border:0;background:var(--ink);color:#fff;cursor:pointer;border-radius:999px;white-space:nowrap}
#cc-lead .btn-ink:disabled{opacity:.5;cursor:default}
#cc-lead .ld-nav{position:sticky;top:0;z-index:30;background:var(--paper);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}
#cc-lead .ld-nav .wrap{display:flex;gap:4px;align-items:stretch;height:58px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
#cc-lead .ld-nav .wrap::-webkit-scrollbar{display:none}
#cc-lead .nv{display:inline-flex;align-items:center;gap:9px;background:none;border:0;border-bottom:3px solid transparent;color:var(--muted);font-size:14.5px;font-weight:500;padding:0 14px;cursor:pointer;flex:none}
#cc-lead .nv svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7;flex:none}
#cc-lead .nv:hover{color:var(--ink)}
#cc-lead .nv.on{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}
#cc-lead .ld-main .wrap{padding-top:40px;padding-bottom:96px}
#cc-lead .page{display:none}
#cc-lead .page.on{display:block}

/* page head */
#cc-lead .phead{margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid var(--rule)}
#cc-lead .phead .eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:600}
#cc-lead .phead h1{font-size:clamp(30px,4vw,44px);font-weight:500;letter-spacing:-.02em;line-height:1.05;margin-top:6px}
#cc-lead .phead .desc{color:var(--muted);margin-top:10px;max-width:76ch;font-size:15px}
#cc-lead .phead .desc .src{color:var(--ink-soft)}

/* ---------- grid + cards ---------- */
#cc-lead .grid{display:grid;gap:18px}
#cc-lead .grid>*{min-width:0}
#cc-lead .g2{grid-template-columns:1fr 1fr}#cc-lead .g3{grid-template-columns:repeat(3,1fr)}#cc-lead .g4{grid-template-columns:repeat(4,1fr)}
#cc-lead .g23{grid-template-columns:2fr 1fr}#cc-lead .g32{grid-template-columns:1fr 2fr}
#cc-lead .card{background:var(--card);border:1px solid var(--rule);padding:26px 28px;min-width:0}
#cc-lead .card.tight{padding:20px 22px}
#cc-lead .card h3{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:16px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px}
#cc-lead .card h3 .hint{letter-spacing:0;text-transform:none;font-weight:400;color:var(--muted);font-size:12.5px}
#cc-lead .mt{margin-top:18px}#cc-lead .mt2{margin-top:28px}

/* stat blocks */
#cc-lead .stat .l{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:12px}
#cc-lead .stat .v{font-size:clamp(36px,3.4vw,48px);font-weight:300;letter-spacing:-.04em;line-height:.95;font-variant-numeric:tabular-nums}
#cc-lead .stat .v small{font-size:.45em;font-weight:400;color:var(--muted);letter-spacing:0}
#cc-lead .stat .d{font-size:13px;color:var(--muted);margin-top:12px;padding-top:10px;border-top:1px solid var(--rule);line-height:1.5}
#cc-lead .stat .d b{color:var(--ink);font-weight:600}
#cc-lead .delta{font-weight:600;font-variant-numeric:tabular-nums}
#cc-lead .delta.up{color:var(--good)}#cc-lead .delta.down{color:var(--bad)}#cc-lead .delta.flat{color:var(--warn)}
#cc-lead .delta.inv-up{color:var(--bad)}#cc-lead .delta.inv-down{color:var(--good)}

#cc-lead .chartbox{position:relative;height:340px}
#cc-lead .chartbox.tall{height:420px}#cc-lead .chartbox.short{height:250px}#cc-lead .chartbox.mini{height:180px}

/* toggles + bars */
#cc-lead .seg{display:inline-flex;background:var(--card);border:1px solid var(--rule-dark);border-radius:999px;padding:3px;gap:2px;max-width:100%;overflow-x:auto;scrollbar-width:none}
#cc-lead .seg::-webkit-scrollbar{display:none}
#cc-lead .seg button{border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--muted);padding:7px 15px;border-radius:999px;cursor:pointer;white-space:nowrap}
#cc-lead .seg button.on{background:var(--ink);color:#fff}
#cc-lead .bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}
#cc-lead .bar .right{display:flex;gap:10px;align-items:center;flex-wrap:wrap;min-width:0;max-width:100%}
#cc-lead .bar>*{min-width:0;max-width:100%}
#cc-lead .chk{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink-soft);cursor:pointer;user-select:none}
#cc-lead .chk input{width:16px;height:16px;accent-color:var(--ink)}
#cc-lead .sel{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:var(--ink-soft)}
#cc-lead select,#cc-lead .sel select{font:inherit;font-size:14px;padding:8px 36px 8px 12px;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 12px center;-webkit-appearance:none;appearance:none;color:var(--ink);cursor:pointer;max-width:100%}

/* tables */
#cc-lead .tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
#cc-lead table.data{width:100%;border-collapse:collapse;font-size:13.5px}
#cc-lead table.data th{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600;text-align:right;padding:10px 12px;border-bottom:1px solid var(--ink);white-space:nowrap}
#cc-lead table.data th:first-child,#cc-lead table.data td:first-child{text-align:left}
#cc-lead table.data td{padding:10px 12px;border-bottom:1px solid var(--rule);text-align:right;font-variant-numeric:tabular-nums;vertical-align:top}
#cc-lead table.data tr.sect td{background:var(--soft);font-weight:600;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
#cc-lead table.data td.name{font-weight:600;white-space:nowrap}
#cc-lead table.data td .sub{white-space:normal;font-weight:400}

/* gauges */
#cc-lead .gauge-wrap{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:100%}
#cc-lead .gauge-wrap svg{max-width:100%;height:auto}
#cc-lead .gauge-wrap svg text{font-weight:300!important;letter-spacing:-.04em}
#cc-lead .gauge-wrap .gl{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-top:6px}
#cc-lead .gauge-wrap .gd{font-size:13px;color:var(--muted);margin-top:4px;max-width:280px}

/* insights accordion */
#cc-lead details.insight{border:1px solid var(--rule);border-top:1px solid var(--ink);background:var(--card);margin-top:18px}
#cc-lead details.insight summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:16px 28px;font-weight:600;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
#cc-lead details.insight summary::-webkit-details-marker{display:none}
#cc-lead details.insight summary .chev{margin-left:auto;transition:transform .2s}
#cc-lead details.insight[open] summary .chev{transform:rotate(180deg)}
#cc-lead details.insight .body{padding:0 28px 22px;border-top:1px solid var(--rule)}
#cc-lead details.insight ul{list-style:none;margin-top:14px;padding:0}
#cc-lead details.insight li{padding:10px 0 10px 22px;position:relative;color:var(--ink-soft);border-bottom:1px solid var(--soft);font-size:14.5px}
#cc-lead details.insight li:last-child{border-bottom:0}
#cc-lead details.insight li::before{content:"";position:absolute;left:2px;top:17px;width:8px;height:8px;border-radius:50%;background:var(--rule-dark)}
#cc-lead details.insight li.pos::before{background:var(--good)}
#cc-lead details.insight li.neg::before{background:var(--bad)}
#cc-lead details.insight li.watch::before{background:var(--warn)}
#cc-lead .ai-row{margin-top:16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#cc-lead .ai-row button{background:var(--ink);color:#fff;border:0;border-radius:999px;padding:9px 18px;font:inherit;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;cursor:pointer}
#cc-lead .ai-row button:disabled{opacity:.5;cursor:default}
#cc-lead .ai-out{margin-top:14px;background:var(--soft);padding:16px 18px;font-size:14.5px;color:var(--ink-soft);white-space:pre-wrap;display:none}

/* progress + pills */
#cc-lead .prog{height:8px;background:var(--wash);overflow:hidden}
#cc-lead .prog i{display:block;height:100%;background:var(--ink)}
#cc-lead .prog.ok i{background:var(--good)}#cc-lead .prog.mid i{background:var(--warn)}#cc-lead .prog.low i{background:var(--bad)}
#cc-lead .pill{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.06em;padding:3px 10px;border-radius:999px;border:1px solid var(--rule-dark);color:var(--ink-soft);white-space:nowrap;background:#fff}
#cc-lead .pill.good{background:var(--good-bg);border-color:#BCD9C6;color:var(--good)}
#cc-lead .pill.warn{background:var(--warn-bg);border-color:#E0CF9D;color:var(--warn)}
#cc-lead .pill.bad{background:var(--bad-bg);border-color:#E3B7B4;color:var(--bad)}

/* sliders + inputs */
#cc-lead .sl{margin-bottom:18px}
#cc-lead .sl .lab{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:600;color:var(--ink-soft);margin-bottom:7px}
#cc-lead .sl .lab .val{font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink);text-align:right}
#cc-lead input[type=range]{width:100%;accent-color:var(--ink);height:26px;margin:0}
#cc-lead .numin{width:130px;border:1px solid var(--rule-dark);border-radius:0;padding:8px 11px;font:inherit;font-size:14px;font-variant-numeric:tabular-nums;background:#fff;color:var(--ink)}
#cc-lead .numin:focus{outline:2px solid var(--ink);outline-offset:1px}
#cc-lead input[type=text],#cc-lead input[type=number]{font:inherit;border:1px solid var(--rule-dark);border-radius:0;padding:8px 11px;background:#fff;color:var(--ink)}

/* staff dashboard */
#cc-lead .staff-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}
#cc-lead .person{background:var(--card);border:1px solid var(--rule);border-top:4px solid var(--rule-dark);padding:20px 22px 18px;display:flex;flex-direction:column;gap:14px;min-width:0}
#cc-lead .person.s-good{border-top-color:var(--good)}#cc-lead .person.s-flat{border-top-color:var(--warn)}#cc-lead .person.s-bad{border-top-color:var(--bad)}
#cc-lead .person-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
#cc-lead .person-head h3{font-size:22px;font-weight:600;line-height:1.1}
#cc-lead .person-main{display:flex;align-items:center;gap:16px}
#cc-lead .ring{flex:none;width:112px}
#cc-lead .ring .gauge-wrap .gl{display:none}
#cc-lead .person-stats{display:flex;flex-direction:column;gap:5px;font-size:13.5px;min-width:0;color:var(--ink-soft)}
#cc-lead .person-stats b{font-weight:600;color:var(--ink);font-size:15px}
#cc-lead .hist{display:flex;flex-direction:column;gap:7px}
#cc-lead .hist-bars{display:flex;gap:4px;align-items:flex-end;height:40px}
#cc-lead .hist-bars span{flex:1;min-height:4px;background:var(--soft);position:relative}
#cc-lead .hist-bars span.good{background:var(--good)}#cc-lead .hist-bars span.flat{background:var(--warn)}#cc-lead .hist-bars span.bad{background:var(--bad)}
#cc-lead .hist-bars span.none{background:repeating-linear-gradient(135deg,var(--soft) 0 3px,#fff 3px 6px)}
#cc-lead .hist-bars span.cur::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:2px;background:var(--ink)}
#cc-lead .hist-line{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}
#cc-lead .pattern{font-weight:600;text-align:center}

/* elder report */
#cc-lead #p-elder .story{max-width:960px;margin:0 auto}
#cc-lead .esec{margin-bottom:54px}
#cc-lead .esec .ehead{position:sticky;top:58px;background:var(--paper);padding:16px 0 12px;z-index:5;border-bottom:1px solid var(--ink);margin-bottom:22px;display:flex;align-items:baseline;gap:14px}
#cc-lead .esec .ehead .n{font-size:13px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums;letter-spacing:0}
#cc-lead .esec .ehead h2{font-size:24px;font-weight:500;letter-spacing:-.01em}
#cc-lead .esec .nar{font-size:17px;line-height:1.65;color:var(--ink-soft);max-width:72ch;margin-bottom:20px}
#cc-lead .ehero{font-size:clamp(56px,8vw,96px);font-weight:300;letter-spacing:-.05em;line-height:.9;font-variant-numeric:tabular-nums}
#cc-lead .ehero small{font-size:.35em;font-weight:400;color:var(--muted);letter-spacing:0}

/* modal */
#cc-lead .ld-modal{position:fixed;inset:0;background:rgba(22,22,22,.55);display:none;align-items:center;justify-content:center;z-index:9999;padding:24px}
#cc-lead .ld-modal.on{display:flex}
#cc-lead .ld-modal .box{background:var(--card);max-width:640px;width:100%;max-height:88vh;overflow-y:auto;padding:30px 34px 28px;border:1px solid var(--ink)}
#cc-lead .box-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
#cc-lead .ld-modal h2{font-size:24px;font-weight:500}
#cc-lead .ld-modal .x{background:none;border:0;font-size:28px;line-height:1;cursor:pointer;color:var(--muted);padding:4px 8px}
#cc-lead .ld-modal .sub{color:var(--muted);font-size:14px;margin:0 0 20px}
#cc-lead .sync-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--rule)}
#cc-lead .drop{border:1px dashed var(--rule-dark);padding:16px 18px;margin-bottom:12px;display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap}
#cc-lead .drop .dl{font-weight:600;font-size:14px}
#cc-lead .drop .ds{font-size:12.5px;color:var(--muted);margin-top:2px}
#cc-lead .drop input{display:none}
#cc-lead .btn2{background:var(--card);border:1px solid var(--ink);border-radius:999px;padding:8px 16px;font:inherit;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;cursor:pointer;white-space:nowrap;display:inline-block}
#cc-lead .drop.loaded{border-color:var(--good);border-style:solid;background:var(--good-bg)}
#cc-lead .ld-modal .actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
#cc-lead .ld-modal .ghost{background:none;border:1px solid var(--rule-dark);border-radius:999px;padding:10px 20px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;color:var(--ink-soft)}
#cc-lead .note{font-size:13px;color:var(--muted);background:var(--soft);padding:12px 15px;line-height:1.5}

/* empty + legend */
#cc-lead .empty{border:1px dashed var(--rule-dark);padding:34px;text-align:center;color:var(--muted);background:var(--card)}
#cc-lead .empty .t{font-weight:600;color:var(--ink-soft);font-size:16px;margin-bottom:5px}
#cc-lead .legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);margin-top:12px}
#cc-lead .legend span{display:inline-flex;align-items:center;gap:7px}
#cc-lead .legend i{width:16px;height:3px;display:inline-block}

/* PIN gate */
#cc-lead.ccld-gate{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:40px 20px}
#cc-lead .ccld-pin{display:flex;flex-direction:column;gap:14px;align-items:flex-start;max-width:380px;width:100%}
#cc-lead .ccld-pin h1{font-weight:700;font-size:clamp(40px,8vw,60px);line-height:.95;letter-spacing:-.02em}
#cc-lead .ccld-pin p{color:var(--ink-soft)}
#cc-lead .ccld-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-lead .ccld-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-lead .ccld-pin button:disabled{opacity:.6}
#cc-lead .ccld-pin-err{color:var(--bad);font-weight:600}
#cc-lead .ccld-opening{color:var(--muted);font-size:18px}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  #cc-lead .g4{grid-template-columns:1fr 1fr}#cc-lead .g3{grid-template-columns:1fr 1fr}
  #cc-lead .g23,#cc-lead .g32{grid-template-columns:1fr}
  #cc-lead .wrap{padding:0 24px}
  #cc-lead .ld-head .wrap{padding-top:36px;padding-bottom:20px}
}
@media (max-width:760px){
  #cc-lead{font-size:14px}
  #cc-lead .wrap{padding:0 16px}
  #cc-lead .ld-head .wrap{flex-direction:column;align-items:flex-start;gap:14px;padding-top:28px}
  #cc-lead .ld-tools{align-items:flex-start;text-align:left;flex-direction:row;flex-wrap:wrap;align-items:center}
  #cc-lead .ld-nav .wrap{height:52px}
  #cc-lead .nv{padding:0 10px;font-size:13.5px}
  #cc-lead .nv svg{display:none}
  #cc-lead .ld-main .wrap{padding-top:24px;padding-bottom:64px}
  #cc-lead .g2,#cc-lead .g3,#cc-lead .g4{grid-template-columns:1fr}
  #cc-lead .grid{gap:12px}
  #cc-lead .card{padding:18px 16px}
  #cc-lead .card.tight{padding:16px}
  #cc-lead .stat .v{font-size:38px}
  #cc-lead .chartbox{height:260px}#cc-lead .chartbox.tall{height:300px}#cc-lead .chartbox.short{height:220px}
  #cc-lead .bar{gap:10px}
  #cc-lead .esec .ehead{top:52px}
  #cc-lead details.insight summary,#cc-lead details.insight .body{padding-left:16px;padding-right:16px}
  #cc-lead .ld-modal{padding:0;align-items:flex-end}
  #cc-lead .ld-modal .box{max-height:92vh;padding:22px 18px;border:0;border-top:1px solid var(--ink)}
  #cc-lead .person-main{gap:12px}
  #cc-lead .ring{width:96px}
  #cc-lead .gauge-wrap svg{max-width:min(100%,320px)}
}
@media print{
  #cc-lead .ld-nav,#cc-lead .ld-tools,#cc-lead .ai-row,#cc-lead .seg,#cc-lead .ld-modal{display:none!important}
  #cc-lead{background:#fff}
  #cc-lead .page{display:none}#cc-lead .page.on{display:block}
  #cc-lead .card{break-inside:avoid}
}
@media (prefers-reduced-motion:reduce){#cc-lead *{transition:none!important;animation:none!important}}

/* lead measures (Growth+) */
#cc-lead .lead-grid{gap:0}
#cc-lead .lead{padding:4px 22px 4px 0;margin-right:22px;border-right:1px solid var(--rule);min-width:0}
#cc-lead .lead:last-child{border-right:0;margin-right:0;padding-right:0}
#cc-lead .lead .l{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:10px}
#cc-lead .lead .v{font-size:clamp(36px,3.2vw,48px);font-weight:300;letter-spacing:-.04em;line-height:.95}
#cc-lead .lead .when{font-size:13px;color:var(--muted);margin:6px 0 10px;display:flex;flex-wrap:wrap;gap:4px 10px}
#cc-lead .lead .spark{width:100%;max-width:260px;height:auto}
#cc-lead .lead .d{font-size:13px;color:var(--muted);margin-top:10px;padding-top:10px;border-top:1px solid var(--rule);line-height:1.5}
#cc-lead .lead .d b{color:var(--ink);font-weight:600}
@media (max-width:1080px){#cc-lead .lead-grid{gap:18px}#cc-lead .lead{border-right:0;margin-right:0;padding-right:0;padding-bottom:14px;border-bottom:1px solid var(--rule)}#cc-lead .lead:nth-last-child(-n+2){border-bottom:0}}
@media (max-width:760px){#cc-lead .lead:nth-last-child(2){border-bottom:1px solid var(--rule)}}

/* weekend picker + compare */
#cc-lead .g1{grid-template-columns:1fr}
#cc-lead .wkp-row{gap:18px;align-items:flex-end}
#cc-lead .wkp{display:flex;flex-direction:column;gap:6px;min-width:0}
#cc-lead .wkp select{min-width:220px}
#cc-lead .wkp-date{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted)}
#cc-lead .wkp-date input[type=date]{font:inherit;font-size:13px;padding:6px 8px;border:1px solid var(--rule-dark);background:#fff}
#cc-lead .wk-hero{padding:18px 20px;border:1px solid var(--rule);background:var(--paper)}
@media (max-width:760px){#cc-lead .wkp select{min-width:0;width:100%}#cc-lead .wkp{width:100%}}
