/* One continuous customer console. Breakpoints follow the section, not the viewport. */
#connectedWarmupStage { container: warmup / inline-size; }

.warmup-console {
  --console-ink: #111111;
  --console-text: #fff8f3;
  --console-muted: #b5b2ad;
  --console-faint: #b5b2ad;
  --console-line: rgba(239, 206, 184, .13);
  --console-accent: #d9733f;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  margin-top: 26px;
  color: var(--console-text);
  background: var(--console-ink);
  border: 1px solid rgba(203, 144, 104, .22);
  border-radius: 22px;
  box-shadow: 0 22px 55px -28px rgba(64, 36, 18, .38);
  overflow: hidden;
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  font-synthesis: none;
  animation: console-enter .45s ease-out both;
}
.warmup-console *, .warmup-console *::before, .warmup-console *::after { box-sizing: border-box; }
.warmup-console h3, .warmup-console h4, .warmup-console p, .warmup-console dl { margin: 0; }
.warmup-console button, .warmup-console input { font-family: inherit; }
.console-main { min-width: 0; padding: 30px 32px; }
.console-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.console-title-group { display: flex; align-items: center; gap: 14px; min-width: 0; }
.console-mark {
  display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto;
  color: #ffcba9; background: rgba(255, 170, 113, .1);
  border: 1px solid rgba(255, 189, 145, .21); border-radius: 14px;
}
.console-mark svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.console-eyebrow { color: var(--console-accent); font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; }
.warmup-console h3 { margin-top: 2px; font-size: 27px; line-height: 1.25; letter-spacing: -.035em; font-weight: 650; }
.console-header-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.warmup-console .customer-engine-state {
  display: inline-flex; align-items: center; gap: 7px;
  flex: 0 0 auto; border: 0; padding: 5px 0; background: none;
  color: var(--console-muted); font-size: 12px; font-weight: 600; white-space: nowrap;
}
.warmup-console .customer-engine-state::before {
  content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #c5a590;
}
.warmup-console .customer-engine-state.active { color: #8ee3c8; }
.warmup-console .customer-engine-state.active::before { background: #70d8b7; animation: console-status-pulse 2.8s ease-in-out infinite; }
.warmup-console .customer-engine-state.paused { color: #dbcabf; }
.warmup-console .customer-engine-state.checking { color: #dbcabf; }
.warmup-console .customer-engine-state.blocked { color: #ffd48c; }
.console-engine-button {
  min-height: 40px; padding: 9px 14px; border: 1px solid rgba(243, 211, 189, .22); border-radius: 9px;
  background: rgba(255, 255, 255, .035); color: #f4e7de; font-size: 12px; line-height: 1.5;
  font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s;
}
.console-engine-button:hover:not(:disabled) { background: rgba(255, 194, 154, .12); border-color: rgba(243, 211, 189, .4); }
.console-engine-button[data-action="start"] { background: #f5985a; border-color: #ffb27e; color: #fff; }
.console-engine-button[data-action="start"]:hover:not(:disabled) { background: #fca46a; }
.console-send-now { color: #ffe8d8; background: rgba(245, 152, 90, .12); border-color: rgba(255, 193, 151, .34); }
.console-send-now:hover:not(:disabled) { color: #fff; background: rgba(245, 152, 90, .22); border-color: rgba(255, 206, 174, .56); }
.console-engine-button:disabled { cursor: default; opacity: .55; }
.console-notice { margin-top: 18px !important; color: var(--console-muted); font-size: 13px; max-width: 650px; }
.console-flow {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none; margin: 24px 0 30px; padding: 0 0 27px; border-bottom: 1px solid var(--console-line); gap: 16px;
}
.console-flow li { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.console-flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 18px; left: 48px; right: -6px; height: 1px;
  background: linear-gradient(90deg, rgba(231, 173, 134, .3), rgba(231, 173, 134, .07));
}
.flow-icon {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 9px;
  color: #edc4a8; background: #38271c; border: 1px solid rgba(234, 177, 139, .24); border-radius: 11px;
}
.flow-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.console-flow li.is-done .flow-icon { color: #8ee3c8; border-color: rgba(142, 227, 200,.35); }
.warmup-console.is-first-day .progress-arc { opacity: 0; }
.console-flow strong { font-size: 12px; font-weight: 600; color: #faefe7; }
.console-flow small { display: block; margin-top: 2px; font-size: 12px; color: var(--console-faint); line-height: 1.6; }
.warmup-console[data-engine-state="active"] .flow-icon { animation: console-flow-glow 5s ease-in-out infinite; }
.warmup-console[data-engine-state="active"] li:nth-child(2) .flow-icon { animation-delay: .65s; }
.warmup-console[data-engine-state="active"] li:nth-child(3) .flow-icon { animation-delay: 1.3s; }
.warmup-console[data-engine-state="active"] li:nth-child(4) .flow-icon { animation-delay: 1.95s; }
.warmup-console[data-engine-state="active"] .console-flow li:not(:last-child)::before {
  content: ""; position: absolute; top: 16px; left: 48px; width: 4px; height: 4px;
  background: #ffc8a3; border-radius: 50%; opacity: 0; box-shadow: 0 0 6px rgba(255, 182, 133, .5);
  animation: console-flow-travel 5s ease-in-out infinite;
}
.warmup-console[data-engine-state="active"] .console-flow li:nth-child(2)::before { animation-delay: .65s; }
.warmup-console[data-engine-state="active"] .console-flow li:nth-child(3)::before { animation-delay: 1.3s; }
.console-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.warmup-console h4 { font-size: 16px; line-height: 1.5; letter-spacing: -.015em; font-weight: 650; }
.console-section-heading p { margin-top: 3px; color: var(--console-faint); font-size: 12px; }
.console-section-number { font-size: var(--text-xs); font-weight: 600; color: #ae9d91; letter-spacing: .06em; padding-top: 3px; }
.console-settings-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px; border-block: 1px solid var(--console-line);
}
.console-field { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; min-height: 100px; padding: 19px 16px; }
.console-field:first-child { padding-left: 0; }
.console-field:last-child { padding-right: 0; }
.console-field + .console-field { border-left: 1px solid var(--console-line); }
.console-field > div:first-child { min-width: 0; }
.console-field label { display: block; margin: 0; color: #f5eae2; font-size: 13px; line-height: 1.5; font-weight: 600; text-transform: none; letter-spacing: 0; }
.console-field p { margin-top: 4px; color: var(--console-faint); font-size: 12px; line-height: 1.6; }
.console-number {
  display: flex; align-items: center; width: 104px; min-height: 49px; flex: 0 0 104px; gap: 3px;
  border: 1px solid rgba(234, 193, 165, .2); border-radius: 10px;
  background: #20160f; padding: 7px 10px; transition: border-color .2s, box-shadow .2s;
}
.console-number:focus-within { border-color: #ffb98a; box-shadow: 0 0 0 3px rgba(245, 170, 120, .13); }
.console-number input {
  color: #fff9f5; background: transparent; border: 0; padding: 0; margin: 0;
  width: 100%; min-width: 0; outline: none; font-size: 20px; font-weight: 600; line-height: 1.5;
  font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield;
}
.console-number input::-webkit-inner-spin-button, .console-number input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.console-number span { color: var(--console-muted); font-size: var(--text-xs); white-space: nowrap; }
.console-number .number-prefix { font-size: 15px; padding-right: 2px; color: #ffbd91; }
.console-number input:disabled { opacity: .65; }
.console-schedule { padding-top: 26px; }
.console-schedule-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.console-timezone { display: flex; align-items: center; gap: 9px; color: #e8d8ce; font-size: 13px; }
.console-timezone svg { width: 18px; height: 18px; fill: none; stroke: #c6a48e; stroke-width: 1.4; }
.console-timezone small { display: block; color: var(--console-faint); font-size: var(--text-xs); }
.console-time-inputs { display: flex; align-items: flex-end; gap: 12px; }
.console-time-inputs label { display: flex; flex-direction: column; gap: 6px; font-size: var(--text-xs); font-weight: 400; color: var(--console-muted); text-transform: none; letter-spacing: 0; margin: 0; }
.console-time-inputs > span { margin-bottom: 12px; color: #ae9d91; font-size: 15px; }
.console-time-inputs input {
  color-scheme: dark; background: #20160f; color: #fbece2;
  min-width: 0; width: 122px; padding: 9px 10px; border: 1px solid rgba(234, 193, 165, .2);
  border-radius: 9px; font-size: 13px; font-weight: 500; line-height: 1.5; font-variant-numeric: tabular-nums;
  transition: border-color .2s, box-shadow .2s;
}
.console-time-inputs input::-webkit-calendar-picker-indicator { opacity: .55; }
.console-window-preview { margin-top: 23px; }
.window-track { position: relative; height: 5px; background: #403229; border-radius: 3px; }
.window-track > span { position: absolute; height: 100%; left: 37.5%; width: 37.5%; background: #ffb482; border-radius: 3px; transition: left .35s, width .35s, opacity .2s; }
.window-track > span::before, .window-track > span::after { content: ""; position: absolute; top: -2px; width: 9px; height: 9px; border-radius: 50%; background: #ffd2b4; }
.window-track > span::before { left: -3px; } .window-track > span::after { right: -3px; }
.window-hours { display: flex; justify-content: space-between; margin-top: 9px; color: #a39286; font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.console-weekday { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 0 0; padding: 17px 0; cursor: pointer; border-block: 1px solid var(--console-line); text-transform: none; letter-spacing: 0; }
.console-weekday strong { display: block; color: #f2e7df; font-size: 13px; font-weight: 600; }
.console-weekday small { display: block; margin-top: 2px; color: var(--console-faint); font-size: var(--text-xs); font-weight: 400; }
.console-weekday input { position: absolute; right: 0; width: 38px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.console-weekday i { position: relative; flex: 0 0 38px; width: 38px; height: 22px; border-radius: 20px; background: #5f4c40; transition: background .25s; pointer-events: none; }
.console-weekday i::before { content: ""; position: absolute; width: 16px; height: 16px; top: 3px; left: 3px; border-radius: 50%; background: #fff3eb; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.console-weekday input:checked + i { background: #f9a166; }
.console-weekday input:checked + i::before { transform: translateX(16px); }
.console-weekday input:focus-visible + i { outline: 2px solid #ffcfaf; outline-offset: 4px; }
.console-weekday input:disabled + i { opacity: .55; }
.console-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; }
.console-footer > span { display: flex; align-items: center; gap: 7px; color: var(--console-faint); font-size: 12px; line-height: 1.5; }
.console-footer > span::before { content: "✓"; color: #e1c5b2; font-size: 12px; }
.console-footer > span[data-state="dirty"] { color: #fdd2b5; }
.console-footer > span[data-state="dirty"]::before { content: "•"; }
.console-footer > span[data-state="saving"]::before { content: ""; width: 11px; height: 11px; border: 1.5px solid rgba(255, 205, 171, .2); border-top-color: #ffccaa; border-radius: 50%; animation: console-spin .8s linear infinite; }
.console-save-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 44px; min-width: 160px;
  padding: 11px 17px; background: linear-gradient(115deg, #ffa468, #ef9050); color: white;
  border: 1px solid rgba(255, 210, 180, .22); border-radius: 10px; cursor: pointer;
  font-size: 13px; line-height: 1.5; font-weight: 600;
  box-shadow: 0 5px 20px -7px rgba(255, 164, 104, .45); transition: box-shadow .2s, filter .2s;
}
.console-save-button:hover:not(:disabled) { filter: brightness(1.12); box-shadow: 0 5px 23px -6px rgba(255, 164, 104, .6); }
.console-save-button:disabled { cursor: default; color: #d5bfb0; background: rgba(221, 169, 135, .09); border-color: var(--console-line); box-shadow: none; }
.console-save-button span { font-size: 16px; line-height: 1; }
.warmup-console button:focus-visible, .console-time-inputs input:focus-visible { outline: 2px solid #ffccaa; outline-offset: 4px; }
.warmup-console .inline-error { margin-top: 15px; padding: 12px 14px; background: rgba(255, 104, 122, .08); border: 1px solid rgba(255, 142, 158, .24); color: #ffb1bc; font-size: 12px; }
.console-aside {
  min-width: 0; padding: 31px 25px; border-left: 1px solid var(--console-line);
  background: linear-gradient(160deg, rgba(233, 182, 148, .055), rgba(233, 182, 148, .02));
}
.console-aside section + section { margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--console-line); }
.console-today header, .console-ramp header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.console-today time { color: var(--console-faint); font-size: var(--text-xs); }
.console-progress { position: relative; width: 158px; height: 158px; margin: 15px auto 9px; }
.console-progress svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.console-progress circle { fill: none; stroke-width: 6; }
.progress-track { stroke: #4e382a; }
.progress-arc { stroke: #ffb889; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s cubic-bezier(.25,.7,.25,1); filter: drop-shadow(0 0 4px rgba(250, 180, 133, .25)); }
.console-progress > div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.console-progress strong { font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.console-progress span { color: #c1ada0; font-size: 12px; margin-top: 6px; }
.console-progress b { font-weight: 500; font-variant-numeric: tabular-nums; }
.console-progress-caption { color: #c8b7ab; font-size: var(--text-xs); text-align: center; }
.console-today-results { display: grid; gap: 10px; margin-top: 22px !important; }
.console-today-results > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.console-today-results dt { color: #c8b7ab; font-size: 12px; }
.console-today-results dd { margin: 0; color: #f6e9e0; font-size: 16px; line-height: 1.5; font-weight: 600; font-variant-numeric: tabular-nums; }
.console-ramp header h4 { font-size: 14px; }
.console-ramp header > span { color: #c7ad9b; font-size: var(--text-xs); border: 1px solid var(--console-line); padding: 2px 7px; border-radius: 5px; }
.console-ramp > p { color: var(--console-faint); font-size: var(--text-xs); margin-top: 4px; }
.console-ramp-chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; height: 110px; margin-top: 20px; }
.ramp-day { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-align: center; min-width: 0; }
.ramp-bar { display: flex; align-items: flex-end; justify-content: center; height: 79px; }
.ramp-bar span { display: block; width: 100%; height: var(--bar-size, 0%); min-height: 3px; max-width: 23px; background: #9b7358; border-radius: 4px 4px 1px 1px; transition: height .5s cubic-bezier(.2,.7,.2,1), background .2s; }
.ramp-day:first-child .ramp-bar span { background: #f5bd98; }
.ramp-day b { color: #e7cbb8; font-size: var(--text-xs); font-weight: 500; font-variant-numeric: tabular-nums; }
.ramp-day small { color: #b9a89c; font-size: var(--text-xs); white-space: nowrap; }
.console-ramp-legend { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; color: var(--console-faint); font-size: var(--text-xs); }
.console-ramp-legend b { color: #e9ccb9; font-weight: 600; padding-left: 3px; }
.console-readiness > h4 { font-size: 14px; }
.console-readiness > p { margin-top: 6px; font-size: var(--text-xs); color: var(--console-faint); line-height: 1.65; }
.warmup-console .launch-checks { margin-top: 16px; border: 0; }
.warmup-console .launch-checks > div { display: flex; align-items: flex-start; gap: 9px; padding: 9px 0; border: 0; }
.warmup-console .launch-checks > div > span {
  display: grid; place-items: center; width: 17px; height: 17px; margin-top: 1px; flex: 0 0 17px;
  border-radius: 50%; color: #d0bcae; background: rgba(204, 176, 157, .08); font-size: var(--text-xs);
}
.warmup-console .launch-checks > div.complete > span { color: #95d7c3; background: rgba(117, 208, 181, .1); }
.warmup-console .launch-checks > div p { min-width: 0; }
.warmup-console .launch-checks strong { display: block; color: #e2d1c6; font-size: var(--text-xs); font-weight: 600; line-height: 1.55; }
.warmup-console .launch-checks small { display: block; color: #b9a89c; font-size: var(--text-xs); line-height: 1.6; margin-top: 2px; }

@keyframes console-status-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(112, 216, 183, .16); } 50% { box-shadow: 0 0 0 5px rgba(112, 216, 183, 0); } }
@keyframes console-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes console-flow-travel { 0%, 15% { left: 48px; opacity: 0; } 25% { opacity: .8; } 55% { left: calc(100% + 5px); opacity: 0; } 100% { left: calc(100% + 5px); opacity: 0; } }
@keyframes console-flow-glow { 0%, 15%, 100% { border-color: rgba(234, 177, 139, .24); background: #38271c; } 35% { border-color: rgba(255, 202, 166, .6); background: #453124; } 55% { border-color: rgba(234, 177, 139, .24); background: #38271c; } }
@keyframes console-spin { to { transform: rotate(360deg); } }

@container warmup (max-width: 1010px) {
  .warmup-console { grid-template-columns: minmax(0, 1fr); }
  .console-aside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; border-left: 0; border-top: 1px solid var(--console-line); padding: 25px 32px; }
  .console-aside section + section { margin: 0; padding: 0 0 0 25px; border-top: 0; border-left: 1px solid var(--console-line); }
  .console-progress { width: 136px; height: 136px; margin-top: 12px; }
  .console-ramp-chart { margin-top: 22px; }
  .console-ramp header { flex-wrap: wrap; gap: 5px; }
}
@container warmup (max-width: 700px) {
  .console-main { padding: 26px; }
  .console-header { align-items: flex-start; }
  .console-header-actions { flex-direction: column; align-items: flex-end; gap: 7px; }
  .console-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 26px; gap: 24px; }
  .console-aside .console-readiness { grid-column: 1 / -1; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--console-line); }
  .console-readiness .launch-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .console-field { gap: 12px; padding-right: 15px; }
  .console-field:nth-child(even) { padding-left: 15px; }
  .console-number { width: 88px; flex-basis: 88px; }
}
@container warmup (max-width: 550px) {
  .warmup-console { border-radius: 17px; }
  .warmup-console h3 { font-size: 24px; }
  .console-mark { width: 42px; height: 42px; }
  .console-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 25px; }
  .console-flow li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 10px; align-items: center; }
  .console-flow li::after { display: none; }
  .warmup-console[data-engine-state="active"] .console-flow li::before { display: none; }
  .flow-icon { grid-row: 1 / 3; margin: 0; }
  .console-flow small { align-self: start; }
  .console-settings-grid { grid-template-columns: minmax(0, 1fr); }
  .console-field, .console-field:nth-child(even) { min-height: 86px; padding: 17px 0; border-left: 0; }
  .console-field + .console-field { border-top: 1px solid var(--console-line); }
  .console-field label { font-size: 14px; } .console-field p { font-size: 12px; }
  .console-number { width: 108px; flex-basis: 108px; }
  .console-header { flex-wrap: wrap; gap: 16px; }
  .console-header-actions { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .console-engine-button { min-height: 42px; }
  .console-readiness .launch-checks { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .console-schedule-controls { align-items: flex-start; flex-direction: column; gap: 16px; }
  .console-timezone small { display: inline; margin-left: 7px; }
  .console-time-inputs { width: 100%; gap: 10px; }
  .console-time-inputs label { flex: 1 1 0; min-width: 0; }
  .console-time-inputs input { width: 100%; min-height: 42px; }
}
@container warmup (max-width: 400px) {
  .console-main { padding: 22px 20px; }
  .console-title-group { gap: 11px; }
  .console-flow { gap: 20px 14px; }
  .console-flow small { font-size: var(--text-xs); }
  .console-footer { align-items: stretch; flex-direction: column; gap: 12px; }
  .console-save-button { width: 100%; justify-content: space-between; }
  .console-aside { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 22px; }
  .console-aside section + section { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--console-line); }
  .console-ramp header { flex-wrap: nowrap; }
  .console-ramp-chart { gap: 13px; }
  .console-progress { width: 158px; height: 158px; }
}
@media (prefers-reduced-motion: reduce) {
  .warmup-console *, .warmup-console *::before, .warmup-console *::after { animation: none !important; transition: none !important; }
}

/* Filled ember action: dark text on solid ember (contrast 5.8:1). */
.console-engine-button[data-action="start"] { background: #D9733F; border-color: #D9733F; color: #1A0F08; }

/* Visual system v2: neutral dark console, ember only as accent. */
.warmup-console { --console-line: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .09); box-shadow: 0 22px 55px -28px rgba(17, 17, 17, .4); }
.flow-icon { color: #f3f1ed; background: #1d1d1d; border-color: rgba(255, 255, 255, .1); }
.console-flow li:not(:last-child)::after { background: linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)); }
.console-number, .console-time-inputs input { background: #161616; color: #f3f1ed; border-color: rgba(255, 255, 255, .12); }
.console-number:focus-within { border-color: #d9733f; box-shadow: 0 0 0 3px rgba(217, 115, 63, .16); }
.window-track { background: #2a2a2a; }
.console-time-inputs > span { color: #b5b2ad; }
@keyframes console-flow-glow { 0%, 15%, 100% { border-color: rgba(255, 255, 255, .1); background: #1d1d1d; } 35% { border-color: rgba(217, 115, 63, .55); background: #241b16; } 55% { border-color: rgba(255, 255, 255, .1); background: #1d1d1d; } }

/* Results panel: shown while a plan runs; the settings form returns on "edit". */
.warmup-results { display: none; }
.warmup-console.is-running .warmup-results { display: grid; gap: 18px; margin-top: 18px; }
.warmup-console.is-running .console-flow,
.warmup-console.is-running .console-settings-form,
.warmup-console.is-running .console-start-note { display: none; }
.warmup-console.is-running.is-editing .warmup-results { display: none; }
.warmup-console.is-running.is-editing .console-settings-form { display: block; }
.console-cancel-edit { display: none; margin-left: auto; margin-right: 12px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px; background: transparent; color: #f3f1ed; font: 600 12px/1 inherit; cursor: pointer; }
.warmup-console.is-running.is-editing .console-cancel-edit { display: inline-block; }

.wr-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.wr-head h4 { margin: 0 0 6px; font-size: 18px; color: #f3f1ed; }
.wr-status { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #b5b2ad; }
.wr-status span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 800; }
.wr-status.good span { color: #0f2b22; background: #67d7b3; }
.wr-status.warn span { color: #1a0f08; background: #d9733f; }
.wr-status.bad span { color: #fff; background: #d44d64; }
.wr-status.bad { color: #f3c4cc; }
.wr-edit { flex: none; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: transparent; color: #f3f1ed; font: 600 13px/1 inherit; cursor: pointer; }
.wr-edit:hover { border-color: #d9733f; }

.wr-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wr-kpis > div { display: grid; gap: 4px; padding: 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; background: #1b1b1b; }
.wr-kpis span { color: #b5b2ad; font-size: 12px; }
.wr-kpis strong { color: #f3f1ed; font: 600 26px/1.1 "Schibsted Grotesk", sans-serif; }
.wr-kpis small { color: #8f8c87; font-size: 11px; }
.wr-kpis small.ok { color: #67d7b3; }

.wr-bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; gap: 6px; height: 132px; padding: 10px 2px 0; }
.wr-bar { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; }
.wr-bar-stack { position: relative; display: flex; flex-direction: column-reverse; height: 100%; }
.wr-bar-stack i { display: block; width: 100%; border-radius: 3px 3px 0 0; }
.wr-bar-stack i.plan { position: absolute; left: 0; bottom: 0; border: 1px dashed rgba(255, 255, 255, .22); background: transparent; box-sizing: border-box; }
.wr-bar-stack i.direct { background: #67d7b3; border-radius: 3px 3px 0 0; }
.wr-bar-stack i.rescued { background: #d9733f; border-radius: 0; }
.wr-bar-stack i.other { background: #3a3a3a; border-radius: 0; }
.wr-bar span { color: #8f8c87; font-size: 10px; text-align: center; }
.wr-legend { display: flex; flex-wrap: wrap; gap: 14px; color: #b5b2ad; font-size: 11px; }
.wr-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; }
.wr-legend i.direct { background: #67d7b3; }
.wr-legend i.rescued { background: #d9733f; }
.wr-legend i.plan { border: 1px dashed rgba(255, 255, 255, .35); }
.wr-empty { margin: 0; color: #b5b2ad; font-size: 13px; }

.wr-providers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.wr-providers > div { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; }
.wr-providers strong { color: #b5b2ad; font-size: 12px; font-weight: 600; }
.wr-providers b { color: #f3f1ed; font: 600 22px/1.1 "Schibsted Grotesk", sans-serif; }
.wr-providers small { color: #8f8c87; font-size: 11px; }

.wr-activity h5 { margin: 0 0 8px; color: #f3f1ed; font-size: 13px; }
.wr-activity ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.wr-activity li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 12px; color: #d8d5d0; }
.wr-activity li:first-child { border-top: 0; }
.wr-activity time { color: #8f8c87; }
.wr-activity li.good span::before { content: "● "; color: #67d7b3; }
.wr-activity li.ember span::before { content: "● "; color: #d9733f; }
.wr-activity li.bad span::before { content: "● "; color: #f07a8f; }
.wr-activity li.neutral span::before { content: "● "; color: #6c6a66; }

.wr-explain { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 10px; }
.wr-explain summary { cursor: pointer; color: #f3f1ed; font-size: 13px; font-weight: 600; list-style: none; }
.wr-explain summary::-webkit-details-marker { display: none; }
.wr-explain summary::before { content: "+ "; color: #d9733f; }
.wr-explain[open] summary::before { content: "– "; }
.wr-explain p { margin: 8px 0 0; color: #b5b2ad; font-size: 13px; line-height: 1.6; }
@container warmup (max-width: 760px) { .wr-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Warm-up chart v2: slim rounded bars, plan ghost, readable dates, hover card. */
.wr-chart { display: grid; gap: 12px; padding: 16px 16px 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: linear-gradient(180deg, #181818, #141414); }
.wr-chart > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wr-chart h5 { margin: 0; color: #f3f1ed; font-size: 13px; }
.wr-chart > header span { color: #8f8c87; font-size: 11px; }
.wr-plot {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px;
  height: 196px; padding-top: 6px;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 100% 25%; background-position: 0 6px; background-repeat: repeat-y;
}
.wr-day { position: relative; display: grid; grid-template-rows: 16px 1fr auto auto; justify-items: center; gap: 4px; outline: none; border-radius: 10px; padding: 2px 0 4px; }
.wr-day:hover, .wr-day:focus-visible { background: rgba(255, 255, 255, .035); }
.wr-count { color: #b5b2ad; font: 600 11px/16px "IBM Plex Sans", sans-serif; }
.wr-col { position: relative; width: min(26px, 70%); height: 100%; }
.wr-plan { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 8px 8px 3px 3px; background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.wr-fill {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column-reverse; overflow: hidden;
  border-radius: 8px 8px 3px 3px; transform-origin: bottom; animation: wr-grow .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--wr-delay, 0ms);
}
.wr-fill i { display: block; width: 100%; flex: none; }
.wr-fill i.direct { background: linear-gradient(180deg, #8ff0cf 0%, #4fc9a2 100%); box-shadow: 0 0 18px rgba(103, 215, 179, .25); }
.wr-fill i.rescued { background: linear-gradient(180deg, #f39a66 0%, #d9733f 100%); box-shadow: 0 0 14px rgba(217, 115, 63, .35); }
.wr-fill i.pending { background: repeating-linear-gradient(135deg, #3a3a3a 0 4px, #2e2e2e 4px 8px); }
.wr-weekday { color: #6f6c68; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.wr-date { color: #b5b2ad; font-size: 11px; white-space: nowrap; }
.wr-day.is-weekend .wr-weekday { color: #8f8c87; }
.wr-day.is-today .wr-date { color: #d9733f; font-weight: 700; }
.wr-day.is-today .wr-plan { box-shadow: inset 0 0 0 1px rgba(217, 115, 63, .6); }
.wr-day.is-today .wr-count { color: #f3f1ed; }
.wr-day::after {
  content: attr(data-tip); position: absolute; z-index: 5; bottom: calc(100% - 6px); left: 50%; transform: translate(-50%, 6px);
  min-width: 170px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px;
  color: #f3f1ed; background: #0c0c0c; box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
  font: 500 12px/1.55 "IBM Plex Sans", sans-serif; white-space: pre; text-align: left;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s;
}
.wr-day:hover::after, .wr-day:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.wr-day:first-child::after, .wr-day:nth-child(2)::after { left: 0; transform: translate(0, 6px); }
.wr-day:first-child:hover::after, .wr-day:nth-child(2):hover::after { transform: translate(0, 0); }
.wr-day:last-child::after, .wr-day:nth-last-child(2)::after { left: auto; right: 0; transform: translate(0, 6px); }
.wr-day:last-child:hover::after, .wr-day:nth-last-child(2):hover::after { transform: translate(0, 0); }
.wr-legend i.pending { background: repeating-linear-gradient(135deg, #3a3a3a 0 3px, #2e2e2e 3px 6px); }
.wr-legend i.plan { background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .12); }
.wr-legend i.direct { background: linear-gradient(180deg, #8ff0cf, #4fc9a2); }
.wr-legend i.rescued { background: linear-gradient(180deg, #f39a66, #d9733f); }
@keyframes wr-grow { from { transform: scaleY(0); opacity: .3; } to { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wr-fill { animation: none; } }
@container warmup (max-width: 640px) { .wr-weekday { display: none; } .wr-date { font-size: 10px; } }

/* Packages per address + network consent (P20) */
.warmup-plan { margin: 26px 0 6px; padding-top: 22px; border-top: 1px solid var(--console-line); }
.warmup-plan:empty { display: none; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 10px; margin-top: 16px; }
.plan-card { position: relative; display: grid; align-content: start; gap: 8px; padding: 16px 14px; border: 1px solid var(--console-line); border-radius: 12px; background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card:hover { border-color: rgba(255, 255, 255, .22); }
.plan-card.is-selected { border-color: var(--console-accent); background: rgba(217, 115, 63, .07); box-shadow: inset 0 2px 0 var(--console-accent); }
.plan-card.is-locked { cursor: default; opacity: .62; }
.plan-card.is-locked:hover { border-color: var(--console-line); }
.plan-card:focus-within { outline: 2px solid #9cc9d6; outline-offset: 2px; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-head strong { color: var(--console-text); font-size: 14px; font-weight: 650; }
.plan-head em { padding: 2px 8px; border-radius: 99px; color: #1a0f08; background: var(--console-accent); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .02em; }
.plan-head em.soon { color: var(--console-muted); background: rgba(255, 255, 255, .07); }
.plan-price { white-space: nowrap; color: var(--console-text); font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.plan-price small { margin-left: 2px; color: var(--console-muted); font-size: 12px; font-weight: 500; }
.plan-card ul { display: grid; gap: 5px; margin: 2px 0 0; padding: 0; list-style: none; }
.plan-card li { position: relative; padding-left: 14px; color: var(--console-muted); font-size: 12px; line-height: 1.45; }
.plan-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: rgba(156, 201, 214, .55); }
.network-consent { display: grid; gap: 10px; margin-top: 16px; padding: 18px; border: 1px solid var(--console-line); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.network-consent.is-asking { border-color: var(--console-accent); box-shadow: 0 0 0 3px rgba(217, 115, 63, .14); }
.network-consent h5 { margin: 0; color: var(--console-text); font-size: 15px; font-weight: 650; }
.network-consent p { color: var(--console-muted); font-size: 13px; line-height: 1.6; }
.network-consent.is-given { grid-template-columns: 1fr auto; align-items: center; }
.network-consent.is-given strong { color: #8ee3c8; }
.network-check { display: flex; gap: 10px; align-items: flex-start; color: var(--console-text); font-size: 13px; line-height: 1.5; cursor: pointer; }
.network-check input { margin-top: 3px; accent-color: var(--console-accent); }
.network-check a { color: #9cc9d6; }
.network-feedback { color: #f08a9b !important; }
.network-consent .console-engine-button { justify-self: start; }
@media (max-width: 520px) { .plan-grid { grid-template-columns: 1fr; } .network-consent.is-given { grid-template-columns: 1fr; } }

/* Free plan network notice: one quiet line, no form */
.network-note { margin: 14px 0 0; color: var(--ink-soft, #8a8680); font-size: 12.5px; line-height: 1.5; }
.network-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.network-note .text-action { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
