.sm-top-cta,.sm-submit { display:inline-flex; align-items:center; justify-content:center; font:inherit; font-weight:650; text-decoration:none; cursor:pointer; }
.sm-top-cta { color:var(--blue); border:1px solid #a4b1dc; font-size:.85rem; padding:.58rem .9rem; border-radius:2rem; white-space:nowrap; }
.sm-top-cta:hover { border-color:var(--blue); background:#e9edff; }
.sm-interest { background:#f6f7fb; border-bottom:1px solid #cdd3e5; }
.sm-interest-layout { align-items:start; gap:clamp(2rem,7vw,7rem); }
.sm-interest-intro { padding-top:.5rem; }
.sm-interest .lead { max-width:38ch; }
.sm-totals { margin:clamp(1.8rem,3.2vw,3rem) 0 .4rem; display:flex; flex-wrap:wrap; gap:1.2rem 2rem; border-top:1px solid #c7cedf; padding-top:1.25rem; }
.sm-totals > div { display:flex; flex-direction:column-reverse; align-items:flex-start; gap:.3rem; }
.sm-totals dt { color:#4b5469; font-size:.9rem; line-height:1.4; }
.sm-totals dd { margin:0; font-variant-numeric:tabular-nums; color:var(--blue); font-size:clamp(2.5rem,4.2vw,4.6rem); line-height:.98; letter-spacing:-.075em; font-weight:630; }
.sm-caption,.sm-feedback { margin:0; color:#515a6e; font-size:.9rem; line-height:1.48; }
.sm-community { margin-top:1.6rem; }
.sm-community h3 { margin:0 0 .3rem; font-size:1rem; letter-spacing:-.015em; }
#public-names { display:flex; flex-wrap:wrap; gap:.4rem; padding:0; margin:.65rem 0 0; list-style:none; }
#public-names li { background:#e6ebfc; color:#253e88; font-size:.9rem; padding:.3rem .7rem; border-radius:1rem; overflow-wrap:anywhere; }
.sm-form-card { min-width:0; width:100%; padding:clamp(1.3rem,3.3vw,2.5rem); border:1px solid #cbd0dc; border-radius:1.15rem; background:#fff; box-shadow:0 12px 36px -28px #15224b77; }
.sm-form-card h3 { font-size:clamp(1.5rem,2.15vw,2.05rem); letter-spacing:-.05em; margin:0 0 1.25rem; line-height:1.15; }
.sm-form-card fieldset { border:0; margin:0 0 1rem; padding:0; min-width:0; }
.sm-form-card legend,.sm-field { color:var(--ink); font-size:.95rem; font-weight:600; }
.sm-form-card legend { margin:0 0 .45rem; padding:0; }
.sm-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.35rem; }
.sm-years { grid-template-columns:repeat(4,minmax(0,1fr)); }
.sm-choices label { position:relative; display:flex; min-width:0; cursor:pointer; }
.sm-choices input,.sm-sr,.sm-trap { position:absolute; height:1px; width:1px; padding:0; clip-path:inset(50%); overflow:hidden; white-space:nowrap; border:0; }
.sm-choices span { display:flex; width:100%; min-height:2.75rem; align-items:center; justify-content:center; padding:.55rem .4rem; border:1px solid #a8b0c4; border-radius:.45rem; color:#414c63; text-align:center; font-size:.91rem; line-height:1.2; }
.sm-choices label:hover span { border-color:var(--blue); }
.sm-choices input:checked + span { color:#173696; background:#edf0ff; border:2px solid var(--blue); padding:calc(.55rem - 1px) calc(.4rem - 1px); font-weight:650; }
.sm-interest :is(input,button):focus-visible,.sm-choices input:focus-visible + span { outline:3px solid #cf553b; outline-offset:3px; }
.sm-field { display:grid; gap:.45rem; margin-top:.8rem; }
.sm-field input { font:inherit; font-size:1rem; font-weight:400; color:var(--ink); width:100%; border:1px solid #9ca7bd; border-radius:.4rem; padding:.65rem .7rem; background:white; }
.sm-public-fields { margin:0 0 1rem; padding:.15rem .9rem .9rem; border-left:2px solid #9aabe5; background:#f4f6ff; }
.sm-public-fields .sm-caption { margin-top:.4rem; }
.sm-consent { display:flex; align-items:flex-start; gap:.6rem; margin-top:.7rem; font-size:.94rem; line-height:1.45; }
.sm-consent input { flex:none; width:1.05rem; height:1.05rem; accent-color:var(--blue); margin:.16rem 0 0; }
.sm-suggestions { padding:.8rem 0; margin:.3rem 0 .75rem; border-block:1px solid #dce0e9; }
.sm-form-card summary { cursor:pointer; font-size:.93rem; line-height:1.4; font-weight:600; color:#35476c; }
.sm-form-card summary small { font-size:.88rem; font-weight:400; }
.sm-form-card details[open] > summary { margin-bottom:.6rem; }
.sm-submit { border:1px solid transparent; background:var(--blue); color:white; padding:.8rem 1.2rem; border-radius:.45rem; font-size:.94rem; width:100%; margin-top:.8rem; }
.sm-submit:hover { background:#16369b; }
.sm-submit:disabled,.sm-text-btn:disabled { opacity:.66; cursor:progress; }
.sm-text-btn { cursor:pointer; font:inherit; font-size:.94rem; font-weight:600; color:var(--blue); background:none; padding:.45rem 0; border:0; text-decoration:underline; text-underline-offset:.2em; }
.sm-manage { border-top:1px solid #dce0e9; margin-top:1rem; padding-top:.8rem; }
.sm-manage summary { font-weight:500; }
.sm-receipt-text { line-height:1.5; }
#withdraw-token { display:block; white-space:normal; overflow-wrap:anywhere; margin:.5rem 0; padding:.6rem; background:#f2f4f9; }
.sm-feedback:not(:empty) { margin-top:.75rem; color:#1d3b96; font-weight:550; }
.sm-feedback[data-error="true"] { color:#9e2f25; }
.sm-interest [hidden] { display:none !important; }
@media(max-width:49rem) {
  .sm-interest-layout { grid-template-columns:1fr; max-width:38rem; }
  .sm-totals { gap:1rem 2.5rem; }
  .sm-top-cta { font-size:.79rem; padding:.5rem .7rem; }
}
@media(max-width:39rem) {
  .nav { right:var(--rail); justify-content:space-between; gap:.38rem; }
  .nav a { white-space:nowrap; }
  .sm-interest .spread { gap:1.4rem; }
  .sm-totals { margin-top:1.25rem; }
}
@media(max-width:22rem) {
  .sm-form-card { padding:1rem; }
  .sm-choices span { font-size:.84rem; }
}
@media(forced-colors:active) { .sm-choices input:checked + span { outline:2px solid Highlight; outline-offset:-3px; } .sm-top-cta,.sm-submit { border:1px solid ButtonText; } }
