:root {
  --blue: #07558d;
  --blue-strong: #064776;
  --blue-action: #1673b8;
  --pale: #f1f7fb;
  --line: #c5ddea;
  --ink: #18354c;
  --muted: #60788a;
  --white: #fff;
  --shadow: 0 24px 70px rgba(7, 85, 141, .12);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--white); }
button, input, select { font: inherit; }

.topbar {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 22px;
  border-bottom: 1px solid #e7eff4;
  box-shadow: 0 4px 20px rgba(7, 85, 141, .04);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); text-decoration: none; }
.brand img { width: 78px; height: auto; display: block; }
.brand span { font-size: 1.7rem; font-weight: 850; letter-spacing: .015em; }
.topbar h1 { margin: 0; color: var(--blue); font-size: 1.45rem; line-height: 1.2; text-align: center; }

.journey-progress { width: min(1180px, calc(100% - 40px)); margin: 18px auto 0; }
.journey-progress strong { display: block; margin-bottom: 7px; color: var(--blue); font-size: .82rem; }
.progress-track { height: 5px; overflow: hidden; border-radius: 99px; background: #e4eef5; }
.progress-track span { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--blue-action); }

.journey-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 590px;
  margin: 24px auto 36px;
  display: grid;
  grid-template-columns: minmax(300px, 36%) minmax(0, 64%);
  overflow: hidden;
  border: 1px solid #e0ebf2;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.alice-panel {
  min-height: 590px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--pale);
  border-right: 1px solid #dceaf3;
}
.alice-photo { width: 170px; height: 170px; border: 7px solid var(--white); border-radius: 50%; box-shadow: 0 16px 38px rgba(7, 85, 141, .16); }
.alice-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 42%; border-radius: 50%; }
.alice-caption { margin: 10px 0 0; color: var(--muted); font-size: .78rem; font-weight: 700; }
.alice-advice { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .72); color: var(--blue-strong); }
.alice-advice strong { display: block; margin-bottom: 5px; color: var(--blue); font-size: .88rem; }
.alice-advice p { margin: 0; font-size: .78rem; line-height: 1.5; }
.alice-advice > span { display: block; font-size: .78rem; font-weight: 400; line-height: 1.5; }
.alice-panel .alice-advice { width: 100%; margin-top: 38px; }

.form-panel { min-width: 0; padding: 18px 42px 24px; display: flex; flex-direction: column; }
.form-panel h2 { margin: 0 0 14px; color: var(--blue); font-size: 1.45rem; line-height: 1.25; text-align: center; }
.loan-card { position: relative; margin: 0; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; border: 1px solid rgba(22,115,184,.22); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(15,61,91,.07); }
.loan-card + .loan-card { margin-top: 24px; }
.loan-card legend { width: 100%; margin: 0 0 2px; padding: 0; grid-column: 1 / -1; color: var(--blue); font-size: 1rem; font-weight: 800; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; color: var(--blue-strong); font-size: .82rem; font-weight: 750; }
.field-wide { grid-column: 1 / -1; }
input, select { width: 100%; min-height: 48px; padding: 0 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #f9fcfe; color: var(--ink); outline: 0; transition: border-color .16s ease, box-shadow .16s ease; }
select[data-field="type_pret"] { border-color: rgba(22, 115, 184, .55); }
input:focus, select:focus { border-color: var(--blue-action); box-shadow: 0 0 0 4px rgba(22, 115, 184, .12); }
input:user-invalid, select:user-invalid { border-color: #a63232; }
.input-suffix { position: relative; display: block; }
.input-suffix input { padding-right: 55px; }
.input-suffix b { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 650; pointer-events: none; }
.duration-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.duration-step { display: none; }
.rate-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rate-toggle label { position: relative; }
.rate-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.rate-toggle span { min-height: 46px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #f9fcfe; color: var(--blue); cursor: pointer; }
.rate-toggle input:checked + span { position: relative; border-color: var(--blue-action); background: var(--pale); box-shadow: inset 0 0 0 1px var(--blue-action); font-weight: 800; }
.rate-toggle input:focus-visible + span { outline: 3px solid rgba(22, 115, 184, .18); outline-offset: 2px; }
.deferred-details { width: 100%; max-width: 520px; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 9px; }
.remove-loan { position: absolute; top: -12px; right: 16px; padding: 4px 7px; border: 0; background: #fff; color: var(--muted); font-size: .76rem; text-decoration: underline; cursor: pointer; }
[hidden] { display: none !important; }
.deferred-advice { grid-column: 1 / -1; }
.other-loan-details, .palier-details { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #f9fcfe; }
.other-loan-details .contextual-advice, .palier-details .contextual-advice { margin: 0; }
.advisor-button { min-height: 46px; display: grid; place-items: center; border: 1.5px solid var(--blue-action); border-radius: 12px; color: var(--blue); font-weight: 800; text-decoration: none; }
.palier-details h3 { margin: 0; color: var(--blue); font-size: 1rem; }
.palier-list { display: grid; gap: 12px; }
.palier-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-right: 76px; }
.remove-palier { position: absolute; right: 0; bottom: 14px; border: 0; background: transparent; color: var(--muted); font-size: .72rem; text-decoration: underline; cursor: pointer; }
.add-palier { min-height: 42px; border: 1.5px dashed var(--blue-action); border-radius: 11px; background: var(--white); color: var(--blue); font-weight: 800; cursor: pointer; }
.palier-error { min-height: 0; margin: 0; color: #8e2929; font-size: .76rem; }
.effect-date { margin-top: 18px; }
.effect-date-advice { margin-top: 12px; }
.field-context-advice { margin-top: 4px; font-weight: 400; }
.relay-summary { width: 100%; max-width: 520px; grid-column: 1 / -1; display: flex; flex-direction: column; gap: 3px; padding: 9px 12px; border-left: 3px solid var(--blue); background: #f5f9fc; color: var(--blue-strong); font-size: .78rem; line-height: 1.4; }
.relay-summary[hidden] { display: none; }
.deferred-note { display: block; color: var(--muted); font-size: .72rem; font-weight: 400; line-height: 1.4; }
.loan-duration-error, .deferred-duration-error { min-height: 1em; color: #8e2929; font-size: .72rem; font-weight: 600; line-height: 1.35; }
.add-loan-advice { margin-top: 10px; }
.add-loan { width: 100%; min-height: 48px; margin-top: 18px; border: 1.5px dashed var(--blue-action); border-radius: 12px; background: var(--white); color: var(--blue); font-weight: 800; cursor: pointer; }
.add-loan:hover, .add-loan:focus-visible { background: var(--pale); outline: 3px solid rgba(22, 115, 184, .12); }
.continue { width: 100%; min-height: 50px; margin-top: 14px; border: 0; border-radius: 12px; background: var(--blue); color: var(--white); font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(7, 85, 141, .16); }
.continue:hover, .continue:focus-visible { background: var(--blue-strong); outline: 3px solid rgba(22, 115, 184, .18); }
.form-error { min-height: 20px; margin: 8px 0 -4px; color: #8e2929; font-size: .78rem; }
.panel-footer { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.back-link { min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue); font-size: .82rem; font-weight: 700; text-decoration: none; box-shadow: 0 3px 10px rgba(15,61,91,.07); }
.back-link:hover, .back-link:focus-visible { background: var(--pale); color: var(--blue); text-decoration: none; }
.panel-footer p { margin: 0; color: var(--muted); font-size: .75rem; text-align: right; }

@media (min-width: 821px) {
  .journey-shell.multiple-loans .alice-panel { justify-content: center; }
  .loan-card .alice-advice, .add-loan-advice, .effect-date-advice { display: none; }
}

.loan-card.other-loan-selected > :not(legend):not(.remove-loan):not(.loan-type-selector):not(.other-loan-details) { display: none; }

.has-other-loan > #addLoan,
.has-other-loan > .add-loan-advice,
.has-other-loan > .effect-date,
.has-other-loan > .effect-date-advice,
.has-other-loan > .continue { display: none; }

@media (max-width: 820px) {
  .topbar { min-height: 88px; gap: 2px; padding: 6px 15px; }
  .brand { gap: 7px; }
  .brand img { width: 50px; }
  .brand span { font-size: 1.08rem; }
  .topbar h1 { max-width: 430px; font-size: 1rem; }
  .journey-progress { width: calc(100% - 30px); margin-top: 8px; }
  .journey-shell { width: 100%; min-height: auto; margin: 0; display: block; border: 0; border-radius: 0; box-shadow: none; }
  .alice-panel { display: none; }
  .form-panel { padding: 17px 17px 24px; }
  .form-panel h2 { margin-bottom: 13px; font-size: 1.08rem; text-align: left; }
  .loan-card { gap: 11px 12px; }
  .loan-card .alice-advice, .duration-section, .deferred-section { grid-column: 1 / -1; }
  .field { font-size: .8rem; }
  input, select { min-height: 46px; }
  .duration-grid { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; }
  .duration-step { min-height: 46px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--blue); font-size: 1.35rem; font-weight: 800; cursor: pointer; }
  .deferred-details { max-width: none; }
  .deferred-advice { display: block; }
  .palier-row { padding-right: 0; }
  .remove-palier { position: static; grid-column: 1 / -1; justify-self: end; }
  .panel-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .panel-footer p { text-align: left; }
}

@media (max-width: 430px) {
  .topbar h1 { max-width: 330px; }
  .form-panel h2 { font-size: 1.08rem; }
  .loan-card { grid-template-columns: 1fr 1fr; }
  .field:not(.field-wide) { grid-column: span 1; }
  .loan-card .duration-section, .loan-card .deferred-section, .loan-card .alice-advice { grid-column: 1 / -1; }
  .duration-grid { gap: 10px; }
  .deferred-details { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  input, select { transition: none; }
}
.bank-panel{min-height:590px;padding:28px 24px;background:var(--pale);border-right:1px solid #dceaf3}.bank-panel h2{margin:0;color:var(--blue);font-size:1.25rem;line-height:1.25}.bank-panel>p{margin:8px 0 20px;color:var(--muted);font-size:.8rem;line-height:1.45}.bank-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bank-grid label,.bank-other{cursor:pointer}.bank-grid input,.bank-other input{position:absolute;opacity:0;pointer-events:none}.bank-grid span{height:74px;padding:10px;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--line);border-radius:13px;background:#fff}.bank-grid img{width:100%;height:48px;display:block;object-fit:contain}.bank-grid input:checked+span,.bank-other input:checked+span{border-color:var(--blue-action);background:#fff;box-shadow:inset 0 0 0 1px var(--blue-action),0 5px 14px rgba(7,85,141,.1)}.bank-grid input:focus-visible+span,.bank-other input:focus-visible+span{outline:3px solid rgba(22,115,184,.2);outline-offset:2px}.bank-other{display:block;margin-top:10px}.bank-other span{min-height:42px;padding:0 12px;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--line);border-radius:11px;background:#fff;color:var(--blue);font-size:.78rem;font-weight:750}@media(max-width:820px){.bank-panel{min-height:auto;padding:18px 17px;border-right:0;border-bottom:1px solid #dceaf3}.bank-panel>p{margin-bottom:14px}.bank-grid{grid-template-columns:repeat(4,1fr);gap:8px}.bank-grid span{height:58px;padding:7px}.bank-grid img{height:38px}}@media(max-width:520px){.bank-grid{grid-template-columns:1fr 1fr}.bank-grid span{height:62px}}
.topbar{background:#1d509f;border-bottom-color:var(--blue-strong);box-shadow:0 6px 22px rgba(7,85,141,.18)}.brand{color:#fff}.topbar h1{color:#fff}
.journey-shell.bank-selected{grid-template-columns:minmax(280px,28%) minmax(0,72%)}.bank-panel.is-selected .bank-grid{grid-template-columns:1fr}.change-bank{width:100%;min-height:40px;margin-top:12px;border:1px solid var(--blue-action);border-radius:11px;background:#fff;color:var(--blue);font-weight:750;cursor:pointer}.change-bank[hidden]{display:none}@media(max-width:820px){.journey-shell.bank-selected{display:block}.bank-panel.is-selected{padding-bottom:14px}.bank-panel.is-selected .bank-grid{grid-template-columns:1fr}}
:root{--blue:#1d509f;--blue-strong:#1d509f;--blue-action:#1d509f;--line:#1d509f}.loan-card,input,select,.rate-toggle span,.bank-grid span,.bank-other span,.add-loan,.change-bank{border-color:#1d509f}.alice-compact{width:100%;margin-top:22px;padding:12px;display:flex;align-items:flex-start;gap:11px;border:1px solid #1d509f;border-radius:14px;background:#fff;color:var(--blue)}.alice-compact[hidden]{display:none}.alice-compact img{width:58px;height:58px;flex:0 0 58px;object-fit:cover;object-position:50% 42%;border:3px solid #fff;border-radius:50%;box-shadow:0 4px 12px rgba(29,80,159,.18)}.alice-compact strong{display:block;margin-bottom:4px;font-size:.82rem}.alice-compact p{margin:0;color:var(--ink);font-size:.74rem;line-height:1.4}
.topbar{min-height:0;padding:0;gap:0;background:#fff;border-bottom:0}.brand{min-height:82px;padding:8px 22px;color:#1d509f}.topbar h1{width:100%;padding:14px 22px;background:#1d509f;color:#fff}.bank-panel{background:#fff}
input,select,.rate-toggle span,.bank-grid span,.bank-other span,.loan-card,.add-loan,.change-bank,.alice-advice,.relay-summary,.duration-step{background:#fff;color:#1d509f}.input-suffix b,select option{color:#1d509f}.financing-status{margin-top:14px;padding:12px;border:1px solid #1d509f;border-radius:13px;background:#fff}.financing-status[hidden]{display:none}.financing-status label{display:block;margin-bottom:8px;color:#1d509f;font-size:.8rem;font-weight:800;line-height:1.35}.financing-status select{width:100%;min-height:44px}.financing-status small{display:block;margin-top:7px;color:#1d509f;font-size:.7rem;line-height:1.35}
.journey-shell{border-color:#1d509f}.bank-panel{border-right-color:#1d509f}.loan-card{border-color:#1d509f}
.header-main{width:min(1180px,calc(100% - 40px));min-height:96px;display:grid;grid-template-columns:88px minmax(0,1fr) 88px;align-items:center}.header-main .brand{justify-self:center}.header-medal{width:82px;height:82px;display:block;object-fit:contain}.header-medal-left{justify-self:start}.header-medal-right{justify-self:end}@media(max-width:820px){.header-main{width:calc(100% - 24px);min-height:76px;grid-template-columns:52px minmax(0,1fr) 52px}.header-medal{width:48px;height:48px}.header-main .brand{padding:6px 8px}}@media(max-width:430px){.header-main{grid-template-columns:44px minmax(0,1fr) 44px}.header-medal{width:40px;height:40px}.header-main .brand{gap:5px}.header-main .brand span{font-size:.95rem}}
@media(min-width:821px){.header-main{width:min(900px,calc(100% - 40px))}.header-medal{width:86px;height:86px}}
/* Hiérarchie des contours B2C */
:root{--line-soft:#b8cbe2;--line-mid:#8eacd0}
.journey-shell{border:1.5px solid #1d509f}
.bank-panel{border-right:1px solid var(--line-mid)}
.loan-card{border:1px solid var(--line-mid)}
.loan-card legend{width:auto;padding-right:10px}
.loan-card input,.loan-card select,.rate-toggle span,.bank-grid span,.bank-other span,.change-bank,.financing-status,.alice-compact{border-color:var(--line-soft)}
.loan-card input:focus,.loan-card select:focus,.rate-toggle input:focus-visible+span,.bank-grid input:focus-visible+span,.bank-other input:focus-visible+span{border-color:#1d509f}
.rate-toggle input:checked+span,.bank-grid input:checked+span,.bank-other input:checked+span{border-color:#1d509f}
/* Progression en 4 étapes et séparation centrale */
.progress-track{height:7px;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;overflow:visible;background:transparent}
.progress-track span{width:100%;height:7px;border-radius:99px;background:#dbe6f2}
.progress-track span.is-complete{background:#1d509f}
.bank-panel{border-right:2px solid var(--line-mid)}
@media(max-width:820px){.progress-track{gap:4px}.bank-panel{border-right:0;border-bottom:1px solid var(--line-mid)}}
/* Deux cartes indépendantes */
.journey-shell,.journey-shell.bank-selected{gap:18px;overflow:visible;border:0;background:transparent;box-shadow:none;align-items:start}
.bank-panel{border:1px solid var(--line-mid);border-radius:24px;background:#fff;box-shadow:0 10px 28px rgba(29,80,159,.07)}
.form-panel{min-height:590px;border:1px solid var(--line-mid);border-radius:24px;background:#fff;box-shadow:0 10px 28px rgba(29,80,159,.07)}
.loan-card:first-child .remove-loan{display:none}
@media(max-width:820px){.journey-shell,.journey-shell.bank-selected{padding:0 12px}.bank-panel,.form-panel{border:1px solid var(--line-mid);border-radius:18px}.bank-panel{margin-bottom:14px}.form-panel{min-height:auto}}
.site-footer{width:100%;min-height:60px;margin-top:0;background:#1d509f}
@media(max-width:820px){.site-footer{min-height:44px}}

/* Objet du prêt — cartes UX V1 */
.loan-purpose {
  margin:0 0 18px;
  padding:0;
  border:0;
}

.loan-purpose legend {
  margin-bottom:12px;
  color:var(--blue);
  font-size:1rem;
  font-weight:800;
}

.loan-purpose label {
  position:relative;
  display:block;
  margin-bottom:10px;
  cursor:pointer;
}

.loan-purpose input {
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.loan-purpose label span {
  min-height:56px;
  padding:14px 48px 14px 16px;
  display:flex;
  align-items:center;
  border:1.5px solid var(--line);
  border-radius:16px;
  background:#fbfdff;
  color:var(--blue);
  font-weight:750;
}

.loan-purpose input:checked + span {
  border-color:var(--blue-action);
  background:#eef7fc;
  color:var(--blue-strong);
  box-shadow:0 0 0 2px rgba(22,115,184,.08);
}

.loan-purpose input:checked + span::after {
  content:"✓";
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  font-size:1rem;
  font-weight:900;
  color:var(--blue);
}

/* Type de prêt — UX V1 */
.loan-type-selector select {
  min-height:56px;
  padding:0 16px;
  border-radius:16px;
  background:#fbfdff;
  color:var(--blue);
  font-weight:750;
}

.loan-type-selector select:focus {
  border-color:var(--blue-action);
  box-shadow:0 0 0 2px rgba(22,115,184,.08);
}

/* Montant + taux — UX V1 */
.loan-card .field > span:first-child {
  color:var(--blue);
  font-weight:800;
}

.loan-card .input-suffix input,
.loan-rate-section input {
  min-height:56px;
  border-radius:16px;
  background:#fbfdff;
}

.loan-card .input-suffix input:focus,
.loan-rate-section input:focus {
  border-color:var(--blue-action);
  box-shadow:0 0 0 2px rgba(22,115,184,.08);
}

/* Type de taux — UX V1 */
.loan-rate-type-section .rate-toggle {
  gap:10px;
}

.loan-rate-type-section .rate-toggle span {
  min-height:56px;
  border-radius:16px;
  background:#fbfdff;
  font-weight:750;
}

.loan-rate-type-section .rate-toggle input:checked + span {
  background:#eef7fc;
  border-color:var(--blue-action);
  box-shadow:0 0 0 2px rgba(22,115,184,.08);
}

/* Durée — UX V1 */
.duration-grid {
  grid-template-columns:52px minmax(0,1fr) 52px;
  gap:10px;
}

.duration-step,
.duration-grid .input-suffix input {
  min-height:56px;
  border-radius:16px;
}

.duration-grid .input-suffix input {
  background:#fbfdff;
}

.duration-step:focus,
.duration-grid .input-suffix input:focus {
  border-color:var(--blue-action);
  box-shadow:0 0 0 2px rgba(22,115,184,.08);
}

/* Différé — UX V1 */
.deferred-toggle {
  gap:10px;
}

.deferred-toggle span {
  min-height:56px;
  border-radius:16px;
  background:#fbfdff;
  font-weight:750;
}

.deferred-toggle input:checked + span {
  background:#eef7fc;
  border-color:var(--blue-action);
  box-shadow:0 0 0 2px rgba(22,115,184,.08);
}

/* Détails différé — UX V1 */
.deferred-details select,
.deferred-details input {
  min-height:56px;
  border-radius:16px;
  background:#fbfdff;
}

.deferred-details select:focus,
.deferred-details input:focus {
  border-color:var(--blue-action);
  box-shadow:0 0 0 2px rgba(22,115,184,.08);
}

/* Ajouter un prêt + date d’effet — UX V1 */
.add-loan {
  min-height:56px;
  border-radius:16px;
  font-weight:800;
}

.effect-date input {
  min-height:56px;
  border-radius:16px;
  background:#fbfdff;
}

.effect-date input:focus {
  border-color:var(--blue-action);
  box-shadow:0 0 0 2px rgba(22,115,184,.08);
}

@media (max-width: 820px) {
  .topbar h1 {
    width:100%;
    max-width:none;
    margin:0;
    box-sizing:border-box;
  }
}

/* Stabilité saisie mobile — anti-zoom */
@media (max-width: 820px) {
  input,
  select,
  textarea {
    font-size:16px;
  }
}

/* Date d’effet mobile — harmonisation */
@media (max-width: 820px) {
  .effect-date input[type="date"] {
    min-height:56px;
    -webkit-appearance:none;
    appearance:none;
    width:100%;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
    padding:0 14px;
    border-radius:16px;
    background:#fbfdff;
    color:var(--blue);
    font-size:16px;
  }
}

/* Alignement date / conseil Alice mobile */
@media (max-width: 820px) {
  .effect-date,
  .effect-date-advice { width: 100%; }
}

@media (min-width: 821px) {
  .duration-grid {
    grid-template-columns: 52px minmax(180px, 1fr) 52px;
  }

  .duration-grid .input-suffix input {
    padding-right: 72px;
  }

  .duration-grid .input-suffix b {
    right: 20px;
  }
}

@media (min-width: 821px) {
  .duration-step {
    min-height:56px;
    display:grid;
    place-items:center;
    border:1.5px solid var(--line);
    border-radius:16px;
    background:#fff;
    color:var(--blue);
    font-size:1.35rem;
    font-weight:800;
    cursor:pointer;
  }
}

@media (min-width: 821px) {
  .duration-step {
    display: grid;
    place-items: center;
    min-height: 56px;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    cursor: pointer;
    font-size: 1.35rem;
    font-weight: 800;
  }
}

@media (min-width: 821px) {
  .loan-card .duration-section {
    grid-column: 1 / -1;
  }
}
