/* Cash For Junk Cars Fort Worth: instant offer card, quote steps and offer acceptance */

:root {
  --cw-ink: #020A08;
  --cw-text: #1D2122;
  --cw-muted: #56605E;
  --cw-teal: #05B693;
  --cw-teal-hover: #04A383;
  --cw-teal-deep: #03745E;
  --cw-teal-wash: #E9F8F4;
  --cw-teal-line: #9FE0D2;
  --cw-paper: #FFFFFF;
  --cw-mist: #F4F6F5;
  --cw-line: #D5DBD9;
  --cw-line-strong: #9AA4A1;
  --cw-error: #B3261E;
  --cw-error-wash: #FDF1F0;
  --cw-radius: 14px;
  --cw-radius-sm: 10px;
  --cw-shadow: 0 1px 2px rgba(2, 10, 8, .06), 0 8px 28px rgba(2, 10, 8, .08);
  --cw-focus: 0 0 0 3px rgba(5, 182, 147, .45);
}

.cw-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------------ shared controls */

.cw-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  margin: 0 0 6px; font-family: sfpro_semibold, system-ui, sans-serif; font-size: 15px; color: var(--cw-ink);
}
.cw-label .cw-linkish { font-family: sfpro_medium, system-ui, sans-serif; font-size: 14px; }
.cw-field { position: relative; margin: 0 0 16px; }
.cw-input {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--cw-line); border-radius: var(--cw-radius-sm); background: var(--cw-paper);
  font-family: inter_regular, system-ui, sans-serif; font-size: 16px; color: var(--cw-ink);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.cw-input::placeholder { color: #7B8583; }
.cw-input:focus { outline: none; border-color: var(--cw-teal-deep); box-shadow: var(--cw-focus); }
.cw-input:disabled { background: var(--cw-mist); color: #6B7472; cursor: not-allowed; }
.cw-input[aria-invalid="true"] { border-color: var(--cw-error); }
.cw-input--mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.cw-msg { min-height: 0; margin: 6px 0 0; font-size: 14px; line-height: 1.35; color: var(--cw-muted); }
.cw-msg:empty { display: none; }
.cw-msg.is-error { color: var(--cw-error); }
.cw-msg.is-ok { color: var(--cw-teal-deep); }
.cw-count { position: absolute; right: 12px; top: 40px; font-size: 13px; color: var(--cw-muted); pointer-events: none; }

.cw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px;
  background: var(--cw-teal); color: var(--cw-ink);
  font-family: sfpro_bold, system-ui, sans-serif; font-size: 17px; line-height: 1.2; cursor: pointer;
  transition: background-color .15s, transform .1s;
}
.cw-btn:hover { background: var(--cw-teal-hover); color: var(--cw-ink); }
.cw-btn:focus-visible { outline: none; box-shadow: var(--cw-focus); }
.cw-btn:active { transform: translateY(1px); }
.cw-btn[disabled] { cursor: progress; opacity: .85; }
.cw-btn--wide { width: 100%; }
.cw-btn--ghost { background: transparent; border: 1.5px solid var(--cw-ink); color: var(--cw-ink); }
.cw-btn--ghost:hover { background: var(--cw-mist); }
.cw-btn--dark { background: var(--cw-ink); color: #fff; }
.cw-btn--dark:hover { background: #1D2122; color: #fff; }
.cw-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(2, 10, 8, .25); border-top-color: var(--cw-ink); animation: cw-rot .8s linear infinite; }
@keyframes cw-rot { to { transform: rotate(360deg); } }

.cw-linkish {
  padding: 0; border: 0; background: none; color: var(--cw-teal-deep); text-decoration: underline; text-underline-offset: 3px;
  font: inherit; cursor: pointer;
}
.cw-linkish:hover { color: var(--cw-ink); }
.cw-linkish:focus-visible { outline: none; box-shadow: var(--cw-focus); border-radius: 4px; }

/* searchable combobox */
.cw-chooser__box { position: relative; }
.cw-chooser__box .cw-input { padding-right: 40px; }
.cw-chooser__caret {
  position: absolute; right: 15px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--cw-ink); border-bottom: 2px solid var(--cw-ink); transform: rotate(45deg); pointer-events: none;
}
.cw-chooser__list {
  position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% - 22px); max-height: 264px; overflow-y: auto;
  margin: 4px 0 0; padding: 6px; list-style: none; background: var(--cw-paper);
  border: 1.5px solid var(--cw-line); border-radius: var(--cw-radius-sm); box-shadow: var(--cw-shadow);
}
.cw-chooser__list li { padding: 11px 12px; border-radius: 8px; font-size: 16px; color: var(--cw-ink); cursor: pointer; min-height: 44px; }
.cw-chooser__list li.is-active { background: var(--cw-teal-wash); }
.cw-chooser__list li[aria-selected="true"] { font-family: sfpro_semibold, system-ui, sans-serif; }
.cw-chooser__list li b { font-family: sfpro_bold, system-ui, sans-serif; font-weight: 400; }
.cw-chooser__list li.cw-chooser__none { color: var(--cw-muted); cursor: default; }
.cw-chooser__list li small { float: right; color: var(--cw-muted); font-size: 13px; margin-top: 2px; }

/* ------------------------------------------------------------------ homepage / landing hero */

.fortworth-graybirchheader-bg .cw-hero {
  margin-left: 0; margin-right: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head art" "lede art" "card art";
  align-items: start; column-gap: 40px; padding-top: 48px;
}
.fortworth-graybirchheader-bg .cw-hero .fortworth-graybirchheader-article { display: contents; }
.fortworth-graybirchheader-bg .cw-hero h1 { grid-area: head; text-align: left; font-size: 54px; line-height: 1.04; padding-top: 0; }
.fortworth-graybirchheader-bg .cw-hero .fortworth-graybirchheader-article > p { grid-area: lede; text-align: left; margin: 14px 0 22px; }
.fortworth-graybirchheader-bg .cw-hero .fortworth-graybirchheader-article > img { grid-area: art; align-self: center; margin: 0; width: 100%; max-width: 620px; }
.fortworth-graybirchheader-bg .cw-hero .fortworth-formtop { grid-area: card; padding: 0; width: auto; max-width: none; flex: none; }
.fortworth-graybirchheader-bg { padding-bottom: 56px; }

.cw-hitch {
  position: relative; z-index: 5; padding: 22px 22px 18px; border-radius: 18px;
  background: var(--cw-paper); border: 1px solid var(--cw-line); box-shadow: var(--cw-shadow);
  border-top: 5px solid var(--cw-teal);
}
.cw-hitch__title { margin: 0 0 2px; font-family: sfpro_bold, system-ui, sans-serif; font-size: 22px; color: var(--cw-ink); }
.cw-hitch__sub { margin: 0 0 16px; font-size: 15px; color: var(--cw-muted); }
.cw-hitch__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; }
.cw-hitch__grid .cw-field { margin-bottom: 14px; }
.cw-hitch .cw-btn { width: 100%; }
.cw-hitch__alt { margin: 12px 0 0; text-align: center; font-size: 15px; }
.cw-hitch__trust { display: flex; justify-content: center; gap: 18px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--cw-line); font-size: 14px; color: var(--cw-muted); }
.cw-hitch__trust span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--cw-teal); vertical-align: 1px; }
.cw-hitch .cw-msg.is-error { margin: -4px 0 12px; }

/* header phone stays outlined so the quote CTA is the only solid action above the fold */
.fortworth-graybirchheader-phone button.btn-info { background: transparent !important; color: var(--cw-ink) !important; border: 1.5px solid var(--cw-ink) !important; }

@media (max-width: 991.98px) {
  .fortworth-graybirchheader-bg .cw-hero { grid-template-columns: 1fr; grid-template-areas: "head" "lede" "card" "art"; padding-top: 18px; }
  .fortworth-graybirchheader-bg .cw-hero h1 { font-size: 36px; text-align: left; }
  .fortworth-graybirchheader-bg .cw-hero .fortworth-graybirchheader-article > p { font-size: 16px; margin: 8px 0 14px; }
  .fortworth-graybirchheader-bg .cw-hero .fortworth-graybirchheader-article > img { max-width: 420px; margin: 14px auto 0; }
}
@media (max-width: 767.98px) {
  .fortworth-graybirchheader-bg .cw-hero { padding-left: 4px; padding-right: 4px; }
  .fortworth-graybirchheader-bg .cw-hero h1 { font-size: 30px; }
  .cw-hitch { padding: 16px 16px 14px; }
  .cw-hitch__title { font-size: 19px; }
  .cw-hitch__sub { display: none; }
  .cw-hitch__grid { grid-template-columns: 1fr; }
  .cw-hitch__grid .cw-field { margin-bottom: 10px; }
  .fortworth-graybirchheader-bg { padding-bottom: 32px; }
}

/* ------------------------------------------------------------------ quote flow page */

.cw-flowhead { border-bottom: 1px solid var(--cw-line); background: var(--cw-paper); }
.cw-flowhead .container { display: flex; align-items: center; min-height: 72px; }
.cw-flowhead img { display: block; max-width: 230px; height: auto; }

.cw-trail { background: var(--cw-mist); min-height: 70vh; padding: 36px 0 64px; overflow-x: hidden; }
.cw-stage { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.cw-screen { outline: none; }
.cw-card {
  max-width: 640px; margin: 0 auto; padding: 30px 36px 34px; border-radius: 18px;
  background: var(--cw-paper); border: 1px solid var(--cw-line); box-shadow: var(--cw-shadow);
}
.cw-in-right { animation: cw-from-right .22s ease-out; }
.cw-in-left { animation: cw-from-left .22s ease-out; }
.cw-in-fade { animation: cw-fade .22s ease-out; }
@keyframes cw-from-right { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes cw-from-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes cw-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .cw-in-right, .cw-in-left { animation: cw-fade .15s linear; }
  .cw-spin { animation-duration: 1.6s; }
  * { scroll-behavior: auto !important; }
}

.cw-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; min-height: 28px; }
.cw-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px 0 0; border: 0; background: none;
  font-family: sfpro_medium, system-ui, sans-serif; font-size: 15px; color: var(--cw-text); cursor: pointer;
}
.cw-back:hover { color: var(--cw-teal-deep); }
.cw-back:focus-visible { outline: none; box-shadow: var(--cw-focus); border-radius: 6px; }
.cw-carlabel { font-family: sfpro_medium, system-ui, sans-serif; font-size: 14px; color: var(--cw-muted); text-align: right; }

.cw-meter { height: 6px; margin: 0 0 24px; border-radius: 99px; background: #E3E8E6; overflow: hidden; }
.cw-meter span { display: block; height: 100%; border-radius: 99px; background: var(--cw-teal); transition: width .3s ease; }

.cw-ask { margin: 0 0 8px; font-family: sfpro_bold, system-ui, sans-serif; font-size: 28px; line-height: 1.2; color: var(--cw-ink); outline: none; }
.cw-hint { margin: 0 0 22px; font-size: 16px; line-height: 1.45; color: var(--cw-muted); }

.cw-choices { display: grid; gap: 10px; margin: 0 0 8px; }
.cw-choice {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 58px;
  padding: 14px 18px; border: 1.5px solid var(--cw-line); border-radius: var(--cw-radius); background: var(--cw-paper);
  font-family: sfpro_medium, system-ui, sans-serif; font-size: 17px; line-height: 1.3; color: var(--cw-ink); text-align: left; cursor: pointer;
  transition: border-color .12s, background-color .12s;
}
.cw-choice:hover { border-color: var(--cw-teal-deep); }
.cw-choice:focus-visible { outline: none; box-shadow: var(--cw-focus); }
.cw-choice__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cw-line-strong); position: relative; }
.cw-choice[aria-pressed="true"] { border-color: var(--cw-teal-deep); background: var(--cw-teal-wash); }
.cw-choice[aria-pressed="true"] .cw-choice__mark { border-color: var(--cw-teal-deep); background: var(--cw-teal-deep); }
.cw-choice[aria-pressed="true"] .cw-choice__mark::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cw-choice[aria-disabled="true"] { border-style: dashed; color: #6B7472; background: var(--cw-mist); cursor: not-allowed; }
.cw-choice[aria-disabled="true"] .cw-choice__mark { display: none; }
.cw-choice__off { font-size: 13px; color: var(--cw-muted); font-family: inter_regular, system-ui, sans-serif; }

.cw-note { display: flex; gap: 10px; margin: 14px 0 4px; padding: 12px 14px; border-radius: var(--cw-radius-sm); background: var(--cw-teal-wash); color: var(--cw-text); font-size: 15px; line-height: 1.45; }
.cw-note::before { content: "i"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--cw-teal-deep); color: #fff; font: 700 13px/20px Georgia, serif; text-align: center; }
.cw-alert { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--cw-radius-sm); background: var(--cw-error-wash); color: var(--cw-error); font-size: 15px; line-height: 1.45; }
.cw-alert:empty { display: none; }

.cw-actions { display: flex; justify-content: flex-end; margin: 22px 0 0; }
.cw-actions--split { justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }

.cw-areas { margin: 16px 0 0; padding: 16px; border: 1.5px solid var(--cw-line); border-radius: var(--cw-radius); background: #FBFCFC; }
.cw-areas legend { float: left; width: 100%; margin: 0 0 10px; font-family: sfpro_semibold, system-ui, sans-serif; font-size: 16px; color: var(--cw-ink); }
.cw-areas__end { clear: both; text-align: center; font-size: 12px; letter-spacing: .12em; color: var(--cw-muted); margin: 0 0 8px; }
.cw-areas__end--rear { margin: 8px 0 0; }
.cw-areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cw-tile { position: relative; }
.cw-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cw-tile label {
  display: flex; align-items: center; gap: 10px; min-height: 52px; margin: 0; padding: 10px 14px; border: 1.5px solid var(--cw-line);
  border-radius: var(--cw-radius-sm); background: var(--cw-paper); font-family: sfpro_medium, system-ui, sans-serif; font-size: 16px; color: var(--cw-ink); cursor: pointer;
}
.cw-tile label::before { content: ""; flex: none; width: 20px; height: 20px; border: 2px solid var(--cw-line-strong); border-radius: 5px; }
.cw-tile input:checked + label { border-color: var(--cw-teal-deep); background: var(--cw-teal-wash); }
.cw-tile input:checked + label::before { border-color: var(--cw-teal-deep); background: var(--cw-teal-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center/16px no-repeat; }
.cw-tile input:focus-visible + label { box-shadow: var(--cw-focus); }

.cw-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 4px 0 0; font-size: 16px; color: var(--cw-text); cursor: pointer; }
.cw-check input { width: 20px; height: 20px; accent-color: var(--cw-teal-deep); }

.cw-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 20px; padding: 4px; border-radius: 999px; background: #E7ECEA; }
.cw-seg button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-family: sfpro_semibold, system-ui, sans-serif; font-size: 15px; color: var(--cw-text); cursor: pointer; }
.cw-seg button[aria-pressed="true"] { background: var(--cw-paper); color: var(--cw-ink); box-shadow: 0 1px 3px rgba(2, 10, 8, .15); }
.cw-seg button:focus-visible { outline: none; box-shadow: var(--cw-focus); }
.cw-seg small { font-family: inter_regular, system-ui, sans-serif; font-size: 12px; color: var(--cw-teal-deep); margin-left: 4px; }
.cw-found { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; padding: 12px 14px; border-radius: var(--cw-radius-sm); background: var(--cw-teal-wash); font-family: sfpro_semibold, system-ui, sans-serif; color: var(--cw-ink); }

/* loading */
.cw-loading { text-align: center; padding: 18px 0 8px; }
.cw-pulse { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--cw-teal-wash); position: relative; }
.cw-pulse::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 4px solid var(--cw-teal); border-top-color: transparent; animation: cw-rot .9s linear infinite; }
.cw-ticks { display: inline-grid; gap: 10px; margin: 20px auto 0; padding: 0; list-style: none; text-align: left; }
.cw-ticks li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--cw-muted); }
.cw-ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--cw-line-strong); }
.cw-ticks li.is-done { color: var(--cw-ink); }
.cw-ticks li.is-done::before { border-color: var(--cw-teal-deep); background: var(--cw-teal-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ------------------------------------------------------------------ offer + acceptance */

.cw-deal { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.cw-deal__main { min-width: 0; }
.cw-deal__title { margin: 0 0 6px; font-family: sfpro_heavy, system-ui, sans-serif; font-size: 38px; line-height: 1.1; color: var(--cw-ink); outline: none; }
.cw-deal__title .cw-amt { color: var(--cw-teal-deep); white-space: nowrap; }
.cw-deal__sub { margin: 0 0 18px; font-size: 16px; color: var(--cw-muted); }

.cw-legs { display: flex; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.cw-legs li { flex: 1; padding-top: 9px; border-top: 4px solid #D9DFDD; font-family: sfpro_medium, system-ui, sans-serif; font-size: 13px; color: var(--cw-muted); }
.cw-legs li.is-now { border-top-color: var(--cw-teal); color: var(--cw-ink); }
.cw-legs li.is-done { border-top-color: var(--cw-teal-deep); color: var(--cw-ink); }

.cw-block { margin: 0 0 16px; padding: 22px 24px 8px; border-radius: 16px; background: var(--cw-paper); border: 1px solid var(--cw-line); }
.cw-block__head { margin: 0 0 16px; font-family: sfpro_bold, system-ui, sans-serif; font-size: 20px; color: var(--cw-ink); }
.cw-block--later { padding: 16px 20px; border-style: dashed; background: transparent; color: var(--cw-muted); font-family: sfpro_medium, system-ui, sans-serif; font-size: 16px; display: flex; justify-content: space-between; }
.cw-block--later span:last-child { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.cw-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.cw-summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 0 14px; border-radius: 12px; background: var(--cw-teal-wash); }
.cw-summary__tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cw-teal-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center/18px no-repeat; }
.cw-summary__text { flex: 1; min-width: 0; font-size: 15px; line-height: 1.4; color: var(--cw-ink); overflow-wrap: anywhere; }
.cw-summary__text strong { display: block; font-family: sfpro_semibold, system-ui, sans-serif; font-weight: 400; }
.cw-fineprint { margin: 4px 0 16px; font-size: 14px; line-height: 1.5; color: var(--cw-muted); }
.cw-fineprint .cw-linkish { color: var(--cw-teal-deep); }

.cw-close { margin: 6px 0 0; padding: 0 0 8px; }
.cw-close__lead { margin: 0 0 12px; font-family: sfpro_semibold, system-ui, sans-serif; font-size: 16px; color: var(--cw-ink); }
.cw-close__note { margin: 12px 0 0; font-size: 15px; color: var(--cw-text); text-align: center; }
.cw-errsum { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--cw-radius-sm); background: var(--cw-error-wash); color: var(--cw-error); font-size: 15px; }
.cw-errsum:empty { display: none; }
.cw-errsum .cw-linkish { color: var(--cw-error); margin-left: 6px; }

/* pickup (only rendered when real windows exist) */
.cw-speed { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: sfpro_semibold, system-ui, sans-serif; font-size: 15px; color: var(--cw-teal-deep); }
.cw-speed::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cw-teal); }
.cw-slot {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; margin: 0 0 10px; padding: 12px 16px;
  border: 1.5px solid var(--cw-line); border-radius: 12px; background: var(--cw-paper); text-align: left;
  font-family: sfpro_medium, system-ui, sans-serif; font-size: 16px; color: var(--cw-ink); cursor: pointer;
}
.cw-slot::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--cw-line-strong); }
.cw-slot[aria-pressed="true"] { border-color: var(--cw-teal-deep); background: var(--cw-teal-wash); }
.cw-slot[aria-pressed="true"]::before { border: 6px solid var(--cw-teal-deep); }
.cw-slot:focus-visible { outline: none; box-shadow: var(--cw-focus); }
.cw-days { display: flex; gap: 8px; margin: 10px 0 12px; padding: 2px 2px 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.cw-day {
  flex: 0 0 64px; scroll-snap-align: start; min-height: 64px; padding: 8px 4px; border: 1.5px solid var(--cw-line); border-radius: 12px;
  background: var(--cw-paper); text-align: center; font-family: sfpro_medium, system-ui, sans-serif; font-size: 13px; line-height: 1.25; color: var(--cw-text); cursor: pointer;
}
.cw-day strong { display: block; font-family: sfpro_bold, system-ui, sans-serif; font-weight: 400; font-size: 15px; color: var(--cw-ink); }
.cw-day.is-weekend { background: #F1F4F3; }
.cw-day[aria-pressed="true"] { border-color: var(--cw-teal-deep); background: var(--cw-teal-wash); }
.cw-day:focus-visible { outline: none; box-shadow: var(--cw-focus); }
.cw-daynav { display: none; }
.cw-picked { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 12px; font-family: sfpro_semibold, system-ui, sans-serif; font-size: 15px; color: var(--cw-teal-deep); }

/* side rail */
.cw-rail { position: sticky; top: 24px; }
.cw-rail__card { padding: 22px; border-radius: 16px; background: var(--cw-ink); color: #fff; }
.cw-rail__label { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #BFD7D1; }
.cw-rail__amt { margin: 2px 0 2px; font-family: sfpro_heavy, system-ui, sans-serif; font-size: 44px; line-height: 1.1; color: #fff; }
.cw-rail__car { margin: 0; font-size: 15px; color: #DDE7E4; }
.cw-rail__speed { margin: 12px 0 0; font-family: sfpro_semibold, system-ui, sans-serif; font-size: 14px; color: var(--cw-teal); }
.cw-next { margin: 14px 0 0; padding: 20px 22px; border-radius: 16px; background: var(--cw-paper); border: 1px solid var(--cw-line); }
.cw-next h2 { margin: 0 0 12px; font-family: sfpro_bold, system-ui, sans-serif; font-size: 17px; color: var(--cw-ink); }
.cw-next ol { margin: 0; padding: 0; list-style: none; counter-reset: cwn; }
.cw-next li { position: relative; padding: 0 0 12px 36px; font-size: 15px; line-height: 1.45; color: var(--cw-text); counter-increment: cwn; }
.cw-next li::before { content: counter(cwn); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--cw-teal-wash); color: var(--cw-teal-deep); font: 14px/24px sfpro_bold, system-ui, sans-serif; text-align: center; }
.cw-next li strong { display: block; font-family: sfpro_semibold, system-ui, sans-serif; font-weight: 400; color: var(--cw-ink); }

/* terminal screens */
.cw-end { text-align: center; }
.cw-end__badge { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--cw-teal-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center/38px no-repeat; }
.cw-end .cw-hint { margin-bottom: 18px; }
.cw-end .cw-actions { justify-content: center; flex-wrap: wrap; gap: 12px; }
.cw-facts { margin: 18px 0; padding: 16px 18px; border-radius: 12px; background: var(--cw-mist); text-align: left; }
.cw-facts dt { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--cw-muted); }
.cw-facts dd { margin: 2px 0 10px; font-family: sfpro_semibold, system-ui, sans-serif; font-size: 16px; color: var(--cw-ink); }
.cw-facts dd:last-child { margin-bottom: 0; }
.cw-end .cw-next { text-align: left; }

/* dialogs: bottom sheet on mobile, centered modal on desktop */
.cw-scrim { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 10, 8, .55); animation: cw-fade .18s ease-out; }
.cw-dialog { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px 26px 22px; border-radius: 18px; background: var(--cw-paper); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); outline: none; }
.cw-dialog h2 { margin: 0 0 10px; font-family: sfpro_bold, system-ui, sans-serif; font-size: 22px; color: var(--cw-ink); }
.cw-dialog p, .cw-dialog li { font-size: 16px; line-height: 1.5; color: var(--cw-text); }
.cw-dialog ul { padding-left: 20px; margin: 4px 0 12px; }
.cw-dialog h3 { margin: 14px 0 4px; font-family: sfpro_semibold, system-ui, sans-serif; font-size: 15px; color: var(--cw-ink); }
.cw-dialog__foot { display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: center; gap: 18px; margin: 18px 0 0; flex-wrap: wrap; }
.cw-vinsample { margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; background: var(--cw-mist); font: 17px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--cw-ink); }
.cw-vincols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cw-newamt { margin: 14px 0 4px; padding: 16px; border-radius: 12px; background: var(--cw-teal-wash); }
.cw-newamt span { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--cw-muted); }
.cw-newamt strong { display: block; font-family: sfpro_heavy, system-ui, sans-serif; font-weight: 400; font-size: 38px; line-height: 1.15; color: var(--cw-ink); }
.cw-oldamt { margin: 8px 0 0; font-size: 15px; color: var(--cw-muted); }
.cw-newamt .cw-upby { display: inline-block; text-transform: none; letter-spacing: 0; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--cw-teal); color: var(--cw-ink); font: 14px sfpro_bold, system-ui, sans-serif; vertical-align: middle; }

@media (max-width: 991.98px) {
  .cw-deal { grid-template-columns: 1fr; }
  .cw-rail { position: static; }
  .cw-rail__card { display: none; }
}
@media (max-width: 767.98px) {
  .cw-trail { background: var(--cw-paper); padding: 16px 0 40px; }
  .cw-card { padding: 0; border: 0; box-shadow: none; border-radius: 0; }
  .cw-ask { font-size: 24px; }
  .cw-deal__title { font-size: 30px; }
  .cw-block { padding: 18px 16px 4px; }
  .cw-pair { grid-template-columns: 1fr; }
  .cw-flowhead .container { min-height: 60px; }
  .cw-flowhead img { max-width: 200px; }
  .cw-scrim { align-items: flex-end; padding: 0; }
  .cw-dialog { max-width: none; border-radius: 20px 20px 0 0; max-height: 88vh; padding: 22px 18px 20px; }
  .cw-dialog__foot { flex-direction: column; align-items: stretch; }
  .cw-dialog__foot .cw-linkish { text-align: center; min-height: 44px; }
  .cw-vincols { grid-template-columns: 1fr; }
  .cw-legs li { font-size: 12px; }
}
@media (min-width: 768px) {
  .cw-days { flex-wrap: nowrap; overflow: hidden; }
  .cw-day { flex: 1 1 0; }
  .cw-daynav { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--cw-muted); }
  .cw-daynav button { min-width: 44px; min-height: 44px; border: 1.5px solid var(--cw-line); border-radius: 10px; background: var(--cw-paper); font-size: 18px; cursor: pointer; }
  .cw-daynav button[disabled] { opacity: .4; cursor: default; }
}
