/* Journey sidebar inside the white Step 1 card (home page) – see assets/js/journey-side.js */
#quote-app .qz-card.qz-split { display: flex; align-items: stretch; padding: 0; overflow: hidden; max-width: 1180px; }
.qz-split .qz-main { flex: 1; min-width: 0; padding: 30px 36px 24px; }
.qz-split .qz-prog { display: none; }

.jy-side { flex: 0 0 288px; display: flex; flex-direction: column; gap: 22px; padding: 30px 26px 26px; background: #f8fafb; border-right: 1px solid var(--line); font-family: var(--title); }
.jy-top { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: default; font: inherit; color: inherit; }
.jy-top small { display: block; font: 600 11.5px var(--title); letter-spacing: .14em; text-transform: uppercase; color: #5f6a80; }
.jy-top b { display: block; margin-top: 4px; font: 600 17px var(--title); color: var(--navy, #0b2545); }
.jy-chev { display: none; }
.jy-bar { display: block; margin-top: 12px; height: 4px; border-radius: 4px; background: #e4eaef; overflow: hidden; }
.jy-bar i { display: block; height: 100%; width: 4%; border-radius: 4px; background: var(--green); transition: width .35s; }
.jy-body { display: flex; flex-direction: column; gap: 22px; }

.jy-main { list-style: none; margin: 0; padding: 0; }
.jy-main > li { position: relative; padding: 0 0 18px 36px; }
.jy-main > li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px; border-radius: 2px; background: #e4eaef; }
.jy-main > li.done::before { background: var(--green); }
.jy-dot { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--title); color: #5f6a80; background: #fff; box-shadow: inset 0 0 0 1.5px #cfd8e3; }
.jy-main > li.cur > .jy-dot { background: var(--action); color: #fff; box-shadow: 0 0 0 4px rgba(34, 179, 168, .18); }
.jy-main > li.done > .jy-dot { background: var(--action); color: #fff; box-shadow: none; }
.jy-lbl { display: block; width: 100%; padding: 1px 0 0; border: 0; background: none; text-align: left; font: 600 14.5px/1.35 var(--title); color: var(--navy, #0b2545); }
button.jy-lbl { cursor: pointer; }
.jy-main > li.up > .jy-lbl { font-weight: 500; color: #5d6780; }
.jy-main > li.up > .jy-lbl:hover, .jy-main > li.up.open > .jy-lbl { color: var(--navy, #0b2545); }
.jy-more { display: none; margin-top: 6px; font: 400 13px/1.5 "DM Sans", sans-serif; color: #6b7590; }
.jy-main > li.open > .jy-more { display: block; }
.jy-more a { display: inline-flex; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 12.5px var(--title); color: var(--navy, #0b2545); text-decoration: none; }
.jy-more a:hover { box-shadow: inset 0 0 0 1px var(--green); color: var(--green-d); }

.jy-sub { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.jy-sub li { display: flex; align-items: center; gap: 10px; font: 500 13.5px var(--title); color: #5f6a80; }
.jy-sub li i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #cfd8e3; }
.jy-sub li.on { font-weight: 600; color: var(--navy, #0b2545); }
.jy-sub li.on i { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 179, 168, .2); }
.jy-sub li.ok { color: #5d6780; }
.jy-sub li.ok i { background: var(--green); }

.jy-sum { padding: 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.jy-sum small { display: block; margin-bottom: 10px; font: 600 11.5px var(--title); letter-spacing: .14em; text-transform: uppercase; color: #5f6a80; }
.jy-sum dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font: 13px/1.4 "DM Sans", sans-serif; }
.jy-sum dt { color: #5f6a80; }
.jy-sum dd { margin: 0; text-align: right; font-weight: 600; color: var(--navy, #0b2545); }
.jy-sum dd.e { font-weight: 400; color: #c2c9d6; }

/* Tablets and phones: one row at the top of the card that drops open */
@media (max-width: 900px) {
  #quote-app .qz-card.qz-split { flex-direction: column; }
  .qz-split .qz-main { padding: 22px 18px 18px; }
  .jy-side { flex: none; gap: 0; padding: 16px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .jy-top { cursor: pointer; padding-right: 28px; }
  .jy-chev { display: block; position: absolute; right: 4px; top: 22px; width: 9px; height: 9px; border: solid #8b93a7; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
  .jy-side.open .jy-chev { transform: rotate(-135deg); top: 26px; }
  .jy-body { display: none; margin-top: 18px; }
  .jy-side.open .jy-body { display: flex; }
}
