/* v65: Mobile overlay fixes and student practice. Retain existing brand design. */
.mb65-mobile-shortcuts {display:none;}
/* A hidden More sheet must not leave independently visible children on top of the Buddy. */
#moneyBuddyMobileMoreLayer:not(.is-open){display:none!important;}
#moneyBuddyMobileMoreLayer.is-open{display:flex!important;}
.mb-practice-card {display:grid;gap:14px;padding:4px 0 8px;color:#344c42;}
.mb-practice-card>p{margin:0;padding:13px 15px;border-radius:14px;background:#f0f7ef;font-size:13px;line-height:1.6;}
.mb-practice-card h3{font-size:15px;font-weight:800;color:#173e36;line-height:1.4;}
#mbPracticeChoices{display:grid;gap:9px;}
.mb-practice-option{width:100%;text-align:left;display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid #dce8dc;border-radius:13px;background:white;color:#204639;font-size:13px;line-height:1.5;cursor:pointer;white-space:normal;}
.mb-practice-option:hover,.mb-practice-option.is-selected{background:#edf7ef;border-color:#348366;}
.mb-practice-option:focus-visible,.mb65-mobile-shortcuts button:focus-visible{outline:3px solid #be9442!important;outline-offset:2px!important;}
.mb-practice-number{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#e3efdf;color:#235043;font-weight:800;}
.mb-practice-feedback{border-radius:14px;padding:13px 15px;background:#eff8ee;border:1px solid #cde3c9;display:grid;gap:5px;color:#214d3e;font-size:13px;line-height:1.5;}
.mb-practice-feedback.is-try-again{background:#fff9eb;border-color:#e8dba8;color:#665324;}
.mb-practice-feedback[hidden]{display:none!important;}
.mb-practice-feedback small{font-size:12px;opacity:.9;}
.mb-lesson-source{display:inline-block;margin:12px 0 0;color:#145d4d;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px;}
.mb-practice-official{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none;}
@media(max-width:767px){
  /* Original fixed launchers overlapped Flexible Money and the bottom navigation. */
  #mbMyBuddyShortcut,#safetyCushionLauncherWrap{display:none!important;}
  /* Native-space quick actions keep both features accessible without an overlay. */
  .mb65-mobile-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:stretch;margin:12px 0 14px;}
  .mb65-mobile-shortcuts button{display:flex;align-items:center;gap:8px;min-width:0;min-height:52px;padding:8px 10px;border:1px solid #d3e3d8;background:#fffefb;color:#21473e;border-radius:16px;box-shadow:0 5px 15px -13px rgba(28,65,44,.4);font:700 12px/1.25 Inter,system-ui,sans-serif;text-align:left;cursor:pointer;}
  .mb65-mobile-shortcuts .mb65-buddy-thumb{width:32px;height:32px;flex:none;object-fit:contain;}
  .mb65-mobile-shortcuts .material-symbols-outlined{flex:0 0 32px;display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:#e5efe7;color:#174d3e;font-size:20px;}
  .mb65-mobile-shortcuts .mb65-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere;}
  .mb65-mobile-shortcuts button:last-child{background:#e9f3eb;}
  #moneyBuddyMobileMoreLayer:not(.is-open){visibility:hidden!important;pointer-events:none!important;}
}
@media(max-width:345px){.mb65-mobile-shortcuts{gap:7px}.mb65-mobile-shortcuts button{font-size:11px;padding:7px 8px}}
@media(prefers-reduced-motion:reduce){.mb-practice-option{transition:none!important}}
