/* Home hero quote widget (CCC-261129-11): plate, job, details in the hero card. Uses ccc-home.css tokens and its
   plate, vehicle and button parts; only the widget's own pieces are here. */
.cc-qw { gap: 12px; scroll-margin-top: 128px; } /* clears the sticky header when a step brings the card into view */
.cc-qw__bar { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.cc-qw__bar li { width: 30px; height: 4px; border-radius: 2px; background: var(--line); transition: background-color .3s ease; }
.cc-qw__bar li.is-now, .cc-qw__bar li.is-done { background: var(--burgundy); }
.cc-qw__step { display: grid; gap: 10px; min-width: 0; }
.cc-qw__step.is-in { animation: cc-qw-in .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes cc-qw-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cc-qw__q { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.25; color: var(--navy); outline: none; }
.cc-qw__picked { margin: -4px 0 0; font-size: 13px; font-weight: 700; color: var(--burgundy); }
.cc-qw__label { margin: 0 0 6px; font-weight: 700; font-size: 14px; color: var(--navy); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cc-qw__checking { display: grid; gap: 8px; }
.cc-qw__checktext { margin: 0; font-weight: 700; font-size: 14px; color: var(--navy); }
.cc-qw__link, .cc-qw__back, .cc-qw__info { appearance: none; background: none; border: 0; padding: 4px 2px; min-height: 32px; font: 700 13px/1.2 var(--font-sans); color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; }
.cc-qw__back { color: var(--navy); font-size: 14px; min-height: 44px; }
.cc-qw__info { color: var(--burgundy); min-height: 0; padding: 0; }
.cc-qw__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cc-qw__nav .cc-btn { flex: 0 1 auto; min-height: 48px; }
.cc-qw__veh { padding: 10px 12px; gap: 12px; }
.cc-qw__bar li[hidden] { display: none; }
.cc-qw__veh .cc-veh__plate { font-size: 15px; padding: 6px 8px; }
.cc-qw__veh .cc-veh__make { font-size: 15px; }

/* Job tiles: the Reviews form's drawings, three to a row, tapped rather than picked from a list */
.cc-qw-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.cc-qw-tile { position: relative; appearance: none; font: inherit; color: var(--navy); background: var(--cream); border: 2px solid transparent; border-radius: 14px; padding: 10px 6px 8px; display: grid; justify-items: center; align-content: start; gap: 4px; cursor: pointer; min-height: 92px; transition: border-color .2s, background-color .2s, transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.cc-qw-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); background: var(--white); border-color: var(--line); }
.cc-qw-tile[aria-pressed="true"] { border-color: var(--burgundy); background: var(--white); box-shadow: 0 0 0 4px rgba(94, 10, 21, .12); }
/* the slider's drawings (cc-part--inline) at tile size, their own motion kept */
.cc-qw-tile .cc-qw-tile__ic.cc-part { position: relative; left: auto; bottom: auto; display: block; width: 48px; height: 48px; padding: 0; margin: 0; background: none; box-shadow: none; z-index: auto; }
.cc-qw-tile__ic svg { width: 100%; height: 100%; display: block; }
.cc-qw-tile__label { font-size: 13px; font-weight: 800; line-height: 1.2; text-align: center; }
.cc-qw-tile__tick { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--burgundy); display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.2, .8, .2, 1.4); }
.cc-qw-tile__tick svg { width: 12px; height: 12px; fill: none; stroke: var(--on-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cc-qw-tile[aria-pressed="true"] .cc-qw-tile__tick { opacity: 1; transform: scale(1); }

/* Towbar choices and reply method: one row of chips per question */
.cc-qw__group + .cc-qw__group { margin-top: 10px; }
.cc-qw__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-qw-chip { appearance: none; font: 700 14px/1.2 var(--font-sans); color: var(--navy); background: var(--cream); border: 2px solid transparent; border-radius: 999px; padding: 9px 14px; min-height: 40px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.cc-qw-chip:hover { border-color: var(--line); background: var(--white); }
.cc-qw-chip[aria-pressed="true"] { border-color: var(--burgundy); background: var(--white); color: var(--burgundy); }
.cc-qw__towimg { display: block; width: 100%; max-width: 420px; height: auto; margin-top: 8px; border-radius: 10px; border: 1px solid var(--line); }

/* Photos */
.cc-qw__drop { position: relative; display: flex; gap: 12px; align-items: center; border: 2px dashed var(--field-border); border-radius: 14px; padding: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.cc-qw__drop:hover, .cc-qw__drop:focus-within { border-color: var(--burgundy); background: #fff7f0; }
.cc-qw__drop svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--burgundy); stroke-width: 1.8; stroke-linejoin: round; }
.cc-qw__drop > span { display: grid; gap: 2px; font-size: 13px; color: var(--ink-muted); }
.cc-qw__drop b { color: var(--navy); font-size: 15px; }
.cc-qw__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* Details */
.cc-qw__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cc-qw .cc-field { gap: 4px; }
.cc-qw .cc-field label { font-size: 13px; }
.cc-qw .cc-field input, .cc-qw .cc-field select, .cc-qw textarea { min-height: 44px; padding: 10px 12px; }
.cc-qw .cc-field input[aria-invalid="true"] { border-color: var(--error); }
.cc-qw__ferr { font-size: 12px; font-weight: 700; color: var(--error); min-height: 0; }
.cc-qw__ferr:empty { display: none; }
.cc-qw__notebox summary { font: 700 13px/1.2 var(--font-sans); color: var(--navy); cursor: pointer; padding: 4px 0; min-height: 32px; display: flex; align-items: center; }
.cc-qw__notebox textarea { display: block; width: 100%; margin-top: 6px; font: 500 16px/1.4 var(--font-sans); color: var(--ink); background: var(--white); border: 1.5px solid var(--field-border); border-radius: var(--radius-sm); resize: vertical; }
.cc-qw__send { transition: background-color .3s ease; }
.cc-qw__send[data-done] { background: #2e7d4f; color: #fff; }
.cc-qw__send:disabled { cursor: default; transform: none; box-shadow: none; }
.cc-qw .cc-reg__note a { color: inherit; }

@media (max-width: 420px) {
  .cc-qw-tiles { gap: 6px; }
  .cc-qw-tile { min-height: 84px; padding: 8px 4px; }
  .cc-qw-tile .cc-qw-tile__ic.cc-part { width: 42px; height: 42px; }
  .cc-qw-tile__label { font-size: 12px; }
  .cc-qw__pair { grid-template-columns: minmax(0, 1fr); }
}
/* Reduced motion: the site's calm mode (home.js, CCC-261128-03) keeps these short, user-started fades. */
