/* Cash For Junk Cars Plano: quote banner, questionnaire and offer page */
:root {
  --yd-blue: #155eef;
  --yd-blue-deep: #0f47bd;
  --yd-blue-wash: #eaf1ff;
  --yd-ink: #111322;
  --yd-slate: #475467;
  --yd-muted: #667085;
  --yd-line: #d0d5dd;
  --yd-soft: #f5f7fb;
  --yd-green: #067647;
  --yd-green-wash: #ecfdf3;
  --yd-red: #b42318;
  --yd-red-wash: #fef3f2;
  --yd-amber-wash: #fffaeb;
  --yd-radius: 14px;
  --yd-shadow: 0 18px 40px -18px rgba(17, 19, 34, .35);
}

.yd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ homepage banner */
header.yd-hero {
  background: radial-gradient(1200px 500px at 85% -10%, #1d2a5c 0%, transparent 60%), var(--yd-ink);
  height: auto;
  padding-bottom: 64px;
}
.yd-hero #desktopnav .getquote {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, .7) !important;
  color: #fff !important;
}
.yd-hero .plano-paperbirchhome-mobile a { text-decoration: none; }
.yd-hero .plano-paperbirchhome-mobile .btn-info {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .7);
  min-height: 44px;
}
.yd-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; padding-top: 40px; }
.yd-hero-copy .plano-paperbirchhome-text { padding-top: 24px; }
.yd-hero-copy .plano-paperbirchhome-text h1 { padding-right: 0; font-size: 54px; line-height: 1.12; }
.yd-hero-copy .plano-paperbirchhome-text p { padding-right: 40px; color: #d6dbea; }
.yd-hero-photo {
  margin-top: 8px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 7;
  background: url(../images/plano-paperbirchhome-topbg.jpg) center 58% / cover no-repeat;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .7);
}
.yd-card {
  background: #fff; border-radius: 18px; box-shadow: var(--yd-shadow);
  padding: 0 0 26px; overflow: visible; margin-top: 24px;
}
.yd-card > h2 {
  font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 700; color: var(--yd-ink);
  margin: 0; padding: 26px 28px 4px; background: none; text-align: left;
}
.yd-card-lede { margin: 0; padding: 0 28px 18px; color: var(--yd-slate); font-size: 15px; }
.yd-card form { padding: 0 28px; }
.yd-card .yd-cta { width: 100%; margin-top: 8px; }
.yd-vinswitch { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--yd-blue); font-size: 15px; }
.yd-trust { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #eaecf0; display: flex; gap: 18px; flex-wrap: wrap; }
.yd-trust li { font-size: 14px; color: var(--yd-slate); display: flex; align-items: center; gap: 8px; }
.yd-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--yd-green-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23067647' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

@media (max-width: 991px) {
  .yd-hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 8px; }
  .yd-hero-copy .plano-paperbirchhome-text { padding-top: 12px; }
  .yd-hero-copy .plano-paperbirchhome-text h1 { font-size: 32px; margin-bottom: 10px; }
  .yd-hero-copy .plano-paperbirchhome-text p { font-size: 16px; line-height: 25px; padding-right: 0; margin-bottom: 0; }
  .yd-hero-photo { display: none; }
  .yd-hero-photo-m { display: block; margin: 20px 0 0; aspect-ratio: 16 / 9; }
  .yd-card { margin-top: 18px; }
  .yd-card > h2 { font-size: 22px; padding: 20px 18px 2px; }
  .yd-card-lede { padding: 0 18px 12px; }
  .yd-card form { padding: 0 18px; }
  header.yd-hero { padding-bottom: 36px; }
}
@media (min-width: 992px) { .yd-hero-photo-m { display: none; } }

/* ------------------------------------------------------------------ fields */
.yd-field { margin-bottom: 16px; position: relative; }
.yd-field > label, .yd-label {
  display: block; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #344054; margin-bottom: 6px;
}
.yd-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.yd-input {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--yd-line); border-radius: 12px;
  font: 400 16px/1.3 'Inter', sans-serif; color: var(--yd-ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.yd-input::placeholder { color: #98a2b3; }
.yd-input:focus { outline: none; border-color: var(--yd-blue); box-shadow: 0 0 0 4px rgba(21, 94, 239, .16); }
.yd-input:disabled { background: #f2f4f7; color: #98a2b3; cursor: not-allowed; }
.yd-input[aria-invalid="true"] { border-color: var(--yd-red); box-shadow: 0 0 0 3px rgba(180, 35, 24, .1); }
.yd-input.yd-ok { border-color: #75e0a7; }
.yd-err { display: none; margin-top: 6px; font-size: 14px; color: var(--yd-red); font-weight: 500; }
.yd-err.yd-on { display: block; }
.yd-hint { margin-top: 6px; font-size: 13px; color: var(--yd-muted); }
.yd-linkbtn { background: none; border: 0; padding: 0; color: var(--yd-blue); font: 600 14px 'Inter', sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.yd-linkbtn:hover { color: var(--yd-blue-deep); }
.yd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 575px) { .yd-grid2 { grid-template-columns: 1fr; } }

/* searchable picker */
.yd-pick { position: relative; }
.yd-pick .yd-input { padding-right: 42px; }
.yd-pick::after {
  content: ""; position: absolute; right: 16px; top: 22px; width: 10px; height: 10px; pointer-events: none;
  border-right: 2px solid #344054; border-bottom: 2px solid #344054; transform: rotate(45deg); transform-origin: center;
}
.yd-pick.yd-has::after { border-color: var(--yd-green); transform: rotate(45deg) scale(.9); }
.yd-list {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); max-height: 264px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--yd-line); border-radius: 12px;
  box-shadow: 0 16px 32px -12px rgba(17, 19, 34, .28);
}
.yd-list li { padding: 11px 12px; border-radius: 8px; font-size: 16px; color: var(--yd-ink); cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; }
.yd-list li[aria-selected="true"], .yd-list li:hover { background: var(--yd-blue-wash); }
.yd-list li.yd-none { color: var(--yd-muted); cursor: default; background: none; }
.yd-list li small { color: var(--yd-muted); font-size: 13px; }

/* ------------------------------------------------------------------ buttons */
.yd-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 26px;
  border: 0; border-radius: 12px; background: var(--yd-blue); color: #fff; font: 700 17px 'Inter', sans-serif; cursor: pointer;
  transition: background .15s, transform .05s; text-decoration: none;
}
.yd-cta:hover { background: var(--yd-blue-deep); color: #fff; }
.yd-cta:active { transform: translateY(1px); }
.yd-cta:focus-visible, .yd-ghost:focus-visible, .yd-opt:focus-visible, .yd-linkbtn:focus-visible, .yd-back:focus-visible { outline: 3px solid #84adff; outline-offset: 2px; }
.yd-cta[aria-busy="true"] { opacity: .85; cursor: progress; }
.yd-cta[aria-busy="true"]::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: yd-spin .8s linear infinite; }
.yd-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border-radius: 12px;
  border: 2px solid var(--yd-blue); background: #fff; color: var(--yd-blue); font: 700 16px 'Inter', sans-serif; cursor: pointer;
}
.yd-ghost:hover { background: var(--yd-blue-wash); }
.yd-wide { width: 100%; }
@keyframes yd-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ questionnaire frame */
body.yd-flowing #desktopnav .navbar-collapse,
body.yd-flowing #desktopnav .navbar-toggler,
body.yd-flowing .plano-paperbirchhome-mobile,
body.yd-flowing .plano-paperbirchhome-rightmobile { display: none !important; }
.yd-stage { background: var(--yd-soft); min-height: 70vh; padding: 36px 0 72px; }
.yd-frame { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.yd-frame-wide { max-width: 1080px; }
.yd-panel { background: #fff; border-radius: 18px; padding: 30px 32px 32px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 30px -18px rgba(16, 24, 40, .25); }
.yd-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; min-height: 32px; }
.yd-back { background: none; border: 0; padding: 6px 0; color: var(--yd-slate); font: 600 15px 'Inter', sans-serif; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.yd-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.yd-back:hover { color: var(--yd-ink); }
.yd-ride { font-size: 14px; font-weight: 600; color: var(--yd-blue); background: var(--yd-blue-wash); border-radius: 999px; padding: 5px 12px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yd-meter { height: 5px; background: #e4e7ec; border-radius: 99px; overflow: hidden; margin: -4px 0 22px; }
.yd-meter > span { display: block; height: 100%; background: var(--yd-blue); border-radius: 99px; transition: width .3s ease; }
.yd-q { font: 700 26px/1.25 'Inter', sans-serif; color: var(--yd-ink); margin: 0 0 8px; }
.yd-q:focus { outline: none; }
.yd-sub { color: var(--yd-slate); font-size: 16px; margin: 0 0 22px; }
.yd-opts { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.yd-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 15px 18px;
  background: #fff; border: 1.5px solid var(--yd-line); border-radius: 12px; text-align: left; cursor: pointer;
  font: 600 16px/1.35 'Inter', sans-serif; color: var(--yd-ink); transition: border-color .12s, background .12s;
}
.yd-opt::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d0d5dd; background: #fff; }
.yd-opt:hover:not([aria-disabled="true"]) { border-color: var(--yd-blue); background: #f8faff; }
.yd-opt[aria-checked="true"] { border-color: var(--yd-blue); background: var(--yd-blue-wash); }
.yd-opt[aria-checked="true"]::after { border-color: var(--yd-blue); background: var(--yd-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.yd-opt[aria-disabled="true"] { border-style: dashed; color: #98a2b3; cursor: not-allowed; background: #fafafa; }
.yd-opt[aria-disabled="true"]::after { content: "unavailable"; width: auto; height: auto; border: 0; font-size: 12px; font-weight: 500; color: #98a2b3; background: none; }
.yd-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }
.yd-actions .yd-cta, .yd-actions .yd-ghost { min-width: 160px; }
.yd-note { display: flex; gap: 10px; align-items: flex-start; background: var(--yd-blue-wash); color: #1d2939; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-top: 16px; }
.yd-note::before { content: "i"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--yd-blue); color: #fff; font: 700 12px/20px 'Inter', sans-serif; text-align: center; font-style: italic; }
.yd-alert { background: var(--yd-red-wash); color: var(--yd-red); border: 1px solid #fecdca; border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 500; margin-top: 16px; }
.yd-seg { display: grid; grid-template-columns: 1fr 1fr; background: #f2f4f7; padding: 4px; border-radius: 12px; margin-bottom: 20px; }
.yd-seg button { min-height: 44px; border: 0; border-radius: 9px; background: none; font: 600 15px 'Inter', sans-serif; color: var(--yd-slate); cursor: pointer; }
.yd-seg button[aria-pressed="true"] { background: #fff; color: var(--yd-ink); box-shadow: 0 1px 3px rgba(16, 24, 40, .15); }
.yd-found { margin-top: 12px; background: var(--yd-green-wash); color: var(--yd-green); border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.yd-check { display: flex; gap: 12px; align-items: center; margin-top: 4px; min-height: 44px; cursor: pointer; font-size: 15px; color: #344054; }
.yd-check input { width: 20px; height: 20px; accent-color: var(--yd-blue); }

/* four-corner area picker, car seen from above */
.yd-areas { margin: 18px 0 0; padding: 18px; border: 1.5px solid var(--yd-line); border-radius: 14px; background: #fcfcfd; }
.yd-areas legend { float: left; width: 100%; font: 700 16px 'Inter', sans-serif; color: var(--yd-ink); margin-bottom: 12px; }
.yd-car { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
.yd-car-end { grid-column: 1 / -1; text-align: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--yd-muted); font-weight: 600; }
.yd-tile { position: relative; }
.yd-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.yd-tile label { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 1.5px solid var(--yd-line); border-radius: 12px; background: #fff; font-weight: 600; cursor: pointer; text-align: center; padding: 8px; }
.yd-tile input:checked + label { border-color: var(--yd-blue); background: var(--yd-blue-wash); color: var(--yd-blue-deep); }
.yd-tile input:focus-visible + label { outline: 3px solid #84adff; outline-offset: 2px; }

/* screen transitions */
.yd-slide-fwd { animation: yd-in-r .22s ease both; }
.yd-slide-back { animation: yd-in-l .22s ease both; }
@keyframes yd-in-r { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes yd-in-l { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .yd-slide-fwd, .yd-slide-back { animation: yd-fade .15s ease both; }
  .yd-cta[aria-busy="true"]::before, .yd-pulse { animation: none !important; }
  .yd-meter > span { transition: none; }
}
@keyframes yd-fade { from { opacity: 0; } to { opacity: 1; } }

/* loading */
.yd-wait { text-align: center; padding: 16px 0 8px; }
.yd-pulse { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--yd-blue-wash); position: relative; animation: yd-breathe 1.4s ease-in-out infinite; }
.yd-pulse::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; border: 3px solid var(--yd-blue); border-top-color: transparent; animation: yd-spin .9s linear infinite; }
@keyframes yd-breathe { 50% { transform: scale(1.08); } }
.yd-ticks { list-style: none; padding: 0; margin: 20px auto 0; max-width: 300px; text-align: left; }
.yd-ticks li { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: #98a2b3; font-weight: 600; }
.yd-ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d0d5dd; flex: none; }
.yd-ticks li.yd-done { color: var(--yd-ink); }
.yd-ticks li.yd-done::before { border-color: var(--yd-green); background: var(--yd-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ------------------------------------------------------------------ offer page */
.yd-offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.yd-offer-head { margin-bottom: 18px; }
.yd-offer-head .yd-kicker { font-size: 15px; font-weight: 600; color: var(--yd-slate); margin: 0 0 4px; }
.yd-offer-head h1 { font: 700 30px/1.2 'Inter', sans-serif; color: var(--yd-ink); margin: 0 0 6px; }
.yd-offer-head h1 .yd-amt { color: var(--yd-blue); white-space: nowrap; }
.yd-offer-head p { color: var(--yd-slate); margin: 0; }
.yd-block { background: #fff; border-radius: 16px; padding: 24px 26px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06); border: 1px solid #eaecf0; }
.yd-block h2 { font: 700 19px 'Inter', sans-serif; color: var(--yd-ink); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.yd-block h2 .yd-opt-tag { font-size: 13px; font-weight: 500; color: var(--yd-muted); }
.yd-upcoming { border: 1.5px dashed #d0d5dd; border-radius: 14px; padding: 14px 18px; margin-bottom: 12px; color: #98a2b3; font-weight: 600; background: transparent; }
.yd-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yd-summary strong { display: block; color: var(--yd-ink); }
.yd-summary span { color: var(--yd-slate); font-size: 15px; }
.yd-summary .yd-tick { width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--yd-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.yd-summary-main { display: flex; gap: 12px; align-items: center; min-width: 0; }
.yd-disclose { font-size: 14px; line-height: 1.5; color: var(--yd-slate); margin: 6px 0 16px; }
.yd-legal { font-size: 14px; color: var(--yd-slate); margin-top: 12px; text-align: center; }
.yd-after { font-size: 14px; color: var(--yd-slate); margin-top: 10px; text-align: center; }
.yd-summary-errs { background: var(--yd-red-wash); border: 1px solid #fecdca; color: var(--yd-red); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.yd-rail { position: sticky; top: 24px; }
.yd-rail-card { background: #fff; border-radius: 16px; border: 1px solid #eaecf0; padding: 22px; margin-bottom: 14px; }
.yd-rail-card .yd-rail-lbl { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--yd-muted); font-weight: 700; margin: 0; }
.yd-rail-card .yd-rail-amt { font: 800 40px/1.1 'Inter', sans-serif; color: var(--yd-ink); margin: 6px 0 4px; }
.yd-rail-card .yd-rail-car { color: var(--yd-slate); margin: 0; }
.yd-speed { margin-top: 12px; background: var(--yd-green-wash); color: var(--yd-green); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 14px; }
.yd-steps { list-style: none; padding: 0; margin: 12px 0 0; counter-reset: yd; }
.yd-steps li { counter-increment: yd; position: relative; padding: 0 0 14px 40px; color: #344054; font-size: 15px; line-height: 1.45; }
.yd-steps li::before { content: counter(yd); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--yd-blue-wash); color: var(--yd-blue); font-weight: 700; text-align: center; line-height: 28px; font-size: 14px; }
.yd-rail h2 { font: 700 17px 'Inter', sans-serif; margin: 0; color: var(--yd-ink); }

/* pickup */
.yd-earliest { display: flex; width: 100%; align-items: center; gap: 12px; text-align: left; min-height: 56px; padding: 14px 16px; border: 1.5px solid var(--yd-line); border-radius: 12px; background: #fff; cursor: pointer; font: 600 16px 'Inter', sans-serif; color: var(--yd-ink); }
.yd-earliest::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #d0d5dd; }
.yd-earliest[aria-pressed="true"] { border-color: var(--yd-blue); background: var(--yd-blue-wash); }
.yd-earliest[aria-pressed="true"]::before { border: 6px solid var(--yd-blue); }
.yd-earliest small { display: block; font-weight: 500; color: var(--yd-slate); font-size: 14px; }
.yd-days-bar { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 8px; gap: 10px; }
.yd-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: 0; list-style: none; }
.yd-days button { scroll-snap-align: start; flex: none; width: 68px; min-height: 64px; border: 1.5px solid var(--yd-line); border-radius: 12px; background: #fff; cursor: pointer; font: 600 13px/1.3 'Inter', sans-serif; color: #344054; }
.yd-days button b { display: block; font-size: 16px; color: var(--yd-ink); }
.yd-days button.yd-wkend { background: #f9fafb; }
.yd-days button[aria-pressed="true"] { border-color: var(--yd-blue); background: var(--yd-blue-wash); }
.yd-pager { display: none; gap: 6px; }
.yd-pager button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--yd-line); background: #fff; cursor: pointer; font-size: 18px; }
.yd-pager button:disabled { opacity: .4; cursor: default; }
.yd-wins { display: grid; gap: 8px; margin-top: 8px; }
.yd-wins button { min-height: 48px; border: 1.5px solid var(--yd-line); border-radius: 10px; background: #fff; text-align: left; padding: 10px 14px; font: 600 15px 'Inter', sans-serif; cursor: pointer; }
.yd-wins button[aria-pressed="true"] { border-color: var(--yd-blue); background: var(--yd-blue-wash); }
.yd-picked { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--yd-green-wash); color: var(--yd-green); border-radius: 10px; padding: 10px 14px; font-weight: 600; }
@media (min-width: 768px) {
  .yd-days { overflow: visible; display: grid; grid-template-columns: repeat(7, 1fr); }
  .yd-days li { display: flex; }
  .yd-days button { width: 100%; }
  .yd-pager { display: flex; }
}

/* dialogs: bottom sheet on phones, centered modal on larger screens */
.yd-scrim { position: fixed; inset: 0; background: rgba(17, 19, 34, .55); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.yd-dialog { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; padding: 28px; position: relative; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.yd-dialog h2 { font: 700 22px/1.3 'Inter', sans-serif; margin: 0 0 10px; color: var(--yd-ink); }
.yd-dialog p { color: var(--yd-slate); }
.yd-dialog .yd-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--yd-muted); cursor: pointer; border-radius: 10px; }
.yd-dialog-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.yd-dialog-acts .yd-linkbtn { align-self: center; }
.yd-newamt { font: 800 42px/1.1 'Inter', sans-serif; color: var(--yd-ink); margin: 8px 0 2px; }
.yd-oldamt { color: var(--yd-muted); font-size: 15px; }
.yd-vinsample { font: 700 20px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; background: var(--yd-soft); border-radius: 10px; padding: 12px; text-align: center; color: var(--yd-ink); margin: 12px 0 4px; }
.yd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.yd-cols h3 { font: 700 15px 'Inter', sans-serif; margin: 12px 0 6px; color: var(--yd-ink); }
.yd-cols ul { padding-left: 18px; margin: 0; color: #344054; }
@media (max-width: 575px) {
  .yd-scrim { align-items: flex-end; padding: 0; }
  .yd-dialog { border-radius: 20px 20px 0 0; max-height: 88vh; padding: 26px 20px 24px; }
  .yd-cols { grid-template-columns: 1fr; gap: 0; }
}

/* terminal screens */
.yd-end { text-align: center; }
.yd-end-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; background: var(--yd-green-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23067647' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 34px no-repeat; }
.yd-end-icon.yd-info { background: var(--yd-blue-wash); }
.yd-end-icon.yd-info::after { content: "i"; display: block; font: italic 700 28px/64px Georgia, serif; color: var(--yd-blue); }
.yd-end h1 { font: 700 28px/1.25 'Inter', sans-serif; margin: 0 0 10px; color: var(--yd-ink); }
.yd-end .yd-sub { margin-bottom: 18px; }
.yd-end .yd-actions { justify-content: center; flex-wrap: wrap; }
.yd-facts { text-align: left; background: var(--yd-soft); border-radius: 14px; padding: 16px 18px; margin: 18px 0; }
.yd-facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--yd-muted); font-weight: 700; }
.yd-facts dd { margin: 2px 0 12px; font-weight: 600; color: var(--yd-ink); }
.yd-facts dd:last-child { margin-bottom: 0; }
.yd-end .yd-steps { text-align: left; max-width: 420px; margin: 16px auto 0; }

@media (max-width: 991px) {
  .yd-offer-layout { grid-template-columns: 1fr; }
  .yd-rail { position: static; }
}
@media (max-width: 767px) {
  .yd-stage { background: #fff; padding: 16px 0 48px; }
  .yd-panel { padding: 0; box-shadow: none; border-radius: 0; }
  .yd-q { font-size: 23px; }
  .yd-block { padding: 20px 16px; border-radius: 14px; }
  .yd-offer-head h1 { font-size: 26px; }
  .yd-actions { justify-content: stretch; }
  .yd-actions .yd-cta, .yd-actions .yd-ghost { flex: 1; min-width: 0; }
  .yd-offer-stage { background: var(--yd-soft); }
}
