:root{--mp-blue:#0b4fb3;--mp-blue2:#1468d8;--mp-bg:#f4f7fb;--mp-text:#12203a;--mp-muted:#6d7b91;--mp-border:#dbe4ef;--mp-green:#1eaa59;--mp-red:#c63a3a;--mp-warn:#b36b00}.mpwl-portal{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:760px;background:var(--mp-bg);color:var(--mp-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border:1px solid var(--mp-border);border-radius:18px;overflow:hidden}.mpwl-sidebar{background:#fff;border-right:1px solid var(--mp-border);padding:22px 15px;display:flex;flex-direction:column}.mpwl-brand{padding:0 9px 20px}.mpwl-brand img{max-width:150px;height:auto}.mpwl-wordmark{display:flex;flex-direction:column;color:#0d3b82;line-height:.9}.mpwl-wordmark b{font-family:Georgia,serif;font-size:42px}.mpwl-wordmark span{font-size:12px;letter-spacing:1.5px;font-weight:700;margin-top:6px}.mpwl-sidebar nav{display:flex;flex-direction:column;gap:4px}.mpwl-sidebar nav a{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:9px;text-decoration:none;color:#27364e;font-size:14px;font-weight:600}.mpwl-sidebar nav a span{width:22px;text-align:center;color:#52647e}.mpwl-sidebar nav a:hover,.mpwl-sidebar nav a.is-active{background:#0b4fb3;color:#fff}.mpwl-sidebar nav a.is-active span{color:#fff}.mpwl-sidebar-foot{margin-top:auto;border:1px solid var(--mp-border);border-radius:12px;padding:13px;font-size:12px;display:flex;flex-direction:column;gap:5px}.mpwl-main{min-width:0}.mpwl-top{background:#fff;border-bottom:1px solid var(--mp-border);padding:25px 30px;display:flex;justify-content:space-between;gap:20px;align-items:center}.mpwl-top h1{font-size:28px;margin:0 0 4px}.mpwl-top p{margin:0;color:var(--mp-muted)}.mpwl-user{text-align:right;font-size:13px}.mpwl-user span{display:block;font-weight:700}.mpwl-user a{color:var(--mp-blue);font-size:12px}.mpwl-content{padding:28px;max-width:1250px}.mpwl-welcome h2{font-size:24px;margin:0}.mpwl-welcome p{color:var(--mp-muted);margin-top:4px}.mpwl-grid{display:grid;gap:16px}.mpwl-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.mpwl-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.mpwl-card{background:#fff;border:1px solid var(--mp-border);border-radius:14px;padding:20px;margin-bottom:16px;box-shadow:0 1px 3px rgba(20,45,80,.03)}.mpwl-card.highlight{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#eff7ff,#f3fff7)}.mpwl-card h2,.mpwl-card h3{margin-top:4px}.mpwl-card small{color:var(--mp-muted)}.mpwl-ring{width:76px;height:76px;border:8px solid #d9f1e3;border-top-color:var(--mp-green);border-right-color:var(--mp-green);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}.mpwl-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mpwl-metrics div{border-right:1px solid var(--mp-border);padding:4px 16px}.mpwl-metrics div:last-child{border-right:0}.mpwl-metrics span{display:block;color:var(--mp-muted);font-size:12px}.mpwl-metrics strong{display:block;font-size:22px;margin-top:6px}.mpwl-progress{height:8px;background:#edf1f6;border-radius:99px;overflow:hidden;margin-top:18px}.mpwl-progress.big{height:12px}.mpwl-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--mp-blue2),#2b8cff);border-radius:99px}.mpwl-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mpwl-action-card{background:#fff;border:1px solid var(--mp-border);border-radius:14px;padding:18px;text-decoration:none;color:var(--mp-text);transition:.15s}.mpwl-action-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,55,100,.08)}.mpwl-action-card .mpwl-icon{width:42px;height:42px;background:#edf5ff;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--mp-blue);font-size:20px}.mpwl-action-card h3{margin:13px 0 5px;font-size:17px}.mpwl-action-card p{font-size:13px;color:var(--mp-muted);min-height:40px}.mpwl-action-card span{font-size:12px;font-weight:800;color:var(--mp-blue)}.mpwl-alert{border-radius:10px;padding:13px 15px;margin-bottom:16px;border:1px solid}.mpwl-alert.info{background:#eef6ff;border-color:#c9e1ff;color:#24578c}.mpwl-alert.warn{background:#fff8e7;border-color:#f1d897;color:#795500}.mpwl-alert.danger{background:#fff0f0;border-color:#f0c4c4;color:#9c2424}.mpwl-alert.success{background:#effaf3;border-color:#bfe2cb;color:#247542}.mpwl-btn{appearance:none;border:0;background:var(--mp-blue);color:#fff!important;border-radius:8px;padding:11px 18px;font-weight:800;font-size:12px;text-decoration:none;cursor:pointer;display:inline-block}.mpwl-btn.wide{width:100%;padding:13px}.mpwl-btn.small{padding:8px 12px}.mpwl-btn.secondary{background:#eef3f9;color:#263d5d!important}.mpwl-text-link{color:var(--mp-blue);font-weight:700;text-decoration:none}.mpwl-table{overflow:auto}.mpwl-table table{width:100%;border-collapse:collapse}.mpwl-table th,.mpwl-table td{padding:10px;border-bottom:1px solid var(--mp-border);text-align:left;font-size:13px}.mpwl-table th{font-size:11px;color:var(--mp-muted);text-transform:uppercase}.mpwl-form label,.mpwl-auth-card label{display:block;font-size:12px;font-weight:700;margin-bottom:13px;color:#394a63}.mpwl-form input,.mpwl-form select,.mpwl-form textarea,.mpwl-auth-card input:not([type=checkbox]){width:100%;box-sizing:border-box;border:1px solid #cfd9e6;border-radius:7px;padding:10px 11px;background:#fff;color:#182841}.mpwl-form small{display:block;font-weight:400;margin-top:4px}.mpwl-form-card .gform_wrapper{margin:0}.mpwl-appointment{display:flex;justify-content:space-between;gap:15px;border:1px solid var(--mp-border);border-radius:10px;padding:13px;margin-bottom:10px}.mpwl-appointment span{display:block;color:var(--mp-muted);font-size:12px;margin-top:3px}.mpwl-appt-actions{display:flex;gap:10px;align-items:flex-start}.mpwl-appt-actions a{font-size:12px;text-decoration:none;font-weight:700;color:var(--mp-blue)}.mpwl-appt-actions a.danger{color:var(--mp-red)}.mpwl-message{border-bottom:1px solid var(--mp-border);padding:14px 0}.mpwl-message:last-child{border:0}.mpwl-message>span{float:right;color:var(--mp-muted);font-size:11px}.mpwl-message p{margin-bottom:0}.mpwl-empty{min-height:180px;border:1px dashed #cbd7e5;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--mp-muted);flex-direction:column;font-size:26px}.mpwl-empty strong{font-size:14px}.mpwl-status{display:flex;justify-content:space-between;padding:12px;background:#f7f9fc;border-radius:8px}.mpwl-status .good{color:var(--mp-green)}.mpwl-status .danger{color:var(--mp-red)}.mpwl-toggle-list>label{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--mp-border)}.mpwl-toggle-list small{display:block;color:var(--mp-muted);margin-top:3px}.mpwl-toggle-list input[type=checkbox]{width:22px;height:22px}.mpwl-card details{border-bottom:1px solid var(--mp-border);padding:12px 0}.mpwl-card summary{cursor:pointer;font-weight:700}.mpwl-auth-wrap{max-width:100%;min-height:650px;background:#f3f6fa;display:flex;align-items:center;justify-content:center;padding:30px}.mpwl-auth-card{background:#fff;border:1px solid var(--mp-border);border-radius:18px;box-shadow:0 12px 40px rgba(20,45,80,.08);width:100%;max-width:460px;padding:36px;text-align:center}.mpwl-auth-brand{display:flex;justify-content:center;margin-bottom:24px}.mpwl-auth-brand .mpwl-wordmark{align-items:center}.mpwl-auth-card h2{font-size:26px;margin-bottom:6px}.mpwl-auth-card>p{color:var(--mp-muted);margin-bottom:22px}.mpwl-auth-card form{text-align:left}.mpwl-check{display:flex!important;align-items:center;gap:8px;font-weight:500!important}.mpwl-check input{width:auto!important}.mpwl-auth-links{display:flex;justify-content:space-between;margin-top:15px;font-size:12px}.mpwl-auth-links a{color:var(--mp-blue)}.mpwl-privacy{background:#f2f7fd;border-radius:9px;padding:12px;margin-top:24px;font-size:12px;color:#45617e}.mpwl-code{text-align:center;font-size:30px!important;font-weight:800!important;letter-spacing:8px;margin:10px 0 18px}.mpwl-resend{text-align:center!important;margin-top:10px}.mpwl-link-btn{border:0;background:none;color:var(--mp-blue);font-weight:700;cursor:pointer}.mpwl-stat-grid .mpwl-card h2{color:var(--mp-blue)}
@media(max-width:900px){.mpwl-portal{grid-template-columns:1fr}.mpwl-sidebar{display:none}.mpwl-content{padding:18px}.mpwl-top{padding:18px}.mpwl-grid.two,.mpwl-grid.four,.mpwl-action-grid{grid-template-columns:1fr}.mpwl-metrics{grid-template-columns:repeat(2,1fr)}.mpwl-metrics div:nth-child(2){border-right:0}.mpwl-top h1{font-size:22px}.mpwl-user{display:none}}
@media(max-width:520px){.mpwl-auth-wrap{padding:15px;min-height:560px}.mpwl-auth-card{padding:24px}.mpwl-metrics{grid-template-columns:1fr}.mpwl-metrics div{border-right:0;border-bottom:1px solid var(--mp-border);padding:10px 0}.mpwl-appointment{flex-direction:column}.mpwl-appt-actions{justify-content:flex-start}}
.mpwl-day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:10px 0 18px}.mpwl-doc-list{display:flex;flex-direction:column;gap:12px}.mpwl-document{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #e8edf5}.mpwl-document>div{display:flex;flex-direction:column;gap:3px}.mpwl-document span,.mpwl-document small{color:#6b778c}.mpwl-goals-embed{overflow:auto;background:#fff;border-radius:14px}.mpwl-goals-embed .mp-planner{max-width:100%!important;margin:0!important}.mpwl-goals-save{margin-bottom:18px}@media(max-width:720px){.mpwl-day-grid{grid-template-columns:1fr}.mpwl-document{align-items:flex-start;flex-direction:column}.mpwl-goals-embed{overflow-x:auto}}

/* v1.1.2 Shot Tracker portal integration */
.mpwl-shot-jumpbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px;position:sticky;top:10px;z-index:8;background:rgba(255,255,255,.94);padding:10px;border:1px solid #e5eaf2;border-radius:14px;backdrop-filter:blur(8px)}
.mpwl-btn.secondary{background:#fff;color:#123b74;border:1px solid #b9c9df}
.mpwl-shot-section{scroll-margin-top:90px;margin-bottom:28px}
.mpwl-shot-intro,.mpwl-shot-history-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:16px}
.mpwl-shot-intro h2,.mpwl-shot-history-head h2{margin:.2rem 0 .35rem}
.mpwl-shot-intro p,.mpwl-shot-history-head p{margin:0}
.mpwl-embedded-tracker{min-width:0;overflow:hidden}
.mpwl-embedded-tracker .mpwl-exact-app{max-width:100%;margin:0;background:transparent}
.mpwl-embedded-tracker .mpwl-exact-main{width:100%;max-width:100%;padding:0}
.mpwl-embedded-tracker .mpwl-exact-topbar{display:none}
.mpwl-embedded-tracker .mpwl-exact-card{box-shadow:none}
.mpwl-shot-section .gform_wrapper{max-width:100%}
@media(max-width:780px){.mpwl-shot-intro,.mpwl-shot-history-head{align-items:flex-start;flex-direction:column}.mpwl-shot-jumpbar{position:static}.mpwl-shot-jumpbar .mpwl-btn{flex:1;text-align:center}}

/* v1.1.3 — full-width portal + responsive mobile + approved-branding cleanup */
.mpwl-portal{
  width:calc(100vw - 24px)!important;
  max-width:none!important;
  position:relative;
  left:50%;
  transform:translateX(-50%);
  margin:12px 0 28px!important;
  grid-template-columns:250px minmax(0,1fr)!important;
}
.mpwl-main{width:100%;min-width:0}
.mpwl-content{width:100%;max-width:none!important;box-sizing:border-box;padding:28px 32px 38px!important}
.mpwl-top{padding:24px 32px!important}
.mpwl-brand{padding:4px 10px 20px!important;display:flex;flex-direction:column;gap:2px}
.mpwl-brand strong{font-size:19px;color:#16355f}
.mpwl-brand small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6d7b91}
.mpwl-brand-text{display:flex;flex-direction:column;gap:2px;align-items:center}
.mpwl-brand-text strong{font-size:20px;color:#173762}.mpwl-brand-text span{font-size:12px;color:#6d7b91}
.mpwl-goals-embed{width:100%;max-width:none!important;overflow:visible!important}
.mpwl-goals-embed .mp-planner{width:100%!important;max-width:none!important;margin:0!important}
.mpwl-goals-embed .mp-entry-card,.mpwl-goals-embed .mp-report-card{max-width:none!important;width:100%!important;box-sizing:border-box}
.mpwl-goals-embed .mp-entry-grid{grid-template-columns:minmax(190px,1.25fr) minmax(140px,.8fr) minmax(120px,.65fr) minmax(260px,1.35fr) minmax(155px,.8fr)!important;gap:16px!important;align-items:end}
.mpwl-shot-intro,.mpwl-shot-history-head{display:flex;align-items:center;justify-content:space-between;gap:24px}
.mpwl-embedded-tracker{width:100%;max-width:none;overflow:hidden}
.mpwl-form-card .gform_wrapper{max-width:none!important;width:100%!important}

@media (max-width:900px){
  .mpwl-portal{width:100%!important;left:auto!important;transform:none!important;margin:0!important;border-radius:0!important;grid-template-columns:1fr!important;overflow:visible!important}
  .mpwl-sidebar{display:block!important;position:relative;border-right:0;border-bottom:1px solid var(--mp-border);padding:10px 12px!important;overflow-x:auto}
  .mpwl-sidebar .mpwl-brand,.mpwl-sidebar-foot{display:none!important}
  .mpwl-sidebar nav{display:flex!important;flex-direction:row!important;gap:6px!important;min-width:max-content}
  .mpwl-sidebar nav a{white-space:nowrap;padding:9px 11px!important;font-size:13px!important}
  .mpwl-sidebar nav a span{width:auto!important}
  .mpwl-top{padding:18px 16px!important}
  .mpwl-content{padding:16px!important}
  .mpwl-goals-embed{overflow-x:hidden!important}
  .mpwl-goals-embed .mp-entry-grid{grid-template-columns:1fr 1fr!important}
  .mpwl-goals-embed .mp-entry-field.mp-entry-height,.mpwl-goals-embed .mp-entry-submit{grid-column:1/-1}
  .mpwl-shot-intro,.mpwl-shot-history-head{align-items:flex-start;flex-direction:column}
}
@media (max-width:600px){
  .mpwl-top h1{font-size:22px!important}
  .mpwl-top p{font-size:13px}
  .mpwl-content{padding:12px!important}
  .mpwl-card{padding:16px!important;border-radius:12px!important}
  .mpwl-grid.four,.mpwl-grid.two,.mpwl-action-grid,.mpwl-metrics{grid-template-columns:1fr!important}
  .mpwl-goals-embed .mp-entry-grid{grid-template-columns:1fr!important}
  .mpwl-goals-embed .mp-entry-field,.mpwl-goals-embed .mp-entry-submit{grid-column:1!important}
  .mpwl-goals-embed .mp-entry-two{grid-template-columns:1fr 1fr!important}
  .mpwl-goals-embed .mp-report-patient-grid,.mpwl-goals-embed .mp-report-target-grid,.mpwl-goals-embed .mp-report-macro-grid{grid-template-columns:1fr!important}
  .mpwl-goals-embed table{min-width:760px}
  .mpwl-goals-embed .mp-report-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* v1.1.4 organized portal navigation */
.mpwl-sidebar nav{gap:0}
.mpwl-nav-section{display:flex;flex-direction:column;gap:4px;margin:0 0 17px}
.mpwl-nav-section:last-child{margin-bottom:0}
.mpwl-nav-heading{padding:0 12px 6px;color:#8795aa;font-size:10px;font-weight:800;letter-spacing:.11em;line-height:1.2}
@media(max-width:900px){
  .mpwl-sidebar nav{flex-direction:column!important;min-width:0!important;gap:0!important}
  .mpwl-nav-section{min-width:100%;margin-bottom:13px}
  .mpwl-nav-heading{display:block;padding:5px 11px 4px;font-size:9px}
  .mpwl-sidebar nav a{width:100%;box-sizing:border-box}
}

/* v1.1.5 — true mobile Patient Portal menu */
.mpwl-mobile-portalbar{display:none}
@media(max-width:900px){
  .mpwl-portal{display:block!important}
  .mpwl-mobile-portalbar{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    background:#0b4fb3;
    color:#fff;
    padding:11px 14px;
    border-bottom:1px solid rgba(255,255,255,.16);
    position:sticky;
    top:0;
    z-index:30;
  }
  .mpwl-mobile-portal-title{display:flex;flex-direction:column;min-width:0;line-height:1.15}
  .mpwl-mobile-portal-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.82;margin-bottom:3px}
  .mpwl-mobile-portal-title strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mpwl-mobile-menu-toggle{
    appearance:none;
    border:1px solid rgba(255,255,255,.35);
    background:rgba(255,255,255,.08);
    color:#fff;
    width:42px;
    height:38px;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    line-height:1;
    cursor:pointer;
    flex:0 0 auto;
  }
  .mpwl-mobile-menu-toggle[aria-expanded="true"]{background:#fff;color:#0b4fb3}
  .mpwl-mobile-menu-toggle[aria-expanded="true"] .mpwl-mobile-menu-icon{font-size:0}
  .mpwl-mobile-menu-toggle[aria-expanded="true"] .mpwl-mobile-menu-icon:before{content:"×";font-size:28px;line-height:1}
  .mpwl-sidebar{
    display:none!important;
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box;
    border-right:0!important;
    border-bottom:1px solid var(--mp-border)!important;
    padding:14px!important;
    overflow:visible!important;
    background:#fff;
    z-index:29;
    box-shadow:0 12px 24px rgba(20,45,80,.10);
  }
  .mpwl-sidebar.is-open{display:block!important}
  .mpwl-sidebar .mpwl-brand{display:none!important}
  .mpwl-sidebar-foot{display:block!important;margin-top:10px!important}
  .mpwl-sidebar nav{display:block!important;min-width:0!important}
  .mpwl-nav-section{margin:0 0 14px!important}
  .mpwl-nav-heading{display:block!important;padding:5px 10px 5px!important;font-size:9px!important}
  .mpwl-sidebar nav a{width:100%!important;white-space:normal!important;padding:10px 11px!important;font-size:14px!important}
  .mpwl-sidebar nav a span{width:24px!important;text-align:center!important}
  .mpwl-main{width:100%!important}
}
@media(max-width:520px){
  .mpwl-mobile-portalbar{padding:10px 12px}
  .mpwl-mobile-portal-title strong{font-size:14px}
  .mpwl-sidebar{padding:12px!important}
  .mpwl-sidebar nav a{padding:9px 10px!important}
  .mpwl-nav-section{margin-bottom:11px!important}
}


/* v3.8.11 — portal form-control foundation */
.mpwl-portal .mpwl-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.mpwl-portal .mpwl-form select,
.mpwl-portal .mpwl-form textarea,
.mpwl-portal .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.mpwl-portal .gform_wrapper select,
.mpwl-portal .gform_wrapper textarea,
.mpwl-portal input.mpwl-control,
.mpwl-portal select.mpwl-control,
.mpwl-portal textarea.mpwl-control{
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  border:1px solid #c9d6e5!important;border-radius:10px!important;background-color:#fff!important;
  color:#182841!important;font-family:inherit!important;font-size:16px!important;font-weight:500!important;line-height:1.35!important;
  box-shadow:0 1px 2px rgba(20,45,80,.025)!important;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease;
}
.mpwl-portal .mpwl-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.mpwl-portal .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.mpwl-portal input.mpwl-control{min-height:52px!important;height:52px!important;padding:0 15px!important}
.mpwl-portal .mpwl-form select:not([multiple]),.mpwl-portal .gform_wrapper select:not([multiple]),.mpwl-portal select.mpwl-control:not([multiple]),.mpwl-portal select:not([multiple]){
  -webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;min-height:52px!important;height:52px!important;
  padding:0 42px 0 15px!important;line-height:normal!important;vertical-align:middle!important;background-clip:padding-box!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235e7187' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px 8px!important;cursor:pointer;text-indent:0!important;margin:0!important;
}
.mpwl-portal .mpwl-form select option,.mpwl-portal .gform_wrapper select option,.mpwl-portal select.mpwl-control option{color:#182841!important;background:#fff!important;font-size:16px!important;font-weight:500!important;line-height:1.4!important}
.mpwl-portal .mpwl-form textarea,.mpwl-portal .gform_wrapper textarea,.mpwl-portal textarea.mpwl-control{min-height:130px!important;height:auto!important;padding:14px 15px!important;line-height:1.5!important;resize:vertical}
.mpwl-portal .mpwl-form input:focus,.mpwl-portal .mpwl-form select:focus,.mpwl-portal .mpwl-form textarea:focus,.mpwl-portal .gform_wrapper input:focus,.mpwl-portal .gform_wrapper select:focus,.mpwl-portal .gform_wrapper textarea:focus{border-color:#0b4fb3!important;outline:0!important;box-shadow:0 0 0 3px rgba(11,79,179,.10)!important}
.mpwl-portal select:not([multiple]):hover{border-color:#aec0d3!important;background-color:#fbfdff!important}
.mpwl-portal select:not([multiple]):disabled,.mpwl-portal input:disabled,.mpwl-portal textarea:disabled{background-color:#f1f4f8!important;color:#7d8b9d!important;cursor:not-allowed;opacity:1!important}
.mpwl-portal .mpwl-form label,.mpwl-portal .gform_wrapper .gfield_label{line-height:1.3!important}.mpwl-portal .gform_wrapper .ginput_container,.mpwl-portal .gform_wrapper .gfield{min-width:0!important}.mpwl-portal .gform_wrapper .ginput_container_select{overflow:visible!important}

/* Checkbox/radio foundation */
.mpwl-portal input[type="checkbox"],.mpwl-portal input[type="radio"]{-webkit-appearance:none!important;appearance:none!important;width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important;margin:0!important;border:1.5px solid #9dafc3!important;background:#fff!important;display:inline-grid!important;place-content:center!important;vertical-align:middle!important;box-shadow:none!important;cursor:pointer}
.mpwl-portal input[type="checkbox"]{border-radius:5px!important}.mpwl-portal input[type="radio"]{border-radius:50%!important}
.mpwl-portal input[type="checkbox"]:checked{border-color:#0b4fb3!important;background-color:#0b4fb3!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='m1.5 5.5 3.2 3.2 7.8-7.2' fill='none' stroke='white' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important}
.mpwl-portal input[type="radio"]:checked{border-color:#0b4fb3!important;box-shadow:inset 0 0 0 5px #fff!important;background:#0b4fb3!important}.mpwl-portal input[type="checkbox"]:focus-visible,.mpwl-portal input[type="radio"]:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(11,79,179,.12)!important}
.mpwl-portal .gchoice{display:flex!important;align-items:center!important;gap:10px!important;min-height:34px!important}.mpwl-portal .gchoice label{margin:0!important;line-height:1.4!important}

/* Compact history filter variant uses the same visual control. */
.mpwl-portal .mpwl-history-filters select:not([multiple]){min-height:44px!important;height:44px!important;padding-left:12px!important;padding-right:38px!important;font-size:14px!important;background-position:right 12px center!important}
@media(max-width:900px){.mpwl-portal .mpwl-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),.mpwl-portal .mpwl-form select,.mpwl-portal .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),.mpwl-portal .gform_wrapper select,.mpwl-portal .mpwl-history-filters select:not([multiple]){min-height:52px!important;height:52px!important;font-size:16px!important}.mpwl-portal select:not([multiple]),.mpwl-portal .mpwl-history-filters select:not([multiple]){padding-left:14px!important;padding-right:42px!important;background-position:right 14px center!important}}

/* v1.1.7 — appointment clarity + interactive clinic help */
.mpwl-sidebar-foot a{display:flex;flex-direction:column;gap:1px;text-decoration:none;color:var(--mp-blue);font-weight:700;line-height:1.25}.mpwl-sidebar-foot a span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--mp-muted);font-weight:800}.mpwl-appointment-notice{border-left:4px solid var(--mp-blue);padding:22px 24px}.mpwl-appointment-notice h2{margin:6px 0 7px}.mpwl-appointment-notice>p{margin:0 0 15px;color:var(--mp-muted)}.mpwl-reminder-badge{display:inline-flex;align-items:center;background:#e9f2ff;color:#0b4fb3;border:1px solid #c8dcfb;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;letter-spacing:.08em}.mpwl-appt-contact{display:flex;flex-direction:column;gap:4px}.mpwl-appt-contact>span{color:var(--mp-muted);font-size:13px}.mpwl-contact-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:8px}.mpwl-contact-actions a{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c9d9ec;border-radius:8px;padding:9px 12px;background:#fff;color:var(--mp-blue);text-decoration:none;font-size:12px;font-weight:800}.mpwl-contact-actions a:hover{background:#f2f7fd}.mpwl-help-links{display:grid;gap:10px;margin:12px 0 18px}.mpwl-help-links a{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid var(--mp-border);border-radius:10px;padding:12px 13px;text-decoration:none;background:#fbfdff;color:var(--mp-text)}.mpwl-help-links a strong{color:var(--mp-blue)}.mpwl-help-links a span{font-size:13px;text-align:right}.mpwl-help-links a:hover{background:#f2f7fd}
@media(max-width:640px){.mpwl-contact-actions{display:grid;grid-template-columns:1fr}.mpwl-contact-actions a{width:100%;box-sizing:border-box}.mpwl-help-links a{align-items:flex-start;flex-direction:column}.mpwl-help-links a span{text-align:left}.mpwl-appointment-notice{padding:18px}}

/* v1.1.8 — mandatory 2FA + global Privacy & HIPAA notice */
.mpwl-hipaa-notice{display:flex;gap:14px;align-items:flex-start;margin-top:28px;padding:17px 19px;border:1px solid #cbdced;border-radius:12px;background:#f6faff;color:#334866;font-size:13px;line-height:1.5}.mpwl-hipaa-notice strong{display:block;color:#12365f;font-size:14px;margin-bottom:3px}.mpwl-hipaa-notice p{margin:0!important;color:#526985!important}.mpwl-hipaa-icon{flex:0 0 auto;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e7f1ff}.mpwl-trust-note{margin:12px 0 16px;padding:11px 12px;border-radius:9px;background:#f3f7fc;color:#526985;font-size:13px;line-height:1.45}.mpwl-auth-card .mpwl-hipaa-notice{margin-top:22px;text-align:left}.mpwl-auth-card .mpwl-hipaa-notice p{font-size:11px!important;line-height:1.45!important}@media(max-width:640px){.mpwl-hipaa-notice{padding:14px;gap:10px;font-size:12px}.mpwl-hipaa-icon{width:28px;height:28px}.mpwl-auth-card .mpwl-hipaa-notice{margin-left:-4px;margin-right:-4px}}

/* v1.2.0 trusted devices */
.mpwl-device-list{display:flex;flex-direction:column;gap:10px;margin:12px 0 18px}
.mpwl-device-row{border:1px solid #dbe7f4;border-radius:12px;padding:12px 14px;background:#f8fbff}
.mpwl-device-row strong{display:block;color:#17324d;margin-bottom:3px}
.mpwl-device-row span{display:block;font-size:12px;line-height:1.45;color:#6a7b8c}

/* v1.4.3 patient form history */
.mpwl-history-linkbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin:0 0 16px;background:#f7fbff;border:1px solid #dbe9f7;border-radius:12px}
.mpwl-forms-head{display:flex;justify-content:space-between;align-items:center;gap:20px}
.mpwl-form-history-tabs{display:flex;gap:8px;margin:16px 0}
.mpwl-form-history-tabs a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:700;padding:11px 16px;border-radius:10px;background:#fff;border:1px solid #dbe4ef;color:#24354a}
.mpwl-form-history-tabs a.is-active{background:#eaf4ff;border-color:#8dc3f3;color:#1267a8}
.mpwl-form-history-tabs span{min-width:24px;text-align:center;border-radius:999px;padding:2px 7px;background:#edf2f7;font-size:12px}
.mpwl-submission-table td .muted{display:block;margin-top:3px;font-size:12px;color:#718096}
.mpwl-submission-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid #e7edf3}
.mpwl-submission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.mpwl-submission-field{padding:14px 16px;border:1px solid #e0e8f0;border-radius:12px;background:#fbfdff;overflow-wrap:anywhere}
.mpwl-submission-field small{display:block;font-weight:800;color:#607086;text-transform:uppercase;letter-spacing:.04em;font-size:11px;margin-bottom:6px}
.mpwl-submission-field div{color:#172b3f;line-height:1.5}
.mpwl-submission-actions{display:flex;gap:10px;margin-top:18px}
.mpwl-empty-state{text-align:center;padding:34px 20px}
@media(max-width:720px){.mpwl-history-linkbar,.mpwl-forms-head,.mpwl-submission-detail-head{display:block}.mpwl-history-linkbar .mpwl-text-link,.mpwl-forms-head .mpwl-btn{display:inline-block;margin-top:10px}.mpwl-form-history-tabs{display:grid;grid-template-columns:1fr 1fr}.mpwl-form-history-tabs a{justify-content:center;padding:10px 8px}.mpwl-submission-grid{grid-template-columns:1fr}.mpwl-submission-table table,.mpwl-submission-table thead,.mpwl-submission-table tbody,.mpwl-submission-table tr,.mpwl-submission-table th,.mpwl-submission-table td{display:block}.mpwl-submission-table thead{display:none}.mpwl-submission-table tr{padding:12px 0;border-bottom:1px solid #e6edf3}.mpwl-submission-table td{border:0!important;padding:5px 0!important}.mpwl-submission-actions{flex-wrap:wrap}}
@media print{.mpwl-sidebar,.mpwl-mobile-portalbar,.mpwl-top,.mpwl-hipaa-notice,.mpwl-submission-actions,.mpwl-form-history-tabs{display:none!important}.mpwl-main{margin:0!important;width:100%!important}.mpwl-submission-detail{box-shadow:none!important;border:0!important}}

/* v1.4.4 Patient Portal registration */
.mpwl-registration-shell{max-width:1180px;margin:32px auto;padding:0 20px}.mpwl-registration-card{background:#fff;border:1px solid #dbe5f2;border-radius:22px;padding:34px;box-shadow:0 12px 36px rgba(20,52,92,.08)}.mpwl-registration-heading{margin-bottom:26px}.mpwl-registration-heading span{display:block;color:#57708f;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.mpwl-registration-heading h1{margin:6px 0 8px;color:#172d4d;font-size:34px;line-height:1.15}.mpwl-registration-heading p{margin:0;color:#657993;font-size:17px}.mpwl-registration-card .gform_wrapper{max-width:none}.mpwl-registration-card .mpwl-auth-links{margin-top:22px;padding-top:18px;border-top:1px solid #e5ebf3}.mpwl-registration-card .gform_button{background:#1457bd!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:13px 22px!important;font-weight:800!important}.mpwl-registration-card input,.mpwl-registration-card select{min-height:48px}
@media(max-width:700px){.mpwl-registration-shell{margin:14px auto;padding:0 12px}.mpwl-registration-card{padding:20px 16px;border-radius:16px}.mpwl-registration-heading h1{font-size:27px}}

/* v1.4.8 native patient registration */
.mpwl-native-registration{margin-top:26px}.mpwl-reg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px}.mpwl-reg-field{display:flex;flex-direction:column;gap:8px}.mpwl-reg-full{grid-column:1/-1;max-width:calc(50% - 12px)}.mpwl-reg-field label{font-weight:700;color:#1d3352;font-size:15px}.mpwl-reg-field label span,.mpwl-reg-consent em{color:#c63422;font-style:normal;font-weight:600}.mpwl-reg-field input{width:100%;height:50px;border:1px solid #b9c7d8;border-radius:8px;padding:0 14px;font-size:16px;background:#fff;color:#172d4d;box-sizing:border-box}.mpwl-reg-field small{color:#687b94;font-size:13px;line-height:1.45}.mpwl-password-notice{margin:24px 0;padding:18px 20px;border:1px solid #c9def6;border-radius:12px;background:#f4f9ff;color:#234a78}.mpwl-password-notice strong{display:block;font-size:16px;color:#173d6c}.mpwl-password-notice p{margin:5px 0 0;line-height:1.55}.mpwl-reg-consent{display:flex;gap:12px;align-items:flex-start;color:#52657e;line-height:1.55;font-size:14px}.mpwl-reg-consent input{width:19px;height:19px;margin-top:3px;flex:0 0 auto}.mpwl-reg-consent strong{color:#1d3352}.mpwl-reg-submit{width:100%;margin-top:24px;min-height:54px;border:0;border-radius:10px;background:#1457bd;color:#fff;font-weight:800;font-size:15px;letter-spacing:.03em;cursor:pointer}.mpwl-reg-submit:hover{background:#0f489f}.mpwl-reg-success{padding:22px;border:1px solid #b9dfc7;border-radius:14px;background:#f2fbf5;color:#245c37}.mpwl-reg-success strong{display:block;font-size:20px;margin-bottom:6px}.mpwl-reg-success p{margin:0;line-height:1.6}.mpwl-reg-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:700px){.mpwl-reg-grid{grid-template-columns:1fr;gap:18px}.mpwl-reg-full{grid-column:auto;max-width:none}.mpwl-reg-field input{height:50px}.mpwl-password-notice{padding:16px}.mpwl-reg-submit{min-height:56px}}

/* MPWL branded password setup */
.mpwl-set-password-card{max-width:640px;margin:40px auto;padding:38px}.mpwl-auth-kicker{font-size:13px;font-weight:800;letter-spacing:.14em;color:#5f7694;margin-bottom:8px}.mpwl-password-form{display:grid;gap:18px;margin-top:24px}.mpwl-password-form label{display:grid;gap:8px;font-weight:700;color:#1d3352}.mpwl-password-form input{height:52px;border:1px solid #b9c7d8;border-radius:8px;padding:0 14px;font-size:16px;box-sizing:border-box;width:100%}.mpwl-help-mini{text-align:center;margin:18px 0;color:#667a93}.mpwl-help-mini a{color:#1457bd;text-decoration:none;font-weight:700}.mpwl-inline-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;width:auto;padding:0 22px}.mpwl-auth-error{margin:18px 0;padding:14px 16px;border:1px solid #e1b7b7;background:#fff5f5;border-radius:10px;color:#8f2f2f}.mpwl-auth-wrap{padding:20px}.mpwl-auth-card{background:#fff;border:1px solid #d8e2ee;border-radius:18px;box-shadow:0 16px 40px rgba(16,39,68,.08)}
@media(max-width:700px){.mpwl-set-password-card{margin:12px auto;padding:24px 18px}.mpwl-auth-wrap{padding:10px}}

/* MPWL password requirements */
.mpwl-password-rules{margin-top:-4px;padding:16px 18px;border:1px solid #d8e2ee;border-radius:12px;background:#f8fbff;color:#50657f}.mpwl-password-rules-title{font-weight:800;color:#1d3352;margin-bottom:10px}.mpwl-password-rules ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.mpwl-password-rules li{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.35;transition:color .18s ease}.mpwl-rule-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;border:1px solid #aebed1;color:#7d8da3;font-weight:900;font-size:13px;flex:0 0 auto}.mpwl-password-rules li.is-valid{color:#1c6c3d;font-weight:700}.mpwl-password-rules li.is-valid .mpwl-rule-icon{border-color:#77c590;background:#eaf8ef;color:#176b39}.mpwl-password-rules li.is-invalid{color:#9b3d35}.mpwl-password-strength{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid #dfe7f0;font-size:13px}.mpwl-password-strength strong{color:#1d3352}.mpwl-reg-submit:disabled{opacity:.48;cursor:not-allowed}.mpwl-reg-submit:disabled:hover{background:#1457bd}@media(max-width:700px){.mpwl-password-rules ul{grid-template-columns:1fr}.mpwl-password-rules{padding:14px}}


/* v1.9.1 patient dashboard health metrics + trend */
.mpwl-progress-card{display:block!important}.mpwl-progress-copy{margin-bottom:16px}.mpwl-progress-heading{display:flex;justify-content:space-between;gap:16px;font-size:13px;color:var(--mp-muted);font-weight:700}.mpwl-trend-chart{margin-top:14px;padding-top:12px;border-top:1px solid rgba(11,79,179,.10)}.mpwl-trend-chart svg{display:block;width:100%;height:150px;overflow:visible}.mpwl-trend-gridline{stroke:#dfe8f2;stroke-width:1}.mpwl-trend-line{stroke:var(--mp-blue);stroke-width:3;vector-effect:non-scaling-stroke}.mpwl-trend-dot{fill:#fff;stroke:var(--mp-blue);stroke-width:2;vector-effect:non-scaling-stroke}.mpwl-trend-meta{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;font-size:11px;color:var(--mp-muted)}.mpwl-trend-meta strong{font-size:15px;color:var(--mp-text);text-align:center}.mpwl-trend-meta span:last-child{text-align:right}.mpwl-trend-empty{padding:24px 0 8px;color:var(--mp-muted);font-size:13px}.mpwl-health-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0}.mpwl-health-metric{min-width:0;padding:8px 16px;border-right:1px solid var(--mp-border)}.mpwl-health-metric:last-child{border-right:0}.mpwl-health-metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.mpwl-health-metric-top>span{font-size:12px;color:var(--mp-muted)}.mpwl-health-metric strong{display:block;font-size:22px;margin:7px 0 5px;color:var(--mp-text);white-space:nowrap}.mpwl-health-metric>small{display:block;min-height:31px;color:#8794a8;font-size:9.5px;line-height:1.35}.mpwl-metric-edit-toggle{appearance:none;border:0;background:none;padding:2px 0;color:var(--mp-blue);font-size:10px;font-weight:800;cursor:pointer}.mpwl-metric-editor{display:none;margin-top:10px;padding-top:10px;border-top:1px solid var(--mp-border)}.mpwl-metric-editor.is-open{display:block}.mpwl-metric-editor label{display:block;font-size:10px;font-weight:700;color:#52647e}.mpwl-metric-editor input{width:100%!important;box-sizing:border-box!important;margin:4px 0 8px!important;min-height:38px!important;height:38px!important;padding:6px 8px!important;font-size:14px!important;border:1px solid #cbd8e6!important;border-radius:7px!important}.mpwl-height-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mpwl-health-metrics-card{overflow:visible}
@media(max-width:1100px){.mpwl-health-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.mpwl-health-metric:nth-child(3){border-right:0}.mpwl-health-metric:nth-child(-n+3){border-bottom:1px solid var(--mp-border)}}
@media(max-width:700px){.mpwl-dashboard-top{grid-template-columns:1fr!important}.mpwl-health-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mpwl-health-metric{padding:13px 10px;border-bottom:1px solid var(--mp-border)}.mpwl-health-metric:nth-child(odd){border-right:1px solid var(--mp-border)}.mpwl-health-metric:nth-child(even){border-right:0}.mpwl-health-metric:nth-last-child(-n+2){border-bottom:0}.mpwl-health-metric:nth-child(-n+3){border-bottom:1px solid var(--mp-border)}.mpwl-health-metric strong{font-size:20px}.mpwl-progress-heading{font-size:11px}.mpwl-trend-chart svg{height:130px}.mpwl-trend-meta{grid-template-columns:1fr auto;grid-template-areas:'first current' 'last last'}.mpwl-trend-meta span:first-child{grid-area:first}.mpwl-trend-meta strong{grid-area:current;text-align:right}.mpwl-trend-meta span:last-child{grid-area:last;text-align:right}.mpwl-card.highlight{align-items:stretch}.mpwl-progress-card{padding:16px!important}}
@media(max-width:430px){.mpwl-health-metrics{grid-template-columns:1fr}.mpwl-health-metric,.mpwl-health-metric:nth-child(odd),.mpwl-health-metric:nth-child(even){border-right:0!important;border-bottom:1px solid var(--mp-border)!important}.mpwl-health-metric:last-child{border-bottom:0!important}.mpwl-health-metric>small{min-height:0}.mpwl-height-fields{grid-template-columns:1fr 1fr}.mpwl-trend-chart svg{height:115px}}


/* v1.9.2 — mobile-first portal hardening (primary patient viewport) */
.mpwl-portal,.mpwl-main,.mpwl-content,.mpwl-card,.mpwl-grid,.mpwl-form-card,
.mpwl-embedded-tracker,.mpwl-goals-embed,.mpwl-health-metrics{box-sizing:border-box;min-width:0}
.mpwl-portal img,.mpwl-portal svg,.mpwl-portal video,.mpwl-portal iframe{max-width:100%;height:auto}
.mpwl-portal input,.mpwl-portal select,.mpwl-portal textarea,.mpwl-portal button{max-width:100%;box-sizing:border-box}
.mpwl-card,.mpwl-action-card,.mpwl-document,.mpwl-appointment{overflow-wrap:anywhere}
.mpwl-table{max-width:100%;-webkit-overflow-scrolling:touch}

@media(max-width:900px){
  .mpwl-portal{border:0!important;border-radius:0!important;min-height:100vh!important}
  .mpwl-mobile-portalbar{position:sticky!important;top:0!important;z-index:999!important;min-height:54px!important}
  .mpwl-top{padding:14px 16px!important;gap:8px!important}
  .mpwl-top h1{font-size:22px!important;line-height:1.15!important}
  .mpwl-top p{font-size:13px!important;line-height:1.35!important}
  .mpwl-content{padding:14px!important}
  .mpwl-welcome h2{font-size:21px!important;line-height:1.2!important}
  .mpwl-welcome p{font-size:14px!important}
  .mpwl-card{padding:16px!important;margin-bottom:12px!important}
  .mpwl-grid.two,.mpwl-grid.four,.mpwl-action-grid{grid-template-columns:1fr!important;gap:12px!important}
  .mpwl-dashboard-top{grid-template-columns:1fr!important}
  .mpwl-action-card p{min-height:0!important}
  .mpwl-appointment,.mpwl-document{min-width:0!important}
  .mpwl-form-card .gform_wrapper,.mpwl-form-card .gform-body,.mpwl-form-card .gform_fields,
  .mpwl-form-card .gfield,.mpwl-form-card .ginput_container{max-width:100%!important;min-width:0!important}
  .mpwl-form-card .gform_fields{grid-template-columns:1fr!important}
  .mpwl-form-card .gfield{grid-column:1/-1!important}
  .mpwl-form-card input:not([type=checkbox]):not([type=radio]),
  .mpwl-form-card select,.mpwl-form-card textarea{font-size:16px!important;width:100%!important}
  .mpwl-form-card .gform_footer input[type=submit],.mpwl-form-card .gform_page_footer input,
  .mpwl-form-card .gform_page_footer button{width:100%!important;min-height:46px!important}
  .mpwl-shot-jumpbar{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:8px!important}
  .mpwl-shot-jumpbar .mpwl-btn{width:100%!important;text-align:center!important}
  .mpwl-embedded-tracker,.mpwl-embedded-tracker .mpwl-exact-app,.mpwl-embedded-tracker .mpwl-exact-main{
    width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important
  }
  .mpwl-embedded-tracker *{max-width:100%;box-sizing:border-box}
  .mpwl-message>span{float:none!important;display:block!important;margin-bottom:5px!important}
  .mpwl-toggle-list>label{align-items:flex-start!important}
}

@media(max-width:700px){
  .mpwl-content{padding:10px!important}
  .mpwl-card{padding:14px!important;border-radius:12px!important}
  .mpwl-health-metrics-card{padding:0!important;overflow:hidden!important}
  .mpwl-health-metrics{grid-template-columns:1fr 1fr!important}
  .mpwl-health-metric{padding:14px 12px!important;min-height:112px!important}
  .mpwl-health-metric strong{font-size:20px!important;line-height:1.15!important;white-space:normal!important}
  .mpwl-health-metric>small{font-size:10px!important;line-height:1.3!important;min-height:0!important}
  .mpwl-metric-edit-toggle{min-width:44px!important;min-height:32px!important;padding:5px!important}
  .mpwl-metric-editor input{font-size:16px!important;min-height:44px!important;height:44px!important}
  .mpwl-progress-heading{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:end!important}
  .mpwl-progress.big{height:14px!important;margin-top:12px!important}
  .mpwl-trend-chart{overflow:hidden!important}
  .mpwl-trend-chart svg{width:100%!important;height:125px!important}
  .mpwl-trend-meta{font-size:10px!important}
  .mpwl-auth-wrap{padding:10px!important}
  .mpwl-auth-card{padding:22px 16px!important;border-radius:14px!important}
  .mpwl-day-grid{grid-template-columns:1fr!important}
  .mpwl-appointment{flex-direction:column!important}
  .mpwl-appt-actions{width:100%!important;flex-wrap:wrap!important}
  .mpwl-appt-actions a,.mpwl-appt-actions button{min-height:40px!important;display:inline-flex!important;align-items:center!important}
  .mpwl-document{flex-direction:column!important;align-items:flex-start!important}
  .mpwl-document .mpwl-btn{width:100%!important;text-align:center!important}
  .mpwl-status{gap:10px!important;align-items:flex-start!important}
  .mpwl-form-history-tabs{overflow-x:auto!important;display:flex!important;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch}
  .mpwl-form-history-tabs a{white-space:nowrap!important;flex:0 0 auto!important}
  .mpwl-submission-grid{grid-template-columns:1fr!important}
  .mpwl-patient-instructions-head{align-items:flex-start!important;flex-direction:column!important}
  .mpwl-goals-embed .mp-report-table-wrap{max-width:100%!important;overflow-x:auto!important}
}

@media(max-width:480px){
  .mpwl-mobile-portalbar{padding:9px 10px!important}
  .mpwl-mobile-menu-toggle{width:44px!important;height:44px!important}
  .mpwl-top{padding:12px!important}
  .mpwl-content{padding:8px!important}
  .mpwl-welcome h2{font-size:20px!important}
  .mpwl-health-metrics{grid-template-columns:1fr 1fr!important}
  .mpwl-health-metric{padding:12px 10px!important;min-height:104px!important}
  .mpwl-health-metric-top{align-items:flex-start!important}
  .mpwl-health-metric-top>span{font-size:10px!important;line-height:1.2!important}
  .mpwl-health-metric strong{font-size:19px!important}
  .mpwl-height-fields{grid-template-columns:1fr 1fr!important}
  .mpwl-progress-card{padding:14px!important}
  .mpwl-trend-chart svg{height:110px!important}
  .mpwl-shot-jumpbar{grid-template-columns:1fr!important}
  .mpwl-btn,.mpwl-btn.wide{min-height:44px!important}
  .mpwl-empty{min-height:130px!important;padding:18px!important;text-align:center!important}
}

/* Preserve a compact two-column metric dashboard even on small phones.
   Editors expand inside their own card and do not force horizontal overflow. */
@media(max-width:360px){
  .mpwl-health-metrics{grid-template-columns:1fr!important}
  .mpwl-health-metric{min-height:0!important}
}


/* v1.9.3 staff/admin login shortcut */
.mpwl-staff-login-divider{display:flex;align-items:center;gap:10px;margin:18px 0 12px;color:#7b889d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.mpwl-staff-login-divider:before,.mpwl-staff-login-divider:after{content:"";height:1px;background:#dbe4ef;flex:1}.mpwl-staff-login-btn{display:flex!important;align-items:center;justify-content:center;text-align:center;min-height:44px}.mpwl-staff-login-help{margin:8px 0 14px!important;color:#6d7b91!important;font-size:11px!important;text-align:center}@media(max-width:600px){.mpwl-staff-login-btn{min-height:48px!important;font-size:13px!important}.mpwl-staff-login-help{font-size:11px!important;line-height:1.4!important}}


/* v1.9.4 admin/patient dual-mode switcher */
.mpwl-user-links{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:3px}.mpwl-user-links a{font-weight:700}.mpwl-admin-switch-link{color:#0b4fb3!important}.mpwl-mobile-portal-actions{display:flex;align-items:center;gap:7px}.mpwl-mobile-admin-switch{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 10px;border:1px solid rgba(255,255,255,.38);border-radius:9px;color:#fff!important;text-decoration:none!important;font-size:10px;font-weight:900;letter-spacing:.06em}.mpwl-dual-view-secondary{margin-top:10px!important}
@media(max-width:900px){.mpwl-user-links{display:none}.mpwl-mobile-admin-switch{min-height:38px}}
@media(max-width:430px){.mpwl-mobile-admin-switch{padding:0 8px;font-size:9px}.mpwl-mobile-portal-actions{gap:5px}}


/* v1.9.5 dashboard simplification */
.mpwl-dashboard-top .mpwl-progress-card{display:flex!important;align-items:center!important;min-height:150px}
.mpwl-dashboard-top .mpwl-progress-copy{width:100%!important;margin-bottom:0!important}
.mpwl-dashboard-top .mpwl-trend-chart,.mpwl-dashboard-top .mpwl-trend-empty{display:none!important}
@media(max-width:700px){
  .mpwl-dashboard-top .mpwl-progress-card{min-height:0!important;padding:16px!important}
}


/* v2.0.0 Encounter + Care Management */
.mpwl-care-dashboard{margin-top:0}.mpwl-care-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.mpwl-care-card-head h3{margin:4px 0 0}.mpwl-care-card-head>span,.mpwl-care-updated{font-size:10px;color:var(--mp-muted)}.mpwl-care-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.mpwl-care-plan-grid div{padding:10px;background:#f7f9fc;border-radius:9px}.mpwl-care-plan-grid small{display:block;margin-bottom:4px}.mpwl-care-plan-grid strong{font-size:13px;color:var(--mp-text)}.mpwl-care-plan-note{margin-top:12px;padding:12px;border-left:3px solid var(--mp-blue);background:#f7fbff;font-size:13px;line-height:1.5}.mpwl-latest-instructions p{font-size:14px;line-height:1.6;color:#354a61}.mpwl-latest-instructions .mpwl-text-link{display:block;margin-top:12px}.mpwl-encounter-context{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);border-bottom:1px solid #dce5ef;background:#fff}.mpwl-encounter-original,.mpwl-encounter-snapshot{padding:15px}.mpwl-encounter-original{border-right:1px solid #dce5ef}.mpwl-encounter-original summary{cursor:pointer;font-weight:800;color:#19365b}.mpwl-encounter-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;margin-top:12px}.mpwl-encounter-field-grid div{padding:9px;border:1px solid #edf1f6;border-radius:8px;background:#fbfcfe}.mpwl-encounter-field-grid small,.mpwl-encounter-snapshot-grid small,.mpwl-encounter-weight>small{display:block;font-size:9px;text-transform:uppercase;color:#8390a0;margin-bottom:3px}.mpwl-encounter-field-grid strong{font-size:11px;line-height:1.45;color:#29405c}.mpwl-encounter-snapshot h3{margin:0 0 10px;color:#19365b}.mpwl-encounter-snapshot-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mpwl-encounter-snapshot-grid div{padding:8px;background:#f7f9fc;border-radius:8px}.mpwl-encounter-snapshot-grid strong{font-size:11px;color:#263e59}.mpwl-encounter-weight{margin-top:12px}.mpwl-encounter-weight>div{display:flex;flex-wrap:wrap;gap:6px}.mpwl-encounter-weight span{padding:5px 8px;border-radius:999px;background:#eef4fb;font-size:9px;color:#52708e}.mpwl-encounter-weight b{color:#173d6b}.mpwl-care-plan-admin .mpwl-form-card{border:0}.mpwl-care-plan-admin .mpwl-form-grid textarea{min-height:80px}
@media(max-width:900px){.mpwl-encounter-context{grid-template-columns:1fr}.mpwl-encounter-original{border-right:0;border-bottom:1px solid #dce5ef}.mpwl-encounter-field-grid{grid-template-columns:1fr}.mpwl-care-plan-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.mpwl-care-dashboard{grid-template-columns:1fr!important}.mpwl-care-plan-grid{grid-template-columns:1fr 1fr}.mpwl-care-card-head{flex-direction:column}.mpwl-encounter-snapshot-grid{grid-template-columns:1fr 1fr}.mpwl-care-plan-admin .mpwl-form-grid{grid-template-columns:1fr!important}}
@media(max-width:380px){.mpwl-care-plan-grid,.mpwl-encounter-snapshot-grid{grid-template-columns:1fr}}


/* v2.0.1 — reorganized patient dashboard metrics */
.mpwl-organized-metrics{padding:0!important;overflow:hidden!important}.mpwl-metric-group{padding:18px 20px}.mpwl-metric-group+.mpwl-metric-group{border-top:1px solid var(--mp-border);background:#fbfcfe}.mpwl-metric-group-head{margin-bottom:12px}.mpwl-metric-group-head h3{margin:0!important;font-size:14px!important;color:#243c5a}.mpwl-metric-group-head p{margin:4px 0 0!important;font-size:11px!important;line-height:1.4;color:var(--mp-muted)}.mpwl-organized-metrics .mpwl-weight-metrics .mpwl-health-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.mpwl-organized-metrics .mpwl-body-metrics .mpwl-health-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:680px}.mpwl-organized-metrics .mpwl-health-metric{padding:10px 18px;min-height:96px}.mpwl-organized-metrics .mpwl-health-metric:first-child{padding-left:0}.mpwl-organized-metrics .mpwl-health-metric:last-child{padding-right:0}.mpwl-organized-metrics .mpwl-health-metric-total_lost strong{color:var(--mp-green)}.mpwl-organized-metrics .mpwl-health-metric-current_weight>small{color:#5e7da1}
@media(max-width:900px){.mpwl-organized-metrics .mpwl-weight-metrics .mpwl-health-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mpwl-organized-metrics .mpwl-health-metric:nth-child(2){border-right:0}.mpwl-organized-metrics .mpwl-health-metric:nth-child(-n+2){border-bottom:1px solid var(--mp-border)}.mpwl-organized-metrics .mpwl-body-metrics .mpwl-health-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.mpwl-metric-group{padding:16px}.mpwl-organized-metrics .mpwl-health-metric:first-child{padding-left:10px}.mpwl-organized-metrics .mpwl-health-metric:last-child{padding-right:10px}}
@media(max-width:520px){.mpwl-metric-group{padding:14px 12px}.mpwl-metric-group-head p{font-size:10px!important}.mpwl-organized-metrics .mpwl-health-metric{padding:12px 10px!important;min-height:108px}.mpwl-organized-metrics .mpwl-health-metric strong{font-size:19px!important}.mpwl-organized-metrics .mpwl-health-metric>small{font-size:9px!important}}
@media(max-width:360px){.mpwl-organized-metrics .mpwl-weight-metrics .mpwl-health-metrics,.mpwl-organized-metrics .mpwl-body-metrics .mpwl-health-metrics{grid-template-columns:1fr}.mpwl-organized-metrics .mpwl-health-metric{border-right:0!important;border-bottom:1px solid var(--mp-border)!important}.mpwl-organized-metrics .mpwl-health-metric:last-child{border-bottom:0!important}}


/* v2.0.2 — simplified patient health metrics */
.mpwl-simple-metrics{padding:0!important;overflow:visible!important}
.mpwl-simple-metrics .mpwl-health-metrics{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:0!important;
}
.mpwl-simple-metrics .mpwl-health-metric{
  min-width:0!important;
  padding:16px 14px!important;
  border-right:1px solid var(--mp-border)!important;
  border-bottom:0!important;
}
.mpwl-simple-metrics .mpwl-health-metric:last-child{border-right:0!important}
.mpwl-simple-metrics .mpwl-health-metric strong{
  font-size:21px!important;
  line-height:1.15!important;
  margin:7px 0 4px!important;
  white-space:normal!important;
}
.mpwl-simple-metrics .mpwl-health-metric>small{
  min-height:0!important;
  font-size:9px!important;
  line-height:1.3!important;
  color:#8a97a8!important;
}
.mpwl-simple-metrics .mpwl-metric-edit-toggle{
  font-size:9px!important;
  padding:2px 0!important;
}
.mpwl-simple-metrics .mpwl-health-metric-total_lost strong{
  color:var(--mp-blue)!important;
}
@media(max-width:900px){
  .mpwl-simple-metrics .mpwl-health-metrics{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .mpwl-simple-metrics .mpwl-health-metric{
    border-bottom:1px solid var(--mp-border)!important;
  }
  .mpwl-simple-metrics .mpwl-health-metric:nth-child(3n){border-right:0!important}
  .mpwl-simple-metrics .mpwl-health-metric:nth-last-child(-n+3){border-bottom:0!important}
}
@media(max-width:700px){
  .mpwl-simple-metrics .mpwl-health-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .mpwl-simple-metrics .mpwl-health-metric{
    min-height:104px!important;
    padding:13px 11px!important;
    border-right:1px solid var(--mp-border)!important;
    border-bottom:1px solid var(--mp-border)!important;
  }
  .mpwl-simple-metrics .mpwl-health-metric:nth-child(odd){border-right:1px solid var(--mp-border)!important}
  .mpwl-simple-metrics .mpwl-health-metric:nth-child(even){border-right:0!important}
  .mpwl-simple-metrics .mpwl-health-metric:nth-last-child(-n+2){border-bottom:0!important}
  .mpwl-simple-metrics .mpwl-health-metric strong{font-size:19px!important}
  .mpwl-simple-metrics .mpwl-health-metric>small{font-size:8.5px!important}
}
@media(max-width:360px){
  .mpwl-simple-metrics .mpwl-health-metrics{grid-template-columns:1fr!important}
  .mpwl-simple-metrics .mpwl-health-metric{
    min-height:0!important;
    border-right:0!important;
    border-bottom:1px solid var(--mp-border)!important;
  }
  .mpwl-simple-metrics .mpwl-health-metric:last-child{border-bottom:0!important}
}


/* v2.1.0 — structured EMR encounter workflow */
.mpwl-badge.info{background:#eaf3ff;color:#2764a8}
.mpwl-clinical-decision{border-bottom:1px solid #dce5ef;background:#f9fbfe;padding:16px}
.mpwl-clinical-decision-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}
.mpwl-clinical-decision-head h3{margin:0;color:#19365b;font-size:15px}.mpwl-clinical-decision-head p{margin:4px 0 0}
.mpwl-clinical-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.mpwl-clinical-grid label{display:block;font-size:10px;font-weight:800;color:#42556c}
.mpwl-clinical-grid input[type=text],.mpwl-clinical-grid select,.mpwl-clinical-grid textarea{width:100%;margin-top:5px;border:1px solid #d8e2ee!important;border-radius:8px!important;box-sizing:border-box}
.mpwl-clinical-grid .full{grid-column:1/-1}.mpwl-clinical-grid textarea{min-height:76px}
.mpwl-apply-care-plan{display:flex!important;align-items:flex-start;gap:8px;background:#eef6ff;border:1px solid #d6e7fa;border-radius:9px;padding:10px!important;font-weight:700!important;color:#325a83!important}
.mpwl-apply-care-plan input{margin-top:1px}
.mpwl-clinical-actions{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}
.mpwl-closed-snapshot{margin-top:12px;padding:10px 12px;border:1px solid #cce5d5;background:#f1faf4;border-radius:9px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;font-size:10px;color:#52705d}
.mpwl-closed-snapshot strong{color:#247847}.mpwl-closed-snapshot span{color:#314f3c}.mpwl-closed-snapshot small{text-align:right}
.mpwl-review-grid-two{grid-template-columns:1fr 1fr!important}
.mpwl-review-grid-two .mpwl-review-box+ .mpwl-review-box{border-left:1px solid #dce5ef!important;border-top:0!important}
.mpwl-patient-encounter-summary{margin:18px 0;border:1px solid #d6e1ed;border-radius:12px;background:#fbfcfe;overflow:hidden}
@media(max-width:1100px){.mpwl-clinical-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mpwl-clinical-grid .full{grid-column:1/-1}}
@media(max-width:900px){
  .mpwl-clinical-grid{grid-template-columns:1fr}
  .mpwl-clinical-grid .full{grid-column:1}
  .mpwl-review-grid-two{grid-template-columns:1fr!important}
  .mpwl-review-grid-two .mpwl-review-box+ .mpwl-review-box{border-left:0!important;border-top:1px solid #dce5ef!important}
  .mpwl-closed-snapshot{grid-template-columns:1fr}
  .mpwl-closed-snapshot small{text-align:left}
}
@media(max-width:600px){
  .mpwl-clinical-decision{padding:13px}
  .mpwl-clinical-decision-head{flex-direction:column}
  .mpwl-clinical-actions .button{width:100%}
}


/* v2.1.1 responsive hardening */
.mpwl-patient-encounter-summary,.mpwl-patient-instructions,.mpwl-care-plan-patient,.mpwl-latest-instructions{min-width:0}
.mpwl-patient-encounter-summary *,.mpwl-patient-instructions *,.mpwl-care-plan-patient *,.mpwl-latest-instructions *{overflow-wrap:anywhere}
@media(max-width:700px){
  .mpwl-patient-encounter-summary .mpwl-patient-instructions-head{flex-direction:column;align-items:flex-start}
  .mpwl-care-dashboard{grid-template-columns:1fr!important}
}


/* v2.1.2 / unified v3.0.1 dashboard task + follow-up due pass */
.mpwl-dashboard-top-three{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(220px,.8fr) minmax(260px,.9fr);
  gap:14px;
  margin-bottom:14px;
}
.mpwl-dashboard-top-three>.mpwl-card{margin:0;min-width:0}
.mpwl-followup-due-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.mpwl-followup-state{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.04em;background:#edf4fb;color:#52708e;white-space:nowrap}
.mpwl-followup-due-card.is-soon .mpwl-followup-state{background:#fff5dc;color:#8c6718}
.mpwl-followup-due-card.is-due{border-color:#efcccc;background:#fffafa}
.mpwl-followup-due-card.is-due .mpwl-followup-state{background:#ffeded;color:#a14242}
.mpwl-followup-due-card h3,.mpwl-next-appointment-card h3{margin:10px 0 6px}
.mpwl-followup-due-card p,.mpwl-next-appointment-card p{font-size:12px;line-height:1.5;color:var(--mp-muted);margin:0 0 8px}

.mpwl-quick-tasks{padding:0!important;overflow:hidden}
.mpwl-quick-tasks-head{padding:15px 17px 11px;border-bottom:1px solid var(--mp-border)}
.mpwl-quick-tasks-head h3{margin:3px 0 0;font-size:16px}
.mpwl-quick-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.mpwl-quick-task{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:16px;text-decoration:none!important;color:var(--mp-text)!important;border-right:1px solid var(--mp-border);min-width:0;transition:.15s ease}
.mpwl-quick-task:last-child{border-right:0}
.mpwl-quick-task:hover{background:#f7faff}
.mpwl-quick-task-icon{width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#edf5ff;color:var(--mp-blue);font-size:18px}
.mpwl-quick-task-copy{min-width:0}
.mpwl-quick-task-copy strong{display:block;font-size:13px;color:var(--mp-text);margin-bottom:3px}
.mpwl-quick-task-copy small{display:block;color:var(--mp-muted);font-size:10px;line-height:1.4}
.mpwl-quick-task-arrow{font-size:18px;color:#8aa0b8}
.mpwl-quick-task.is-emphasis{background:#fff9ea}
.mpwl-quick-task.is-emphasis .mpwl-quick-task-icon{background:#fff0c8;color:#8c6718}

@media(max-width:1050px){
  .mpwl-dashboard-top-three{grid-template-columns:1fr 1fr}
  .mpwl-dashboard-top-three .mpwl-progress-card{grid-column:1/-1}
}
@media(max-width:700px){
  .mpwl-dashboard-top-three{grid-template-columns:1fr!important;gap:10px!important}
  .mpwl-dashboard-top-three .mpwl-progress-card{grid-column:auto}
  .mpwl-quick-task-grid{grid-template-columns:1fr}
  .mpwl-quick-task{border-right:0;border-bottom:1px solid var(--mp-border);padding:14px}
  .mpwl-quick-task:last-child{border-bottom:0}
  .mpwl-followup-due-head{align-items:flex-start}
}
@media(max-width:380px){
  .mpwl-quick-task{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;padding:12px}
  .mpwl-quick-task-icon{width:36px;height:36px}
}


/* v2.1.5 / unified v3.0.4 patient experience layer */
.mpwl-welcome-experience{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  padding:15px 17px;
  margin-bottom:14px;
  background:linear-gradient(135deg,#f7fbff 0%,#ffffff 72%);
  border:1px solid #e2ebf5;
}
.mpwl-welcome-experience h2{margin:0 0 4px!important}
.mpwl-welcome-experience p{margin:0!important}
.mpwl-welcome-sparkles{position:absolute;right:15px;top:10px;font-size:18px;letter-spacing:4px;pointer-events:none}
.mpwl-welcome-experience.is-birthday{
  padding:19px 18px;
  border-color:#e8d4ff;
  background:linear-gradient(135deg,#fff5fb 0%,#f5f1ff 48%,#eef8ff 100%);
  box-shadow:0 5px 18px rgba(98,62,155,.08);
}
.mpwl-welcome-experience.is-birthday h2{font-size:25px!important}
.mpwl-welcome-experience.is-new-year{background:linear-gradient(135deg,#f4f9ff,#fff9e9);border-color:#e7debb}
.mpwl-welcome-experience.is-valentine{background:linear-gradient(135deg,#fff5f7,#fff);border-color:#f2d8df}
.mpwl-welcome-experience.is-spring{background:linear-gradient(135deg,#f3fbf5,#fff);border-color:#d9eadc}
.mpwl-welcome-experience.is-summer{background:linear-gradient(135deg,#fffbed,#f4fbff);border-color:#eee3bc}
.mpwl-welcome-experience.is-fall,.mpwl-welcome-experience.is-thanksgiving,.mpwl-welcome-experience.is-halloween{background:linear-gradient(135deg,#fff8ed,#fff);border-color:#eadac2}
.mpwl-welcome-experience.is-holidays{background:linear-gradient(135deg,#f3faf6,#fff7f7);border-color:#d7e8df}

.mpwl-coach-message{
  margin-top:13px;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(32,91,157,.12);
  display:flex;
  flex-direction:column;
  gap:3px;
}
.mpwl-coach-message strong{font-size:10px;letter-spacing:.055em;color:#165da8}
.mpwl-coach-message span{font-size:11px;line-height:1.45;color:#435872}
.mpwl-coach-message.is-milestone{background:#fff9e8;border-color:#efdfac}
.mpwl-coach-message.is-milestone strong{color:#956c0f}
.mpwl-coach-message.is-goal{background:#eefaf1;border-color:#c9e6d1}
.mpwl-coach-message.is-goal strong{color:#277b42}

@media(max-width:700px){
  .mpwl-welcome-experience{padding:14px!important;margin-bottom:10px!important}
  .mpwl-welcome-experience.is-birthday{padding:17px 14px!important}
  .mpwl-welcome-experience.is-birthday h2{font-size:22px!important;padding-right:52px}
  .mpwl-welcome-sparkles{right:8px;top:9px;font-size:15px}
  .mpwl-coach-message{margin-top:11px;padding:10px}
  .mpwl-coach-message span{font-size:10.5px}
}
@media(max-width:380px){
  .mpwl-welcome-experience.is-birthday h2{padding-right:0}
  .mpwl-welcome-sparkles{display:none}
}


/* v2.1.6 / unified v3.0.5 — high-energy progress celebrations */
.mpwl-coach-message{
  position:relative;
  overflow:hidden;
  padding:15px 16px!important;
  border-radius:14px!important;
  gap:5px!important;
  box-shadow:0 4px 14px rgba(32,91,157,.06);
}
.mpwl-coach-message:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 85% 12%,rgba(255,255,255,.9),transparent 28%);
  opacity:.65;
}
.mpwl-coach-message>*{position:relative;z-index:1}
.mpwl-coach-burst{
  font-size:20px;
  line-height:1;
  letter-spacing:3px;
  margin-bottom:3px;
}
.mpwl-coach-message strong{
  font-size:14px!important;
  line-height:1.2!important;
  letter-spacing:.035em!important;
}
.mpwl-coach-message span{
  font-size:12px!important;
  line-height:1.5!important;
  font-weight:650;
}
.mpwl-coach-message.is-daily{
  background:linear-gradient(135deg,#f6fbff,#edf6ff)!important;
  border-color:#cfe2f6!important;
}
.mpwl-coach-message.is-daily strong{color:#155fae!important}

.mpwl-coach-message.is-milestone,
.mpwl-coach-message.is-milestone-25,
.mpwl-coach-message.is-milestone-50,
.mpwl-coach-message.is-milestone-75,
.mpwl-coach-message.is-milestone-loss{
  background:linear-gradient(135deg,#fff4c9 0%,#fff9e9 52%,#fff 100%)!important;
  border:1px solid #f0d57d!important;
  box-shadow:0 6px 18px rgba(177,128,21,.12)!important;
}
.mpwl-coach-message.is-milestone strong,
.mpwl-coach-message.is-milestone-25 strong,
.mpwl-coach-message.is-milestone-50 strong,
.mpwl-coach-message.is-milestone-75 strong,
.mpwl-coach-message.is-milestone-loss strong{
  color:#9a6500!important;
  font-size:15px!important;
}
.mpwl-coach-message.is-goal{
  background:linear-gradient(135deg,#e9faef 0%,#f5fff8 48%,#fff8d9 100%)!important;
  border:1px solid #9fd8ae!important;
  box-shadow:0 7px 20px rgba(44,130,72,.13)!important;
}
.mpwl-coach-message.is-goal strong{
  color:#1f7b3c!important;
  font-size:16px!important;
}
.mpwl-coach-message.is-goal .mpwl-coach-burst{font-size:23px}

@media(max-width:700px){
  .mpwl-coach-message{padding:13px!important}
  .mpwl-coach-burst{font-size:18px}
  .mpwl-coach-message strong{font-size:13px!important}
  .mpwl-coach-message.is-milestone strong,
  .mpwl-coach-message.is-milestone-25 strong,
  .mpwl-coach-message.is-milestone-50 strong,
  .mpwl-coach-message.is-milestone-75 strong,
  .mpwl-coach-message.is-milestone-loss strong{font-size:14px!important}
  .mpwl-coach-message span{font-size:11px!important}
}


/* v2.2.0 / unified v3.1.0 — Wellness + Achievements layer */
.mpwl-wellness-zone{margin-top:16px}
.mpwl-wellness-zone-head{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  padding:20px 22px;
  margin-bottom:12px;
  color:#173550;
  background:linear-gradient(120deg,#eaf7ff 0%,#f4fff4 42%,#fff7e7 100%);
  border:1px solid #d8e8e7;
}
.mpwl-wellness-zone-head:after{
  content:"💪  🔥  🚶  💧  🎯";
  position:absolute;
  right:18px;
  top:18px;
  font-size:24px;
  letter-spacing:7px;
  opacity:.17;
  transform:rotate(-3deg);
}
.mpwl-wellness-zone-head small{font-weight:900;letter-spacing:.08em;color:#3e7790}
.mpwl-wellness-zone-head h2{margin:5px 0 4px;font-size:23px}
.mpwl-wellness-zone-head p{margin:0;max-width:710px;font-size:12px;line-height:1.55;color:#587086}

.mpwl-wellness-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr .8fr;
  gap:12px;
}
.mpwl-wellness-grid>.mpwl-card{margin:0;min-width:0}
.mpwl-wellness-card-head{display:flex;align-items:center;gap:10px;position:relative}
.mpwl-wellness-card-head>div{min-width:0}
.mpwl-wellness-card-head small{display:block;font-size:9px;font-weight:900;letter-spacing:.07em;color:#8291a3}
.mpwl-wellness-card-head h3{margin:3px 0 0;font-size:16px;line-height:1.2}
.mpwl-wellness-icon{
  width:46px;height:46px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;flex:0 0 46px;
  background:linear-gradient(145deg,#edf7ff,#e9f1ff);
  box-shadow:inset 0 0 0 1px rgba(78,126,177,.09);
}
.mpwl-weekly-challenge{
  background:linear-gradient(145deg,#fffdf6,#fff);
  border-color:#efe2b9!important;
}
.mpwl-weekly-challenge.is-complete{
  background:linear-gradient(145deg,#effbf2,#fbfffc);
  border-color:#bfe2ca!important;
}
.mpwl-weekly-challenge p,.mpwl-wellness-tip p,.mpwl-streak-card p{
  font-size:12px;line-height:1.55;color:#455d74;margin:13px 0 9px
}
.mpwl-challenge-coach{
  padding:9px 10px;border-radius:10px;
  background:#fff3cd;color:#88651c;
  font-weight:800;font-size:10px;line-height:1.4;
}
.mpwl-weekly-challenge.is-complete .mpwl-challenge-coach{background:#e9f7ed;color:#2f7650}
.mpwl-complete-badge{
  margin-left:auto;white-space:nowrap;
  border-radius:999px;padding:5px 8px;
  background:#dff4e5;color:#247b43;
  font-size:9px;font-weight:900;
}
.mpwl-challenge-form{margin-top:12px}
.mpwl-challenge-form .mpwl-btn{min-height:40px}

.mpwl-wellness-tip{
  background:linear-gradient(145deg,#f6f2ff,#fff);
  border-color:#ddd3f1!important;
}
.mpwl-wellness-tip .mpwl-wellness-icon{background:linear-gradient(145deg,#efe8ff,#f8f5ff)}
.mpwl-tip-footer{
  margin-top:11px;padding-top:10px;border-top:1px dashed #ded7ea;
  color:#785fa2;font-weight:800;font-size:10px;
}
.mpwl-streak-card{
  background:linear-gradient(145deg,#fff6ee,#fff);
  border-color:#efd7c4!important;
}
.mpwl-streak-card .mpwl-wellness-icon{background:linear-gradient(145deg,#ffe4ce,#fff3e8)}
.mpwl-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}
.mpwl-mini-stats span{padding:9px;border-radius:9px;background:rgba(255,255,255,.72);font-size:9px;color:#7a685b;text-align:center}
.mpwl-mini-stats b{display:block;font-size:16px;color:#bf5b18;margin-bottom:2px}

.mpwl-achievements-card{margin-top:12px!important;padding:0!important;overflow:hidden}
.mpwl-achievements-head{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:16px 18px;border-bottom:1px solid var(--mp-border);
  background:linear-gradient(90deg,#f7fbff,#fff);
}
.mpwl-achievements-head h3{margin:3px 0 1px;font-size:17px}
.mpwl-achievements-head p{margin:0;font-size:10px;color:var(--mp-muted)}
.mpwl-achievement-count{
  padding:6px 9px;border-radius:999px;
  background:#fff3c7;color:#88630d;
  font-size:9px;font-weight:900;white-space:nowrap;
}
.mpwl-badge-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.mpwl-achievement-badge{
  position:relative;
  display:grid;grid-template-columns:44px minmax(0,1fr) auto;
  gap:10px;align-items:center;padding:14px;
  border-right:1px solid var(--mp-border);
  border-bottom:1px solid var(--mp-border);
  min-width:0;
}
.mpwl-achievement-badge:nth-child(3n){border-right:0}
.mpwl-achievement-badge:nth-last-child(-n+3){border-bottom:0}
.mpwl-achievement-icon{
  width:42px;height:42px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:21px;background:#eef5ff;
}
.mpwl-achievement-badge strong{display:block;font-size:11px;color:#213a55;margin-bottom:2px}
.mpwl-achievement-badge small{display:block;font-size:9px;line-height:1.35;color:#7e8c9d}
.mpwl-achievement-badge.is-earned{background:linear-gradient(135deg,#fffef7,#fff)}
.mpwl-achievement-badge.is-earned .mpwl-achievement-icon{
  background:linear-gradient(145deg,#fff0b9,#fff8de);
  box-shadow:0 3px 10px rgba(174,128,23,.13);
}
.mpwl-earned-check{
  width:22px;height:22px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#29a35a;color:#fff;font-size:11px;font-weight:900;
}
.mpwl-achievement-badge.is-locked{opacity:.44;filter:grayscale(.55)}
.mpwl-achievement-badge.is-locked .mpwl-achievement-icon{background:#eef1f4}

@media(max-width:1050px){
  .mpwl-wellness-grid{grid-template-columns:1fr 1fr}
  .mpwl-streak-card{grid-column:1/-1}
  .mpwl-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mpwl-achievement-badge:nth-child(3n){border-right:1px solid var(--mp-border)}
  .mpwl-achievement-badge:nth-child(2n){border-right:0}
  .mpwl-achievement-badge:nth-last-child(-n+3){border-bottom:1px solid var(--mp-border)}
  .mpwl-achievement-badge:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:700px){
  .mpwl-wellness-zone{margin-top:12px}
  .mpwl-wellness-zone-head{padding:16px 14px;border-radius:14px}
  .mpwl-wellness-zone-head:after{font-size:17px;right:8px;top:10px;letter-spacing:3px}
  .mpwl-wellness-zone-head h2{font-size:19px;padding-right:70px}
  .mpwl-wellness-zone-head p{font-size:10.5px}
  .mpwl-wellness-grid{grid-template-columns:1fr}
  .mpwl-streak-card{grid-column:auto}
  .mpwl-wellness-grid>.mpwl-card{padding:14px!important}
  .mpwl-badge-grid{grid-template-columns:1fr 1fr}
  .mpwl-achievement-badge{padding:11px;grid-template-columns:38px minmax(0,1fr) auto;gap:8px}
  .mpwl-achievement-icon{width:36px;height:36px;font-size:18px}
  .mpwl-achievements-head{padding:14px;align-items:flex-start}
}
@media(max-width:430px){
  .mpwl-badge-grid{grid-template-columns:1fr}
  .mpwl-achievement-badge{border-right:0!important;border-bottom:1px solid var(--mp-border)!important}
  .mpwl-achievement-badge:last-child{border-bottom:0!important}
  .mpwl-achievements-head{flex-direction:column}
  .mpwl-achievement-count{align-self:flex-start}
  .mpwl-wellness-zone-head h2{padding-right:0}
  .mpwl-wellness-zone-head:after{display:none}
}


/* v2.7.8 — Shot Tracker recent injections mobile cards */
.mpwl-recent-mobile-list{display:none}
.mpwl-recent-dose{
  display:block;
  margin-top:2px;
  font-size:10px;
  color:var(--mp-muted);
}
.mpwl-recent-injections-card{
  overflow:hidden!important;
}
.mpwl-recent-history-link{
  display:inline-block;
  margin-top:12px;
}

@media(max-width:700px){
  .mpwl-recent-injections-card{
    padding:14px!important;
    margin-top:10px!important;
  }
  .mpwl-recent-injections-card h3{
    margin:0 0 10px!important;
    font-size:18px!important;
  }

  .mpwl-recent-desktop-table{
    display:none!important;
  }
  .mpwl-recent-mobile-list{
    display:grid!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
  }
  .mpwl-recent-mobile-item{
    display:grid!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    padding:11px 12px!important;
    box-sizing:border-box!important;
    border:1px solid var(--mp-border)!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  .mpwl-recent-mobile-head{
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:10px!important;
    padding-bottom:7px!important;
    border-bottom:1px solid var(--mp-border)!important;
  }
  .mpwl-recent-mobile-head strong{
    font-size:13px!important;
    color:var(--mp-text)!important;
  }
  .mpwl-recent-mobile-head span{
    flex:0 0 auto!important;
    font-size:12px!important;
    font-weight:800!important;
    color:#1763ba!important;
  }
  .mpwl-recent-mobile-detail{
    display:grid!important;
    grid-template-columns:78px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:start!important;
    min-width:0!important;
  }
  .mpwl-recent-mobile-detail small{
    font-size:9px!important;
    font-weight:800!important;
    color:var(--mp-muted)!important;
    text-transform:uppercase!important;
    letter-spacing:.035em!important;
  }
  .mpwl-recent-mobile-detail span{
    min-width:0!important;
    font-size:12px!important;
    font-weight:700!important;
    color:var(--mp-text)!important;
    overflow-wrap:anywhere!important;
  }
  .mpwl-recent-history-link{
    margin-top:12px!important;
    font-size:14px!important;
  }

  /* Reduce the oversized visual gap after the embedded shot-entry form. */
  .mpwl-embedded-tracker{
    margin-bottom:10px!important;
  }
  .mpwl-embedded-tracker .mpwl-exact-card:last-child,
  .mpwl-embedded-tracker form:last-child,
  .mpwl-embedded-tracker .gform_wrapper{
    margin-bottom:0!important;
  }
}


/* v2.7.9 — full responsive hardening pass */

/* Universal containment */
.mpwl-portal,
.mpwl-main,
.mpwl-content,
.mpwl-card,
.mpwl-grid,
.mpwl-dashboard-top,
.mpwl-dashboard-top-three,
.mpwl-health-metrics,
.mpwl-action-grid,
.mpwl-form-card,
.mpwl-embedded-tracker,
.mpwl-wellness-zone,
.mpwl-table,
.mpwl-appointment,
.mpwl-message,
.mpwl-care-dashboard,

.mpwl-portal *,
.mpwl-admin-v3 *{
  box-sizing:border-box;
}
.mpwl-portal img,
.mpwl-portal svg,
.mpwl-portal video,
.mpwl-portal iframe{
  max-width:100%!important;
  height:auto;
}

/* Prevent long content from forcing width */
.mpwl-card,
.mpwl-message,
.mpwl-appointment,
.mpwl-care-plan-note,
.mpwl-coach-message,
.mpwl-text-link,
.mpwl-quick-task-copy,
.mpwl-response-value,
.mpwl-response-label{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

/* Tablet */
@media(max-width:900px){
  .mpwl-portal{
    width:100%!important;
    max-width:100%!important;
    left:auto!important;
    transform:none!important;
    margin:0!important;
    border-radius:0!important;
    grid-template-columns:1fr!important;
    overflow:visible!important;
  }

  .mpwl-main,
  .mpwl-content{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }

  .mpwl-content{
    padding:14px!important;
    overflow-x:hidden!important;
  }

  /* Portal navigation */
  .mpwl-sidebar{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    border-right:0!important;
    border-bottom:1px solid var(--mp-border)!important;
    scrollbar-width:none!important;
  }
  .mpwl-sidebar::-webkit-scrollbar{display:none!important}
  .mpwl-sidebar nav{
    display:flex!important;
    flex-direction:row!important;
    gap:6px!important;
    width:max-content!important;
    min-width:100%!important;
  }
  .mpwl-sidebar nav a{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }

  /* Cards / grids */
  .mpwl-grid.two,
  .mpwl-grid.four,
  .mpwl-action-grid,
  .mpwl-care-plan-grid{
    grid-template-columns:1fr 1fr!important;
  }

  .mpwl-dashboard-top-three{
    grid-template-columns:1fr 1fr!important;
  }
  .mpwl-dashboard-top-three .mpwl-progress-card{
    grid-column:1/-1!important;
  }

  /* Forms */
  .mpwl-form-card .gform_wrapper,
  .mpwl-form-card .gform-body,
  .mpwl-form-card .gform_fields,
  .mpwl-form-card .gfield,
  .mpwl-form-card .ginput_container{
    min-width:0!important;
    max-width:100%!important;
  }
  .mpwl-form-card .gform_fields{
    grid-template-columns:1fr!important;
  }
  .mpwl-form-card .gfield{
    grid-column:1/-1!important;
  }

  /* Header cards */
  .mpwl-shot-intro,
  .mpwl-shot-history-head{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:10px!important;
  }
}

/* Phone */
@media(max-width:700px){
  .mpwl-content{
    padding:12px!important;
  }

  .mpwl-card{
    padding:14px!important;
    border-radius:12px!important;
  }

  .mpwl-top{
    padding:13px 14px!important;
  }
  .mpwl-top h1{
    font-size:22px!important;
    line-height:1.15!important;
  }
  .mpwl-top p{
    font-size:13px!important;
    line-height:1.4!important;
  }

  /* Dashboard */
  .mpwl-dashboard-top-three,
  .mpwl-grid.two,
  .mpwl-grid.four,
  .mpwl-action-grid,
  .mpwl-care-plan-grid{
    grid-template-columns:1fr!important;
  }
  .mpwl-dashboard-top-three .mpwl-progress-card{
    grid-column:auto!important;
  }

  .mpwl-progress-heading{
    gap:8px!important;
    font-size:11px!important;
  }
  .mpwl-progress-heading span:last-child{
    text-align:right!important;
  }


  /* Existing lower quick tasks */
  .mpwl-quick-task-grid{
    grid-template-columns:1fr!important;
  }
  .mpwl-quick-task{
    grid-template-columns:40px minmax(0,1fr) auto!important;
    border-right:0!important;
    border-bottom:1px solid var(--mp-border)!important;
    padding:13px!important;
  }
  .mpwl-quick-task:last-child{
    border-bottom:0!important;
  }

  /* Inputs: avoid iOS zoom + clipping */
  .mpwl-form input:not([type="checkbox"]):not([type="radio"]),
  .mpwl-form select,
  .mpwl-form textarea,
  .mpwl-form-card input:not([type="checkbox"]):not([type="radio"]),
  .mpwl-form-card select,
  .mpwl-form-card textarea,
  .mpwl-auth-card input:not([type="checkbox"]){
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    font-size:16px!important;
    box-sizing:border-box!important;
  }

  .mpwl-form-card .gform_footer,
  .mpwl-form-card .gform_page_footer{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .mpwl-form-card .gform_footer input[type="submit"],
  .mpwl-form-card .gform_page_footer input,
  .mpwl-form-card .gform_page_footer button{
    width:100%!important;
    min-height:46px!important;
    margin:0!important;
  }

  /* Shot tracker */
  .mpwl-shot-section{
    margin-bottom:18px!important;
  }
  .mpwl-shot-jumpbar{
    position:static!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:100%!important;
  }
  .mpwl-shot-jumpbar .mpwl-btn{
    width:100%!important;
    text-align:center!important;
  }

  /* Generic tables become scroll-contained unless they have card-specific mobile transforms */
  .mpwl-table{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .mpwl-table table{
    max-width:none!important;
  }

  /* Appointments */
  .mpwl-appointment{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:9px!important;
  }
  .mpwl-appt-actions{
    width:100%!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }

  /* Messages / docs */
  .mpwl-message,
  .mpwl-document{
    min-width:0!important;
    max-width:100%!important;
  }

  /* Wellness and care areas */
  .mpwl-wellness-zone-head{
    gap:8px!important;
  }
  .mpwl-care-card-head{
    flex-direction:column!important;
    align-items:flex-start!important;
  }
}

/* Small phones */
@media(max-width:430px){
  .mpwl-content{
    padding:10px!important;
  }
  .mpwl-card{
    padding:12px!important;
  }



  .mpwl-progress-heading{
    flex-direction:column!important;
    align-items:flex-start!important;
  }
  .mpwl-progress-heading span:last-child{
    text-align:left!important;
  }

  .mpwl-shot-jumpbar{
    grid-template-columns:1fr!important;
  }

  .mpwl-health-metrics{
    grid-template-columns:1fr!important;
  }
  .mpwl-health-metric{
    border-right:0!important;
    border-bottom:1px solid var(--mp-border)!important;
  }
  .mpwl-health-metric:last-child{
    border-bottom:0!important;
  }

  .mpwl-height-fields{
    grid-template-columns:1fr 1fr!important;
  }

  .mpwl-quick-task{
    grid-template-columns:36px minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:11px!important;
  }

  .mpwl-quick-task-icon{
    width:34px!important;
    height:34px!important;
  }
}

/* Admin responsive hardening */
@media(max-width:782px){
  body.wp-admin .mpwl-admin-v3,
  body.wp-admin .mpwl-admin-main,
  body.wp-admin .mpwl-admin-content,
  body.wp-admin .mpwl-panel,
  body.wp-admin .mpwl-profile-hero,
  body.wp-admin .mpwl-encounter-workspace,
  body.wp-admin .mpwl-encounter-card,
  body.wp-admin .mpwl-clean-review-queue,
  body.wp-admin .mpwl-flow-sheet-page{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  body.wp-admin .mpwl-admin-content{
    overflow-x:hidden!important;
  }

  /* Patient chart tabs */
  body.wp-admin .mpwl-tabs{
    display:flex!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    gap:4px!important;
    scrollbar-width:none!important;
    white-space:nowrap!important;
  }
  body.wp-admin .mpwl-tabs::-webkit-scrollbar{display:none!important}
  body.wp-admin .mpwl-tabs a{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }

  /* Patient header */
  body.wp-admin .mpwl-profile-main{
    min-width:0!important;
  }
  body.wp-admin .mpwl-profile-ident{
    min-width:0!important;
  }
  body.wp-admin .mpwl-profile-ident h2,
  body.wp-admin .mpwl-profile-ident .meta{
    overflow-wrap:anywhere!important;
  }
  body.wp-admin .mpwl-profile-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
  }
  body.wp-admin .mpwl-profile-actions .button{
    width:100%!important;
    min-height:42px!important;
  }

  /* Encounter */
  body.wp-admin .mpwl-encounter-overview-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
    padding:8px!important;
  }
  body.wp-admin .mpwl-encounter-left,
  body.wp-admin .mpwl-encounter-right{
    grid-template-columns:minmax(0,1fr)!important;
    min-width:0!important;
  }
  body.wp-admin .mpwl-encounter-card-head,
  body.wp-admin .mpwl-clinical-decision-head,
  body.wp-admin .mpwl-panel-head{
    flex-wrap:wrap!important;
    gap:8px!important;
  }

  /* Response rows */
  body.wp-admin .mpwl-response-row{
    display:block!important;
  }
  body.wp-admin .mpwl-response-label,
  body.wp-admin .mpwl-response-value{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }

  /* Clinical fields */
  body.wp-admin .mpwl-clinical-grid,
  body.wp-admin .mpwl-encounter-treatment-edit,
  body.wp-admin .mpwl-flow-entry-form,
  body.wp-admin .mpwl-chart-appointment-form-fields{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.wp-admin .mpwl-clinical-grid label,
  body.wp-admin .mpwl-encounter-treatment-edit label,
  body.wp-admin .mpwl-flow-entry-form label,
  body.wp-admin .mpwl-chart-appointment-form-fields label{
    grid-column:1!important;
    min-width:0!important;
  }

  body.wp-admin .mpwl-clinical-grid input,
  body.wp-admin .mpwl-clinical-grid select,
  body.wp-admin .mpwl-clinical-grid textarea,
  body.wp-admin .mpwl-encounter-treatment-edit input,
  body.wp-admin .mpwl-encounter-treatment-edit select,
  body.wp-admin .mpwl-review-box input,
  body.wp-admin .mpwl-review-box select,
  body.wp-admin .mpwl-review-box textarea,
  body.wp-admin .mpwl-flow-entry-form input,
  body.wp-admin .mpwl-flow-entry-form textarea,
  body.wp-admin .mpwl-chart-appointment-form-fields input,
  body.wp-admin .mpwl-chart-appointment-form-fields select,
  body.wp-admin .mpwl-chart-appointment-form-fields textarea{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    font-size:16px!important;
    box-sizing:border-box!important;
  }

  /* Action buttons */
  body.wp-admin .mpwl-clinical-actions .button,
  body.wp-admin .mpwl-review-box .button,
  body.wp-admin .mpwl-flow-submit .button,
  body.wp-admin .mpwl-chart-appointment-form-fields .button{
    width:100%!important;
    min-height:44px!important;
  }

  /* Forms queue */
  body.wp-admin .mpwl-clean-review-row,
  body.wp-admin .mpwl-patient-encounter-row{
    min-width:0!important;
  }

  /* Flow sheet + appointment tables already cardify; ensure no leftover width */
  body.wp-admin .mpwl-flow-table-wrap,
  body.wp-admin .mpwl-table-wrap{
    max-width:100%!important;
  }
}

@media(max-width:430px){
  body.wp-admin .mpwl-profile-actions{
    grid-template-columns:1fr!important;
  }
  body.wp-admin .mpwl-review-summary{
    grid-template-columns:1fr!important;
  }
  body.wp-admin .mpwl-patient-forms-care{
    grid-template-columns:1fr!important;
  }
}




/* v2.8.2 — clean dashboard hierarchy */
.mpwl-dashboard-top-three{
  align-items:stretch!important;
}
.mpwl-dashboard-top-three > .mpwl-progress-card,
.mpwl-dashboard-top-three > .mpwl-next-appointment-card,
.mpwl-dashboard-top-three > .mpwl-followup-due-card{
  min-width:0!important;
  width:auto!important;
}
.mpwl-quick-tasks{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 14px!important;
}
@media(max-width:900px){
  .mpwl-dashboard-top-three{
    grid-template-columns:1fr 1fr!important;
  }
  .mpwl-dashboard-top-three > .mpwl-progress-card{
    grid-column:1/-1!important;
  }
}
@media(max-width:700px){
  .mpwl-dashboard-top-three{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .mpwl-dashboard-top-three > .mpwl-progress-card{
    grid-column:auto!important;
  }
  .mpwl-quick-tasks{
    margin-bottom:10px!important;
  }
}


/* v2.9.0 — maintenance baseline
   Cleanup + regression release. No intentional visual redesign. */


/* v2.9.1 — Form 4 → Form 29 prefill notice */
.mpwl-prefill-note{
  margin-top:8px;
  padding:8px 10px;
  border-radius:8px;
  background:#eef7ff;
  color:#245b8f;
  font-size:12px;
  line-height:1.4;
}


/* v2.9.3 — Stronger My Progress page */
.mpwl-progress-page{display:grid;gap:16px}
.mpwl-progress-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px}
.mpwl-progress-hero-copy small,.mpwl-section-head small{font-size:11px;font-weight:800;letter-spacing:.08em;color:#6c7b8d}
.mpwl-progress-hero-copy h2{margin:4px 0 6px;font-size:28px;line-height:1.1}
.mpwl-progress-hero-copy p{margin:0;color:#5b6878}
.mpwl-progress-ring-copy{min-width:112px;text-align:center;padding:16px;border:1px solid #dfe7ef;border-radius:16px}
.mpwl-progress-ring-copy strong{display:block;font-size:28px;line-height:1;color:#163d67}
.mpwl-progress-ring-copy span{display:block;margin-top:5px;font-size:11px;color:#6d7a89}
.mpwl-progress-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.mpwl-progress-stat{padding:16px}
.mpwl-progress-stat small{display:block;font-size:10px;font-weight:800;letter-spacing:.05em;color:#728093;text-transform:uppercase}
.mpwl-progress-stat strong{display:block;margin-top:7px;font-size:21px;color:#1d3550}
.mpwl-progress-stat strong span{font-size:11px;color:#768395}
.mpwl-progress-goal-card{padding:18px 20px}
.mpwl-progress-goal-foot{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:12px;color:#667487}
.mpwl-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.mpwl-section-head h3{margin:3px 0 0;font-size:18px}
.mpwl-section-head>span{font-size:11px;color:#7a8795}
.mpwl-progress-trend-section{padding:20px}
.mpwl-progress-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.mpwl-progress-mini-stats>div{padding:12px;border:1px solid #e3e9ef;border-radius:10px;background:#fafcfe}
.mpwl-progress-mini-stats small{display:block;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#7c8997}
.mpwl-progress-mini-stats strong{display:block;margin-top:5px;font-size:14px;color:#263e57}
.mpwl-progress-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mpwl-health-metrics{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e4eaf0;border-radius:12px;overflow:hidden}
.mpwl-health-metrics>div{padding:13px 14px;border-bottom:1px solid #e4eaf0}
.mpwl-health-metrics>div:nth-child(odd){border-right:1px solid #e4eaf0}
.mpwl-health-metrics>div:nth-last-child(-n+2){border-bottom:0}
.mpwl-health-metrics span{display:block;font-size:10px;color:#738194;text-transform:uppercase;font-weight:800}
.mpwl-health-metrics strong{display:block;margin-top:4px;font-size:17px;color:#1f3a56}
.mpwl-progress-disclaimer{margin:12px 0 0;font-size:11px;line-height:1.45;color:#7a8794}
.mpwl-milestone-list{display:grid;gap:8px}
.mpwl-milestone-item{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;border:1px solid #e4e9ef}
.mpwl-milestone-item span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-weight:900}
.mpwl-milestone-item.earned{background:#f5fbf7;border-color:#d7eadc}
.mpwl-milestone-item.earned span{background:#e2f3e6;color:#23743b}
.mpwl-milestone-item.locked{opacity:.62}
.mpwl-weighins-section{padding:20px}
.mpwl-weighins-table{border:1px solid #e1e7ee;border-radius:12px;overflow:hidden}
.mpwl-weighins-row{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #edf1f5;font-size:13px}
.mpwl-weighins-row:last-child{border-bottom:0}
.mpwl-weighins-row.head{background:#f7f9fb;font-size:10px;font-weight:800;text-transform:uppercase;color:#778493}
.mpwl-weight-change.down{font-weight:800;color:#2a6e3c}
.mpwl-weight-change.up{font-weight:800;color:#8a4f33}

@media(max-width:1100px){
  .mpwl-progress-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .mpwl-progress-page{gap:12px}
  .mpwl-progress-hero{align-items:flex-start;padding:16px}
  .mpwl-progress-hero-copy h2{font-size:23px}
  .mpwl-progress-ring-copy{min-width:86px;padding:12px}
  .mpwl-progress-ring-copy strong{font-size:23px}
  .mpwl-progress-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mpwl-progress-stat{padding:13px 12px}
  .mpwl-progress-stat strong{font-size:18px}
  .mpwl-progress-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mpwl-progress-two-col{grid-template-columns:1fr}
  .mpwl-section-head{align-items:center}
  .mpwl-weighins-row{grid-template-columns:1.25fr .9fr .9fr;padding:11px 10px;gap:8px}
}
@media(max-width:430px){
  .mpwl-progress-hero{display:grid;grid-template-columns:1fr auto}
  .mpwl-progress-ring-copy{min-width:76px}
  .mpwl-progress-hero-copy p{grid-column:1/-1}
  .mpwl-progress-summary-grid{grid-template-columns:1fr 1fr}
  .mpwl-progress-mini-stats{grid-template-columns:1fr 1fr}
  .mpwl-weighins-row{font-size:12px}
}


/* v3.7.4 — mobile portal navigation repair + stronger patient account creation */
.mpwl-new-account-callout{
  margin:0 0 20px;
  padding:18px;
  border:1px solid #c7d9ef;
  border-radius:14px;
  background:#f3f8ff;
  text-align:left;
}
.mpwl-new-account-callout>span{
  display:block;
  margin-bottom:4px;
  color:#66809f;
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
}
.mpwl-new-account-callout>strong{
  display:block;
  color:#18375e;
  font-size:18px;
  line-height:1.25;
}
.mpwl-new-account-callout>p{
  margin:5px 0 13px!important;
  color:#647892!important;
  font-size:13px;
  line-height:1.45;
}
.mpwl-create-account-btn{
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-height:48px;
  background:#0b4fb3!important;
  font-size:13px!important;
  letter-spacing:.02em;
}
.mpwl-patient-login-divider,
.mpwl-staff-login-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0;
  color:#7a8aa0;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.mpwl-patient-login-divider:before,.mpwl-patient-login-divider:after,
.mpwl-staff-login-divider:before,.mpwl-staff-login-divider:after{
  content:"";
  height:1px;
  flex:1 1 auto;
  background:#dce5ef;
}
.mpwl-forgot-password{margin:12px 0 2px;text-align:left;font-size:12px}
.mpwl-forgot-password a{color:var(--mp-blue);font-weight:700;text-decoration:none}

/* This block intentionally comes after the broad responsive pass so the
   patient menu remains a vertical, complete drawer instead of a hidden
   horizontal strip on phones/tablets. */
@media(max-width:900px){
  .mpwl-sidebar{
    display:none!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    padding:12px!important;
    overflow:visible!important;
    border-right:0!important;
    border-bottom:1px solid var(--mp-border)!important;
    background:#fff!important;
  }
  .mpwl-sidebar.is-open{display:block!important}
  .mpwl-sidebar nav{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  .mpwl-sidebar .mpwl-nav-section{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    gap:4px!important;
    margin:0 0 12px!important;
  }
  .mpwl-sidebar .mpwl-nav-heading{display:block!important;width:100%!important;box-sizing:border-box}
  .mpwl-sidebar nav a{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    flex:0 0 auto!important;
    box-sizing:border-box!important;
    white-space:normal!important;
  }
  .mpwl-sidebar-foot{margin-top:8px!important}
}
@media(max-width:520px){
  .mpwl-login-card{padding:20px 16px!important}
  .mpwl-new-account-callout{padding:15px;margin-bottom:16px}
  .mpwl-new-account-callout>strong{font-size:17px}
  .mpwl-patient-login-divider,.mpwl-staff-login-divider{margin:17px 0}
}

/* v3.7.5 account password + trusted-device controls */
.mpwl-account-password{margin-top:24px}
.mpwl-account-password>p{margin-top:-4px;color:#667a93}
.mpwl-device-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.mpwl-device-row>div{min-width:0;flex:1}
.mpwl-device-revoke{flex:0 0 auto;margin:0}
.mpwl-device-revoke .mpwl-btn{min-height:38px;padding:8px 14px;font-size:12px}
@media(max-width:700px){.mpwl-device-row{flex-direction:column}.mpwl-device-revoke,.mpwl-device-revoke .mpwl-btn{width:100%}}

/* v3.7.13 — cleanup pass: true shot history, documents/reports, messages */
.mpwl-history-summary{margin:14px 0}.mpwl-history-summary .mpwl-card{min-height:108px}.mpwl-history-filter-card{padding:16px 18px}.mpwl-history-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end}.mpwl-history-filters label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:800;color:#52677f}.mpwl-history-filters select{width:100%;min-height:42px;border:1px solid #cfdae7;border-radius:8px;background:#fff;padding:7px 10px;color:#243e5d}.mpwl-history-filter-actions{display:flex;gap:7px;align-items:center}.mpwl-history-list-card{padding:0;overflow:hidden}.mpwl-history-table-wrap{overflow-x:auto}.mpwl-history-table{width:100%;border-collapse:collapse;min-width:900px}.mpwl-history-table th{padding:11px 13px;background:#f5f8fc;border-bottom:1px solid #dce5ef;text-align:left;color:#52677f;font-size:10px;text-transform:uppercase;letter-spacing:.035em}.mpwl-history-table td{padding:12px 13px;border-bottom:1px solid #edf1f6;vertical-align:top;font-size:12px;line-height:1.45}.mpwl-history-table td small{display:block;margin-top:3px;color:#71829a}.mpwl-history-table tr:last-child td{border-bottom:0}
.mpwl-card-heading-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}.mpwl-card-heading-row h3{margin:0 0 4px}.mpwl-card-heading-row p{margin:0;color:#71829a;font-size:12px}.mpwl-count-pill{white-space:nowrap;border-radius:999px;background:#edf4fc;color:#315b89;padding:6px 9px;font-size:10px;font-weight:800}.mpwl-documents-card+.mpwl-documents-card{margin-top:14px}.mpwl-message-list{display:grid;gap:10px}.mpwl-message-card{border:1px solid #dbe5ef;border-radius:10px;padding:14px;background:#fff}.mpwl-message-card.is-unread{border-left:4px solid #1765bd;background:#fbfdff}.mpwl-message-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#7a8999;font-size:10px}.mpwl-message-status{font-weight:900;text-transform:uppercase;letter-spacing:.03em}.mpwl-message-card.is-unread .mpwl-message-status{color:#1765bd}.mpwl-message-card h4{margin:8px 0 5px;font-size:14px;color:#18375a}.mpwl-message-card p{margin:0;line-height:1.55;font-size:12px}.mpwl-goals-save button:disabled{opacity:.5;cursor:not-allowed}.mpwl-goals-save small{display:block;margin-top:8px;color:#71829a}
@media(max-width:900px){.mpwl-history-filters{grid-template-columns:1fr 1fr}.mpwl-history-filter-actions{grid-column:1/-1}.mpwl-history-filter-actions .mpwl-btn{flex:1;text-align:center}}
@media(max-width:700px){.mpwl-history-filters{grid-template-columns:1fr}.mpwl-history-filter-actions{grid-column:1}.mpwl-history-table{min-width:0}.mpwl-history-table thead{display:none}.mpwl-history-table,.mpwl-history-table tbody,.mpwl-history-table tr,.mpwl-history-table td{display:block;width:100%}.mpwl-history-table tr{padding:8px 0;border-bottom:1px solid #dce5ef}.mpwl-history-table td{display:grid;grid-template-columns:125px 1fr;gap:8px;border:0;padding:6px 12px}.mpwl-history-table td:before{content:attr(data-label);font-size:9px;font-weight:900;text-transform:uppercase;color:#71829a}.mpwl-card-heading-row{flex-direction:column}.mpwl-count-pill{align-self:flex-start}}

/* v3.7.16 — My Progress before + goal photos (Dropbox-direct storage) */
.mpwl-progress-photos-section{padding:20px}
.mpwl-progress-photo-heading{align-items:center}
.mpwl-progress-photo-heading p{margin:5px 0 0;color:#71829a;font-size:12px}
.mpwl-dropbox-badge{display:inline-flex!important;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#eef6ff;color:#235d9d!important;font-size:10px!important;font-weight:900;white-space:nowrap}
.mpwl-progress-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mpwl-progress-photo-card{display:grid;grid-template-columns:minmax(190px,.82fr) minmax(0,1.18fr);min-height:255px;border:1px solid #dce5ef;border-radius:14px;overflow:hidden;background:#fff}
.mpwl-progress-photo-frame{position:relative;min-height:255px;background:linear-gradient(145deg,#edf4fc,#f7f9fc);overflow:hidden}
.mpwl-progress-photo-frame>img{width:100%;height:100%;min-height:255px;object-fit:cover;display:block}
.mpwl-progress-photo-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;color:#6c7d91}
.mpwl-progress-photo-placeholder>span{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#fff;border:1px solid #dce5ef;font-size:24px;box-shadow:0 4px 14px rgba(24,55,90,.05)}
.mpwl-progress-photo-placeholder strong{margin-top:11px;color:#24405f;font-size:14px}
.mpwl-progress-photo-placeholder small{margin-top:4px;font-size:10px;color:#8795a5}
.mpwl-progress-photo-loading{position:absolute;inset:0;display:none!important;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:rgba(246,250,254,.92);z-index:3;color:#35516f;font-size:11px}
.mpwl-progress-photo-loading.is-active{display:flex!important}
.mpwl-progress-photo-loading[hidden]{display:none!important}
.mpwl-progress-photo-loading span{width:28px;height:28px;border:3px solid #c9d8e8;border-top-color:#1765bd;border-radius:50%;animation:mpwl-photo-spin .8s linear infinite}
@keyframes mpwl-photo-spin{to{transform:rotate(360deg)}}
.mpwl-progress-photo-copy{display:flex;flex-direction:column;justify-content:space-between;gap:14px;padding:18px}
.mpwl-progress-photo-copy>div:first-child>strong{display:block;color:#18375a;font-size:15px}
.mpwl-progress-photo-copy p{margin:5px 0 0;color:#6d7b8c;font-size:11px;line-height:1.5}
.mpwl-photo-date{display:block;margin-top:8px;color:#8a98a8;font-size:9px}
.mpwl-progress-photo-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mpwl-progress-photo-actions .mpwl-btn{cursor:pointer;margin:0}
.mpwl-progress-photo-actions .mpwl-btn.is-disabled{opacity:.5;cursor:not-allowed}
.mpwl-text-btn{appearance:none;border:0;background:transparent;color:#6e7e90;padding:5px 2px;font:inherit;font-size:10px;font-weight:800;text-decoration:underline;cursor:pointer}
.mpwl-text-btn:hover{color:#a04444}
.mpwl-progress-photo-status{min-height:15px;margin-top:-4px;font-size:10px;font-weight:700}
.mpwl-progress-photo-status.is-success{color:#2d7d49}
.mpwl-progress-photo-status.is-error{color:#a44141}
.mpwl-progress-photo-privacy{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:11px 12px;border:1px solid #dfe8f1;border-radius:10px;background:#f8fbfe}
.mpwl-progress-photo-privacy>span{font-size:17px;line-height:1.1}
.mpwl-progress-photo-privacy p{margin:0;color:#69798b;font-size:10px;line-height:1.45}
.mpwl-progress-photo-privacy strong{color:#3a526d}
.mpwl-settings-divider{margin-top:8px;padding-top:12px;border-top:1px solid #e4eaf1}.mpwl-settings-divider h3{margin:0 0 5px}.mpwl-settings-divider p{margin:0}
@media(max-width:1100px){.mpwl-progress-photo-grid{grid-template-columns:1fr}.mpwl-progress-photo-card{grid-template-columns:minmax(220px,.72fr) 1.28fr}}
@media(max-width:700px){.mpwl-progress-photos-section{padding:16px}.mpwl-progress-photo-heading{align-items:flex-start;flex-direction:column}.mpwl-progress-photo-card{grid-template-columns:1fr;min-height:0}.mpwl-progress-photo-frame,.mpwl-progress-photo-frame>img{min-height:280px;max-height:390px}.mpwl-progress-photo-copy{padding:15px}.mpwl-progress-photo-actions{display:grid;grid-template-columns:1fr auto}.mpwl-progress-photo-actions .mpwl-btn{text-align:center}.mpwl-progress-photo-privacy{margin-top:12px}}
@media(max-width:430px){.mpwl-progress-photo-frame,.mpwl-progress-photo-frame>img{min-height:250px}.mpwl-dropbox-badge{font-size:9px!important}}

/* v3.8.0 — patient experience + ease-of-use rebuild */
.mpwl-dashboard-action-grid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.35fr);gap:14px;margin-bottom:14px}
.mpwl-next-step-card{display:flex;align-items:center;gap:18px;padding:22px!important;border:1px solid #cfddeb!important;background:linear-gradient(135deg,#f8fbff,#fff)!important}
.mpwl-next-step-card.is-urgent{border-color:#e6c3bb!important;background:linear-gradient(135deg,#fff8f6,#fff)!important}
.mpwl-next-step-card.is-soon{border-color:#efd79d!important;background:linear-gradient(135deg,#fffaf0,#fff)!important}
.mpwl-next-step-card.is-good{border-color:#c8e2d2!important;background:linear-gradient(135deg,#f5fbf7,#fff)!important}
.mpwl-next-step-icon{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:18px;background:#eaf3ff;color:#1765bd;font-size:28px;font-weight:900}
.mpwl-next-step-card.is-urgent .mpwl-next-step-icon{background:#fff0ec;color:#a6452d}.mpwl-next-step-card.is-good .mpwl-next-step-icon{background:#e9f7ee;color:#2b7d49}
.mpwl-next-step-copy small{display:block;color:#6f8094;font-size:10px;font-weight:900;letter-spacing:.06em;margin-bottom:5px}.mpwl-next-step-copy h2{margin:0 0 7px;font-size:21px;color:#18375a}.mpwl-next-step-copy p{margin:0 0 14px;color:#586d85;font-size:13px;line-height:1.55}.mpwl-next-step-copy .mpwl-btn{display:inline-flex;min-height:42px;align-items:center}
.mpwl-progress-card-compact{min-height:0!important;margin:0!important}.mpwl-progress-card-compact .mpwl-progress-copy{margin:0!important}
.mpwl-treatment-at-glance{padding:0!important;margin-bottom:14px;overflow:hidden}.mpwl-treatment-glance-main{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:15px 18px;border-bottom:1px solid var(--mp-border);background:#fbfcfe}.mpwl-treatment-glance-main small{display:block;font-size:10px;color:#71829a;font-weight:900;letter-spacing:.05em}.mpwl-treatment-glance-main h3{margin:4px 0 0;color:#18375a;font-size:18px}.mpwl-treatment-glance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.mpwl-treatment-glance-grid>div{padding:14px 18px;border-right:1px solid var(--mp-border)}.mpwl-treatment-glance-grid>div:last-child{border-right:0}.mpwl-treatment-glance-grid small{display:block;font-size:9px;font-weight:900;color:#7a8999;letter-spacing:.045em;margin-bottom:5px}.mpwl-treatment-glance-grid strong{font-size:13px;color:#223e5c}.mpwl-treatment-secondary{display:flex;justify-content:space-between;gap:12px;padding:10px 18px;background:#f8fafc;border-top:1px solid var(--mp-border);font-size:10px;color:#748498}.mpwl-treatment-secondary a{font-weight:800;color:#1765bd}
.mpwl-mobile-sticky-actions{display:none}
.mpwl-ease-card{margin-top:24px}.mpwl-ease-toggle{display:flex!important;align-items:flex-start!important;gap:12px!important;padding:14px!important;border:1px solid #d7e2ee!important;border-radius:10px!important;background:#f9fbfd!important}.mpwl-ease-toggle input{width:22px!important;height:22px!important;min-width:22px!important;margin:1px 0 0!important}.mpwl-ease-toggle strong,.mpwl-ease-toggle small{display:block}.mpwl-ease-toggle small{margin-top:4px;color:#6c7d91;font-size:11px;line-height:1.45}
.mpwl-simple-mode .mpwl-main{font-size:17px}.mpwl-simple-mode .mpwl-card{border-radius:14px}.mpwl-simple-mode .mpwl-btn,.mpwl-simple-mode button,.mpwl-simple-mode input,.mpwl-simple-mode select{min-height:48px!important;font-size:15px!important}.mpwl-simple-mode .mpwl-sidebar nav a{min-height:48px!important;font-size:14px!important}.mpwl-simple-mode .mpwl-content p,.mpwl-simple-mode .mpwl-content label{font-size:15px;line-height:1.6}.mpwl-simple-mode .mpwl-health-metric strong{font-size:24px}.mpwl-simple-mode .mpwl-quick-task{min-height:82px}
@media(max-width:1000px){.mpwl-dashboard-action-grid{grid-template-columns:1fr}.mpwl-treatment-glance-grid{grid-template-columns:1fr 1fr}.mpwl-treatment-glance-grid>div:nth-child(2){border-right:0}.mpwl-treatment-glance-grid>div:nth-child(-n+2){border-bottom:1px solid var(--mp-border)}}
@media(max-width:700px){.mpwl-dashboard-action-grid{gap:10px}.mpwl-next-step-card{padding:16px!important;gap:13px}.mpwl-next-step-icon{width:48px;height:48px;flex-basis:48px;border-radius:14px;font-size:22px}.mpwl-next-step-copy h2{font-size:18px}.mpwl-next-step-copy p{font-size:12px}.mpwl-treatment-glance-grid{grid-template-columns:1fr 1fr}.mpwl-treatment-glance-grid>div{padding:12px}.mpwl-treatment-glance-main{padding:13px}.mpwl-treatment-secondary{padding:9px 12px}.mpwl-mobile-sticky-actions{position:fixed;display:grid;grid-template-columns:1fr 1fr;left:10px;right:10px;bottom:10px;z-index:9996;background:#fff;border:1px solid #cfddeb;border-radius:14px;box-shadow:0 12px 34px rgba(18,47,78,.22);overflow:hidden}.mpwl-mobile-sticky-actions a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:52px;padding:9px 10px;text-decoration:none;color:#24405f;font-size:11px}.mpwl-mobile-sticky-actions a+a{border-left:1px solid #dce5ef}.mpwl-mobile-sticky-actions .mpwl-mobile-next{background:#1765bd;color:#fff}.mpwl-portal:has(.mpwl-mobile-sticky-actions) .mpwl-content{padding-bottom:78px!important}.mpwl-simple-mode .mpwl-mobile-sticky-actions a{min-height:60px;font-size:13px}}
@media(max-width:430px){.mpwl-treatment-glance-grid{grid-template-columns:1fr}.mpwl-treatment-glance-grid>div{border-right:0!important;border-bottom:1px solid var(--mp-border)}.mpwl-treatment-glance-grid>div:last-child{border-bottom:0}.mpwl-next-step-card{align-items:flex-start}.mpwl-next-step-copy .mpwl-btn{width:100%;justify-content:center}.mpwl-treatment-secondary{flex-direction:column;gap:4px}}

/* v3.8.1 patient Shot History edit/remove controls */
.mpwl-history-feedback{margin:0 0 14px;padding:11px 13px;border-radius:9px;font-size:12px;font-weight:800}.mpwl-history-feedback.success{background:#edf9f1;border:1px solid #bfe4cc;color:#237a42}.mpwl-history-feedback.error{background:#fff2f2;border:1px solid #efc6c6;color:#9b3030}
.mpwl-shot-edit-card{margin:14px 0;padding:0;overflow:hidden}.mpwl-shot-edit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:15px 17px;background:#f5f9fe;border-bottom:1px solid #dce6f1}.mpwl-shot-edit-head small{display:block;color:#1765bd;font-size:9px;font-weight:900;letter-spacing:.05em}.mpwl-shot-edit-head h3{margin:3px 0 4px;font-size:16px;color:#1d3553}.mpwl-shot-edit-head p{margin:0;color:#71829a;font-size:11px;line-height:1.45}.mpwl-shot-edit-form{padding:16px 17px}.mpwl-shot-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.mpwl-shot-edit-grid>label,.mpwl-shot-side-effects{min-width:0;font-size:11px;font-weight:800;color:#52677f}.mpwl-shot-edit-grid .wide{grid-column:1/-1}.mpwl-shot-edit-grid input[type="date"],.mpwl-shot-edit-grid input[type="number"],.mpwl-shot-edit-grid input[type="text"],.mpwl-shot-edit-grid select,.mpwl-shot-edit-grid textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #cfdae7;border-radius:8px;background:#fff;padding:9px 10px;color:#243e5d;font:inherit}.mpwl-shot-edit-grid input,.mpwl-shot-edit-grid select{min-height:42px}.mpwl-shot-edit-grid textarea{resize:vertical;min-height:96px}.mpwl-shot-side-effects{border:1px solid #dce5ef;border-radius:9px;padding:11px 12px}.mpwl-shot-side-effects legend{padding:0 5px}.mpwl-shot-side-effects>div{display:flex;flex-wrap:wrap;gap:8px 16px}.mpwl-shot-side-effects label{display:flex;align-items:flex-start;gap:6px;font-size:11px;font-weight:700;color:#40536d}.mpwl-shot-side-effects input{margin-top:1px}.mpwl-shot-edit-actions{display:flex;gap:8px;margin-top:14px}.mpwl-history-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}.mpwl-history-actions form{margin:0}.mpwl-history-edit,.mpwl-history-remove{appearance:none;border:0;background:none;padding:4px 2px;font-size:11px;font-weight:900;text-decoration:none;cursor:pointer}.mpwl-history-edit{color:#1765bd}.mpwl-history-remove{color:#a33a3a}.mpwl-history-edit:hover,.mpwl-history-edit:focus{text-decoration:underline}.mpwl-history-remove:hover,.mpwl-history-remove:focus{text-decoration:underline}.mpwl-history-safety-note{padding:11px 13px;background:#fbfcfe;border-top:1px solid #edf1f6;color:#71829a;font-size:10px;line-height:1.45}.mpwl-history-table{min-width:1010px}
@media(max-width:700px){.mpwl-shot-edit-head{flex-direction:column}.mpwl-shot-edit-head .mpwl-btn{width:100%;text-align:center}.mpwl-shot-edit-grid{grid-template-columns:1fr}.mpwl-shot-edit-grid .wide{grid-column:1}.mpwl-shot-edit-actions{display:grid;grid-template-columns:1fr}.mpwl-shot-edit-actions .mpwl-btn{text-align:center;width:100%}.mpwl-history-table{min-width:0}.mpwl-history-actions{justify-content:flex-end;gap:18px}.mpwl-history-edit,.mpwl-history-remove{min-height:40px;display:inline-flex;align-items:center;font-size:12px}.mpwl-history-actions form{display:flex}.mpwl-history-safety-note{font-size:11px;padding:12px}}

/* v3.8.1 — patient Shot History edit/remove controls */
.mpwl-shot-history-notice{margin:0 0 14px!important}
.mpwl-history-list-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:13px 16px;background:#fbfcfe;border-bottom:1px solid #e4ebf3;color:#536980;font-size:10px}
.mpwl-history-list-intro>div{display:flex;flex-direction:column;gap:3px}.mpwl-history-list-intro strong{font-size:12px;color:#213e5d}.mpwl-history-list-intro>span{white-space:nowrap;font-weight:800;color:#71829a}
.mpwl-history-table{min-width:1040px}
.mpwl-shot-history-actions{min-width:150px}
.mpwl-shot-action-group{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.mpwl-shot-action-group form{margin:0}
.mpwl-shot-action{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 11px;border-radius:7px;border:1px solid #c8d7e7;background:#fff;color:#1765bd;font:inherit;font-size:10px;font-weight:900;text-decoration:none;cursor:pointer;line-height:1}
.mpwl-shot-action:hover{background:#f4f8fd;color:#0f57aa}
.mpwl-shot-action-remove{border-color:#e3c1c1;color:#a33b3b;background:#fffafa}
.mpwl-shot-action-remove:hover{border-color:#cc8f8f;background:#fff2f2;color:#8e2929}
.mpwl-shot-edit-card{margin:14px 0;padding:0!important;overflow:hidden;border-color:#c9d9ea!important}
.mpwl-shot-edit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;background:#f3f8fe;border-bottom:1px solid #dce6f0}
.mpwl-shot-edit-head small{display:block;color:#1765bd;font-size:9px;font-weight:900;letter-spacing:.06em}.mpwl-shot-edit-head h3{margin:4px 0 4px;color:#18375a;font-size:17px}.mpwl-shot-edit-head p{margin:0;color:#65778c;font-size:11px;line-height:1.45}
.mpwl-shot-edit-form{padding:18px}.mpwl-shot-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mpwl-shot-edit-grid>label,.mpwl-shot-edit-side-effects{display:flex;flex-direction:column;gap:6px;color:#40566f;font-size:10px;font-weight:900}
.mpwl-shot-edit-grid input[type="text"],.mpwl-shot-edit-grid input[type="number"],.mpwl-shot-edit-grid input[type="date"],.mpwl-shot-edit-grid select,.mpwl-shot-edit-grid textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #cbd9e8;border-radius:8px;background:#fff;padding:10px 11px;color:#243e5d;font:inherit;font-size:12px;box-shadow:none}
.mpwl-shot-edit-grid textarea{resize:vertical;min-height:100px;line-height:1.5}
.mpwl-shot-edit-grid input:focus,.mpwl-shot-edit-grid select:focus,.mpwl-shot-edit-grid textarea:focus{outline:none;border-color:#1765bd;box-shadow:0 0 0 2px rgba(23,101,189,.09)}
.mpwl-shot-edit-side-effects,.mpwl-shot-edit-notes{grid-column:1/-1}.mpwl-shot-edit-label{display:block;color:#40566f;font-size:10px;font-weight:900}
.mpwl-shot-edit-checks{display:flex;flex-wrap:wrap;gap:8px 12px;padding:11px 12px;border:1px solid #d9e3ee;border-radius:9px;background:#f9fbfd}.mpwl-shot-edit-checks label{display:inline-flex;align-items:center;gap:6px;color:#3d526a;font-size:11px;font-weight:700}.mpwl-shot-edit-checks input{width:17px!important;height:17px!important;min-height:17px!important;margin:0!important}
.mpwl-shot-edit-actions{display:flex;gap:9px;align-items:center;margin-top:16px}.mpwl-shot-edit-help{padding:10px 18px;border-top:1px solid #e4ebf3;background:#fbfcfe;color:#7b8999;font-size:9px;line-height:1.45}
@media(max-width:700px){
  .mpwl-history-list-intro{flex-direction:column;gap:5px}.mpwl-history-list-intro>span{white-space:normal}
  .mpwl-history-table{min-width:0}
  .mpwl-history-table td.mpwl-shot-history-actions{display:grid;grid-template-columns:125px minmax(0,1fr);align-items:start}
  .mpwl-shot-history-actions .mpwl-shot-action-group{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .mpwl-shot-history-actions .mpwl-shot-action-group form,.mpwl-shot-history-actions .mpwl-shot-action{width:100%}
  .mpwl-shot-history-actions .mpwl-shot-action{min-height:40px;font-size:11px}
  .mpwl-shot-edit-head{flex-direction:column}.mpwl-shot-edit-head .mpwl-btn{width:100%;text-align:center}
  .mpwl-shot-edit-form{padding:14px}.mpwl-shot-edit-grid{grid-template-columns:1fr}.mpwl-shot-edit-side-effects,.mpwl-shot-edit-notes{grid-column:1}.mpwl-shot-edit-actions{display:grid;grid-template-columns:1fr}.mpwl-shot-edit-actions .mpwl-btn{width:100%;text-align:center;justify-content:center;min-height:44px}
}

/* v3.8.2 — parent / guardian access */
.mpwl-guardian-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:13px 15px;border:1px solid #bfd4ec;border-left:4px solid #1765bd;border-radius:11px;background:#f3f8fe;color:#24415f}
.mpwl-guardian-banner.is-account{border-left-color:#667a91;background:#f8fafc}
.mpwl-guardian-banner>div{min-width:0}.mpwl-guardian-banner-kicker{display:block;margin-bottom:3px;color:#1765bd;font-size:9px;font-weight:900;letter-spacing:.075em}.mpwl-guardian-banner strong{display:block;font-size:14px;color:#18375a}.mpwl-guardian-banner small{display:block;margin-top:3px;color:#6b7d91;font-size:10px;line-height:1.45}
.mpwl-guardian-card{max-width:620px!important}.mpwl-guardian-patient-list{display:grid;gap:9px;margin:18px 0}.mpwl-guardian-patient-list form{margin:0}.mpwl-guardian-patient-choice{appearance:none;width:100%;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;border:1px solid #cbd9e8;border-radius:11px;background:#fff;padding:12px 14px;text-align:left;color:#203c5c;cursor:pointer}.mpwl-guardian-patient-choice:hover,.mpwl-guardian-patient-choice:focus{border-color:#1765bd;background:#f7fbff;outline:none}.mpwl-guardian-patient-choice strong,.mpwl-guardian-patient-choice small{display:block}.mpwl-guardian-patient-choice small{margin-top:3px;color:#73849a;font-size:10px}.mpwl-guardian-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#eaf3ff;color:#1765bd;font-weight:900}.mpwl-guardian-help{margin:8px 0 0;color:#6d7d8f;font-size:11px}
@media(max-width:700px){.mpwl-guardian-banner{align-items:flex-start;flex-direction:column}.mpwl-guardian-banner .mpwl-btn{width:100%;text-align:center;justify-content:center}.mpwl-guardian-patient-choice{grid-template-columns:40px 1fr auto;padding:11px 12px}}

/* v3.8.2 guardian account sign-in helper */
.mpwl-guardian-login-help{display:flex;gap:7px;align-items:flex-start;margin:14px 0 2px;padding:10px 11px;border:1px solid #dbe6f1;border-radius:9px;background:#f8fbfe;color:#61748b;font-size:10px;line-height:1.45}
.mpwl-guardian-login-help strong{flex:0 0 auto;color:#284764}.mpwl-guardian-login-help span{min-width:0}

/* v3.8.8 — explicit source labeling for derived follow-up dates */
.mpwl-treatment-source-note{display:block;margin-top:3px;color:#78879a;font-size:10px;font-weight:600;line-height:1.25}

/* v3.8.13 — registration/login recovery */
.mpwl-setup-recovery{margin:16px 0;padding:16px 17px;border:1px solid #e6d49f;border-radius:12px;background:#fffaf0;color:#52657b}
.mpwl-setup-recovery>.mpwl-badge{margin-bottom:9px}
.mpwl-setup-recovery>strong{display:block;color:#273f5d;font-size:15px;line-height:1.35}
.mpwl-setup-recovery>p{margin:6px 0 13px;font-size:12px;line-height:1.55;color:#61738a}
.mpwl-setup-resend-form{margin:12px 0 0}
.mpwl-setup-resend-form .mpwl-btn{margin:0;min-height:46px}
.mpwl-reg-success .mpwl-setup-resend-form{margin-top:16px;max-width:360px}
@media(max-width:700px){.mpwl-setup-recovery{padding:14px}.mpwl-reg-success .mpwl-setup-resend-form{max-width:none}.mpwl-setup-resend-form .mpwl-btn{min-height:48px}}

/* v3.8.20 — yellow Follow-Up visibility inside the normal Quick Tasks layout */
.mpwl-quick-task-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.mpwl-quick-task.is-followup{
  position:relative;
  order:-1;
  background:#fff8d8!important;
  box-shadow:inset 4px 0 0 #d6a21e;
  border-right:1px solid #ead58b!important;
}
.mpwl-quick-task.is-followup:hover,
.mpwl-quick-task.is-followup:focus-visible{
  background:#fff2bd!important;
}
.mpwl-quick-task.is-followup .mpwl-quick-task-copy strong{
  font-size:14px;
  font-weight:800;
  color:#5d4708;
}
.mpwl-quick-task.is-followup.is-due .mpwl-quick-task-copy strong{
  padding-right:52px;
}
.mpwl-quick-task.is-followup .mpwl-quick-task-icon{
  background:#ffefad!important;
  color:#76570a!important;
  border:1px solid #e8ce6d;
}
.mpwl-due-pill{
  position:absolute;
  right:14px;
  top:11px;
  z-index:1;
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:3px 7px;
  border-radius:999px;
  background:#fff3d6;
  color:#815d08;
  border:1px solid #eed28a;
  font-size:8px;
  font-weight:900;
  letter-spacing:.06em;
  line-height:1;
  white-space:nowrap;
}
@media(max-width:700px){
  .mpwl-quick-task-grid{
    grid-template-columns:1fr!important;
  }
  .mpwl-quick-task.is-followup{
    border-right:0!important;
    box-shadow:inset 4px 0 0 #d6a21e;
  }
  .mpwl-due-pill{
    right:13px;
    top:10px;
  }
  .mpwl-quick-task.is-followup.is-due .mpwl-quick-task-copy strong{
    padding-right:62px;
  }
}

/* v3.8.35 — clean uploaded photos + date/weight details */
.mpwl-progress-photo-placeholder[hidden]{display:none!important}
.mpwl-progress-photo-card[data-has-photo="1"] .mpwl-progress-photo-frame>img:not([hidden])~.mpwl-progress-photo-placeholder{display:none!important}
.mpwl-photo-date{display:block;margin-top:9px;color:#355f91!important;font-size:11px!important;font-weight:800}

/* v3.8.37 — Shot History + My Progress polish */
.mpwl-shot-history-page{display:grid;gap:14px}
.mpwl-shot-history-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px!important;border-color:#d4e0ec!important;background:linear-gradient(135deg,#fbfdff,#fff)!important}
.mpwl-shot-history-head small,.mpwl-history-filter-heading small,.mpwl-history-list-intro small{display:block;color:#6c7d91;font-size:9px;font-weight:900;letter-spacing:.09em}
.mpwl-shot-history-head h2{margin:4px 0 5px;color:#18375a;font-size:24px}
.mpwl-shot-history-head p{margin:0;color:#607287;font-size:12px;line-height:1.5}
.mpwl-history-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mpwl-history-overview-card{min-width:0;padding:15px 16px!important}
.mpwl-history-overview-card small{display:block;color:#74849a;font-size:9px;font-weight:900;letter-spacing:.055em}
.mpwl-history-overview-card strong{display:block;margin-top:6px;overflow:hidden;color:#1d3b5d;font-size:17px;line-height:1.2;text-overflow:ellipsis}
.mpwl-history-overview-card span{display:block;margin-top:5px;color:#7c8a9a;font-size:9px;line-height:1.35}
.mpwl-clinic-goal-strip{display:flex;align-items:center;gap:13px;padding:12px 14px;border:1px solid #d8e4ef;border-left:4px solid #1765bd;border-radius:11px;background:#f8fbfe;color:#34506c}
.mpwl-clinic-goal-mark{display:grid;place-items:center;flex:0 0 52px;min-height:42px;border-radius:10px;background:#eaf3ff;color:#1765bd;font-size:18px;font-weight:900}
.mpwl-clinic-goal-strip strong{display:block;color:#24415f;font-size:12px}.mpwl-clinic-goal-strip p{margin:3px 0 0;color:#6c7d91;font-size:10px;line-height:1.45}
.mpwl-history-filter-heading{margin-bottom:12px!important}.mpwl-history-filter-heading h3{margin:3px 0 0!important;color:#223f60;font-size:15px!important}
.mpwl-history-list-intro{padding:14px 16px!important}.mpwl-history-list-intro strong{font-size:13px!important}.mpwl-history-list-intro small{margin-bottom:1px}
.mpwl-history-table tbody tr:hover{background:#fbfdff}.mpwl-history-med{display:block;color:#294765;font-size:12px}

.mpwl-progress-summary-grid-core{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.mpwl-progress-summary-grid-core .mpwl-progress-stat{min-height:86px;display:flex;flex-direction:column;justify-content:center}
.mpwl-clinic-goal-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;align-items:center;padding:18px 20px!important;border-color:#d4e0ec!important;background:linear-gradient(135deg,#f8fbfe,#fff)!important}
.mpwl-clinic-goal-icon{display:flex;min-height:82px;flex-direction:column;align-items:center;justify-content:center;border-radius:14px;background:#eaf3ff;color:#1765bd;text-align:center}
.mpwl-clinic-goal-icon strong{font-size:28px;line-height:1}.mpwl-clinic-goal-icon span{margin-top:5px;font-size:9px;font-weight:900;letter-spacing:.035em;text-transform:uppercase}
.mpwl-clinic-goal-copy small{display:block;color:#1765bd;font-size:9px;font-weight:900;letter-spacing:.08em}.mpwl-clinic-goal-copy h3{margin:4px 0 5px;color:#203e5f;font-size:17px}.mpwl-clinic-goal-copy p{margin:0;color:#617389;font-size:11px;line-height:1.55}.mpwl-clinic-goal-copy p strong{color:#284b70}
.mpwl-progress-trend-section{border-color:#d8e2ec!important}.mpwl-progress-photos-section{border-color:#d8e2ec!important}.mpwl-progress-goal-card{border-color:#d8e2ec!important}

@media(max-width:900px){
  .mpwl-history-overview-grid{grid-template-columns:1fr 1fr}
  .mpwl-progress-summary-grid-core{grid-template-columns:1fr 1fr!important}
}
@media(max-width:700px){
  .mpwl-shot-history-head{align-items:flex-start;flex-direction:column;padding:17px!important}.mpwl-shot-history-head .mpwl-btn{width:100%;text-align:center;justify-content:center}
  .mpwl-clinic-goal-strip{align-items:flex-start}.mpwl-clinic-goal-mark{flex-basis:46px;min-height:40px;font-size:16px}
  .mpwl-clinic-goal-card{grid-template-columns:82px minmax(0,1fr);gap:13px;padding:15px!important}.mpwl-clinic-goal-icon{min-height:72px}.mpwl-clinic-goal-icon strong{font-size:24px}.mpwl-clinic-goal-copy h3{font-size:15px}
}
@media(max-width:430px){
  .mpwl-history-overview-grid{grid-template-columns:1fr 1fr;gap:8px}.mpwl-history-overview-card{padding:13px!important}.mpwl-history-overview-card strong{font-size:15px}
  .mpwl-clinic-goal-strip{gap:10px;padding:11px}.mpwl-clinic-goal-mark{display:none}
  .mpwl-clinic-goal-card{grid-template-columns:1fr}.mpwl-clinic-goal-icon{min-height:58px;flex-direction:row;gap:7px}.mpwl-clinic-goal-icon strong{font-size:22px}.mpwl-clinic-goal-icon span{margin:0}
}

/* v3.8.38 — dashboard follow-up action + cadence */
.mpwl-dashboard-action-grid-three{grid-template-columns:minmax(285px,.9fr) minmax(320px,1fr) minmax(390px,1.35fr);align-items:stretch}
.mpwl-dashboard-action-grid-three>.mpwl-card{height:100%;box-sizing:border-box}
.mpwl-followup-action-card{border-color:#ead38a!important;background:linear-gradient(135deg,#fffaf0,#fffdf7)!important}
.mpwl-followup-action-card .mpwl-next-step-icon{background:#fff1bd;color:#946800}
.mpwl-followup-action-card.is-soon{border-color:#e8c65c!important;background:linear-gradient(135deg,#fff7dc,#fffdf7)!important}
.mpwl-followup-action-card.is-due{border-color:#e6b1a7!important;background:linear-gradient(135deg,#fff4f1,#fffaf8)!important}
.mpwl-followup-action-card.is-due .mpwl-next-step-icon{background:#ffe5df;color:#a6452d}
.mpwl-followup-action-meta{display:grid;gap:2px;margin:-3px 0 13px;padding:9px 10px;border:1px solid rgba(202,160,49,.22);border-radius:9px;background:rgba(255,255,255,.62)}
.mpwl-followup-action-meta strong{font-size:11px;line-height:1.35;color:#574716}.mpwl-followup-action-meta span{font-size:9px;font-weight:800;color:#85734b;letter-spacing:.02em}
.mpwl-followup-action-card.is-due .mpwl-followup-action-meta{border-color:rgba(166,69,45,.18)}.mpwl-followup-action-card.is-due .mpwl-followup-action-meta strong{color:#8f3928}
@media(max-width:1250px){.mpwl-dashboard-action-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}.mpwl-dashboard-action-grid-three>.mpwl-progress-card{grid-column:1/-1}}
@media(max-width:760px){.mpwl-dashboard-action-grid-three{grid-template-columns:1fr}.mpwl-dashboard-action-grid-three>.mpwl-progress-card{grid-column:auto}.mpwl-followup-action-meta{margin-bottom:12px}}


/* v3.8.42 — patient dashboard readability pass
   Stronger type hierarchy, larger supporting text, clearer primary-vs-secondary actions,
   and less cramped mobile scanning without changing the established portal workflow. */
.mpwl-portal{
  line-height:1.5;
}
.mpwl-content{
  max-width:1180px;
  padding:30px;
}
.mpwl-card{
  border-color:#d7e1ec;
  box-shadow:0 2px 8px rgba(19,48,80,.045);
}
.mpwl-welcome-experience{
  padding:18px 22px!important;
  margin-bottom:16px!important;
  border-radius:15px!important;
}
.mpwl-welcome-experience h2{
  margin:0 0 5px!important;
  font-size:24px!important;
  line-height:1.2;
  color:#18375a;
}
.mpwl-welcome-experience p{
  font-size:14px!important;
  line-height:1.5!important;
  color:#5d7086!important;
}

/* Primary dashboard row: three equally readable columns. */
.mpwl-dashboard-action-grid-three{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:16px;
}
.mpwl-dashboard-action-grid-three>.mpwl-card{
  min-width:0;
}
.mpwl-next-step-card{
  align-items:flex-start!important;
  gap:15px!important;
  padding:22px!important;
  border-radius:15px!important;
}
.mpwl-next-step-icon{
  flex:0 0 50px!important;
  width:50px!important;
  height:50px!important;
  border-radius:14px!important;
  font-size:23px!important;
}
.mpwl-next-step-copy{
  min-width:0;
}
.mpwl-next-step-copy small,
.mpwl-progress-card-compact .mpwl-progress-copy>small,
.mpwl-treatment-glance-main small,
.mpwl-quick-tasks-head small,
.mpwl-care-card-head small,
.mpwl-latest-instructions>small,
.mpwl-wellness-zone-head small,
.mpwl-wellness-card-head small,
.mpwl-achievements-head small{
  font-size:11px!important;
  line-height:1.3!important;
  letter-spacing:.055em!important;
}
.mpwl-next-step-copy h2{
  margin:2px 0 8px!important;
  font-size:20px!important;
  line-height:1.22!important;
}
.mpwl-next-step-copy p{
  margin:0 0 15px!important;
  font-size:14px!important;
  line-height:1.55!important;
  color:#536b84!important;
}
.mpwl-next-step-copy .mpwl-btn{
  min-height:44px!important;
  padding:11px 15px!important;
  font-size:13px!important;
  line-height:1.2!important;
}
.mpwl-followup-action-meta{
  gap:4px!important;
  margin:0 0 14px!important;
  padding:11px 12px!important;
  border-radius:10px!important;
}
.mpwl-followup-action-meta strong{
  font-size:14px!important;
  line-height:1.35!important;
}
.mpwl-followup-action-meta span{
  font-size:12px!important;
  line-height:1.4!important;
  letter-spacing:0!important;
}
.mpwl-progress-card-compact{
  padding:22px!important;
  border-radius:15px!important;
}
.mpwl-progress-card-compact h3{
  margin:3px 0 10px!important;
  font-size:25px!important;
  line-height:1.15!important;
  color:#18375a!important;
}
.mpwl-progress-heading{
  gap:8px;
  font-size:13px!important;
  line-height:1.4!important;
}
.mpwl-coach-message strong{
  font-size:12px!important;
  line-height:1.35!important;
}
.mpwl-coach-message span{
  font-size:12px!important;
  line-height:1.5!important;
}

/* Treatment summary reads like one grouped record instead of four tiny boxes. */
.mpwl-treatment-at-glance{
  margin-bottom:16px!important;
  border-radius:15px!important;
}
.mpwl-treatment-glance-main{
  padding:17px 20px!important;
}
.mpwl-treatment-glance-main h3{
  margin:4px 0 0!important;
  font-size:20px!important;
  line-height:1.25!important;
}
.mpwl-care-updated{
  font-size:11px!important;
  line-height:1.35!important;
}
.mpwl-treatment-glance-grid>div{
  padding:15px 16px!important;
}
.mpwl-treatment-glance-grid small{
  font-size:10.5px!important;
  line-height:1.3!important;
}
.mpwl-treatment-glance-grid strong{
  margin-top:5px!important;
  font-size:16px!important;
  line-height:1.3!important;
}
.mpwl-treatment-source-note{
  margin-top:5px!important;
  font-size:11px!important;
  line-height:1.4!important;
}
.mpwl-treatment-secondary{
  padding:11px 16px!important;
  font-size:12px!important;
  line-height:1.45!important;
}

/* Secondary actions are intentionally quieter than the two primary patient actions above. */
.mpwl-quick-tasks{
  margin-bottom:16px!important;
  padding:0!important;
  overflow:hidden;
  border-radius:15px!important;
}
.mpwl-quick-tasks-head{
  padding:16px 18px 13px!important;
  border-bottom:1px solid #e1e8f0;
  background:#fbfcfe;
}
.mpwl-quick-tasks-head h3{
  margin:3px 0 0!important;
  font-size:17px!important;
  line-height:1.3!important;
}
.mpwl-quick-task-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.mpwl-quick-task{
  min-height:88px!important;
  padding:15px 16px!important;
  gap:11px!important;
}
.mpwl-quick-task-icon{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
}
.mpwl-quick-task-copy strong{
  font-size:14px!important;
  line-height:1.3!important;
}
.mpwl-quick-task-copy small{
  margin-top:3px!important;
  font-size:11.5px!important;
  line-height:1.45!important;
}
.mpwl-quick-task-arrow{
  font-size:17px!important;
}

/* Health data: labels and source timestamps should be readable without zooming. */
.mpwl-health-metrics-card{
  padding:0!important;
  overflow:hidden;
  border-radius:15px!important;
}
.mpwl-health-metrics{
  border:0!important;
  border-radius:0!important;
}
.mpwl-health-metric{
  min-height:105px;
  padding:16px 18px!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.mpwl-health-metric-top span{
  font-size:11px!important;
  line-height:1.3!important;
}
.mpwl-health-metric strong{
  margin-top:6px!important;
  font-size:22px!important;
  line-height:1.15!important;
}
.mpwl-health-metric>small{
  margin-top:6px!important;
  font-size:11px!important;
  line-height:1.4!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.mpwl-metric-edit-toggle{
  min-height:32px!important;
  padding:5px 9px!important;
  font-size:11px!important;
}

/* Supporting care information. */
.mpwl-care-dashboard{
  gap:16px!important;
}
.mpwl-care-dashboard>.mpwl-card{
  padding:20px!important;
  border-radius:15px!important;
}
.mpwl-care-card-head h3,
.mpwl-latest-instructions h3{
  margin:4px 0 0!important;
  font-size:19px!important;
  line-height:1.3!important;
}
.mpwl-care-card-head>span,
.mpwl-latest-instructions p,
.mpwl-care-plan-note p{
  font-size:12.5px!important;
  line-height:1.55!important;
}
.mpwl-care-plan-grid small,
.mpwl-care-plan-note small{
  font-size:10.5px!important;
  line-height:1.35!important;
}
.mpwl-care-plan-grid strong{
  margin-top:4px!important;
  font-size:14px!important;
  line-height:1.4!important;
}

/* Wellness remains available, but visually sits below the clinical/action content. */
.mpwl-wellness-zone{
  margin-top:22px!important;
  padding-top:22px!important;
  border-top:1px solid #dce5ee;
}
.mpwl-wellness-zone-head h2{
  font-size:21px!important;
  line-height:1.25!important;
}
.mpwl-wellness-zone-head p,
.mpwl-wellness-grid p,
.mpwl-achievements-head p{
  font-size:12.5px!important;
  line-height:1.55!important;
}
.mpwl-wellness-card-head h3,
.mpwl-achievements-head h3{
  font-size:17px!important;
  line-height:1.3!important;
}
.mpwl-achievement-badge strong{
  font-size:12px!important;
}
.mpwl-achievement-badge small{
  font-size:10.5px!important;
  line-height:1.4!important;
}

@media(max-width:1250px){
  .mpwl-dashboard-action-grid-three{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .mpwl-dashboard-action-grid-three>.mpwl-progress-card{
    grid-column:1/-1!important;
  }
}
@media(max-width:760px){
  .mpwl-content{
    padding:14px 12px 82px!important;
  }
  .mpwl-welcome-experience{
    padding:15px 16px!important;
    margin-bottom:12px!important;
  }
  .mpwl-welcome-experience h2{
    font-size:21px!important;
  }
  .mpwl-welcome-experience p{
    font-size:13px!important;
  }
  .mpwl-dashboard-action-grid-three{
    grid-template-columns:1fr!important;
    gap:11px!important;
    margin-bottom:12px!important;
  }
  .mpwl-dashboard-action-grid-three>.mpwl-progress-card{
    grid-column:auto!important;
  }
  .mpwl-next-step-card,
  .mpwl-progress-card-compact{
    padding:17px!important;
  }
  .mpwl-next-step-copy h2{
    font-size:19px!important;
  }
  .mpwl-next-step-copy p{
    font-size:13.5px!important;
  }
  .mpwl-followup-action-meta strong{
    font-size:13.5px!important;
  }
  .mpwl-followup-action-meta span{
    font-size:11.5px!important;
  }
  .mpwl-progress-card-compact h3{
    font-size:23px!important;
  }
  .mpwl-treatment-at-glance{
    margin-bottom:12px!important;
  }
  .mpwl-treatment-glance-main{
    padding:15px!important;
  }
  .mpwl-treatment-glance-main h3{
    font-size:18px!important;
  }
  .mpwl-quick-tasks{
    margin-bottom:12px!important;
  }
  .mpwl-quick-task-grid{
    grid-template-columns:1fr!important;
  }
  .mpwl-quick-task{
    min-height:0!important;
    padding:13px 14px!important;
    border-right:0!important;
    border-bottom:1px solid #e4eaf1!important;
  }
  .mpwl-quick-task:last-child{
    border-bottom:0!important;
  }
  .mpwl-health-metric{
    min-height:94px;
    padding:14px 15px!important;
  }
  .mpwl-health-metric strong{
    font-size:20px!important;
  }
  .mpwl-care-dashboard{
    gap:12px!important;
  }
  .mpwl-care-dashboard>.mpwl-card{
    padding:16px!important;
  }
}
@media(max-width:540px){
  .mpwl-treatment-glance-grid{
    grid-template-columns:1fr!important;
  }
  .mpwl-treatment-glance-grid>div{
    border-right:0!important;
    border-bottom:1px solid var(--mp-border)!important;
    padding:13px 15px!important;
  }
  .mpwl-treatment-glance-grid>div:last-child{
    border-bottom:0!important;
  }
  .mpwl-treatment-glance-main{
    flex-direction:column!important;
    gap:6px!important;
  }
  .mpwl-health-metrics{
    grid-template-columns:1fr!important;
  }
  .mpwl-health-metric{
    border-right:0!important;
    border-bottom:1px solid var(--mp-border)!important;
  }
  .mpwl-health-metric:last-child{
    border-bottom:0!important;
  }
}


/* v3.8.44 — My Progress energy + color pass */
.mpwl-progress-page-vibrant{gap:18px}
.mpwl-progress-hero-vibrant{position:relative;overflow:hidden;border:0!important;background:linear-gradient(135deg,#0d57bb 0%,#1f80e6 48%,#23b9a2 100%)!important;color:#fff;box-shadow:0 18px 45px rgba(18,66,124,.18)}
.mpwl-progress-hero-vibrant:before,.mpwl-progress-hero-vibrant:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none}
.mpwl-progress-hero-vibrant:before{width:240px;height:240px;right:-65px;top:-110px}
.mpwl-progress-hero-vibrant:after{width:170px;height:170px;right:160px;bottom:-95px}
.mpwl-progress-hero-vibrant .mpwl-progress-hero-copy,.mpwl-progress-hero-vibrant .mpwl-progress-hero-side{position:relative;z-index:1}
.mpwl-progress-hero-vibrant .mpwl-progress-hero-copy small{color:rgba(255,255,255,.84)!important}
.mpwl-progress-hero-vibrant .mpwl-progress-hero-copy h2{color:#fff;font-size:34px;margin:6px 0 10px}
.mpwl-progress-hero-vibrant .mpwl-progress-hero-copy p{color:rgba(255,255,255,.92);max-width:780px}
.mpwl-progress-hero-side{display:flex;align-items:stretch;gap:14px}
.mpwl-progress-hero-vibrant .mpwl-progress-ring-copy{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(4px);color:#fff;box-shadow:none}
.mpwl-progress-hero-vibrant .mpwl-progress-ring-copy strong,.mpwl-progress-hero-vibrant .mpwl-progress-ring-copy span{color:#fff}
.mpwl-progress-hero-burst{display:flex;flex-direction:column;justify-content:center;min-width:176px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22)}
.mpwl-progress-hero-burst small{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.78)}
.mpwl-progress-hero-burst strong{display:block;margin-top:4px;font-size:20px;color:#fff}
.mpwl-progress-hero-burst span{display:block;margin-top:5px;font-size:12px;color:rgba(255,255,255,.88);line-height:1.45}
.mpwl-progress-kudos{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.mpwl-progress-kudos span{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:12px;font-weight:700;color:#fff}
.mpwl-progress-stat{position:relative;overflow:hidden;border:0!important;box-shadow:0 12px 28px rgba(18,46,85,.07)!important}
.mpwl-progress-stat:before{content:"";position:absolute;left:0;right:0;top:0;height:6px}
.mpwl-progress-stat.is-start:before{background:linear-gradient(90deg,#ff9966,#ff5e62)}
.mpwl-progress-stat.is-current:before{background:linear-gradient(90deg,#0d57bb,#34a1ff)}
.mpwl-progress-stat.is-goal:before{background:linear-gradient(90deg,#18a77b,#42d8b8)}
.mpwl-progress-stat.is-lost:before{background:linear-gradient(90deg,#8f56ff,#d066ff)}
.mpwl-progress-stat em{display:block;margin-top:7px;font-style:normal;font-size:12px;font-weight:700;color:#738096}
.mpwl-progress-stat strong{font-size:24px}
.mpwl-progress-stat strong span{font-size:12px}
.mpwl-progress-energy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.mpwl-energy-card{position:relative;overflow:hidden;border:0!important;box-shadow:0 12px 30px rgba(19,43,76,.08)}
.mpwl-energy-card small{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6e7f95}
.mpwl-energy-card strong{display:block;margin-top:8px;font-size:22px;line-height:1.15;color:#18395d}
.mpwl-energy-card p{margin:7px 0 0;font-size:13px;line-height:1.55;color:#66788f}
.mpwl-energy-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;font-size:24px;margin-bottom:12px;box-shadow:0 10px 22px rgba(18,55,96,.08)}
.mpwl-energy-card.is-streak{background:linear-gradient(180deg,#fff7ec 0%,#fff 100%)}
.mpwl-energy-card.is-streak .mpwl-energy-icon{background:#fff1db}
.mpwl-energy-card.is-wins{background:linear-gradient(180deg,#f4f0ff 0%,#fff 100%)}
.mpwl-energy-card.is-wins .mpwl-energy-icon{background:#efe6ff}
.mpwl-energy-card.is-next{background:linear-gradient(180deg,#ecfbf6 0%,#fff 100%)}
.mpwl-energy-card.is-next .mpwl-energy-icon{background:#dff8ee}
.mpwl-clinic-goal-card-vibrant{border-color:#d8e8ee!important;background:linear-gradient(135deg,#fbfffe 0%,#f2fbf8 100%)}
.mpwl-progress-goal-card-vibrant{border:0!important;background:linear-gradient(135deg,#eff6ff 0%,#f6fffd 100%);box-shadow:0 12px 30px rgba(22,69,132,.06)}
.mpwl-progress-goal-card-vibrant .mpwl-progress.big{height:15px;background:rgba(24,87,170,.10)}
.mpwl-progress-goal-card-vibrant .mpwl-progress i{background:linear-gradient(90deg,#0d57bb 0%,#1f83e5 52%,#23b9a2 100%)}
.mpwl-progress-goal-marks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:13px}
.mpwl-progress-goal-marks span{display:block;padding:7px 8px;border-radius:999px;text-align:center;font-size:11px;font-weight:800;color:#728096;background:rgba(255,255,255,.8);border:1px solid #dce8f5}
.mpwl-progress-goal-marks span.is-hit{color:#fff;background:linear-gradient(90deg,#0d57bb,#23b9a2);border-color:transparent}
.mpwl-progress-trend-section{background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.mpwl-progress-mini-stats>div{background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)}
.mpwl-health-card-vibrant,.mpwl-milestones-card-vibrant{border:0!important;box-shadow:0 12px 28px rgba(17,42,74,.08)}
.mpwl-health-metrics-vibrant{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mpwl-health-metrics-vibrant>div{padding:14px;border-radius:14px;background:linear-gradient(180deg,#f4f9ff 0%,#fff 100%);border:1px solid #dde8f5}
.mpwl-health-metrics-vibrant span{display:block;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#728196}
.mpwl-health-metrics-vibrant strong{display:block;margin-top:6px;font-size:22px;color:#173a60}
.mpwl-milestone-list-rich{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mpwl-milestone-list-rich .mpwl-milestone-item{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:14px;border:1px solid #e3eaf2;background:#f8fbfe}
.mpwl-milestone-list-rich .mpwl-milestone-item.earned{background:linear-gradient(180deg,#edf9f5 0%,#fff 100%);border-color:#cfe9db}
.mpwl-milestone-list-rich .mpwl-milestone-item.locked{background:linear-gradient(180deg,#f8f9fb 0%,#fff 100%);border-color:#e5ebf1}
.mpwl-milestone-badge{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:14px;background:#fff;border:1px solid #dde5ef;font-size:20px;box-shadow:0 8px 18px rgba(18,46,82,.05)}
.mpwl-milestone-list-rich .mpwl-milestone-item strong{display:block;font-size:15px;color:#193a5d}
.mpwl-milestone-list-rich .mpwl-milestone-item small{display:block;margin-top:4px;font-size:12px;line-height:1.45;color:#6d7f96}
@media(max-width:980px){.mpwl-progress-energy-grid{grid-template-columns:1fr}.mpwl-milestone-list-rich{grid-template-columns:1fr}.mpwl-progress-hero-side{width:100%;justify-content:flex-start}}
@media(max-width:760px){.mpwl-progress-hero-vibrant .mpwl-progress-hero-copy h2{font-size:28px}.mpwl-progress-hero-side{display:grid;grid-template-columns:1fr 1fr}.mpwl-progress-goal-marks{grid-template-columns:repeat(2,minmax(0,1fr))}.mpwl-health-metrics-vibrant{grid-template-columns:1fr 1fr}.mpwl-progress-summary-grid-core .mpwl-progress-stat{min-height:0!important}}
@media(max-width:560px){.mpwl-progress-hero-vibrant{padding:18px!important}.mpwl-progress-kudos{gap:8px}.mpwl-progress-kudos span{width:100%;justify-content:center}.mpwl-progress-hero-side{grid-template-columns:1fr}.mpwl-progress-hero-burst{min-width:0}.mpwl-health-metrics-vibrant{grid-template-columns:1fr}.mpwl-progress-stat strong{font-size:22px}}

/* v3.8.45 — patient registration firewall / Turnstile */
.mpwl-reg-human-check{margin:22px 0 4px;padding:16px 18px;border:1px solid #d7e2ef;border-radius:12px;background:#f8fbff}.mpwl-reg-human-check small{display:block;margin-top:9px;color:#687b94;font-size:12px;line-height:1.45}.mpwl-reg-human-check .cf-turnstile{min-height:65px}.mpwl-settings-checkbox{display:flex!important;align-items:center;gap:10px;min-height:42px}.mpwl-settings-checkbox input[type=checkbox]{width:18px!important;height:18px!important;min-height:18px!important;margin:0!important}
@media(max-width:700px){.mpwl-reg-human-check{padding:14px 12px;overflow:hidden}.mpwl-reg-human-check .cf-turnstile{max-width:100%}}


/* v3.8.58 hardened registration + passkeys */
.mpwl-registration-confirm-box{margin:20px 0;padding:20px;border:1px solid #c9d8ea;border-radius:14px;background:#f8fbff}.mpwl-registration-confirm-box span{display:block;color:#647a96;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.mpwl-registration-confirm-box strong{display:block;margin-top:5px;color:#173d6c;font-size:21px}.mpwl-registration-confirm-box p{margin:8px 0 0;color:#5c7089;line-height:1.55}.mpwl-reg-consent+.mpwl-reg-consent{margin-top:14px}
.mpwl-passkey-login-option{margin:2px 0 16px}.mpwl-passkey-login-option small{display:block;margin-top:8px;color:#687b94;font-size:12px;line-height:1.45}.mpwl-passkey-status{min-height:18px;margin-top:8px;font-size:13px;font-weight:700;color:#315d42}.mpwl-passkey-status.is-error{color:#a23f36}.mpwl-passkey-status.is-success{color:#1c6c3d}.mpwl-passkey-card .mpwl-btn{margin-top:6px}.mpwl-passkey-list{display:flex;flex-direction:column;gap:10px;margin:18px 0}.mpwl-passkey-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid #dbe5f2;border-radius:12px;background:#fbfdff}.mpwl-passkey-row>div{display:flex;flex-direction:column;gap:3px}.mpwl-passkey-row strong{color:#1d3352}.mpwl-passkey-row span{color:#657993;font-size:12px}.mpwl-passkey-row form{margin:0;flex:0 0 auto}.mpwl-passkey-row .mpwl-btn{margin:0}
@media(max-width:700px){.mpwl-registration-confirm-box{padding:16px}.mpwl-passkey-row{align-items:flex-start;flex-direction:column}.mpwl-passkey-row form,.mpwl-passkey-row .mpwl-btn{width:100%}}

/* v3.8.59 — follow-up confirmation + appointment requests */
.mpwl-followup-confirmation-page{display:flex;flex-direction:column;gap:16px}.mpwl-followup-success-card{display:flex;align-items:flex-start;gap:16px;background:linear-gradient(135deg,#eefaf5 0%,#fff 100%);border-color:#cfe9dc!important}.mpwl-followup-success-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:#1f9d68;color:#fff;font-size:24px;font-weight:900;box-shadow:0 10px 22px rgba(31,157,104,.18)}.mpwl-followup-success-card small,.mpwl-followup-due-card small,.mpwl-appointment-request-card small,.mpwl-request-status-card small{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6c7e94}.mpwl-followup-success-card h2{margin:5px 0 6px;color:#173a5f}.mpwl-followup-success-card p{margin:0;color:#62758b}.mpwl-followup-due-card{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#f5f9ff 0%,#fff 100%)}.mpwl-followup-due-card h3{margin:5px 0 5px;font-size:25px;color:#173a5f}.mpwl-followup-due-card p{margin:0;color:#66798f}.mpwl-not-scheduled-badge{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:999px;background:#fff4db;border:1px solid #f0d291;color:#8b6112;font-size:11px;font-weight:900;letter-spacing:.05em;white-space:nowrap}.mpwl-appointment-request-card .mpwl-card-heading-row p{margin:5px 0 0;max-width:760px;color:#66798f}.mpwl-appointment-request-form{display:flex;flex-direction:column;gap:20px;margin-top:22px}.mpwl-appointment-request-form fieldset{border:0;padding:0;margin:0}.mpwl-appointment-request-form legend{margin:0 0 10px;font-size:14px;font-weight:800;color:#243c5a}.mpwl-request-date-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mpwl-request-date-option{position:relative;cursor:pointer}.mpwl-request-date-option input{position:absolute;opacity:0;pointer-events:none}.mpwl-request-date-option span{display:block;padding:14px 10px;border:1px solid #d7e2ef;border-radius:12px;background:#fff;text-align:center;transition:.16s ease}.mpwl-request-date-option small{font-size:10px}.mpwl-request-date-option strong{display:block;margin-top:4px;color:#173a5f;font-size:14px}.mpwl-request-date-option input:checked+span{border-color:#1465c0;background:#eef6ff;box-shadow:0 0 0 2px rgba(20,101,192,.08)}.mpwl-request-choice-row{display:flex;flex-wrap:wrap;gap:10px}.mpwl-request-choice-row label{position:relative;cursor:pointer}.mpwl-request-choice-row input{position:absolute;opacity:0;pointer-events:none}.mpwl-request-choice-row span{display:inline-flex;min-width:110px;justify-content:center;padding:11px 14px;border:1px solid #d7e2ef;border-radius:999px;background:#fff;color:#40556f;font-size:13px;font-weight:800}.mpwl-request-choice-row input:checked+span{border-color:#1465c0;background:#1465c0;color:#fff}.mpwl-request-note{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800;color:#243c5a}.mpwl-request-note textarea{width:100%;border:1px solid #d4deea;border-radius:12px;padding:12px 13px;font:inherit;resize:vertical}.mpwl-request-warning{display:flex;flex-direction:column;gap:3px;padding:14px 16px;border-radius:12px;background:#fff7e8;border:1px solid #efd7a5}.mpwl-request-warning strong{color:#7b5412}.mpwl-request-warning span{color:#715f42;font-size:13px}.mpwl-request-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.mpwl-request-summary-grid>div{padding:13px;border-radius:12px;background:#f7faff;border:1px solid #e0e8f1}.mpwl-request-summary-grid strong{display:block;margin-top:4px;color:#1c3d62}.mpwl-pending-request-list{background:linear-gradient(180deg,#fffaf0 0%,#fff 100%)}.mpwl-pending-request-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid #ece5d8}.mpwl-pending-request-row:first-of-type{border-top:0}.mpwl-pending-request-row strong{display:block;color:#213c5a}.mpwl-pending-request-row span:not(.mpwl-badge){display:block;margin-top:3px;color:#6d7d90;font-size:12px}.mpwl-small-note{margin:10px 0 0;color:#6c7d92;font-size:12px}
@media(max-width:850px){.mpwl-request-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mpwl-request-summary-grid{grid-template-columns:1fr}}
@media(max-width:620px){.mpwl-followup-success-card{align-items:flex-start}.mpwl-followup-due-card{align-items:flex-start;flex-direction:column}.mpwl-request-date-grid{grid-template-columns:1fr 1fr}.mpwl-request-choice-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.mpwl-request-choice-row label,.mpwl-request-choice-row span{width:100%;min-width:0}.mpwl-pending-request-row{align-items:flex-start;flex-direction:column}.mpwl-followup-success-card h2{font-size:22px}}

/* v3.8.61 appointment-request availability state */
.mpwl-request-date-option span em{display:block;margin-top:4px;font-size:10px;line-height:1.25;font-style:normal;font-weight:700;color:#67809b}.mpwl-request-date-option.is-unavailable{opacity:.5;cursor:not-allowed}.mpwl-request-date-option.is-unavailable span{background:#f6f7f9!important;border-color:#d9dee5!important}.mpwl-request-date-option.is-unavailable span em{color:#9a4d4d}

/* v3.9.0 — Patient Care Journey */
.mpwl-care-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.mpwl-care-section-head small,.mpwl-treatment-hero small,.mpwl-treatment-detail-grid small,.mpwl-records-overview small,.mpwl-timeline-intro small{display:block;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#6d7f95}.mpwl-care-section-head h3,.mpwl-updates-card h3{margin:4px 0 5px;color:#193b60}.mpwl-care-section-head p,.mpwl-updates-card p{margin:0;color:#6a7d93}.mpwl-care-date{font-size:12px;font-weight:800;color:#667b93;white-space:nowrap}
.mpwl-followup-status-card{background:linear-gradient(135deg,#f8fbff 0%,#fff 100%);border-color:#d9e7f4!important}.mpwl-care-status-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.mpwl-care-status-step{position:relative;display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;background:#f3f6f9;border:1px solid #e0e6ed;color:#718095}.mpwl-care-status-step span{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#e3e9ef;color:#6c7a8a;font-size:12px;font-weight:900}.mpwl-care-status-step strong{font-size:13px}.mpwl-care-status-step.is-current{background:#eef6ff;border-color:#bdd8f2;color:#17569b}.mpwl-care-status-step.is-current span{background:#176bc0;color:#fff}.mpwl-care-status-step.is-done{background:#eef9f4;border-color:#cce8db;color:#226a4c}.mpwl-care-status-step.is-done span{background:#239767;color:#fff}.mpwl-followup-status-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.mpwl-followup-status-card.is-compact{margin-top:16px}
.mpwl-update-list{display:flex;flex-direction:column;margin-top:12px}.mpwl-update-row{display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #e8edf3;text-decoration:none!important}.mpwl-update-row:first-child{border-top:0}.mpwl-update-icon,.mpwl-timeline-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-size:17px;font-weight:900}.mpwl-update-icon.is-blue,.mpwl-timeline-icon.is-blue{background:#eaf4ff;color:#1769b5}.mpwl-update-icon.is-green,.mpwl-timeline-icon.is-green{background:#e8f8f1;color:#1e8c60}.mpwl-update-icon.is-purple,.mpwl-timeline-icon.is-purple{background:#f1ebff;color:#7551b7}.mpwl-update-icon.is-gold,.mpwl-timeline-icon.is-gold{background:#fff4dd;color:#9c6d13}.mpwl-update-icon.is-slate,.mpwl-timeline-icon.is-slate{background:#eef2f5;color:#617184}.mpwl-update-copy{display:flex;flex-direction:column;min-width:0}.mpwl-update-copy small{font-size:10px;font-weight:800;letter-spacing:.05em;color:#7a899b}.mpwl-update-copy strong{margin-top:2px;color:#1f3d5f}.mpwl-update-copy em{margin-top:2px;font-style:normal;font-size:12px;color:#697b8e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mpwl-update-row>b{color:#8ba0b6}
.mpwl-treatment-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#eef6ff 0%,#f1fbf7 100%);border-color:#d4e5ef!important}.mpwl-treatment-hero h2{margin:5px 0 7px;font-size:30px;color:#173b61}.mpwl-treatment-hero p{margin:0;color:#667b91}.mpwl-treatment-status-pill{display:inline-flex;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid #d6e1ec;color:#315b7f;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.mpwl-treatment-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.mpwl-treatment-detail-grid .mpwl-card{margin:0}.mpwl-treatment-detail-grid strong{display:block;margin-top:7px;font-size:20px;color:#183c62}.mpwl-treatment-detail-grid span{display:block;margin-top:5px;font-size:12px;color:#6f8094}.mpwl-treatment-support-grid{margin-top:16px}.mpwl-treatment-history{margin-top:16px}.mpwl-treatment-history-list{display:flex;flex-direction:column;margin-top:14px}.mpwl-treatment-history-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:16px;align-items:center;padding:13px 0;border-top:1px solid #e7edf3}.mpwl-treatment-history-row:first-child{border-top:0}.mpwl-treatment-history-row time{font-size:12px;font-weight:800;color:#667a91}.mpwl-treatment-history-row>div{display:flex;flex-direction:column}.mpwl-treatment-history-row strong{color:#1d3d60}.mpwl-treatment-history-row span,.mpwl-treatment-history-row small{margin-top:3px;color:#6d7f93;font-size:12px}.mpwl-treatment-history-row a{font-size:12px;font-weight:800;text-decoration:none}
.mpwl-timeline-intro{background:linear-gradient(135deg,#f8fbff 0%,#fff 100%)}.mpwl-timeline-intro h2{margin:5px 0 8px;color:#183c62}.mpwl-timeline-intro p{margin:0;max-width:820px;color:#66798f}.mpwl-care-timeline{position:relative;margin-top:16px}.mpwl-care-timeline:before{content:"";position:absolute;left:19px;top:34px;bottom:16px;width:2px;background:#dde6ef}.mpwl-timeline-day{position:relative;z-index:1;display:inline-flex;margin:18px 0 8px;padding:6px 10px;border-radius:999px;background:#eef3f8;color:#526b84;font-size:11px;font-weight:900;letter-spacing:.04em}.mpwl-timeline-day:first-child{margin-top:0}.mpwl-timeline-event{position:relative;z-index:1;display:grid;grid-template-columns:40px minmax(0,1fr) 20px;gap:14px;align-items:flex-start;padding:14px 16px;margin:0 0 10px;background:#fff;border:1px solid #e0e8f0;border-radius:14px;text-decoration:none!important;box-shadow:0 7px 20px rgba(20,47,78,.04)}.mpwl-timeline-event>div small{display:block;font-size:10px;font-weight:900;letter-spacing:.07em;color:#75879a}.mpwl-timeline-event>div strong{display:block;margin-top:3px;color:#1a3c5f}.mpwl-timeline-event>div p{margin:4px 0 0;color:#6b7d91;font-size:12px}.mpwl-timeline-event>b{color:#8da0b4;margin-top:10px}
.mpwl-records-overview{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#f5f9ff 0%,#fff 100%)}.mpwl-records-overview h2{margin:5px 0 7px;color:#183c62}.mpwl-records-overview p{margin:0;color:#697d92}.mpwl-records-links{display:grid;grid-template-columns:1fr;min-width:230px}.mpwl-records-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e2e9f0;font-size:13px;font-weight:800;text-decoration:none}.mpwl-records-links a:last-child{border-bottom:0}
@media(max-width:980px){.mpwl-treatment-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mpwl-records-overview{flex-direction:column}.mpwl-records-links{width:100%;min-width:0}}
@media(max-width:680px){.mpwl-care-section-head,.mpwl-treatment-hero{flex-direction:column}.mpwl-care-date{white-space:normal}.mpwl-care-status-steps{grid-template-columns:1fr}.mpwl-followup-status-actions{align-items:stretch;flex-direction:column}.mpwl-followup-status-actions .mpwl-btn{width:100%}.mpwl-treatment-detail-grid{grid-template-columns:1fr}.mpwl-treatment-hero h2{font-size:25px}.mpwl-treatment-history-row{grid-template-columns:1fr;gap:5px}.mpwl-treatment-history-row a{margin-top:4px}.mpwl-update-row{grid-template-columns:38px minmax(0,1fr) 16px}.mpwl-timeline-event{grid-template-columns:38px minmax(0,1fr) 14px;padding:13px 12px}.mpwl-care-timeline:before{left:18px}.mpwl-records-overview{padding:16px!important}}


/* v3.11.1 — clinic-controlled appointment requests */
.mpwl-request-choice-row label.is-unavailable{cursor:not-allowed;opacity:.42}
.mpwl-request-choice-row label.is-unavailable span{background:#f3f5f7;border-color:#e0e5ea;color:#7d8793}
.mpwl-request-date-option.is-unavailable{cursor:not-allowed;opacity:.48}
.mpwl-request-date-option.is-unavailable span{background:#f5f7f9;color:#7d8793}
.mpwl-request-period-help{display:block;margin-top:8px;color:#718196;font-size:12px;line-height:1.45}
@media(max-width:620px){
  .mpwl-request-choice-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* v3.11.8 — Full responsive QA baseline for every patient-facing portal screen */
@media(max-width:782px){
  .mpwl-portal,.mpwl-portal *{box-sizing:border-box}
  .mpwl-portal{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
  .mpwl-main,.mpwl-content,.mpwl-card,.mpwl-grid,.mpwl-form,.mpwl-table,.mpwl-form-card{min-width:0!important;max-width:100%!important}
  .mpwl-content{padding:14px!important}
  .mpwl-card{padding:16px!important;border-radius:12px!important}
  .mpwl-top{padding:15px!important;align-items:flex-start!important;flex-direction:column!important}
  .mpwl-top h1{font-size:22px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
  .mpwl-portal img,.mpwl-portal svg,.mpwl-portal canvas,.mpwl-portal video,.mpwl-portal iframe{max-width:100%!important;height:auto}
  .mpwl-portal p,.mpwl-portal li,.mpwl-portal a,.mpwl-portal strong,.mpwl-portal span{overflow-wrap:anywhere}
  .mpwl-portal pre,.mpwl-portal code{max-width:100%!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}

  .mpwl-portal input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),
  .mpwl-portal select,
  .mpwl-portal textarea,
  .mpwl-portal .gform_wrapper input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),
  .mpwl-portal .gform_wrapper select,
  .mpwl-portal .gform_wrapper textarea{width:100%!important;max-width:100%!important;min-width:0!important;font-size:16px!important;box-sizing:border-box!important}
  .mpwl-portal .gform_wrapper .gfield{min-width:0!important;max-width:100%!important}
  .mpwl-portal .gform_wrapper .gform_footer input[type=submit],
  .mpwl-portal .gform_wrapper .gform_footer button{width:100%!important;min-height:48px!important;font-size:16px!important}

  .mpwl-btn,.mpwl-portal button:not(.mpwl-link-btn){min-height:44px;max-width:100%;white-space:normal}
  .mpwl-appt-actions,.mpwl-contact-actions,.mpwl-submission-actions{width:100%!important;flex-wrap:wrap!important}
  .mpwl-appt-actions a,.mpwl-contact-actions a{min-height:44px;display:inline-flex;align-items:center}
  .mpwl-document .mpwl-btn{width:100%!important;text-align:center!important}
  .mpwl-table,.mpwl-history-table-wrap,.mpwl-submission-table{max-width:100%!important;-webkit-overflow-scrolling:touch}
  .mpwl-toggle-list>label{align-items:flex-start!important}
  .mpwl-status{gap:10px;flex-wrap:wrap}
}
@media(max-width:620px){
  .mpwl-portal .gform_wrapper .gform_fields{grid-template-columns:1fr!important}
  .mpwl-portal .gform_wrapper .gfield{grid-column:1/-1!important}
  .mpwl-portal .gform_wrapper .ginput_complex{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .mpwl-portal .gform_wrapper .ginput_complex>span,
  .mpwl-portal .gform_wrapper .ginput_complex>div{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
  .mpwl-auth-links{align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
  .mpwl-auth-links a{min-height:36px;display:flex;align-items:center}
}


/* v3.12.0 — patient treatment chain */
.mpwl-patient-treatment-chain{margin-top:14px}.mpwl-patient-chain-list{display:grid}.mpwl-patient-chain-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 0;border-top:1px solid #e8edf3}.mpwl-patient-chain-row:first-child{border-top:0}.mpwl-patient-chain-icon{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e9f6ef;color:#277a49;font-weight:900}.mpwl-patient-chain-row.is-next .mpwl-patient-chain-icon{background:#eaf1ff;color:#3768b5}.mpwl-patient-chain-row small,.mpwl-patient-chain-row strong,.mpwl-patient-chain-row p{display:block;margin:0}.mpwl-patient-chain-row small{font-size:10px;color:#8492a4;font-weight:800;letter-spacing:.03em}.mpwl-patient-chain-row strong{font-size:14px;color:#263c58;margin-top:3px}.mpwl-patient-chain-row p{font-size:11px;color:#738195;margin-top:2px}.mpwl-patient-chain-row>a{font-size:11px;font-weight:800;text-decoration:none;white-space:nowrap}.mpwl-chain-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;background:#e9f1ff;color:#315f9f}.mpwl-chain-status.is-overdue{background:#ffe9e9;color:#ad3d43}.mpwl-chain-status.is-due{background:#fff3d9;color:#8e6615}
@media(max-width:600px){.mpwl-patient-chain-row{grid-template-columns:32px minmax(0,1fr)}.mpwl-patient-chain-row>a{grid-column:2;justify-self:start;margin-top:3px}.mpwl-patient-treatment-chain .mpwl-card-heading-row{align-items:flex-start;gap:8px}.mpwl-patient-treatment-chain .mpwl-card-heading-row>.mpwl-chain-status{flex:0 0 auto}}

/* v3.12.9 Clinic Requests + required-action gate */
.mpwl-quick-options-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:22px 0 10px}.mpwl-quick-options-heading small{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;color:#64748b}.mpwl-quick-options-heading h3{margin:3px 0 0;font-size:20px;line-height:1.2;color:#0f172a}.mpwl-clinic-request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 14px}.mpwl-clinic-request-card{display:flex;gap:14px;align-items:flex-start;border:1px solid #cfe0ef;background:linear-gradient(135deg,#f8fcff,#eef8ff);padding:18px}.mpwl-clinic-request-card.is-required{border-color:#f2b8a0;background:linear-gradient(135deg,#fffaf6,#fff1e8)}.mpwl-clinic-request-icon{width:42px;height:42px;border-radius:12px;background:#0b78b8;color:#fff;display:grid;place-items:center;font-weight:900;font-size:18px;flex:0 0 auto}.mpwl-clinic-request-card.is-required .mpwl-clinic-request-icon{background:#b94720}.mpwl-clinic-request-copy{min-width:0;flex:1}.mpwl-clinic-request-copy small{display:block;font-size:10px;font-weight:800;letter-spacing:.11em;color:#52758b}.mpwl-clinic-request-copy h3{margin:4px 0 6px;font-size:18px;line-height:1.2;color:#14324a}.mpwl-clinic-request-copy p{margin:0 0 10px;color:#466171;line-height:1.5}.mpwl-clinic-request-copy>span{display:block;margin:0 0 10px;font-size:12px;color:#6b7d89}.mpwl-clinic-request-copy .mpwl-btn{display:inline-flex}
.mpwl-required-request-overlay{position:fixed;inset:0;z-index:999999;background:rgba(9,30,46,.72);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:22px}.mpwl-required-request-dialog{width:min(560px,100%);background:#fff;border-radius:22px;box-shadow:0 26px 80px rgba(0,0,0,.28);padding:34px;text-align:center;border:1px solid rgba(255,255,255,.55)}.mpwl-required-request-kicker{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.13em;color:#b94720;background:#fff0e8;border:1px solid #ffd3c1;border-radius:999px;padding:7px 11px}.mpwl-required-request-dialog h2{font-size:28px;line-height:1.15;margin:14px 0 10px;color:#123149}.mpwl-required-request-dialog p{font-size:16px;line-height:1.55;color:#506879;margin:0 auto 14px;max-width:460px}.mpwl-required-request-type{display:inline-block;margin:0 0 18px;padding:7px 11px;border-radius:8px;background:#eff7fb;color:#2c607e;font-size:12px;font-weight:800}.mpwl-required-request-dialog .mpwl-btn{justify-content:center;font-size:16px;padding:14px 18px}.mpwl-required-request-help{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:16px;font-size:12px;color:#758794}.mpwl-required-request-help a{color:#4b6d82;text-decoration:none}.mpwl-required-request-help a:hover{text-decoration:underline}
@media(max-width:782px){.mpwl-clinic-request-grid{grid-template-columns:1fr}.mpwl-clinic-request-card{padding:16px}.mpwl-required-request-overlay{padding:14px;align-items:flex-end}.mpwl-required-request-dialog{border-radius:20px 20px 14px 14px;padding:26px 20px;max-height:92vh;overflow:auto}.mpwl-required-request-dialog h2{font-size:24px}.mpwl-required-request-dialog .mpwl-btn{width:100%;min-height:48px}.mpwl-quick-options-heading{margin-top:18px}}
@media(max-width:430px){.mpwl-clinic-request-card{display:block}.mpwl-clinic-request-icon{margin-bottom:10px}.mpwl-required-request-help{flex-direction:column;gap:6px}.mpwl-required-request-help span{display:none}}


/* v3.12.11 — restored merged dashboard greeting + blue progress hero CSS repair */
.mpwl-dashboard-hero{
  position:relative;overflow:hidden;margin:0 0 20px;padding:24px 26px 22px;border-radius:20px;
  background:linear-gradient(135deg,#0b5ebc 0%,#167bd7 55%,#159ea8 100%);
  box-shadow:0 18px 42px rgba(17,74,137,.20);color:#fff;isolation:isolate
}
.mpwl-dashboard-hero-orb{position:absolute;border-radius:999px;background:rgba(255,255,255,.10);z-index:-1;pointer-events:none}
.mpwl-dashboard-hero-orb-one{width:280px;height:280px;right:-90px;top:-145px}
.mpwl-dashboard-hero-orb-two{width:190px;height:190px;right:210px;bottom:-125px}
.mpwl-dashboard-hero-sparkles{position:absolute;right:24px;top:17px;font-size:23px;letter-spacing:6px;opacity:.95}
.mpwl-dashboard-hero-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;position:relative;z-index:1}
.mpwl-dashboard-hero-copy{min-width:0}
.mpwl-dashboard-hero-copy>small{display:block;margin-bottom:5px;font-size:10.5px;font-weight:900;letter-spacing:.12em;color:rgba(255,255,255,.76)}
.mpwl-dashboard-hero-copy h2{margin:0 0 6px!important;font-size:30px!important;line-height:1.12!important;color:#fff!important;letter-spacing:-.02em}
.mpwl-dashboard-hero-copy p{margin:0!important;max-width:760px;font-size:14px!important;line-height:1.5!important;color:rgba(255,255,255,.90)!important}
.mpwl-dashboard-progress-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:40px;padding:9px 13px;border:1px solid rgba(255,255,255,.38);border-radius:12px;background:rgba(255,255,255,.13);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:850;box-shadow:inset 0 1px 0 rgba(255,255,255,.10)}
.mpwl-dashboard-progress-link:hover{background:rgba(255,255,255,.22);color:#fff!important}
.mpwl-dashboard-hero-progress{position:relative;z-index:1;margin-top:19px}
.mpwl-dashboard-hero-progress-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:8px}
.mpwl-dashboard-hero-progress-head strong{font-size:19px;line-height:1.15;color:#fff}
.mpwl-dashboard-hero-progress-head span{font-size:11.5px;font-weight:750;color:rgba(255,255,255,.82);text-align:right}
.mpwl-dashboard-hero-track{height:10px;overflow:hidden;border-radius:999px;background:rgba(4,36,78,.25);box-shadow:inset 0 1px 2px rgba(0,0,0,.12)}
.mpwl-dashboard-hero-track i{display:block;height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#fff 0%,#e9fff8 100%);box-shadow:0 0 14px rgba(255,255,255,.34)}
.mpwl-dashboard-hero-pills{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:13px}
.mpwl-dashboard-hero-pill{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 11px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.12);backdrop-filter:blur(4px)}
.mpwl-dashboard-hero-pill>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.14);font-size:16px}
.mpwl-dashboard-hero-pill div{min-width:0}
.mpwl-dashboard-hero-pill small{display:block;font-size:8.5px;line-height:1.2;font-weight:900;letter-spacing:.08em;color:rgba(255,255,255,.70)}
.mpwl-dashboard-hero-pill strong{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25;color:#fff}
.mpwl-dashboard-hero-coach{position:relative;z-index:1;display:flex;align-items:flex-start;gap:10px;margin-top:11px;padding:10px 12px;border-radius:12px;background:rgba(5,38,78,.18);border:1px solid rgba(255,255,255,.13)}
.mpwl-dashboard-hero-coach>span{flex:0 0 auto;font-size:17px;line-height:1.35}
.mpwl-dashboard-hero-coach strong{display:block;font-size:10.5px;line-height:1.3;letter-spacing:.055em;color:#fff}
.mpwl-dashboard-hero-coach p{margin:2px 0 0!important;font-size:11.5px!important;line-height:1.4!important;color:rgba(255,255,255,.84)!important}
.mpwl-dashboard-action-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;margin-bottom:16px}
.mpwl-dashboard-action-grid-two>.mpwl-card{height:100%;min-width:0;box-sizing:border-box}
@media(max-width:820px){
  .mpwl-dashboard-hero{padding:20px 18px 18px;border-radius:17px;margin-bottom:16px}
  .mpwl-dashboard-hero-head{display:block;padding-right:0}
  .mpwl-dashboard-progress-link{margin-top:13px}
  .mpwl-dashboard-hero-pills{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mpwl-dashboard-hero-copy h2{font-size:25px!important}
}
@media(max-width:760px){
  .mpwl-dashboard-action-grid-two{grid-template-columns:1fr!important;gap:11px!important;margin-bottom:12px!important}
}
@media(max-width:520px){
  .mpwl-dashboard-hero{padding:18px 15px 15px;border-radius:15px}
  .mpwl-dashboard-hero-copy h2{font-size:23px!important;padding-right:0}
  .mpwl-dashboard-hero-copy p{font-size:13px!important}
  .mpwl-dashboard-progress-link{width:100%;box-sizing:border-box}
  .mpwl-dashboard-hero-progress-head{align-items:flex-start;display:grid;gap:3px}
  .mpwl-dashboard-hero-progress-head span{text-align:left}
  .mpwl-dashboard-hero-pills{gap:7px}
  .mpwl-dashboard-hero-pill{padding:9px 8px;gap:7px}
  .mpwl-dashboard-hero-pill>span{width:27px;height:27px;flex-basis:27px;font-size:14px}
  .mpwl-dashboard-hero-pill strong{font-size:11px}
  .mpwl-dashboard-hero-coach{padding:9px 10px}
}


/* v3.12.12 — Clinic Request patient instructions restored */
.mpwl-clinic-needs-section{margin:0 0 14px}
.mpwl-clinic-needs-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 10px;padding:14px 16px;border:1px solid #d8e7f2;border-radius:14px;background:linear-gradient(135deg,#f8fbff 0%,#f1f8fd 100%)}
.mpwl-clinic-needs-heading>div{min-width:0}
.mpwl-clinic-needs-heading small{display:block;font-size:10px;font-weight:900;letter-spacing:.11em;color:#56768c}
.mpwl-clinic-needs-heading h3{margin:3px 0 5px;font-size:18px;line-height:1.2;color:#16344d}
.mpwl-clinic-needs-heading p{margin:0;max-width:760px;font-size:13px;line-height:1.5;color:#5f7281}
.mpwl-clinic-needs-required{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#fff0e8;border:1px solid #f3c2ae;color:#a83d1d;font-size:10px;font-weight:900;letter-spacing:.07em;white-space:nowrap}
.mpwl-clinic-needs-section .mpwl-clinic-request-grid{margin-bottom:0}
.mpwl-clinic-request-instructions{margin:8px 0 11px;padding:10px 11px;border-radius:10px;background:rgba(255,255,255,.72);border:1px solid rgba(159,190,210,.45)}
.mpwl-clinic-request-card.is-required .mpwl-clinic-request-instructions{border-color:rgba(224,156,126,.50);background:rgba(255,255,255,.66)}
.mpwl-clinic-request-instructions b{display:block;margin:0 0 3px;font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.08em;color:#52758b}
.mpwl-clinic-request-card.is-required .mpwl-clinic-request-instructions b{color:#a34b2b}
.mpwl-clinic-request-instructions p{margin:0!important;font-size:13px;line-height:1.5;color:#3f596b;white-space:normal}
@media(max-width:600px){.mpwl-clinic-needs-heading{display:block;padding:13px 14px}.mpwl-clinic-needs-required{margin-top:10px}.mpwl-clinic-needs-heading p{font-size:12.5px}}


/* ============================================================
   v3.12.13 — Photoshop-led dashboard rebuild, mobile first
   Source of truth: patient dashboard mockup supplied Aug 30, 2026.
   ============================================================ */
.mpwl-dashboard-action-grid-three-v313{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  margin:0 0 18px!important;
}
.mpwl-dashboard-action-grid-three-v313>.mpwl-card{
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.mpwl-dashboard-action-grid-three-v313 .mpwl-next-step-card{
  padding:16px!important;
  border-radius:13px!important;
  box-shadow:0 5px 15px rgba(25,58,95,.055)!important;
}
.mpwl-dashboard-action-grid-three-v313 .mpwl-next-step-icon{
  width:38px!important;height:38px!important;flex:0 0 38px!important;
  border-radius:11px!important;font-size:17px!important;
}
.mpwl-dashboard-action-grid-three-v313 .mpwl-next-step-copy h2{
  margin:3px 0 5px!important;font-size:16px!important;line-height:1.22!important;
}
.mpwl-dashboard-action-grid-three-v313 .mpwl-next-step-copy>p{
  margin:0 0 10px!important;font-size:11.5px!important;line-height:1.48!important;
}
.mpwl-dashboard-action-grid-three-v313 .mpwl-next-step-copy>small{
  font-size:9px!important;letter-spacing:.08em!important;
}
.mpwl-dashboard-action-grid-three-v313 .mpwl-btn{
  min-height:36px!important;padding:8px 11px!important;font-size:10.5px!important;border-radius:7px!important;
}
.mpwl-dashboard-action-grid-three-v313 .mpwl-followup-action-meta{
  margin:8px 0 10px!important;padding:8px 9px!important;border-radius:7px!important;
}
.mpwl-dashboard-action-grid-three-v313 .mpwl-followup-action-meta strong{font-size:10.5px!important;line-height:1.35!important}
.mpwl-dashboard-action-grid-three-v313 .mpwl-followup-action-meta span{font-size:9.5px!important;line-height:1.35!important}

/* Permanent third Quick Options card: Clinic Needs. */
.mpwl-clinic-needs-card{border-color:#cbddeb!important;background:#fff!important}
.mpwl-clinic-needs-card .mpwl-clinic-needs-icon{background:#edf6ff!important;color:#1265b7!important}
.mpwl-clinic-needs-card.is-clear{background:linear-gradient(145deg,#fbfffd,#fff)!important;border-color:#cfe7da!important}
.mpwl-clinic-needs-card.is-clear .mpwl-clinic-needs-icon{background:#eaf8ef!important;color:#21834c!important}
.mpwl-clinic-needs-card.is-requested{background:linear-gradient(145deg,#f7fbff,#fff)!important;border-color:#b9d7ef!important}
.mpwl-clinic-needs-card.is-required{background:linear-gradient(145deg,#fffaf6,#fff)!important;border-color:#efb99e!important}
.mpwl-clinic-needs-card.is-required .mpwl-clinic-needs-icon{background:#fff0e7!important;color:#af4925!important}
.mpwl-clinic-clear-note,.mpwl-clinic-request-due,.mpwl-clinic-request-more{
  display:block;margin:8px 0 0;font-size:9.5px;line-height:1.4;color:#75879a
}
.mpwl-clinic-request-instructions{
  margin:7px 0 9px!important;padding:8px 9px!important;border-radius:8px!important;
  background:#fff!important;border:1px solid #dbe6ee!important
}
.mpwl-clinic-request-instructions b{font-size:8.5px!important;letter-spacing:.08em!important}
.mpwl-clinic-request-instructions p{font-size:11px!important;line-height:1.42!important;margin:2px 0 0!important}

/* Hero: same visual hierarchy as Photoshop, with less wasted vertical space. */
.mpwl-dashboard-hero{
  margin:0 0 18px!important;padding:20px 22px 18px!important;border-radius:18px!important;
  background:linear-gradient(120deg,#1167c8 0%,#1688d5 58%,#149ca5 100%)!important;
  box-shadow:0 15px 34px rgba(21,78,140,.16)!important;
}
.mpwl-dashboard-hero-copy>small{font-size:9px!important;letter-spacing:.115em!important;margin-bottom:4px!important}
.mpwl-dashboard-hero-copy h2{font-size:26px!important;margin-bottom:4px!important}
.mpwl-dashboard-hero-copy p{font-size:12px!important;line-height:1.45!important}
.mpwl-dashboard-progress-link{min-height:34px!important;padding:7px 11px!important;border-radius:10px!important;font-size:10px!important}
.mpwl-dashboard-hero-progress{margin-top:14px!important}
.mpwl-dashboard-hero-progress-head{margin-bottom:6px!important}
.mpwl-dashboard-hero-progress-head strong{font-size:15px!important}
.mpwl-dashboard-hero-progress-head span{font-size:9.5px!important}
.mpwl-dashboard-hero-track{height:8px!important}
.mpwl-dashboard-hero-pills{gap:7px!important;margin-top:9px!important}
.mpwl-dashboard-hero-pill{padding:8px 9px!important;border-radius:9px!important;gap:7px!important}
.mpwl-dashboard-hero-pill>span{width:25px!important;height:25px!important;flex-basis:25px!important;border-radius:7px!important;font-size:13px!important}
.mpwl-dashboard-hero-pill small{font-size:7px!important}
.mpwl-dashboard-hero-pill strong{font-size:10px!important}
.mpwl-dashboard-hero-coach{margin-top:8px!important;padding:8px 10px!important;border-radius:9px!important;gap:8px!important}
.mpwl-dashboard-hero-coach>span{font-size:14px!important}
.mpwl-dashboard-hero-coach strong{font-size:9px!important}
.mpwl-dashboard-hero-coach p{font-size:9.5px!important;line-height:1.35!important}

/* Section rhythm from the Photoshop mockup. */
.mpwl-quick-options-heading{margin:16px 0 8px!important}
.mpwl-quick-options-heading small{font-size:9px!important}
.mpwl-quick-options-heading h3{font-size:18px!important;margin-top:2px!important}
.mpwl-dashboard-metrics-v313{margin:0 0 16px!important;border-radius:13px!important}
.mpwl-dashboard-metrics-v313 .mpwl-health-metric{min-height:88px!important;padding:13px 14px!important}
.mpwl-dashboard-metrics-v313 .mpwl-health-metric-top>span{font-size:9px!important;text-transform:uppercase!important;font-weight:850!important;letter-spacing:.035em!important}
.mpwl-dashboard-metrics-v313 .mpwl-health-metric strong{font-size:17px!important;margin:6px 0 4px!important}
.mpwl-dashboard-metrics-v313 .mpwl-health-metric>small{font-size:8.5px!important;line-height:1.35!important;min-height:24px!important}
.mpwl-dashboard-metrics-v313 .mpwl-metric-edit-toggle{font-size:8.5px!important;min-height:26px!important}
.mpwl-dashboard-treatment-v313{margin-bottom:14px!important;border-radius:13px!important}
.mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-main{padding:13px 15px!important}
.mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-main small{font-size:8.5px!important}
.mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-main h3{font-size:16px!important;margin-top:3px!important}
.mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid>div{padding:12px 14px!important}
.mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid small{font-size:8px!important}
.mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid strong{font-size:11px!important}
.mpwl-dashboard-treatment-v313 .mpwl-treatment-source-note{font-size:8.5px!important;line-height:1.3!important}
.mpwl-dashboard-more-v313{margin:0 0 14px!important;border-radius:13px!important}
.mpwl-dashboard-more-v313 .mpwl-quick-tasks-head{padding:12px 14px 9px!important}
.mpwl-dashboard-more-v313 .mpwl-quick-tasks-head small{font-size:8px!important}
.mpwl-dashboard-more-v313 .mpwl-quick-tasks-head h3{font-size:14px!important}
.mpwl-dashboard-more-v313 .mpwl-quick-task{min-height:70px!important;padding:11px 13px!important}
.mpwl-dashboard-more-v313 .mpwl-quick-task-copy strong{font-size:11px!important}
.mpwl-dashboard-more-v313 .mpwl-quick-task-copy small{font-size:9px!important;line-height:1.38!important}

/* Recent Care sits exactly below More Actions. */
.mpwl-updates-card{margin:0 0 16px!important;border-radius:13px!important;overflow:hidden!important}
.mpwl-updates-card .mpwl-card-heading-row{padding:14px 15px!important}
.mpwl-updates-card .mpwl-card-heading-row small{font-size:8.5px!important}
.mpwl-updates-card .mpwl-card-heading-row h3{font-size:15px!important;margin:3px 0!important}
.mpwl-updates-card .mpwl-card-heading-row p{font-size:9px!important}
.mpwl-updates-card .mpwl-text-link{font-size:10px!important}
.mpwl-updates-card .mpwl-update-row{padding:10px 14px!important;min-height:54px!important}
.mpwl-updates-card .mpwl-update-icon{width:30px!important;height:30px!important;flex-basis:30px!important;font-size:12px!important}
.mpwl-updates-card .mpwl-update-copy small{font-size:7.5px!important}
.mpwl-updates-card .mpwl-update-copy strong{font-size:10.5px!important}
.mpwl-updates-card .mpwl-update-copy em{font-size:8.5px!important;line-height:1.35!important}

/* Wellness + achievements echo the mockup while retaining live logic. */
.mpwl-wellness-zone{margin-top:0!important;padding-top:0!important;border-top:0!important}
.mpwl-wellness-zone-head{padding:15px 17px!important;border-radius:13px!important;margin-bottom:9px!important}
.mpwl-wellness-zone-head:after{font-size:18px!important;right:14px!important;top:14px!important}
.mpwl-wellness-zone-head small{font-size:8px!important}
.mpwl-wellness-zone-head h2{font-size:16px!important;margin:3px 0!important}
.mpwl-wellness-zone-head p{font-size:9px!important}
.mpwl-wellness-grid{gap:9px!important}
.mpwl-wellness-grid>.mpwl-card{padding:14px!important;border-radius:13px!important}
.mpwl-wellness-icon{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:10px!important;font-size:17px!important}
.mpwl-wellness-card-head small{font-size:7.5px!important}
.mpwl-wellness-card-head h3{font-size:12px!important}
.mpwl-weekly-challenge p,.mpwl-wellness-tip p,.mpwl-streak-card p{font-size:9px!important;line-height:1.45!important;margin:9px 0 7px!important}
.mpwl-challenge-coach,.mpwl-tip-footer{font-size:8px!important}
.mpwl-achievements-card{border-radius:13px!important}
.mpwl-achievements-head{padding:12px 14px!important}
.mpwl-achievements-head small{font-size:8px!important}
.mpwl-achievements-head h3{font-size:14px!important}
.mpwl-achievements-head p{font-size:8.5px!important}
.mpwl-achievement-count{font-size:8px!important}
.mpwl-achievement-badge{min-width:0!important}
.mpwl-achievement-badge strong{font-size:9.5px!important}
.mpwl-achievement-badge small{font-size:8px!important;line-height:1.35!important}

/* Tablet: preserve the three priorities, then collapse cleanly. */
@media(max-width:1050px){
  .mpwl-dashboard-action-grid-three-v313{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mpwl-dashboard-action-grid-three-v313>.mpwl-clinic-needs-card{grid-column:1/-1!important}
}

/* MOBILE-FIRST patient use. No horizontal scrolling; actions remain large and obvious. */
@media(max-width:760px){
  .mpwl-content{padding-left:12px!important;padding-right:12px!important}
  .mpwl-dashboard-hero{padding:17px 14px 14px!important;margin-bottom:13px!important;border-radius:14px!important}
  .mpwl-dashboard-hero-head{display:block!important}
  .mpwl-dashboard-hero-copy h2{font-size:22px!important;line-height:1.15!important}
  .mpwl-dashboard-hero-copy p{font-size:11.5px!important;line-height:1.45!important}
  .mpwl-dashboard-progress-link{width:100%!important;min-height:44px!important;margin-top:11px!important;box-sizing:border-box!important;font-size:11px!important}
  .mpwl-dashboard-hero-progress{margin-top:12px!important}
  .mpwl-dashboard-hero-progress-head{display:grid!important;gap:2px!important;align-items:start!important}
  .mpwl-dashboard-hero-progress-head strong{font-size:14px!important}
  .mpwl-dashboard-hero-progress-head span{text-align:left!important;font-size:9px!important}
  .mpwl-dashboard-hero-pills{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .mpwl-dashboard-hero-pill{min-height:48px!important;padding:8px!important}
  .mpwl-dashboard-hero-pill strong{white-space:normal!important;font-size:10px!important}
  .mpwl-dashboard-hero-coach{align-items:flex-start!important}
  .mpwl-dashboard-hero-coach p{font-size:9px!important}

  .mpwl-quick-options-heading{margin:13px 0 7px!important}
  .mpwl-dashboard-action-grid-three-v313{grid-template-columns:1fr!important;gap:9px!important;margin-bottom:12px!important}
  .mpwl-dashboard-action-grid-three-v313>.mpwl-clinic-needs-card{grid-column:auto!important}
  .mpwl-dashboard-action-grid-three-v313 .mpwl-next-step-card{padding:14px!important;gap:11px!important}
  .mpwl-dashboard-action-grid-three-v313 .mpwl-next-step-icon{width:42px!important;height:42px!important;flex-basis:42px!important}
  .mpwl-dashboard-action-grid-three-v313 .mpwl-next-step-copy h2{font-size:16px!important}
  .mpwl-dashboard-action-grid-three-v313 .mpwl-next-step-copy>p{font-size:11.5px!important}
  .mpwl-dashboard-action-grid-three-v313 .mpwl-btn{min-height:44px!important;font-size:11px!important;padding:10px 12px!important}
  .mpwl-clinic-request-instructions p{font-size:11px!important}

  /* Two-across stats are easier to scan on a phone than six stacked cards. */
  .mpwl-dashboard-metrics-v313 .mpwl-health-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric,
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric:nth-child(odd),
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric:nth-child(even){
    min-width:0!important;min-height:86px!important;padding:11px 10px!important;
    border-bottom:1px solid var(--mp-border)!important
  }
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric:nth-child(odd){border-right:1px solid var(--mp-border)!important}
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric:nth-child(even){border-right:0!important}
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric:nth-last-child(-n+2){border-bottom:0!important}
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric strong{font-size:17px!important;white-space:normal!important}
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric>small{font-size:8px!important;min-height:0!important}
  .mpwl-dashboard-metrics-v313 .mpwl-metric-edit-toggle{min-width:36px!important;min-height:30px!important}

  .mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-main{display:block!important;padding:13px!important}
  .mpwl-dashboard-treatment-v313 .mpwl-care-updated{display:block!important;margin-top:7px!important;font-size:8.5px!important}
  .mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid>div{min-width:0!important;padding:11px!important;border-bottom:1px solid var(--mp-border)!important}
  .mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid>div:nth-child(2n){border-right:0!important}
  .mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid>div:nth-last-child(-n+2){border-bottom:0!important}
  .mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid strong{display:block!important;overflow-wrap:anywhere!important}
  .mpwl-dashboard-treatment-v313 .mpwl-treatment-secondary{display:grid!important;gap:4px!important;padding:10px 12px!important}

  .mpwl-dashboard-more-v313 .mpwl-quick-task-grid{grid-template-columns:1fr!important}
  .mpwl-dashboard-more-v313 .mpwl-quick-task{min-height:64px!important;padding:11px 12px!important}

  .mpwl-updates-card .mpwl-card-heading-row{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:start!important}
  .mpwl-updates-card .mpwl-card-heading-row p{grid-column:1/-1!important}
  .mpwl-updates-card .mpwl-update-row{grid-template-columns:30px minmax(0,1fr) 14px!important;gap:9px!important;padding:10px 11px!important}
  .mpwl-updates-card .mpwl-update-copy{min-width:0!important}
  .mpwl-updates-card .mpwl-update-copy strong,.mpwl-updates-card .mpwl-update-copy em{overflow-wrap:anywhere!important}

  .mpwl-wellness-grid{grid-template-columns:1fr!important}
  .mpwl-wellness-grid>.mpwl-card{padding:13px!important}
  .mpwl-wellness-zone-head:after{font-size:14px!important;letter-spacing:4px!important;opacity:.12!important}
  .mpwl-badge-grid{grid-template-columns:1fr!important}
  .mpwl-achievement-badge{min-height:56px!important;padding:10px 12px!important}
}

@media(max-width:340px){
  .mpwl-dashboard-hero-pills{grid-template-columns:1fr!important}
  .mpwl-dashboard-metrics-v313 .mpwl-health-metrics{grid-template-columns:1fr!important}
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric,
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric:nth-child(odd),
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric:nth-child(even){border-right:0!important;border-bottom:1px solid var(--mp-border)!important}
  .mpwl-dashboard-metrics-v313 .mpwl-health-metric:last-child{border-bottom:0!important}
  .mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid{grid-template-columns:1fr!important}
  .mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid>div{border-right:0!important;border-bottom:1px solid var(--mp-border)!important}
  .mpwl-dashboard-treatment-v313 .mpwl-treatment-glance-grid>div:last-child{border-bottom:0!important}
}


/* ==========================================================================
   v3.12.14 — visits + navigation cleanup, mobile-first finishing pass
   ========================================================================== */
.mpwl-mobile-account-link{
  display:none;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:9px;
  color:#fff!important;
  text-decoration:none!important;
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
}

.mpwl-dashboard-next-visit{
  margin:0 0 16px!important;
  padding:0!important;
  border-radius:13px!important;
  overflow:hidden;
  border-color:#cfddea!important;
  box-shadow:0 5px 15px rgba(25,58,95,.05)!important;
}
.mpwl-dashboard-next-visit.is-today{
  border-color:#73b9ee!important;
  box-shadow:0 7px 20px rgba(24,112,185,.11)!important;
}
.mpwl-dashboard-next-visit-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px 12px;
  background:linear-gradient(135deg,#f7fbff,#fff);
}
.mpwl-dashboard-next-visit.is-today .mpwl-dashboard-next-visit-head{background:linear-gradient(135deg,#eef8ff,#f7fcff)}
.mpwl-dashboard-next-visit-head small{
  display:block;
  margin-bottom:3px;
  color:#4f6d8e!important;
  font-size:8.5px!important;
  font-weight:900;
  letter-spacing:.1em;
}
.mpwl-dashboard-next-visit-head h3{margin:0 0 4px!important;font-size:17px!important;line-height:1.25!important;color:#173557}
.mpwl-dashboard-next-visit-head p{margin:0!important;font-size:10px!important;line-height:1.45!important;color:#647b93}
.mpwl-next-visit-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:11px;
  background:#eaf4ff;
  color:#1265b7;
  font-size:17px;
}
.mpwl-dashboard-next-visit.is-today .mpwl-next-visit-icon{background:#dff1ff;color:#075eaa}
.mpwl-next-visit-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid #e0e8f0;
  border-bottom:1px solid #e0e8f0;
}
.mpwl-next-visit-meta>div{min-width:0;padding:11px 14px;border-right:1px solid #e0e8f0}
.mpwl-next-visit-meta>div:last-child{border-right:0}
.mpwl-next-visit-meta small{display:block;margin-bottom:3px;font-size:8px!important;font-weight:900;letter-spacing:.07em;color:#7b8ea2!important}
.mpwl-next-visit-meta strong{display:block;font-size:11px;line-height:1.35;color:#233e5d;overflow-wrap:anywhere}
.mpwl-google-meet-patient-note{
  display:grid;
  gap:2px;
  margin:11px 14px 0;
  padding:10px 11px;
  border:1px solid #cfe3f6;
  border-radius:9px;
  background:#f4f9fe;
}
.mpwl-google-meet-patient-note strong{font-size:10px;color:#1b5b93}
.mpwl-google-meet-patient-note span{font-size:9.5px;line-height:1.45;color:#58748e}
.mpwl-next-visit-call-note{margin:11px 14px 0;padding:9px 11px;border-radius:8px;background:#f5f8fb;color:#526c84;font-size:10px;line-height:1.4}
.mpwl-next-visit-actions{display:flex;align-items:center;gap:8px;padding:12px 14px 14px}
.mpwl-next-visit-actions .mpwl-btn{min-height:38px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.mpwl-next-visit-history-link{display:inline-flex;margin:0 16px 14px;min-height:38px;align-items:center}

.mpwl-google-meet-request-note{
  margin:9px 0 0!important;
  padding:10px 11px;
  border:1px solid #d5e4f1;
  border-radius:9px;
  background:#f7fbff;
  color:#536f88;
  font-size:10px!important;
  line-height:1.45!important;
}
.mpwl-google-meet-request-note strong{display:block;margin-bottom:2px;color:#234e75}
.mpwl-google-meet-inline-note{margin-top:7px!important;padding:8px 9px;border-radius:8px;background:#f4f9fe;color:#4f708e!important;line-height:1.4!important}

.mpwl-recent-care-empty{min-height:105px!important;padding:16px!important;text-align:center}
.mpwl-recent-care-empty strong{font-size:11px!important;color:#425f7d}
.mpwl-recent-care-empty span{font-size:9px!important;color:#7b8c9f}

/* Form History has no patient-facing review/status column in this release. */
.mpwl-submission-detail-head{align-items:flex-start!important}
.mpwl-submission-table td:last-child,.mpwl-submission-table th:last-child{text-align:right}

/* Comfortable touch targets across the patient portal. */
.mpwl-sidebar nav a,.mpwl-quick-task,.mpwl-text-link,.mpwl-metric-edit-toggle,.mpwl-form-history-tabs a{touch-action:manipulation}

@media(max-width:900px){
  .mpwl-mobile-account-link{display:inline-flex}
}

@media(max-width:760px){
  .mpwl-mobile-account-link{min-height:44px;padding:0 9px;font-size:9px}
  .mpwl-mobile-menu-toggle{min-width:44px!important;min-height:44px!important}
  .mpwl-dashboard-next-visit{margin-bottom:12px!important}
  .mpwl-dashboard-next-visit-head{padding:13px 12px 11px}
  .mpwl-dashboard-next-visit-head h3{font-size:16px!important}
  .mpwl-dashboard-next-visit-head p{font-size:10.5px!important}
  .mpwl-next-visit-icon{width:42px;height:42px;flex-basis:42px}
  .mpwl-next-visit-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mpwl-next-visit-meta>div{padding:10px 11px;border-bottom:1px solid #e0e8f0}
  .mpwl-next-visit-meta>div:nth-child(2n){border-right:0}
  .mpwl-next-visit-meta>div:nth-last-child(-n+2){border-bottom:0}
  .mpwl-next-visit-meta strong{font-size:10.5px}
  .mpwl-google-meet-patient-note{margin:10px 11px 0;padding:10px}
  .mpwl-google-meet-patient-note span{font-size:10px}
  .mpwl-next-visit-actions{display:grid;grid-template-columns:1fr;gap:7px;padding:11px}
  .mpwl-next-visit-actions .mpwl-btn{width:100%;min-height:46px;font-size:11px}
  .mpwl-next-visit-history-link{margin:0 12px 12px;min-height:44px}
  .mpwl-clinic-appointment-row{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .mpwl-clinic-appointment-row .mpwl-appt-actions{width:100%!important}
  .mpwl-clinic-appointment-row .mpwl-appt-actions .mpwl-btn{width:100%!important;min-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .mpwl-google-meet-request-note{font-size:10.5px!important}
  .mpwl-form-history-tabs a{min-height:44px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box}
  .mpwl-submission-table table{min-width:0!important;width:100%!important}
  .mpwl-submission-table th,.mpwl-submission-table td{font-size:11px!important;padding:9px 7px!important}
  .mpwl-submission-table .mpwl-text-link{display:inline-flex;min-height:44px;align-items:center;text-align:right}
}

@media(max-width:390px){
  .mpwl-mobile-account-link{padding:0 7px;font-size:8.5px}
  .mpwl-next-visit-meta{grid-template-columns:1fr}
  .mpwl-next-visit-meta>div,.mpwl-next-visit-meta>div:nth-child(2n),.mpwl-next-visit-meta>div:nth-last-child(-n+2){border-right:0;border-bottom:1px solid #e0e8f0}
  .mpwl-next-visit-meta>div:last-child{border-bottom:0}
}

/* v3.12.16 — Online Forms hub + completed New Patient navigation state */
.mpwl-sidebar nav a.is-disabled{cursor:default!important;pointer-events:none!important;background:#f7faf8!important;color:#42556d!important;border:1px solid #d9eadf!important}
.mpwl-sidebar nav a.is-disabled>span{color:#1eaa59!important}
.mpwl-sidebar nav a.is-disabled:hover{transform:none!important;box-shadow:none!important;background:#f7faf8!important;color:#42556d!important}
.mpwl-nav-complete-copy{min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.2}
.mpwl-nav-complete-copy strong{font:inherit;font-weight:700;color:inherit;white-space:normal}
.mpwl-nav-complete-copy small{display:block;color:#1e8d50!important;font-size:9px!important;font-weight:800!important;letter-spacing:.01em;line-height:1.25;white-space:normal}
.mpwl-sidebar nav a.is-active .mpwl-nav-complete-copy small{color:#fff!important}

.mpwl-forms-hub-intro{position:relative;overflow:hidden;background:linear-gradient(135deg,#0b4fb3,#176bd5);color:#fff;border-radius:18px;padding:24px 26px;margin-bottom:16px;box-shadow:0 12px 30px rgba(11,79,179,.16)}
.mpwl-forms-hub-intro:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-70px;top:-85px;background:rgba(255,255,255,.08)}
.mpwl-forms-hub-intro>div{position:relative;z-index:1;max-width:760px}
.mpwl-forms-hub-intro small{display:block;color:#d8eaff;font-size:10px;font-weight:900;letter-spacing:.13em;margin-bottom:6px}
.mpwl-forms-hub-intro h2{margin:0 0 6px;color:#fff;font-size:24px;line-height:1.15}
.mpwl-forms-hub-intro p{margin:0;color:#e9f3ff;line-height:1.55;font-size:13px}
.mpwl-forms-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.mpwl-forms-hub-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start;background:#fff;border:1px solid var(--mp-border);border-radius:16px;padding:18px;box-shadow:0 3px 12px rgba(22,55,95,.04);min-width:0}
.mpwl-forms-hub-card.is-complete{border-color:#cce8d7;background:linear-gradient(180deg,#fff,#f9fdfa)}
.mpwl-forms-hub-card.is-not-required{border-color:#d8e3ef;background:#fbfdff}
.mpwl-forms-hub-icon{width:48px;height:48px;border-radius:14px;background:#eef5ff;color:#0b4fb3;display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:900}
.mpwl-forms-hub-card.is-complete .mpwl-forms-hub-icon{background:#eaf8ef;color:#1e9953}
.mpwl-forms-hub-copy{min-width:0}
.mpwl-forms-hub-copy>small{display:block;color:#7a899e;font-size:9px;font-weight:900;letter-spacing:.1em;margin:1px 0 4px}
.mpwl-forms-hub-copy h3{margin:0 0 7px;font-size:18px;color:#17263a}
.mpwl-forms-hub-copy p{margin:8px 0 14px;color:#66768b;font-size:12px;line-height:1.5}
.mpwl-form-complete-line{color:#16874a;font-weight:900;font-size:12px;margin:2px 0 4px}
.mpwl-form-detail-line,.mpwl-form-last-line{color:#40536c;font-size:11px;font-weight:700;margin:3px 0}
.mpwl-form-hub-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;border-radius:9px;padding:10px 14px;background:#0b4fb3;color:#fff!important;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.02em;text-align:center}
.mpwl-form-hub-button:hover{background:#093f8e;color:#fff!important}
.mpwl-form-hub-button.secondary{background:#eef3f9;color:#253d5d!important}
.mpwl-form-hub-button.secondary:hover{background:#e1e9f3;color:#253d5d!important}
.mpwl-form-hub-button.is-disabled{background:#e9f3ed;color:#287247!important;border:1px solid #cce2d3;cursor:default}

@media(max-width:760px){
  .mpwl-forms-hub-intro{border-radius:14px;padding:18px 16px;margin-bottom:12px}
  .mpwl-forms-hub-intro h2{font-size:20px}
  .mpwl-forms-hub-intro p{font-size:12px}
  .mpwl-forms-hub-grid{grid-template-columns:1fr;gap:10px}
  .mpwl-forms-hub-card{grid-template-columns:42px minmax(0,1fr);gap:11px;padding:14px;border-radius:13px}
  .mpwl-forms-hub-icon{width:42px;height:42px;border-radius:12px;font-size:18px}
  .mpwl-forms-hub-copy h3{font-size:16px}
  .mpwl-forms-hub-copy p{font-size:11.5px;margin-bottom:12px}
  .mpwl-form-hub-button{width:100%;min-height:46px;font-size:10.5px}
  .mpwl-sidebar nav a.is-disabled{min-height:52px!important}
  .mpwl-nav-complete-copy small{font-size:9px!important}
}

@media(max-width:390px){
  .mpwl-forms-hub-card{grid-template-columns:38px minmax(0,1fr);padding:12px;gap:9px}
  .mpwl-forms-hub-icon{width:38px;height:38px}
}


/* v3.12.17 — mobile-first portal polish, clickable Online Forms heading, and forms hub states */
.mpwl-nav-heading-link{display:flex!important;align-items:center;justify-content:space-between;gap:8px;text-decoration:none!important;border-radius:8px;padding:7px 8px!important;margin:0 -8px 4px;color:inherit!important;transition:background .16s ease,color .16s ease}
.mpwl-nav-heading-link span{font-size:12px;line-height:1;opacity:.7;transition:transform .16s ease}
.mpwl-nav-heading-link:hover{background:#eef5ff;color:#0b4fb3!important}
.mpwl-nav-heading-link:hover span{transform:translateX(2px)}
.mpwl-nav-heading-link.is-active{background:#eaf3ff;color:#0b4fb3!important}

.mpwl-forms-hub-card{position:relative;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.mpwl-forms-hub-card:hover{transform:translateY(-1px);box-shadow:0 7px 20px rgba(22,55,95,.08)}
.mpwl-forms-hub-card.is-complete{border-left:4px solid #29a45d}
.mpwl-forms-hub-card.is-followup{border-left:4px solid #176bd5}
.mpwl-forms-hub-card.is-followup .mpwl-forms-hub-icon{background:#eaf3ff;color:#0b4fb3}
.mpwl-forms-hub-card.is-restart{border-left:4px solid #e89a2f}
.mpwl-forms-hub-card.is-restart .mpwl-forms-hub-icon{background:#fff4e5;color:#a75d00}
.mpwl-forms-hub-card.is-history{border-left:4px solid #8a9bb0}
.mpwl-forms-hub-card.is-history .mpwl-forms-hub-icon{background:#f0f3f7;color:#53677f}
.mpwl-form-hub-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mpwl-form-hub-actions .mpwl-form-hub-button{margin:0}
.mpwl-forms-return-success{margin-bottom:12px}
.mpwl-followup-confirmation-links>div{display:flex;flex-wrap:wrap;gap:10px 16px;justify-content:flex-end}

/* Keep major portal surfaces visually consistent without changing their data logic. */
.mpwl-dashboard-next-visit,.mpwl-health-metrics-card,.mpwl-dashboard-treatment-v313,.mpwl-forms-hub-card,.mpwl-forms-head,.mpwl-appointment-notice,.mpwl-pending-request-list{box-sizing:border-box}
.mpwl-card,.mpwl-forms-hub-card{overflow-wrap:anywhere}
.mpwl-btn,.mpwl-form-hub-button,.mpwl-text-link,.mpwl-sidebar nav a{touch-action:manipulation}

@media(max-width:760px){
  .mpwl-nav-heading-link{min-height:44px;box-sizing:border-box;padding:10px 8px!important;margin-bottom:2px}
  .mpwl-nav-heading-link span{font-size:14px}
  .mpwl-sidebar nav a{min-height:46px;box-sizing:border-box}
  .mpwl-sidebar nav a.is-disabled{padding-top:8px!important;padding-bottom:8px!important}
  .mpwl-nav-complete-copy{gap:1px}
  .mpwl-nav-complete-copy small{line-height:1.15!important}
  .mpwl-forms-hub-card:hover{transform:none}
  .mpwl-form-hub-actions{display:grid;grid-template-columns:1fr;width:100%}
  .mpwl-form-hub-actions .mpwl-form-hub-button{width:100%;min-height:46px}
  .mpwl-followup-confirmation-links{align-items:flex-start!important}
  .mpwl-followup-confirmation-links>div{width:100%;display:grid;grid-template-columns:1fr;gap:4px;justify-content:stretch}
  .mpwl-followup-confirmation-links .mpwl-text-link{min-height:44px;display:flex;align-items:center}
  .mpwl-content,.mpwl-main,.mpwl-card,.mpwl-forms-hub-card,.mpwl-forms-hub-copy{min-width:0;max-width:100%;box-sizing:border-box}
  .mpwl-form-card input,.mpwl-form-card select,.mpwl-form-card textarea{max-width:100%;box-sizing:border-box}
}

@media(max-width:390px){
  .mpwl-nav-heading-link{font-size:9.5px!important}
  .mpwl-nav-complete-copy small{font-size:8.5px!important}
}

/* v3.12.21 — registration terms/privacy acknowledgment */
.mpwl-registration-terms{margin:12px 0 0 31px;border:1px solid #d7e2ef;border-radius:12px;background:#f8fbff;overflow:hidden}
.mpwl-registration-terms summary{display:flex;align-items:center;min-height:46px;padding:0 15px;color:#1457bd;font-size:14px;font-weight:800;cursor:pointer;list-style:none}
.mpwl-registration-terms summary::-webkit-details-marker{display:none}
.mpwl-registration-terms summary:after{content:'+';margin-left:auto;font-size:20px;line-height:1;color:#5e7695}
.mpwl-registration-terms[open] summary{border-bottom:1px solid #d7e2ef;background:#f2f7fd}
.mpwl-registration-terms[open] summary:after{content:'−'}
.mpwl-registration-terms-document{padding:16px 18px 18px;color:#405773}
.mpwl-registration-terms-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-bottom:12px}
.mpwl-registration-terms-head strong{color:#173d6c;font-size:16px}
.mpwl-registration-terms-head span{color:#71839a;font-size:12px;font-weight:700}
.mpwl-registration-terms-text{font-size:14px;line-height:1.62}
.mpwl-registration-terms-text p{margin:0 0 12px}
.mpwl-registration-terms-text p:last-child{margin-bottom:0}
.mpwl-registration-terms-text ul{margin:8px 0 0 20px;padding:0}
.mpwl-registration-terms-text li{margin:0 0 8px}
@media(max-width:700px){.mpwl-registration-terms{margin-left:0}.mpwl-registration-terms summary{min-height:48px;padding:0 14px}.mpwl-registration-terms-document{padding:15px 14px 16px}.mpwl-registration-terms-text{font-size:14px;line-height:1.58}}

/* v3.12.28 Online Forms finishing pass */
.mpwl-form-status-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:9px 13px;border-radius:10px;font-size:11px;font-weight:900;letter-spacing:.02em}
.mpwl-form-status-badge.good{background:#eaf6ee;color:#247347;border:1px solid #c9e3d2}
@media (min-width:761px){.mpwl-forms-hub-card.is-history{grid-column:1/-1}}

/* v3.12.62 appointment confirmation workflow */
.mpwl-inline-confirm-form{margin:0;display:inline-flex}.mpwl-inline-confirm-form .mpwl-btn{font-family:inherit}.mpwl-appointment-confirmed{color:var(--mp-green)!important;font-weight:800!important;margin-top:7px!important}.mpwl-clinic-appointment-row .mpwl-appt-actions{align-items:center;flex-wrap:wrap}.mpwl-clinic-appointment-row .mpwl-appt-actions .mpwl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;box-sizing:border-box}.mpwl-clinic-appointment-row:target{outline:2px solid #c8dcfb;outline-offset:2px}
@media(max-width:640px){.mpwl-inline-confirm-form{width:100%}.mpwl-inline-confirm-form .mpwl-btn,.mpwl-clinic-appointment-row .mpwl-appt-actions>.mpwl-btn{width:100%}}

/* v3.12.81 — Goal Reached Celebration Mode */
.mpwl-dashboard-hero.mpwl-goal-reached-mode{
  background:linear-gradient(120deg,#0b5aa9 0%,#0f82be 46%,#14998e 100%)!important;
  box-shadow:0 18px 42px rgba(9,74,108,.24),0 0 0 1px rgba(255,214,102,.18) inset!important;
}
.mpwl-goal-reached-mode .mpwl-dashboard-hero-copy>small{color:#fff3b8!important}
.mpwl-goal-reached-mode .mpwl-dashboard-hero-copy h2{font-size:31px!important;text-shadow:0 2px 18px rgba(0,0,0,.12)}
.mpwl-dashboard-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.mpwl-goal-reached-mode .mpwl-dashboard-progress-link{border-color:rgba(255,228,145,.55)!important;background:rgba(255,255,255,.16)!important}
.mpwl-goal-reached-mode .mpwl-dashboard-progress-link:hover{background:rgba(255,255,255,.25)!important}
.mpwl-goal-reached-mode .mpwl-dashboard-hero-track{background:rgba(2,47,61,.25)!important}
.mpwl-goal-reached-mode .mpwl-dashboard-hero-track i{background:linear-gradient(90deg,#fff6c7 0%,#ffffff 45%,#dffff4 100%)!important;box-shadow:0 0 18px rgba(255,235,154,.42)!important}
.mpwl-goal-reached-mode .mpwl-dashboard-hero-pill.is-goal-win{border-color:rgba(255,229,147,.35)!important;background:rgba(255,255,255,.15)!important}
.mpwl-goal-reached-mode .mpwl-dashboard-hero-pill.is-goal-win>span{background:rgba(255,227,134,.19)!important}
.mpwl-goal-reached-mode .mpwl-dashboard-hero-coach{background:rgba(3,56,72,.26)!important;border-color:rgba(255,227,134,.24)!important}
.mpwl-goal-confetti{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.mpwl-goal-confetti i{position:absolute;left:var(--x);top:-18px;width:7px;height:13px;border-radius:2px;background:#fff3b0;opacity:0;transform:rotate(var(--r));animation:mpwl-goal-confetti-fall 2.8s ease-in var(--d) 1}
.mpwl-goal-confetti i:nth-child(3n+1){width:6px;height:6px;border-radius:50%;background:#ffffff}
.mpwl-goal-confetti i:nth-child(3n+2){background:#bdf7e9}
.mpwl-goal-confetti i:nth-child(4n){background:#ffd86e}
@keyframes mpwl-goal-confetti-fall{0%{opacity:0;transform:translate3d(0,-12px,0) rotate(var(--r))}12%{opacity:.95}100%{opacity:0;transform:translate3d(22px,330px,0) rotate(calc(var(--r) + 320deg))}}
.mpwl-goal-next-card{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin:0 0 16px!important;padding:15px 17px!important;border:1px solid #d9e8e2!important;background:linear-gradient(135deg,#fbfffd 0%,#f3fbf8 100%)!important}
.mpwl-goal-next-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e9f8f1;font-size:24px}
.mpwl-goal-next-copy small{display:block;font-size:9px;font-weight:900;letter-spacing:.1em;color:#588172}
.mpwl-goal-next-copy h3{margin:3px 0 4px!important;font-size:17px!important;color:#173f38!important}
.mpwl-goal-next-copy p{margin:0!important;font-size:11.5px!important;line-height:1.45!important;color:#657a75!important}
.mpwl-goal-next-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.mpwl-goal-next-actions .mpwl-btn{white-space:nowrap}
@media(max-width:900px){.mpwl-goal-next-card{grid-template-columns:auto minmax(0,1fr)!important}.mpwl-goal-next-actions{grid-column:1/-1;justify-content:flex-start;padding-left:58px}}
@media(max-width:620px){.mpwl-goal-reached-mode .mpwl-dashboard-hero-copy h2{font-size:25px!important}.mpwl-dashboard-hero-actions{display:grid;width:100%;margin-top:12px}.mpwl-dashboard-hero-actions .mpwl-dashboard-progress-link{width:100%;box-sizing:border-box}.mpwl-goal-next-card{grid-template-columns:1fr!important;padding:14px!important}.mpwl-goal-next-icon{width:40px;height:40px}.mpwl-goal-next-actions{grid-column:auto;padding-left:0;display:grid}.mpwl-goal-next-actions .mpwl-btn{width:100%;box-sizing:border-box;text-align:center}}
@media(prefers-reduced-motion:reduce){.mpwl-goal-confetti{display:none!important}}


/* v3.12.82 — date-aware patient setup gate */
.mpwl-onboarding-gate-hero{position:relative;overflow:hidden;margin:0 0 18px;padding:24px 26px;border:1px solid #d6e4f4;border-radius:18px;background:linear-gradient(135deg,#f7fbff 0%,#eef6ff 58%,#edfafa 100%);box-shadow:0 10px 28px rgba(28,71,116,.07)}
.mpwl-onboarding-gate-hero:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-70px;top:-90px;background:rgba(32,129,210,.08);pointer-events:none}
.mpwl-onboarding-gate-hero.is-existing{background:linear-gradient(135deg,#f8fffc 0%,#eefaf6 100%);border-color:#d3e9df}
.mpwl-onboarding-gate-hero.is-update{background:linear-gradient(135deg,#fffdf6 0%,#fff8e7 100%);border-color:#eadcae}
.mpwl-onboarding-gate-hero h2{margin:9px 0 7px!important;color:#173d68!important;font-size:25px!important;letter-spacing:-.02em}
.mpwl-onboarding-gate-hero p{max-width:780px;margin:0 0 9px!important;color:#5e728b!important;line-height:1.55!important}
.mpwl-onboarding-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 16px}
.mpwl-onboarding-choice-card{display:flex;flex-direction:column;min-height:285px;padding:24px;border:1px solid #d9e4ef;border-radius:18px;background:#fff;color:#24425f!important;text-decoration:none!important;box-shadow:0 10px 28px rgba(31,63,95,.07);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.mpwl-onboarding-choice-card:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(31,63,95,.12);border-color:#b8d1eb}
.mpwl-onboarding-choice-card.is-existing:hover{border-color:#aed9c8}
.mpwl-onboarding-choice-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:18px;border-radius:15px;background:#eaf3ff;color:#1568c9;font-size:25px;font-weight:900}
.mpwl-onboarding-choice-card.is-existing .mpwl-onboarding-choice-icon{background:#e9f8f1;color:#17835f}
.mpwl-onboarding-choice-copy{display:flex;flex-direction:column;gap:6px}
.mpwl-onboarding-choice-copy small{font-size:10px;font-weight:900;letter-spacing:.1em;color:#68819b}
.mpwl-onboarding-choice-copy strong{font-size:22px;line-height:1.18;color:#183d67}
.mpwl-onboarding-choice-copy em{font-style:normal;font-size:14px;line-height:1.5;color:#6a7d92}
.mpwl-onboarding-choice-action{margin-top:auto;padding-top:22px;font-size:12px;font-weight:900;letter-spacing:.02em;color:#1268c9}
.mpwl-onboarding-choice-card.is-existing .mpwl-onboarding-choice-action{color:#157a59}
.mpwl-onboarding-help{margin:0 0 14px!important;padding:17px 19px!important}.mpwl-onboarding-help p{margin:4px 0 0!important;color:#667b92!important}
.mpwl-onboarding-lock-note{display:flex;gap:12px;align-items:flex-start;padding:15px 17px;border:1px dashed #c7d5e3;border-radius:14px;background:#eef3f8;color:#586e85}.mpwl-onboarding-lock-note>span{font-size:20px}.mpwl-onboarding-lock-note strong{display:block;color:#334e6b}.mpwl-onboarding-lock-note p{margin:3px 0 0!important;font-size:13px!important;line-height:1.5!important;color:#708196!important}
.mpwl-onboarding-form{overflow:visible}
@media(max-width:760px){.mpwl-onboarding-gate-hero{padding:20px 18px;border-radius:15px}.mpwl-onboarding-gate-hero h2{font-size:22px!important}.mpwl-onboarding-choice-grid{grid-template-columns:1fr;gap:12px}.mpwl-onboarding-choice-card{min-height:0;padding:20px}.mpwl-onboarding-choice-copy strong{font-size:20px}.mpwl-onboarding-choice-action{padding-top:18px}.mpwl-onboarding-lock-note{padding:14px}}
@media(prefers-reduced-motion:reduce){.mpwl-onboarding-choice-card{transition:none}.mpwl-onboarding-choice-card:hover{transform:none}}

/* v3.12.87 — visible Turnstile verification state immediately before registration submit */
.mpwl-reg-human-check{margin:24px 0 4px;padding:18px;border:1px solid #d7e2ef;border-radius:14px;background:#f8fbff}
.mpwl-reg-human-check-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.mpwl-reg-human-check-head strong{display:block;color:#173d6c;font-size:16px}
.mpwl-reg-human-check-head span:not(.mpwl-turnstile-badge){display:block;margin-top:3px;color:#687b94;font-size:13px;line-height:1.4}
.mpwl-turnstile-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap;border:1px solid #d1dce9;background:#fff;color:#667991}
.mpwl-turnstile-badge.verified{border-color:#9bd1ae;background:#eaf8ef;color:#176b39}
.mpwl-turnstile-badge.error,.mpwl-turnstile-badge.expired{border-color:#efc2bc;background:#fff1ef;color:#9b3d35}
.mpwl-turnstile-status{margin-top:12px;padding:11px 13px;border-radius:10px;font-size:13px;font-weight:700;line-height:1.45;border:1px solid #d6e1ed;background:#fff;color:#596f89}
.mpwl-turnstile-status.verified{border-color:#a7d8b7;background:#eefaf2;color:#176b39}
.mpwl-turnstile-status.error,.mpwl-turnstile-status.expired{border-color:#efc2bc;background:#fff4f2;color:#8e352e}
.mpwl-reg-human-check small{display:block;margin-top:9px;color:#687b94;font-size:12px;line-height:1.45}
.mpwl-reg-human-check .cf-turnstile{min-height:65px}
@media(max-width:700px){.mpwl-reg-human-check{padding:15px 12px;overflow:hidden}.mpwl-reg-human-check-head{align-items:center}.mpwl-reg-human-check .cf-turnstile{max-width:100%}}


/* v3.12.92 — Form 31 required-answer / mobile validation cleanup */
.mpwl-portal #gform_wrapper_31 .gform_validation_errors li::before,
.mpwl-portal #gform_wrapper_31 .gform_validation_errors li:before{content:none!important;display:none!important}
.mpwl-portal #gform_wrapper_31 .gform_validation_errors li{padding-left:0!important}
.mpwl-portal #gform_wrapper_31 .gfield_error{border:2px solid #c8472d!important;border-radius:12px!important;padding:14px!important;background:#fff8f6!important;scroll-margin-top:120px}
.mpwl-portal #gform_wrapper_31 .gfield_error .gfield_label{color:#8e2f1f!important}
.mpwl-portal #gform_wrapper_31 .gfield_validation_message{font-weight:800!important;color:#a33424!important;background:transparent!important;border:0!important;padding:7px 0 0!important}
.mpwl-portal #gform_wrapper_31 .mpwl-form31-validation-title,
.mpwl-portal #gform_wrapper_29 .mpwl-form29-validation-title{font-weight:900}
.mpwl-portal #gform_wrapper_31 .mpwl-form31-validation-help,
.mpwl-portal #gform_wrapper_29 .mpwl-form29-validation-help{font-weight:500}

/* v3.12.101 — scheduling preferences are not online booking */
.mpwl-scheduling-preference-card{border-color:#d8e3ef;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.mpwl-request-warning-top{margin-top:18px}
.mpwl-request-summary-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.mpwl-request-day-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mpwl-request-day-option span{min-height:72px;display:flex;flex-direction:column;justify-content:center}
.mpwl-request-day-option strong{font-size:15px}
@media(max-width:850px){.mpwl-request-summary-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.mpwl-request-summary-grid-four,.mpwl-request-day-grid{grid-template-columns:1fr 1fr}.mpwl-scheduling-preference-card .mpwl-card-heading-row{align-items:flex-start}.mpwl-scheduling-preference-card .mpwl-badge{white-space:nowrap}}


/* v3.12.102 — clear anytime appointment-request widget + request-only flow */
.mpwl-appointment-request-widget{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:20px 22px;margin:18px 0;border:1px solid #dbe6f2;background:linear-gradient(135deg,#f7fbff 0%,#ffffff 62%,#f8fbf7 100%)}
.mpwl-appointment-request-widget.is-pending{background:linear-gradient(135deg,#fffaf0 0%,#ffffff 70%)}
.mpwl-appointment-request-widget-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#eef5fb;font-size:24px;font-weight:800}
.mpwl-appointment-request-widget-copy small,.mpwl-request-appointment-page-head small{display:block;font-weight:800;letter-spacing:.08em;font-size:11px;margin-bottom:5px}
.mpwl-appointment-request-widget-copy h3{margin:0 0 4px;font-size:21px}
.mpwl-appointment-request-widget-copy p{margin:0;max-width:720px}
.mpwl-appointment-request-widget-action{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.mpwl-my-visits-request-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;margin:10px 0 16px;border-top:1px solid #e8edf3;border-bottom:1px solid #e8edf3}
.mpwl-my-visits-request-row>div{display:grid;gap:3px}
.mpwl-my-visits-request-row span{font-size:14px;line-height:1.45}
.mpwl-request-appointment-page-head{margin-bottom:16px}
.mpwl-request-warning-bottom{margin:16px 0}
@media(max-width:760px){
  .mpwl-appointment-request-widget{grid-template-columns:auto minmax(0,1fr);padding:17px;gap:12px}
  .mpwl-appointment-request-widget-action{grid-column:1/-1;justify-content:stretch;display:grid;grid-template-columns:1fr}
  .mpwl-appointment-request-widget-action .mpwl-btn{width:100%;text-align:center}
  .mpwl-appointment-request-widget-action .mpwl-badge{justify-self:start}
  .mpwl-my-visits-request-row{align-items:stretch;flex-direction:column}
  .mpwl-my-visits-request-row .mpwl-btn{width:100%;text-align:center}
}

/* v3.12.105 — fixed clinic office hours + flat staff hours (no accordions) */
.mpwl-appointment-request-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:18px;align-items:start}
.mpwl-appointment-request-main{display:flex;flex-direction:column;gap:16px;min-width:0}
.mpwl-appointment-office-hours-column{min-width:0}
.mpwl-employee-office-hours-card{margin:0;position:sticky;top:18px}
.mpwl-employee-office-hours-card .mpwl-card-heading-row{align-items:flex-start}
.mpwl-employee-office-hours-card .mpwl-card-heading-row small,.mpwl-staff-hours-heading small{display:block;font-size:11px;font-weight:900;letter-spacing:.08em;color:#6c7e94;margin-bottom:4px}
.mpwl-employee-office-hours-card .mpwl-card-heading-row h3,.mpwl-staff-hours-heading h3{margin:0 0 5px;color:#173a5f}
.mpwl-employee-office-hours-card .mpwl-card-heading-row p,.mpwl-staff-hours-heading p{margin:0;color:#66798f;font-size:13px;line-height:1.45}
.mpwl-clinic-hours-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px}
.mpwl-clinic-hours-method{border:1px solid #dce6f0;border-radius:12px;background:#f8fbff;padding:12px 14px}
.mpwl-clinic-hours-method h4{margin:0 0 6px;font-size:13px;color:#31506e}
.mpwl-staff-hours-heading{margin-top:18px;padding-top:17px;border-top:2px solid #e4ebf3}
.mpwl-employee-hours-list{display:grid;gap:10px;margin-top:12px}
.mpwl-employee-hours{border:1px solid #dce6f0;border-radius:12px;background:#fff;overflow:hidden;padding-bottom:6px}
.mpwl-employee-hours-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#f8fbff;border-bottom:1px solid #e6edf5;color:#173a5f}
.mpwl-employee-hours-head strong{font-size:14px}
.mpwl-employee-hours-head span{font-size:10px;font-weight:900;color:#6b7d92;letter-spacing:.05em;border:1px solid #d5e0ea;border-radius:999px;padding:4px 7px;background:#fff}
.mpwl-employee-hours-method{padding:11px 14px 4px}
.mpwl-employee-hours-method+.mpwl-employee-hours-method{padding-top:8px;border-top:1px solid #edf1f6;margin-top:5px}
.mpwl-employee-hours-method h4{margin:0 0 6px;font-size:13px;color:#31506e}
.mpwl-employee-hours-row{display:grid;grid-template-columns:78px 1fr;gap:2px 9px;padding:8px 0;border-top:1px solid #f0f3f7}
.mpwl-employee-hours-row:first-of-type{border-top:0}
.mpwl-employee-hours-row>strong{grid-row:1/3;color:#233f5c;font-size:12px}
.mpwl-employee-hours-row>span{font-weight:800;color:#173a5f;font-size:12px}
.mpwl-employee-hours-row>small{color:#708197;font-size:11px;line-height:1.35}
.mpwl-by-arrangement-note{margin:0;padding:13px 14px;color:#66798f;font-size:12px;line-height:1.5}
.mpwl-friday-date-chips{grid-column:2;display:flex;gap:5px;flex-wrap:wrap;margin-top:4px}
.mpwl-friday-date-chips span{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef6ff;border:1px solid #cfe1f5;color:#225d97;font-size:10px;font-weight:900}
.mpwl-employee-office-hours-card>.mpwl-small-note{margin-top:12px;padding:10px 11px;border-radius:10px;background:#fff8e8;border:1px solid #eddcaf;color:#755e32;line-height:1.45}
@media(max-width:980px){.mpwl-appointment-request-layout{grid-template-columns:1fr}.mpwl-employee-office-hours-card{position:static}}
@media(max-width:520px){.mpwl-employee-hours-row{grid-template-columns:70px 1fr}.mpwl-employee-hours-method,.mpwl-clinic-hours-method{padding:11px 12px 4px}.mpwl-clinic-hours-method{padding-bottom:10px}}


/* v3.12.106 — clinic holiday closures + simplified staff hours */
.mpwl-office-closure-list{margin:14px 0 4px;padding:13px 14px;border:1px solid #f1d7a8;background:#fffaf0;border-radius:12px}.mpwl-office-closure-list>strong{display:block;margin-bottom:7px}.mpwl-office-closure-row{display:grid;grid-template-columns:minmax(110px,.45fr) minmax(0,1fr);gap:10px;padding:7px 0;border-top:1px solid rgba(148,113,54,.16)}.mpwl-office-closure-row:first-of-type{border-top:0}.mpwl-office-closure-row span{font-weight:700}.mpwl-office-closure-row small{color:#667085;font-size:13px}@media(max-width:520px){.mpwl-office-closure-row{grid-template-columns:1fr;gap:2px}}

/* v3.12.110 — Form 31 legal copy lives outside the decision labels */
.mpwl-portal #gform_wrapper_31 .mpwl-consent-decision .gfield_description{margin:10px 0 16px!important;padding:0!important;max-width:none!important;color:#2c3e50!important;font-size:14px!important;line-height:1.58!important}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy{display:block;border:1px solid #dfe7ef;border-radius:12px;background:#fbfdff;padding:16px 17px;margin:0 0 14px}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy h2{font-size:17px!important;line-height:1.3!important;margin:16px 0 7px!important;color:#1d334d!important}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy h2:first-child{margin-top:0!important}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy p{margin:0 0 11px!important;line-height:1.58!important}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy p:last-child{margin-bottom:0!important}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy hr{border:0;border-top:1px solid #dce5ee;margin:6px 0 11px}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy ul{margin:0;padding-left:21px}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy li{margin:0 0 9px;line-height:1.55}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-decision .gfield_radio{display:grid!important;gap:9px!important;margin-top:12px!important}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-decision .gchoice{display:flex!important;align-items:flex-start!important;gap:9px!important;padding:11px 12px!important;border:1px solid #d6e0ea!important;border-radius:10px!important;background:#fff!important}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-decision .gchoice input[type=radio]{margin-top:3px!important;flex:0 0 auto!important}
.mpwl-portal #gform_wrapper_31 .mpwl-consent-decision .gchoice label{display:block!important;margin:0!important;font-weight:750!important;line-height:1.4!important;max-width:none!important}
@media(max-width:600px){.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy{padding:13px 14px}.mpwl-portal #gform_wrapper_31 .mpwl-consent-copy h2{font-size:15px!important}.mpwl-portal #gform_wrapper_31 .mpwl-consent-decision .gchoice{padding:11px!important}}


/* v3.12.111 — Form 29 consent hardening mirrors the repaired Form 31 layout. */
.mpwl-portal #gform_wrapper_29 .mpwl-consent-decision .gfield_description{margin:10px 0 16px!important;padding:0!important;max-width:none!important;color:#2c3e50!important;font-size:14px!important;line-height:1.58!important}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy{display:block;border:1px solid #dfe7ef;border-radius:12px;background:#fbfdff;padding:16px 17px;margin:0 0 14px}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy h2{font-size:17px!important;line-height:1.3!important;margin:16px 0 7px!important;color:#1d334d!important}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy h2:first-child{margin-top:0!important}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy p{margin:0 0 11px!important;line-height:1.58!important}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy p:last-child{margin-bottom:0!important}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy hr{border:0;border-top:1px solid #dce5ee;margin:6px 0 11px}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy ul{margin:0;padding-left:21px}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy li{margin:0 0 9px;line-height:1.55}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-decision .gfield_checkbox{display:grid!important;gap:9px!important;margin-top:12px!important}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-decision .gchoice{display:flex!important;align-items:flex-start!important;gap:9px!important;padding:11px 12px!important;border:1px solid #d6e0ea!important;border-radius:10px!important;background:#fff!important}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-decision .gchoice input[type=checkbox]{margin-top:3px!important;flex:0 0 auto!important}
.mpwl-portal #gform_wrapper_29 .mpwl-consent-decision .gchoice label{display:block!important;margin:0!important;font-weight:750!important;line-height:1.4!important;max-width:none!important}
@media(max-width:600px){.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy{padding:13px 14px}.mpwl-portal #gform_wrapper_29 .mpwl-consent-copy h2{font-size:15px!important}.mpwl-portal #gform_wrapper_29 .mpwl-consent-decision .gchoice{padding:11px!important}}

/* v3.12.133 — patient portal hardening, adaptive treatment tools, secure record uploads */
.mpwl-wellness-collapsible{margin:18px 0;border:1px solid #dce6ef;border-radius:16px;background:#fff;overflow:hidden}
.mpwl-wellness-collapsible>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;background:linear-gradient(180deg,#fbfdff 0%,#f7fafc 100%);color:#173a5f}
.mpwl-wellness-collapsible>summary::-webkit-details-marker{display:none}
.mpwl-wellness-summary span{display:grid;gap:2px;min-width:0}.mpwl-wellness-summary small{font-size:10px;font-weight:900;letter-spacing:.08em;color:#71849a}.mpwl-wellness-summary strong{font-size:14px;line-height:1.35}.mpwl-wellness-summary b{flex:0 0 auto;border:1px solid #d3dfeb;border-radius:999px;background:#fff;padding:6px 10px;font-size:11px;color:#476782}
.mpwl-wellness-collapsible[open]>.mpwl-wellness-summary{border-bottom:1px solid #e6edf4}.mpwl-wellness-collapsible[open]>.mpwl-wellness-summary b{background:#eef5fb}
.mpwl-wellness-collapsible>.mpwl-wellness-zone-head,.mpwl-wellness-collapsible>.mpwl-wellness-grid,.mpwl-wellness-collapsible>.mpwl-achievements-card{margin-left:18px;margin-right:18px}.mpwl-wellness-collapsible>.mpwl-wellness-zone-head{margin-top:18px}.mpwl-wellness-collapsible>.mpwl-achievements-card{margin-bottom:18px}

.mpwl-patient-record-upload-card{border-color:#d8e5ef;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.mpwl-patient-record-upload-card .mpwl-card-heading-row{align-items:flex-start}
.mpwl-patient-record-upload-form{margin-top:14px}
.mpwl-patient-record-fields{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:13px;align-items:start}
.mpwl-patient-record-fields label{display:grid;gap:6px;min-width:0;color:#2d4965;font-size:12px;font-weight:800}
.mpwl-patient-record-fields label.full{grid-column:1/-1}
.mpwl-patient-record-fields select,.mpwl-patient-record-fields input[type=file],.mpwl-patient-record-fields textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #cfdbe6;border-radius:10px;background:#fff;color:#18324d;padding:10px 11px;font:inherit}
.mpwl-patient-record-fields select{min-height:43px}.mpwl-patient-record-fields input[type=file]{min-height:43px;padding:8px}.mpwl-patient-record-fields textarea{resize:vertical;line-height:1.45}
.mpwl-patient-record-upload-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px}.mpwl-patient-record-upload-actions>span{color:#74869a;font-size:11px;font-weight:700}
.mpwl-patient-record-status{min-height:20px;margin-top:9px;font-size:12px;font-weight:800}.mpwl-patient-record-status.is-working{color:#355f87}.mpwl-patient-record-status.is-success{color:#2f7454}.mpwl-patient-record-status.is-error{color:#a43c32}
.mpwl-record-upload-privacy{margin-top:14px;padding:10px 12px;border:1px solid #e0e8f0;border-radius:10px;background:#f8fafc;color:#64778b;font-size:11px;line-height:1.5}.mpwl-record-upload-privacy strong{color:#35516d}
.mpwl-patient-sent-records{margin-top:16px}.mpwl-patient-upload-row>div{min-width:0}.mpwl-patient-upload-row>div>strong,.mpwl-patient-upload-row>div>span,.mpwl-patient-upload-row>div>small{display:block}.mpwl-patient-upload-row>div>span{margin-top:3px;color:#60758a;font-size:12px}.mpwl-patient-upload-row>div>small{margin-top:3px;color:#8290a0;overflow-wrap:anywhere}
.mpwl-treatment-mode-notice{display:grid;gap:10px;justify-items:start}.mpwl-treatment-mode-notice h2{margin:0;color:#173a5f}.mpwl-treatment-mode-notice p{margin:0 0 4px;max-width:720px}
.mpwl-mode-actions{display:flex;gap:9px;flex-wrap:wrap}.mpwl-medication-action-card .mpwl-next-step-icon{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;font-weight:900}
.mpwl-progress-energy-grid.is-oral{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:760px){
  .mpwl-wellness-collapsible>summary{padding:14px}.mpwl-wellness-summary strong{font-size:13px}.mpwl-wellness-collapsible>.mpwl-wellness-zone-head,.mpwl-wellness-collapsible>.mpwl-wellness-grid,.mpwl-wellness-collapsible>.mpwl-achievements-card{margin-left:12px;margin-right:12px}.mpwl-wellness-collapsible>.mpwl-wellness-zone-head{margin-top:14px}.mpwl-wellness-collapsible>.mpwl-achievements-card{margin-bottom:12px}
  .mpwl-patient-record-upload-card .mpwl-card-heading-row{display:grid;grid-template-columns:1fr;gap:10px}.mpwl-patient-record-upload-card .mpwl-badge{justify-self:start}
  .mpwl-patient-record-fields{grid-template-columns:1fr}.mpwl-patient-record-fields label.full{grid-column:auto}
  .mpwl-patient-record-upload-actions{display:grid;grid-template-columns:1fr}.mpwl-patient-record-upload-actions .mpwl-btn{width:100%;text-align:center;min-height:44px}.mpwl-patient-record-upload-actions>span{text-align:center}
  .mpwl-patient-upload-row{align-items:stretch}.mpwl-patient-upload-row .mpwl-btn{width:100%;text-align:center}
  .mpwl-progress-energy-grid.is-oral{grid-template-columns:1fr}
}
