.home-fee-summary{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:22px;padding:25px 28px;border:1px solid #d6e2f1;background:linear-gradient(110deg,#f3f7fd,#fff);border-radius:20px;margin-top:24px}.home-fee-summary small{display:block;color:#6884a7;font-size:10px;letter-spacing:1.5px}.home-fee-summary h3{font-size:16px;color:#234b7e;margin:9px 0}.home-fee-summary strong{font-size:25px;color:#244c83;letter-spacing:-.5px}.home-fee-summary p{font-size:11px;color:#758ba7;line-height:1.8;margin:7px 0 0}.home-fee-summary .home-fee-grades{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.home-fee-grades span{background:#edf3fb;padding:6px 9px;border-radius:8px;font-size:10px;color:#45658d}.home-fee-summary>a{white-space:nowrap;display:inline-block;padding:12px 16px;background:#244c83;color:white;border-radius:11px;font-size:12px;text-decoration:none}@media(max-width:750px){.home-fee-summary{grid-template-columns:1fr;padding:21px;gap:16px}.home-fee-summary>a{text-align:center}}
/* Agency fees sit next to the exchange cards; the rate/minimum come from settings. */
.wsl-home-quality .exchange-frame .schedule-exchange.has-agency-fee{grid-template-columns:minmax(250px,.95fr) minmax(0,1.6fr) minmax(220px,.85fr);align-items:stretch}
.has-agency-fee .home-rate-retry{grid-column:1/-1}
.home-agency-fee-card{box-sizing:border-box;position:relative;isolation:isolate;min-width:0;min-height:340px;padding:23px 24px;display:flex;flex-direction:column;gap:14px;border:1px solid #cbdcf2;border-radius:14px;background:linear-gradient(145deg,#f9fcff,#edf4ff);color:#244c83;box-shadow:0 6px 20px #193c6808;overflow:hidden}
.home-agency-fee-card:before{content:'';position:absolute;z-index:-1;width:190px;height:190px;border:1px solid #d9e6f9;border-radius:50%;right:-95px;top:56px;box-shadow:0 0 0 24px #e5eefb60,0 0 0 48px #edf4fc70;pointer-events:none}
.agency-fee-heading{display:flex;align-items:center;gap:10px}.agency-fee-heading>small{font-size:8px;letter-spacing:1.5px;font-weight:600;color:#6e8bb0}.agency-fee-icon{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfdff3;background:#fff;border-radius:10px;color:#315f98}.agency-fee-icon svg{width:20px;height:20px}
.home-agency-fee-card .agency-fee-intro h3{font-size:17px!important;line-height:1.5;margin:0;color:#244c83!important;letter-spacing:-.4px}.agency-fee-intro p{font-size:11px;line-height:1.7;margin:4px 0 0;color:#6986aa}
.agency-fee-rate{display:flex;align-items:baseline;gap:5px;line-height:1;margin:0 0 2px}.agency-fee-rate strong{font-size:70px;letter-spacing:-4px;font-weight:800;color:#244c83;font-variant-numeric:tabular-nums}.agency-fee-rate>span{font-size:28px;font-weight:600;color:#678cbf}
.agency-fee-minimum{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;border:1px solid #d9e5f5;border-radius:10px;background:#ffffffc9}.agency-fee-minimum>span{font-size:11px;color:#6683a8}.agency-fee-minimum>strong{font-size:19px;color:#244c83;white-space:nowrap;font-variant-numeric:tabular-nums}.agency-fee-minimum small{font-size:9px;font-weight:500;color:#7892b2}
.home-agency-fee-card .agency-fee-note{font-size:11px;color:#617fa4;line-height:1.85;margin:0}
.home-agency-fee-card .agency-fee-guide{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:11px 10px;margin-top:auto;border:1px solid #244c83;border-radius:10px;background:#244c83;color:#fff;text-decoration:none;font-family:inherit;font-weight:600;font-size:11px;line-height:1.5;cursor:pointer;transition:background-color .16s,box-shadow .16s}
.home-agency-fee-card .agency-fee-guide:hover{background:#193c68;box-shadow:0 4px 12px #193c6820}.home-agency-fee-card .agency-fee-guide:focus-visible{outline:3px solid #638fc9;outline-offset:3px}
@media(max-width:1150px){.wsl-home-quality .exchange-frame .schedule-exchange.has-agency-fee{grid-template-columns:minmax(240px,1fr) minmax(0,1.8fr)}.home-agency-fee-card{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px 25px;min-height:0}.agency-fee-heading{grid-column:1/-1}.agency-fee-intro{grid-column:1}.agency-fee-rate{grid-column:1;grid-row:3/5}.agency-fee-minimum{grid-column:2;grid-row:2}.agency-fee-note{grid-column:2;grid-row:3}.home-agency-fee-card .agency-fee-guide{grid-column:2;grid-row:4}}
@media(max-width:750px){.wsl-home-quality .exchange-frame .schedule-exchange.has-agency-fee{grid-template-columns:minmax(0,1fr)}.home-agency-fee-card{grid-column:auto;padding:22px;gap:12px 18px}.agency-fee-heading>small{font-size:8px}.agency-fee-rate strong{font-size:64px}.home-agency-fee-card .agency-fee-intro h3{font-size:16px!important}.agency-fee-minimum{display:block;padding:10px}.agency-fee-minimum>span{display:block;margin-bottom:5px}.agency-fee-minimum>strong{font-size:18px}.home-agency-fee-card .agency-fee-guide{grid-column:1/-1;grid-row:5;min-height:44px}}
