[data-save-state353]{flex-basis:100%;width:100%;box-sizing:border-box;padding:12px 14px!important;border:1px solid #b9c9e9;border-radius:12px;background:var(--dm-panel,#f2f6ff);color:var(--dm-ink,#27243b)!important;overflow-wrap:anywhere;line-height:1.5;font-size:14px!important}
.dm-save-title353{display:block;margin-bottom:4px;font-size:14px}
[data-save-state353="pending"] .dm-save-title353:before{content:'◌ ';color:#6651cc}
[data-save-state353="error"]{border-color:#d68ba0;background:var(--dm-panel,#fff4f6)}
[data-save-state353="partial"]{border-color:#d6ab60;background:var(--dm-panel,#fff8e9)}
[data-save-state353="committed"]{border-color:#68aa91;background:var(--dm-panel,#edf9f3)}
.dm-subscriptions353{margin:18px 0;padding:16px;border:1px solid var(--dm-line,#dfddeb);border-radius:16px;background:var(--dm-surface,#fff);color:var(--dm-ink,#27243b)}
.dm-subscriptions353 h3{font-size:17px;margin:0 0 12px}.dm-subscription353+article{border-top:1px solid var(--dm-line,#dfddeb);padding-top:14px;margin-top:14px}.dm-subscription353 header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.dm-subscription353 header div{min-width:0;flex:1}.dm-subscription353 header small{display:block;margin-top:4px}.dm-subscription353 p{margin:8px 0;font-size:14px;line-height:1.5}.dm-subscription353 small{font-size:13px;color:var(--dm-muted,#666276);line-height:1.5}.dm-subscription353 strong{overflow-wrap:anywhere}
/* V6.357: payment details use the card width; actions have their own row. */
html body .student-profile-modal .profile-history-row.payment-history-row {
  grid-template-columns:36px minmax(0,1fr)!important;
  align-items:start!important;
}
html body .student-profile-modal .payment-history-row > .payment-history-icon {
  grid-column:1!important;grid-row:1!important;
}
html body .student-profile-modal .payment-history-row > .grow {
  grid-column:2!important;grid-row:1!important;min-width:0!important;
}
html body .student-profile-modal .payment-history-row > .payment-history-tools {
  grid-column:1 / -1!important;grid-row:2!important;
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  justify-content:flex-end!important;align-items:center!important;
  width:100%!important;max-width:100%!important;gap:8px!important;
}
html body .student-profile-modal .payment-history-tools > .payment-history-amount {
  flex:1 0 100%!important;text-align:right!important;
}
html body .student-profile-modal .payment-history-tools > small {
  flex:1 0 100%!important;white-space:normal!important;
  overflow-wrap:anywhere!important;text-align:left!important;
}
html body .student-profile-modal .payment-history-tools > button {
  max-width:100%!important;white-space:normal!important;
}
