/* Nicotine card faces — light surface + soft wash. No dark paint. No hover recolor. */

html[data-ce-product] .bubble,
html[data-ce-product] .stage-card,
html[data-ce-product] .sheet-card,
html[data-ce-product] #sheet .bubble:not(.nuke-zone) {
  background:
    linear-gradient(180deg, var(--wash-primary, transparent), transparent 46%),
    var(--card-face, var(--surface));
  border: 1px solid var(--wash-primary-border, var(--line));
  box-shadow: inset 0 4px 0 var(--edge-primary, var(--accent));
  color: var(--card-ink, var(--ink));
}

html[data-ce-product] .bubble.card-today-log,
html[data-ce-product] .bubble.card-journey-library,
html[data-ce-product] .bubble.commitment-card {
  background:
    linear-gradient(180deg, var(--wash-secondary, transparent), transparent 42%),
    var(--card-face, var(--surface));
  border: 1px solid var(--wash-secondary-border, var(--line));
  box-shadow: inset 4px 0 0 var(--edge-secondary, var(--accent-deep, var(--accent)));
}

html[data-ce-product] .bubble.stage-card,
html[data-ce-product] .bubble.card-stage-deck {
  background:
    linear-gradient(165deg, var(--wash-primary-mid, transparent), transparent 52%),
    var(--card-face, var(--surface));
  border: 1px solid var(--wash-primary-border, var(--line));
}

html[data-ce-product] .sheet-card:has(.nuke-zone),
html[data-ce-product] .nuke-zone {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Nav rows live on light card faces — never chrome --ink. */
html[data-ce-product] .nav-row {
  background: transparent;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  color: var(--card-ink, var(--ink));
}
html[data-ce-product] .nav-row:hover,
html[data-ce-product] .nav-row:focus-visible,
html[data-ce-product] .nav-row:active {
  background: transparent;
  outline: none;
}
html[data-ce-product] .nav-chevron {
  color: var(--card-muted, var(--muted));
}
html[data-ce-product] .nav-icon {
  color: var(--card-kicker, var(--accent-deep, var(--accent)));
  background: color-mix(in srgb, var(--card-kicker, var(--accent)) 16%, var(--card-face, var(--raised)));
}

/* Card text uses card-* tokens — chrome --ink/--muted can be light (or dark on dark docks). */
html[data-ce-product] .bubble .kicker,
html[data-ce-product] .sheet-card .kicker,
html[data-ce-product] .edu-fold-card .kicker,
html[data-ce-product] .punch {
  color: var(--card-kicker, var(--accent-deep, var(--accent)));
}
html[data-ce-product] .bubble .lead,
html[data-ce-product] .bubble .field,
html[data-ce-product] .bubble .n,
html[data-ce-product] .sheet-card .lead,
html[data-ce-product] .sheet-card .field,
html[data-ce-product] .edu-fold-card .lead,
html[data-ce-product] .edu-fold-card .field,
html[data-ce-product] .bubble .edu-journey {
  color: var(--card-ink, var(--ink));
}
html[data-ce-product] .bubble .support,
html[data-ce-product] .bubble .sku,
html[data-ce-product] .sheet-card .support,
html[data-ce-product] .edu-fold-card .support,
html[data-ce-product] .edu-card-summary,
html[data-ce-product] .nav-row .nav-copy > span {
  color: var(--card-muted, var(--muted));
}
/* Controls sitting on light plates inherit card ink, not chrome ink. */
html[data-ce-product] .bubble .secondary,
html[data-ce-product] .sheet-card .secondary {
  color: var(--card-ink, var(--ink));
  border-color: color-mix(in srgb, var(--card-ink, var(--ink)) 45%, transparent);
}
html[data-ce-product] .bubble .chip,
html[data-ce-product] .sheet-card .chip {
  color: var(--card-ink, var(--ink));
}
html[data-ce-product] .bubble .ghost,
html[data-ce-product] .sheet-card .ghost {
  color: var(--card-muted, var(--muted));
}
html[data-ce-product] .bubble .text-input,
html[data-ce-product] .sheet-card .text-input,
html[data-ce-product] .bubble .stepper,
html[data-ce-product] .bubble .stepper .n {
  color: var(--card-ink, var(--ink));
}
html[data-ce-product] .bubble .text-input::placeholder,
html[data-ce-product] .sheet-card .text-input::placeholder {
  color: var(--card-muted, var(--muted));
  opacity: 1;
}

html[data-ce-product] .card-face,
html[data-ce-product] .edu-card-face {
  margin: 4px 0 10px;
  font-size: 2.6rem;
  line-height: 1;
  text-align: center;
}

html[data-ce-product] .stage-pager {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}
html[data-ce-product] .stage-pager-mid {
  text-align: center;
  min-width: 0;
}
html[data-ce-product] .stage-pick {
  display: block;
  width: 100%;
  text-align: start;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--card-ink, var(--ink));
  font: inherit;
  cursor: pointer;
}
html[data-ce-product] .stage-pick[aria-current="true"] {
  color: var(--card-kicker, var(--accent-deep, var(--accent)));
  font-weight: 700;
}
