/* "Changed vs preset" state of the launch recipe (How step, Smart sells popup, console automations): a calm green
   accent that fits look 9 frosted glass instead of amber. Linked after light.css; dark first, then light. */
html:root:root:root[data-look="9"] { --chg: #3ddc97; --chg-tx: color-mix(in srgb, #3ddc97 62%, var(--tx2)); --chg-lbl: color-mix(in srgb, #3ddc97 45%, #c9dcf2); }
html:root:root:root[data-look="9"][data-theme="light"] { --chg: #0f9a68; --chg-tx: #0d7a53; --chg-lbl: color-mix(in srgb, #0f9a68 70%, #3b4657); }

/* Sell N / Rung N labels */
html:root:root:root[data-look="9"] :is(.te-rn, .cx-ap .lr-rung .te-rn) { color: var(--chg-lbl) !important; }

/* the "N changed" pill */
html:root:root:root[data-look="9"] .lr-cnt.on { color: var(--chg-tx) !important; background: color-mix(in srgb, var(--chg) 12%, transparent) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chg) 24%, transparent) !important; }

/* changed rungs box: soft green hairline + faint inner glow */
html:root:root:root[data-look="9"] .lr-rungs.chg { padding: 8px; border-radius: 12px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--chg) 30%, transparent), inset 0 0 22px -8px color-mix(in srgb, var(--chg) 22%, transparent) !important;
  background: linear-gradient(160deg, color-mix(in srgb, var(--chg) 5%, transparent), transparent 60%); }
/* changed single field */
html:root:root:root[data-look="9"] .lr-f.chg .inp { border-color: color-mix(in srgb, var(--chg) 40%, transparent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--chg) 9%, transparent) !important; }
html:root:root:root[data-look="9"] :is(.lr .te-sw.chg, .wpop .te-sw.chg) { color: var(--chg-tx) !important; }

/* the preset note: small muted chip, tiny "Preset" label, green-tinted values (no raw mono) */
html:root:root:root[data-look="9"] .lr-was { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 2px 8px 2px 6px; border-radius: 999px;
  font: 500 11px var(--f) !important; letter-spacing: 0; text-transform: none; color: var(--chg-tx) !important; white-space: nowrap;
  background: color-mix(in srgb, var(--chg) 8%, transparent) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chg) 16%, transparent); }
html:root:root:root[data-look="9"] .lr-was > i { font: 600 9.5px var(--f); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--tx3); }
html:root:root:root[data-look="9"] .lr-was > b { font-family: var(--f) !important; font-weight: 500; font-variant-numeric: tabular-nums; color: inherit; }
html:root:root:root[data-look="9"] .lr-was > em { font-style: normal; color: var(--tx3); opacity: .6; }
/* the rungs' preset line sits as its own row under the Add button */
html:root:root:root[data-look="9"] .lr-was.lr-was-r { margin: 0; justify-self: start; flex-wrap: wrap; white-space: normal; row-gap: 2px; }

/* the ladder chip: current steps; a changed step in green with the preset's value struck after it */
html:root:root:root[data-look="9"] .lr-was.lr-was-r > b.same { color: var(--tx2) !important; }
html:root:root:root[data-look="9"] .lr-was.lr-was-r > b.new { color: var(--chg-tx) !important; font-weight: 600; }
html:root:root:root[data-look="9"] .lr-was.lr-was-r > s { margin-left: -1px; font: 500 10.5px var(--f); color: var(--tx3); opacity: .75; text-decoration-color: color-mix(in srgb, var(--tx3) 70%, transparent); }
html:root:root:root[data-look="9"] .lr-was.lr-was-r > s.add { text-decoration: none; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; }
html:root:root:root[data-look="9"] .lr-was.lr-was-r > .lr-was-p { margin-left: 4px; font: 500 10px var(--f); color: var(--tx3); opacity: .7; }
