.personal-shell { width:min(100%, 940px); }
[hidden] { display:none !important; }
.private-label { padding:7px 12px; border:1px solid #c8d9ce; border-radius:99px; font-size:12px; font-weight:700; }
.payoff-hero { gap:24px; min-height:210px; margin-bottom:16px; }
.payoff-hero h2 { font-family:Georgia,serif; font-size:34px; font-weight:500; line-height:1.15; }
.hero-amount { text-align:right; flex:0 0 auto; }
.hero-amount span { display:block; font-size:12px; color:var(--mint); }
.hero-amount strong { display:block; font-size:29px; margin:6px 0; }
.payoff-progress { height:7px; background:#dce8df; border-radius:10px; overflow:hidden; }
.payoff-progress div { background:var(--green); width:0; height:100%; transition:width .2s; }
.small-copy { color:#55675f; font-size:12px; line-height:1.6; margin-top:12px; }
#accountLabel { overflow-wrap:anywhere; }
.plan-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:22px 0; }
.plan-stats div { padding:16px; border:1px solid #e5e2d9; border-radius:14px; background:var(--paper); }
.plan-stats span { display:block; color:#55675f; font-size:11px; line-height:1.5; }
.plan-stats strong { display:block; font-size:17px; margin-top:6px; }
.notice { padding:14px 16px; border:1px solid #cbdcd1; background:#eef5ef; border-radius:12px; font-size:12px; line-height:1.6; margin:14px 0; }
.notice.warning { background:#fff0df; border-color:#e7c499; color:#744619; }
.plan-section { margin-top:22px; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.section-heading h2 { font-size:21px; }
.field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.personal-shell label { display:grid; gap:6px; font-size:12px; font-weight:600; color:#52665b; }
.personal-shell input { width:100%; min-width:0; border:1px solid #c6d3ca; background:#fff; padding:11px; color:var(--ink); border-radius:9px; }
.personal-shell input:focus-visible, .personal-shell button:focus-visible, a:focus-visible { outline:3px solid var(--yellow); outline-offset:3px; }
.card-settings { display:grid; gap:12px; }
.card-settings article { border:1px solid #e5e2d9; background:var(--paper); border-radius:16px; padding:18px; }
.card-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.card-heading span { font-size:11px; padding:5px 9px; background:#e5eee7; border-radius:99px; }
.card-settings details { margin-top:12px; }
.card-settings summary { font-size:12px; color:var(--green); cursor:pointer; margin-bottom:12px; }
.save-actions { display:flex; align-items:center; gap:14px; margin:18px 0; }
.save-actions button { padding:10px 20px; }
#planSaveStatus, #snapshotStatus { font-size:12px; line-height:1.5; }
button:disabled { opacity:.6; cursor:wait; }
.secondary-button { border:1px solid var(--green); background:transparent; color:var(--green); border-radius:10px; padding:12px 16px; font-weight:700; }
#retryLoad { margin-top:16px; }
#accessMessage { font-size:14px; line-height:1.6; margin-top:10px; }
.table-scroll { width:100%; overflow:auto; margin:15px 0; }
table { width:100%; border-collapse:collapse; font-size:12px; }
th { padding:12px 9px; color:#4c6356; background:#eef3ed; font-size:10px; text-align:right; }
td { padding:13px 9px; text-align:right; border-bottom:1px solid #e7ebe5; white-space:nowrap; font-variant-numeric:tabular-nums; }
th:first-child,td:first-child { text-align:left; }
tbody tr:first-child { font-weight:700; }
#snapshotForm { display:grid; gap:13px; margin-top:16px; }
#snapshotForm button { justify-self:start; }
.snapshot-history { list-style:none; margin:20px 0 0; padding:0; }
.snapshot-history li { border-top:1px solid #e1e8df; padding:13px 0; font-size:12px; line-height:1.7; }
.snapshot-history strong { display:block; }
.snapshot-history p { color:#55675f; overflow-wrap:anywhere; }
.footer-note { margin:22px 3px; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:650px) {
  .payoff-hero { align-items:flex-start; flex-direction:column; padding:23px; }
  .hero-amount { text-align:left; }
  .hero-amount strong { font-size:27px; }
  .plan-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .plan-stats div { padding:13px; }
  .save-actions { align-items:flex-start; flex-direction:column; }
}
@media(max-width:390px) { .field-grid { grid-template-columns:1fr; } .personal-shell { padding-left:12px; padding-right:12px; } }
