/* Flowstate Portal theme — dark brand, matched to flowstate.net.nz.
   Palette/fonts lifted from the polished Flowstate pricing page:
   ink #0B0E14, accent blue #0096FF, off-white #F4F4F2, Geist + Geist Mono + Instrument Serif.
   NOTE: legacy variable names (--white/--border/--blue/--slate/etc) are KEPT and remapped to
   dark values so login.html inline CSS and JS-injected markup keep resolving — do not rename them. */
:root {
  /* brand tokens */
  --bg:          #0B0E14;
  --bg-elev:     #131418;
  --bg-elev-2:   #15171D;
  --fg:          #F4F4F2;
  --fg-mute:     #A1A2A8;
  --fg-dim:      #6E6F77;
  --accent:      #0096FF;
  --accent-soft: rgba(0,150,255,0.12);
  --line:        #1F2026;
  --line-strong: #2A2C34;

  --font-body:      "Space Grotesk", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-mono:      "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --font-editorial: "Space Grotesk", "Helvetica Neue", system-ui, sans-serif;

  /* legacy aliases (remapped to dark) — referenced by login.html + JS-injected HTML */
  --blue:        var(--accent);
  --blue-hover:  #33ABFF;
  --blue-tint:   rgba(0,150,255,0.10);
  --blue-tint-2: rgba(0,150,255,0.22);
  --ink:         var(--fg);
  --slate:       var(--fg-mute);
  --slate-light: var(--fg-dim);
  --surface:     var(--bg-elev);
  --border:      var(--line);
  --white:       var(--bg-elev);

  --c-green:  #0096FF;            /* "good" = brand blue per pricing page */
  --c-amber:  #C9A227;           /* muted gold for in-progress, NOT the content spark amber */
  --c-red:    #F0616D;
  --c-purple: #8B5CF6;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 12px 32px rgba(0,0,0,0.28);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color .12s ease; }
a:hover { color: var(--blue-hover); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px 96px; }

/* top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0 20px; gap: 16px; flex-wrap: wrap;
}
.wordmark { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.wordmark .mk {
  background: var(--accent); color: #fff; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-size: 16px; font-weight: 700;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.wordmark .b { color: var(--accent); }
.topbar .right { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-mute); }
.topbar .right #client-name { margin-right: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.topbar .right a.nav {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-mute); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px;
  transition: color .12s ease, border-color .12s ease;
}
.topbar .right a.nav:hover { color: var(--fg); border-color: var(--fg-dim); }
.accent-bar {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(0,150,255,0) 70%);
}

/* hero */
.hero { margin: 44px 0 18px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; margin: 0 0 10px; }
.hero h1 em { font-family: var(--font-body); font-style: normal; font-weight: 600; color: var(--accent); }
.hero .sub { font-size: 16px; color: var(--fg-mute); margin: 0; max-width: 620px; }

/* sections */
section.block { margin: 48px 0; }
h2.sec {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-dim); margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}

.card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }

/* journey progress */
.journey {
  background: linear-gradient(180deg, rgba(0,150,255,0.05), rgba(0,150,255,0) 55%), var(--bg-elev);
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 28px 30px; margin: 24px 0 40px;
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.stat { background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.stat .n { font-size: 42px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--fg); }
.stat.live .n { color: var(--accent); }
.stat.build .n { color: var(--c-amber); }
.stat.plan .n { color: var(--fg-dim); }
.stat .lab {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--fg-mute); margin-top: 11px;
}
.progress-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.progress-head .label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--fg-mute);
}
.progress-head .pct { font-size: 24px; font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
.bar { height: 10px; background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #5BC0FF); border-radius: 99px; transition: width .6s ease; }

/* ROI scoreboard */
.roi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roi { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.roi .n { font-size: 38px; font-weight: 600; letter-spacing: -0.03em; color: var(--fg); line-height: 1; }
.roi .n.green { color: var(--accent); }
.roi .n.blue { color: var(--accent); }
.roi .lab {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--fg-mute); margin-top: 11px;
}

/* automation rows */
.rows { display: flex; flex-direction: column; gap: 12px; }
.row {
  display: grid; grid-template-columns: 12px 1fr auto; gap: 16px; align-items: center;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  transition: border-color .12s ease;
}
.row:hover { border-color: var(--line-strong); }
.row .dot { width: 10px; height: 10px; border-radius: 99px; }
.row.live .dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.row.build .dot { background: var(--c-amber); box-shadow: 0 0 0 4px rgba(201,162,39,0.18); }
.row.plan .dot { background: var(--fg-dim); }
/* health-coloured dot (overrides the bucket colour above): real green, no label */
.row .dot.green { background: #2BD46A; box-shadow: 0 0 0 4px rgba(43,212,106,0.18); }
.row .dot.amber { background: var(--c-amber); box-shadow: 0 0 0 4px rgba(201,162,39,0.18); }
.row .dot.red   { background: var(--c-red); box-shadow: 0 0 0 4px rgba(240,97,109,0.18); }
.row .name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row .what { font-size: 13.5px; color: var(--fg-mute); margin-top: 4px; line-height: 1.5; }
.row .meta-tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-align: right;
  color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.06em;
}
.row .meta-tag .big { display: block; font-family: var(--font-body); font-size: 12.5px; color: var(--fg); margin-top: 3px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.empty-note { font-size: 13.5px; color: var(--fg-dim); font-style: italic; padding: 6px 2px; }

/* health badges / pills */
.health {
  display: inline-block; font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 9px; border-radius: 999px;
  border: 1px solid transparent;
}
.health.green { background: var(--accent-soft); color: #5BC0FF; border-color: rgba(0,150,255,0.25); }
.health.amber { background: rgba(201,162,39,0.14); color: #D9BB55; border-color: rgba(201,162,39,0.3); }
.health.red   { background: rgba(240,97,109,0.14); color: #F0616D; border-color: rgba(240,97,109,0.3); }

/* toggle switch */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .track { position: absolute; cursor: pointer; inset: 0; background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: 99px; transition: .2s; }
.toggle .track::before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 2px; background: var(--fg-mute); border-radius: 50%; transition: .2s; }
.toggle input:checked + .track { background: var(--accent); border-color: var(--accent); }
.toggle input:checked + .track::before { transform: translateX(20px); background: #fff; }
.toggle:focus-within .track { box-shadow: 0 0 0 3px var(--accent-soft); }

/* approvals */
.approval { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 12px; }
.approval .kind { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 6px; }
.approval .subj { font-weight: 600; font-size: 15px; color: var(--fg); }
.approval .body {
  white-space: pre-wrap; font-size: 13.5px; color: var(--fg-mute); margin: 12px 0; line-height: 1.6;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
}
.approval .actions { display: flex; gap: 10px; margin-top: 4px; }

/* miro */
.miro-frame { position: relative; width: 100%; aspect-ratio: 16/10; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.miro-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.miro-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-weight: 600; font-size: 14px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--fg); cursor: pointer; transition: transform .12s ease, opacity .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--fg-dim); }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { opacity: .92; border-color: var(--accent); }
.btn.danger { color: var(--c-red); border-color: rgba(240,97,109,0.4); }
.btn.danger:hover { background: rgba(240,97,109,0.1); }
.btn.sm { padding: 7px 13px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
button[type=submit].btn { width: 100%; justify-content: center; }

/* forms */
label {
  display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--fg-mute); margin-bottom: 7px;
}
input, select {
  width: 100%; padding: 11px 13px; margin-bottom: 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg);
  font-size: 14px; font-family: inherit; transition: border-color .12s ease, box-shadow .12s ease;
}
input::placeholder { color: var(--fg-dim); }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A1A2A8' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
code { font-family: var(--font-mono); font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--fg); }

/* note card */
.note-card { background: linear-gradient(180deg, rgba(0,150,255,0.07), rgba(0,150,255,0) 60%), var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 16px; padding: 22px 26px; }
.note-card .k { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 10px; }
.note-card p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--fg); }

/* admin table */
table.clients { width: 100%; border-collapse: collapse; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
table.clients th, table.clients td { text-align: left; padding: 14px 16px; font-size: 13.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.clients th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-dim); background: var(--bg-elev-2); }
table.clients td { color: var(--fg); }
table.clients td strong { font-weight: 600; }
table.clients tr:last-child td { border-bottom: none; }
table.clients tbody tr:hover td { background: rgba(255,255,255,0.015); }

.foot {
  display: flex; justify-content: space-between; margin-top: 64px; padding-top: 22px;
  border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--fg-dim);
  flex-wrap: wrap; gap: 8px; letter-spacing: 0.03em;
}
.foot .dot { color: var(--accent); }
.muted { color: var(--fg-mute); }
.hidden { display: none !important; }

@media (max-width: 720px) {
  .wrap { padding: 0 18px 72px; }
  .stat-row, .roi-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .row { grid-template-columns: 12px 1fr; }
  .row .meta-tag { grid-column: 2; text-align: left; margin-top: 6px; }
  table.clients { display: block; overflow-x: auto; white-space: nowrap; }
}

/* =====================================================================
   CLIENT FEEDBACK CONTROL (per-automation, on the client dashboard)
   ===================================================================== */
.fb { margin-top: 10px; }
.fb-toggle {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.05em;
  color: var(--fg-mute); background: transparent; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: border-color .12s, color .12s;
}
.fb-toggle:hover { color: var(--fg); border-color: var(--fg-dim); }
.fb-panel { display: none; margin-top: 12px; padding: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.fb-panel.open { display: block; animation: fbIn .18s ease; }
@keyframes fbIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fb-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fb-type {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-elev);
  color: var(--fg-mute); cursor: pointer; transition: all .12s ease;
}
.fb-type:hover { border-color: var(--fg-dim); color: var(--fg); }
.fb-type.sel { color: #fff; }
.fb-type[data-t="issue"].sel   { background: rgba(240,97,109,0.16); border-color: rgba(240,97,109,0.5); color: #F0616D; }
.fb-type[data-t="change"].sel  { background: rgba(0,150,255,0.16);  border-color: rgba(0,150,255,0.5);  color: #66C2FF; }
.fb-type[data-t="unhappy"].sel { background: rgba(201,162,39,0.16); border-color: rgba(201,162,39,0.5); color: #D9BB55; }
.fb-type[data-t="happy"].sel   { background: rgba(43,212,160,0.16); border-color: rgba(43,212,160,0.5); color: #2BD4A0; }
.fb-panel textarea {
  width: 100%; min-height: 64px; resize: vertical; padding: 11px 13px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--fg);
  font-family: inherit; font-size: 13.5px; margin-bottom: 12px;
}
.fb-panel textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fb-actions { display: flex; align-items: center; gap: 12px; }
.fb-msg { font-size: 12.5px; color: var(--fg-mute); }

/* "My requests" list on the client dashboard */
.req-list { display: flex; flex-direction: column; gap: 10px; }
.req-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-elev);
  border: 1px solid var(--line); border-radius: 12px;
}
.req-item .req-type {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; flex: none;
}
.req-item .req-type.issue   { color: #F0616D; background: rgba(240,97,109,0.12); }
.req-item .req-type.change  { color: #66C2FF; background: rgba(0,150,255,0.12); }
.req-item .req-type.unhappy { color: #D9BB55; background: rgba(201,162,39,0.12); }
.req-item .req-type.happy   { color: #2BD4A0; background: rgba(43,212,160,0.12); }
.req-item .req-note { flex: 1; min-width: 0; font-size: 13.5px; color: var(--fg); }
.req-item .req-status {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 5px 11px; border-radius: 999px;
  white-space: nowrap; flex: none; border: 1px solid var(--line-strong); color: var(--fg-mute);
}
.req-item .req-status.received    { color: var(--fg-mute); }
.req-item .req-status.in_progress { color: #66C2FF; border-color: rgba(0,150,255,0.4); background: rgba(0,150,255,0.08); }
.req-item .req-status.done        { color: #2BD4A0; border-color: rgba(43,212,160,0.4); background: rgba(43,212,160,0.08); }

/* =====================================================================
   OWNER COCKPIT — sidebar app shell (matches Flow State Cockpit design)
   ===================================================================== */
.ck { display: flex; height: 100vh; width: 100%; overflow: hidden; position: relative; background: var(--bg); color: var(--fg); }
.ck-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 520px at 16% -8%, rgba(0,150,255,0.12), transparent 60%),
    radial-gradient(700px 480px at 100% 110%, rgba(255,183,3,0.06), transparent 55%);
}
.ck-side {
  position: relative; z-index: 2; width: 248px; flex: none; height: 100%; display: flex; flex-direction: column;
  padding: 22px 16px; border-right: 1px solid rgba(255,255,255,0.06); background: rgba(10,13,19,0.6); backdrop-filter: blur(8px);
}
.ck-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 8px 4px 22px; }
.ck-brand img { height: 28px; width: auto; display: block; margin-left: -2px; }
.ck-brand .lab { font: 500 10px/1 var(--font-body); letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,0.4); padding-left: 2px; }
.ck-nav { display: flex; flex-direction: column; gap: 4px; }
.ck-nav button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border-radius: 11px; border: none;
  cursor: pointer; font: 500 14px/1 var(--font-body); text-align: left; background: transparent; color: rgba(255,255,255,0.55); transition: all .15s;
}
.ck-nav button:hover { background: rgba(255,255,255,0.06); }
.ck-nav button.active { font-weight: 600; background: rgba(0,150,255,0.12); color: #66C2FF; }
.ck-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.ck-alert { padding: 14px; border-radius: 14px; background: rgba(255,107,107,0.08); border: 1px solid rgba(255,107,107,0.22); }
.ck-alert.calm { background: rgba(43,212,160,0.07); border-color: rgba(43,212,160,0.2); }
.ck-alert .ttl { display: flex; align-items: center; gap: 7px; font: 600 12px/1 var(--font-body); color: #FF6B6B; margin-bottom: 6px; }
.ck-alert.calm .ttl { color: #2BD4A0; }
.ck-alert .ttl .d { width: 7px; height: 7px; border-radius: 50%; background: #FF6B6B; box-shadow: 0 0 9px #FF6B6B; animation: pulseDot 2s ease-in-out infinite; }
.ck-alert.calm .ttl .d { background: #2BD4A0; box-shadow: 0 0 9px #2BD4A0; }
.ck-alert .txt { font: 400 12px/1.45 var(--font-body); color: rgba(255,255,255,0.55); }
.ck-user { display: flex; align-items: center; gap: 10px; padding: 8px 6px; }
.ck-user .av { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(140deg,#0096FF,#0061cc); display: flex; align-items: center; justify-content: center; font: 600 13px var(--font-body); flex: none; color: #fff; }
.ck-user .nm { font: 600 13px/1.1 var(--font-body); }
.ck-user .rl { font: 400 11px/1.3 var(--font-body); color: rgba(255,255,255,0.4); }

.ck-main { position: relative; z-index: 1; flex: 1; height: 100%; overflow-y: auto; }
.ck-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06); position: sticky; top: 0; background: rgba(11,14,20,0.72); backdrop-filter: blur(14px); z-index: 5;
}
.ck-head .h-ttl { font: 600 19px/1.1 var(--font-body); letter-spacing: -0.3px; }
.ck-head .h-sub { font: 400 13px/1.3 var(--font-body); color: rgba(255,255,255,0.45); margin-top: 3px; }
.ck-head .h-right { display: flex; align-items: center; gap: 12px; }
.ck-search { display: flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 11px; background: var(--bg-elev); border: 1px solid rgba(255,255,255,0.1); min-width: 220px; }
.ck-search input { flex: 1; border: none; background: transparent; color: #fff; font: 400 13px var(--font-body); outline: none; }
.ck-add { padding: 10px 16px; border: none; border-radius: 11px; background: var(--accent); color: #fff; font: 600 13px var(--font-body); cursor: pointer; display: flex; align-items: center; gap: 7px; }
.ck-add:hover { background: #1aa3ff; }
.ck-av { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(140deg,#0096FF,#0061cc); display: flex; align-items: center; justify-content: center; font: 600 14px var(--font-body); flex: none; color: #fff; }

.ck-body { padding: 28px 40px 56px; display: flex; flex-direction: column; gap: 22px; }

/* stat strip */
.ck-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.ck-stat { background: var(--bg-elev); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 11px; }
.ck-stat:hover { border-color: rgba(255,255,255,0.16); }
.ck-stat .lab { display: flex; align-items: center; gap: 9px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.8px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.ck-stat .lab .d { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ck-stat .val { display: flex; align-items: baseline; gap: 6px; }
.ck-stat .val .n { font: 600 34px/1 var(--font-mono); letter-spacing: -1.5px; }
.ck-stat .val .u { font: 500 14px var(--font-body); color: rgba(255,255,255,0.45); }
.ck-stat .sub { font: 400 12px/1 var(--font-body); }

.ck-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 20px; align-items: start; }
.ck-card { background: var(--bg-elev); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 24px; }
.ck-card.tight { padding: 22px; }
.ck-eyebrow { font: 500 11px/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.ck-eyebrow.accent { color: var(--accent); }
.ck-card h2 { margin: 0; font: 600 20px/1 var(--font-body); letter-spacing: -0.4px; }
.ck-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ck-card-head .meta { font: 500 12px var(--font-body); color: rgba(255,255,255,0.45); }

/* needs-me queue */
.ck-queue { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.q-item {
  display: flex; align-items: center; gap: 16px; padding: 15px 18px; background: var(--bg-elev-2);
  border: 1px solid rgba(255,255,255,0.08); border-left: 3px solid var(--fg-dim); border-radius: 12px; transition: background .12s;
}
.q-item:hover { background: #1b1e29; }
.q-item.over { border-left-color: #FF6B6B; }
.q-item.today { border-left-color: #FFB703; }
.q-item.soon { border-left-color: #0096FF; }
.q-item.later { border-left-color: #66C2FF; }
.q-main { display: flex; flex-direction: column; gap: 9px; flex: 1; min-width: 0; }
.q-top { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.q-chip { padding: 3px 9px; border-radius: 6px; font: 600 10px/1.4 var(--font-mono); letter-spacing: 0.5px; text-transform: uppercase; }
.q-chip.over   { color: #FF6B6B; background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.32); }
.q-chip.today  { color: #FFB703; background: rgba(255,183,3,0.12); border: 1px solid rgba(255,183,3,0.32); }
.q-chip.soon   { color: #0096FF; background: rgba(0,150,255,0.12); border: 1px solid rgba(0,150,255,0.32); }
.q-chip.later  { color: #66C2FF; background: rgba(102,194,255,0.12); border: 1px solid rgba(102,194,255,0.32); }
.q-title { font: 600 15px/1.2 var(--font-body); }
.q-sub { display: flex; align-items: center; gap: 9px; }
.q-client { font: 500 12px var(--font-body); color: rgba(255,255,255,0.6); }
.q-dot { color: rgba(255,255,255,0.25); }
.q-assignee { display: flex; align-items: center; gap: 6px; }
.q-assignee .av { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font: 600 9px var(--font-body); color: #fff; flex: none; }
.q-assignee .nm { font: 400 12px var(--font-body); color: rgba(255,255,255,0.42); }
.q-due { padding: 6px 12px; border-radius: 30px; font: 600 12px var(--font-mono); white-space: nowrap; flex: none; border: 1px solid var(--line-strong); color: var(--fg-mute); }
.q-due.over   { color: #FF6B6B; background: rgba(255,107,107,0.1); border-color: rgba(255,107,107,0.22); }
.q-due.today  { color: #FFB703; background: rgba(255,183,3,0.1); border-color: rgba(255,183,3,0.22); }
.q-due.soon   { color: #FFB703; background: rgba(255,183,3,0.1); border-color: rgba(255,183,3,0.22); }
.q-empty { font: 400 14px var(--font-body); color: var(--fg-mute); padding: 20px; text-align: center; }

/* business stack */
.ck-stack { display: flex; flex-direction: column; gap: 20px; }
.mrr-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.mrr-head .big { font: 600 30px/1 var(--font-mono); letter-spacing: -1.5px; }
.mrr-head .big span { font: 500 14px var(--font-body); color: rgba(255,255,255,0.4); }
.mrr-pill { padding: 5px 11px; border-radius: 30px; background: rgba(43,212,160,0.12); border: 1px solid rgba(43,212,160,0.3); color: #2BD4A0; font: 600 12px var(--font-mono); }
.mrr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.mrr-row .who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mrr-row .av { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font: 600 11px var(--font-body); color: #fff; flex: none; background: var(--accent); }
.mrr-row .nm { font: 600 13px/1.1 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrr-row .tier { font: 400 11px/1 var(--font-body); color: rgba(255,255,255,0.4); margin-top: 3px; }
.mrr-row .amt { font: 600 14px var(--font-mono); flex: none; }
.stub-tag { font: 500 10px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #FFB703; background: rgba(255,183,3,0.1); border: 1px solid rgba(255,183,3,0.28); border-radius: 999px; padding: 3px 9px; }

.headsup-row { display: flex; align-items: center; gap: 12px; }
.headsup-row .ic { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.headsup-row .ic.amber { background: rgba(255,183,3,0.12); border: 1px solid rgba(255,183,3,0.28); }
.headsup-row .ic.red { background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.28); }
.headsup-row .t1 { font: 600 13px var(--font-body); }
.headsup-row .t2 { font: 400 12px var(--font-body); color: rgba(255,255,255,0.45); margin-top: 2px; }

.upsell { background: linear-gradient(140deg, rgba(0,150,255,0.1), rgba(0,150,255,0.02)); border: 1px solid rgba(0,150,255,0.28); border-radius: 18px; padding: 22px; }
.upsell .eye { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: #66C2FF; margin-bottom: 12px; }
.upsell .ln1 { font: 600 15px/1.4 var(--font-body); margin-bottom: 8px; }
.upsell .ln1 span { color: #66C2FF; }
.upsell .ln2 { font: 400 13px/1.5 var(--font-body); color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.upsell button { padding: 9px 16px; border: none; border-radius: 10px; background: var(--accent); color: #fff; font: 600 13px var(--font-body); cursor: pointer; }
.upsell button:hover { background: #1aa3ff; }

/* client health board */
.hb-head { display: grid; grid-template-columns: 1.4fr 110px 110px 120px; align-items: center; gap: 14px; padding: 0 14px 12px; }
.hb-head span { font: 500 10px var(--font-mono); letter-spacing: 0.8px; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.hb-head span.r { text-align: right; }
.hb-rows { display: flex; flex-direction: column; gap: 10px; }
.hb-row { display: grid; grid-template-columns: 1.4fr 110px 110px 120px; align-items: center; gap: 14px; padding: 14px; background: var(--bg-elev-2); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; cursor: pointer; transition: all .12s; }
.hb-row:hover { border-color: rgba(255,255,255,0.18); background: #1b1e29; }
.hb-row .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hb-row .hdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.hb-row .hdot.green { background: #2BD4A0; box-shadow: 0 0 10px #2BD4A0; }
.hb-row .hdot.amber { background: #FFB703; box-shadow: 0 0 10px #FFB703; }
.hb-row .hdot.red   { background: #FF6B6B; box-shadow: 0 0 10px #FF6B6B; }
.hb-row .av { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font: 600 12px var(--font-body); color: #fff; flex: none; background: var(--accent); }
.hb-row .nm { font: 600 14px/1.1 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-row .ct { font: 400 11px/1 var(--font-body); color: rgba(255,255,255,0.4); margin-top: 3px; }
.hb-stage { padding: 4px 10px; border-radius: 30px; font: 600 11px var(--font-body); display: inline-block; }
.hb-stage.live        { color: #2BD4A0; background: rgba(43,212,160,0.12); border: 1px solid rgba(43,212,160,0.3); }
.hb-stage.maintenance { color: #66C2FF; background: rgba(102,194,255,0.12); border: 1px solid rgba(102,194,255,0.3); }
.hb-stage.pilot       { color: #FFB703; background: rgba(255,183,3,0.12); border: 1px solid rgba(255,183,3,0.3); }
.hb-stage.churned     { color: var(--fg-mute); background: rgba(148,163,184,0.12); border: 1px solid rgba(148,163,184,0.3); }
.hb-num { font: 600 15px var(--font-mono); }
.hb-num.r { text-align: right; }
.hb-num small { font: 400 11px var(--font-body); color: rgba(255,255,255,0.4); }

/* recent activity */
.act-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.act-live { display: flex; align-items: center; gap: 6px; font: 500 11px var(--font-body); color: #2BD4A0; }
.act-live .d { width: 6px; height: 6px; border-radius: 50%; background: #2BD4A0; box-shadow: 0 0 8px #2BD4A0; animation: pulseDot 2s ease-in-out infinite; }
.act-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.act-row .av { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font: 600 10px var(--font-body); color: #fff; flex: none; background: var(--accent); }
.act-row .tx { flex: 1; min-width: 0; font: 400 13px/1.3 var(--font-body); color: rgba(255,255,255,0.85); }
.act-row .tx strong { font-weight: 600; color: var(--fg); }
.act-row .tm { font: 400 11px var(--font-mono); color: rgba(255,255,255,0.35); flex: none; }

/* cockpit concierge / drill-in modal panel */
.ck-drawer-back { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 40; display: none; }
.ck-drawer-back.open { display: block; }
.ck-drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(560px, 94vw); background: var(--bg-elev); z-index: 41;
  border-left: 1px solid var(--line-strong); box-shadow: -20px 0 60px rgba(0,0,0,0.4); transform: translateX(100%);
  transition: transform .22s ease; overflow-y: auto; padding: 28px;
}
.ck-drawer.open { transform: none; }
.ck-drawer .x { position: absolute; top: 20px; right: 22px; background: transparent; border: none; color: var(--fg-mute); font-size: 22px; cursor: pointer; }
.ck-drawer h3 { margin: 0 0 4px; font: 600 22px var(--font-body); letter-spacing: -0.4px; }
.ck-drawer .dsub { font: 400 13px var(--font-body); color: var(--fg-mute); margin: 0 0 22px; }
.ck-drawer .sec-lab { font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* concierge section, kept inside cockpit body, reuses .card */
.ck-concierge { margin-top: 6px; }

@media (max-width: 920px) {
  .ck-grid { grid-template-columns: 1fr; }
  .ck-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .ck-side { display: none; }
  .ck-head { padding: 14px 18px; }
  .ck-body { padding: 20px 18px 48px; }
  .ck-stats { grid-template-columns: 1fr; }
  .hb-head { display: none; }
  .hb-row { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .ck-search { display: none; }
}

/* =====================================================================
   CLIENT PORTAL — left-sidebar app shell (dashboard + credentials).
   Mirrors the cockpit sidebar visually; collapses to a top bar + drawer
   on narrow screens. Class prefix .cl- to avoid clashing with .ck- / .wrap.
   ===================================================================== */
.cl-shell { display: flex; min-height: 100vh; width: 100%; position: relative; }
.cl-side {
  position: sticky; top: 0; align-self: flex-start;
  width: 248px; flex: none; height: 100vh; display: flex; flex-direction: column;
  padding: 22px 16px; border-right: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,13,19,0.6); backdrop-filter: blur(8px); z-index: 30;
}
.cl-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 4px 22px; }
.cl-brand img { height: 26px; width: auto; display: block; margin-left: -2px; }
.cl-brand .cl-client {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--fg-mute); padding-left: 2px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cl-nav { display: flex; flex-direction: column; gap: 4px; }
.cl-nav-link {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border-radius: 11px;
  font: 500 14px/1 var(--font-body); text-align: left; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: all .15s; border: none;
}
.cl-nav-link:hover { background: rgba(255,255,255,0.06); color: var(--fg); }
.cl-nav-link.active { font-weight: 600; background: rgba(0,150,255,0.12); color: #66C2FF; }
.cl-nav-link svg { flex: none; }
.cl-side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.cl-signout { color: rgba(255,255,255,0.5); }
.cl-signout:hover { color: var(--c-red); background: rgba(240,97,109,0.08); }

.cl-main { flex: 1; min-width: 0; }
/* keep the centered content column inside the main pane */
.cl-main .wrap { max-width: 920px; }

/* mobile top bar + backdrop (hidden on desktop) */
.cl-topbar { display: none; }
.cl-side-back { display: none; }

@media (max-width: 880px) {
  .cl-topbar {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 35; padding: 12px 18px;
    background: rgba(11,14,20,0.82); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .cl-topbar-brand img { height: 22px; width: auto; display: block; }
  .cl-burger { background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--fg); padding: 7px 9px; cursor: pointer; display: flex; }
  .cl-shell { flex-direction: column; }
  .cl-side {
    position: fixed; top: 0; left: 0; height: 100vh; width: 260px;
    transform: translateX(-100%); transition: transform .22s ease;
    box-shadow: 20px 0 60px rgba(0,0,0,0.4);
  }
  .cl-side.open { transform: none; }
  .cl-side-back { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 29; display: none; }
  .cl-side-back.open { display: block; }
  .cl-main { width: 100%; }
}

/* -------------------------------------------------------------------------- */
/* Credentials page — clickable card per credential the client provides.      */
/* -------------------------------------------------------------------------- */
.cred-progress { margin-bottom: 22px; }
.cred-progress-line { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--fg-mute); }
.cred-progress .bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.cred-progress .bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #5BC0FF); border-radius: 99px; transition: width .5s ease; }

.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.cred-card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; transition: border-color .12s ease, background .12s ease;
}
.cred-card:hover { border-color: var(--line-strong); }
.cred-card.open { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cred-card.is-provided { background: linear-gradient(180deg, rgba(0,150,255,0.05), rgba(0,150,255,0) 55%), var(--bg-elev); }

.cred-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.cred-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.cred-hint { font-size: 13px; color: var(--fg-mute); margin-top: 5px; line-height: 1.5; }
.cred-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }

.cred-status { font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 4px 9px; border-radius: 99px; letter-spacing: 0.02em; }
.cred-status.ok { color: #5BC0FF; background: var(--accent-soft); border: 1px solid rgba(0,150,255,0.25); }
.cred-status.pending { color: var(--fg-dim); background: var(--bg); border: 1px solid var(--line-strong); }
.cred-updated { font-size: 11px; color: var(--fg-dim); font-family: var(--font-mono); }

.cred-foot { margin-top: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cred-doc-link {
  font-size: 12.5px; font-weight: 500; color: var(--accent);
  text-decoration: none; white-space: nowrap; transition: opacity .12s ease;
}
.cred-doc-link:hover { text-decoration: underline; opacity: .85; }

.cred-panel { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cred-panel.show { display: block; }
.cred-panel .cred-label { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-mute); margin-bottom: 7px; }
.cred-input { margin-bottom: 12px; }
.cred-row { display: flex; align-items: center; gap: 10px; }
.cred-msg { font-size: 12.5px; }

/* "How to get this" expandable help */
.cred-help { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cred-help-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; border: none;
  padding: 0; cursor: pointer; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.04em; color: var(--fg-mute); transition: color .12s ease;
}
.cred-help-toggle:hover { color: var(--accent); }
.cred-help-arrow { display: inline-block; transition: transform .18s ease; color: var(--accent); }
.cred-help.open .cred-help-arrow { transform: rotate(90deg); }
.cred-help.open .cred-help-toggle { color: var(--fg); }
.cred-help-body { display: none; margin-top: 14px; animation: fbIn .18s ease; }
.cred-help.open .cred-help-body { display: block; }
.cred-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.cred-steps li { font-size: 13px; line-height: 1.5; color: var(--fg-mute); padding-left: 2px; }
.cred-steps li::marker { color: var(--accent); font-family: var(--font-mono); font-weight: 600; }
.cred-shots { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.cred-shot { width: 100%; height: auto; display: block; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); }

/* improved empty state */
.cred-empty {
  grid-column: 1 / -1; text-align: center; padding: 48px 28px;
  background: linear-gradient(180deg, rgba(0,150,255,0.05), rgba(0,150,255,0) 60%), var(--bg-elev);
  border: 1px solid var(--line-strong); border-radius: 18px;
}
.cred-empty-ic {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(0,150,255,0.25);
}
.cred-empty-ttl { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); margin-bottom: 8px; }
.cred-empty-sub { font-size: 14px; color: var(--fg-mute); line-height: 1.55; max-width: 440px; margin: 0 auto; }

/* "Needed" badge + highlighted cards (driven by expected_secrets) */
.cred-status.need {
  color: #1A1206; background: var(--c-amber); border: 1px solid var(--c-amber);
  font-weight: 600;
}
.cred-card.is-needed {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}
.cred-card.is-needed.is-provided { box-shadow: none; }
.cred-card.flash {
  animation: credFlash 1.4s ease;
}
@keyframes credFlash {
  0%, 100% { box-shadow: 0 0 0 1px var(--accent-soft); }
  30% { box-shadow: 0 0 0 4px var(--accent-soft); border-color: var(--accent); }
}

/* Search bar */
.cred-search-wrap { position: relative; margin: 0 0 18px; }
.cred-search-ic {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--fg-dim); pointer-events: none;
}
.cred-search {
  width: 100%; padding: 12px 14px 12px 40px;
  background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 11px;
  color: var(--fg); font: 400 14px var(--font-body);
}
.cred-search::placeholder { color: var(--fg-dim); }
.cred-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* Urgent credentials banner (dashboard + credentials page) */
.cred-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 24px; padding: 14px 18px;
  background: rgba(201,162,39,0.10);
  border: 1px solid var(--c-amber);
  border-left: 4px solid var(--c-amber);
  border-radius: 12px;
}
.cred-banner-ic { font-size: 18px; line-height: 1; flex: none; }
.cred-banner-msg { flex: 1 1 240px; font-size: 14px; color: var(--fg); line-height: 1.5; }
.cred-banner-msg strong { color: var(--fg); font-weight: 600; }
.cred-banner-cta {
  flex: none; padding: 9px 16px; border-radius: 10px;
  background: var(--accent); color: #fff; border: none;
  font: 600 13px var(--font-body); cursor: pointer; white-space: nowrap;
}
.cred-banner-cta:hover { opacity: .92; color: #fff; }

@media (max-width: 760px) {
  .cred-grid { grid-template-columns: 1fr; }
}
