/* gopher-go-personal.css — the Go Dashboard's Personal Info pane and its Edit pop-up.

   Owner ruling (John 10/28 8:19 ET): "I want the personal info format exactly like
   requests, that is the truth when it comes to personal info. Use GOs color scheme
   in the GO app for the editing forms however".

   1. THE PANE (.mp-*) is the Request website's Personal Info page, copied from
      gopher-request.html <style id="g662-my-profile"> (G40-662, John's pick B).
      Every rule is scoped to the Go page's personal section, so nothing here can
      reach another pane. The avatar classes are renamed (.ph-avatar -> .mp-av)
      because the Go page already styles .ph-avatar for its Profile pane.
   2. THE EDIT POP-UP is drawn by assets/css/rq-app-signup.css (the apps' sign-up
      sheet) in the Go theme, .su[data-app="gopher"], inside the same .g643-card
      shell the Go sign-in card uses. Only the overlay is defined here. */

/* ── 1. the pane ─────────────────────────────────────────────────────────── */
/* Shared with the Business Info pane (slide 20 = A, John 10/28): the same .mp-* page,
   so each rule is scoped to both sections (:is keeps the one-section specificity).
   Business-only additions live in assets/css/gopher-go-business.css. */
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp{ container-type:inline-size; color:#002461; }
/* Request's dashboard hides its own "My Profile" title (gopher-request.html:11723); the shared page title stays. */
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-title{ display:none; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-note{ margin:0 0 14px; font-size:14.5px; color:#6b7385; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-hero{ background:#002461; color:#fff; border-radius:16px; padding:18px 18px 16px; display:flex; flex-direction:column; gap:12px; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-hero-top{ display:flex; gap:16px; align-items:center; min-width:0; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-av-wrap{ position:relative; flex-shrink:0; line-height:0; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-av{ width:68px; height:68px; border-radius:50%; border:3px solid #33D975; background:#123b7a; color:#fff;
  font:800 22px/1 'Nunito',sans-serif; display:inline-flex; align-items:center; justify-content:center; overflow:hidden; cursor:pointer; padding:0; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-av img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-av-wrap:hover .mp-av{ filter:brightness(.85); }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-av:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(51,217,117,.55); }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-av-cam{ position:absolute; right:-4px; bottom:-4px; width:24px; height:24px; border-radius:50%; background:#33D975;
  border:2px solid #002461; display:flex; align-items:center; justify-content:center; font-size:11px; line-height:1; pointer-events:none; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-who{ min-width:0; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-name{ font:800 21px/1.2 'Nunito',sans-serif; overflow-wrap:anywhere; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-sub{ margin-top:3px; font-size:14px; color:rgba(255,255,255,.74); }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-id{ margin-top:3px; font-size:13.5px; font-weight:700; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-av-note{ margin-top:6px; font-size:12.5px; color:rgba(255,255,255,.8); }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-av-note[hidden]{ display:none; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-badges{ display:flex; gap:8px; flex-wrap:wrap; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-badges:empty{ display:none; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-pill{ display:inline-flex; align-items:center; gap:6px; background:#fff; color:#002461; border-radius:99px; padding:5px 12px;
  font:800 13px/1 'Nunito',sans-serif; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-pill img{ display:block; width:17px; height:auto; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-pill.mp-pill-mark{ padding:4px 10px; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-pill.mp-pill-mark img{ width:auto; height:18px; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-cols{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:20px; margin-top:18px; align-items:start; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-col{ display:flex; flex-direction:column; min-width:0; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-lab{ font:700 12px/1 'Nunito',sans-serif; letter-spacing:.16em; text-transform:uppercase; color:#6b7385; margin:0 0 8px 2px; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-card + .mp-lab{ margin-top:18px; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-card{ background:#fff; border:1px solid #ece7dc; border-radius:14px; overflow:hidden; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-row{ display:flex; justify-content:space-between; align-items:center; gap:14px; padding:13px 16px; border-top:1px solid #ece7dc; font-size:14.5px; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-row:first-child{ border-top:0; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-l{ color:#6b7385; flex:none; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-v{ color:#002461; font-weight:500; text-align:right; min-width:0; overflow-wrap:anywhere; display:inline-flex; gap:12px; align-items:center; justify-content:flex-end; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) button.mp-edit{ background:none; border:0; padding:0; font:700 14.5px/1.3 'DM Sans',sans-serif; color:#002461; text-decoration:underline; text-underline-offset:3px; cursor:pointer; flex:none; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) button.mp-edit:focus-visible{ outline:3px solid #33D975; outline-offset:2px; border-radius:4px; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-ver{ background:#e6f7ee; color:#1CB061; font:800 12.5px/1 'Nunito',sans-serif; padding:5px 10px; border-radius:99px; white-space:nowrap; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-ver.mp-pending{ background:#eef0f4; color:#74777c; }   /* the app's grey "Verification pending" (an outstanding step, not an error) */
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-ts{ display:inline-flex; align-items:center; gap:7px; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-ts img{ width:16px; height:auto; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-mark img{ display:block; height:18px; width:auto; }
/* The Stripe row (MyProfilePage.css .gmp-stripe*): the wordmark, then the payout speed in the label grey. */
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-stripe{ display:inline-flex; align-items:center; gap:7px; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-stripe img{ display:block; height:15px; width:auto; }
:is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-stripe span{ font-size:13px; color:#74777c; white-space:nowrap; }
@container (max-width: 600px){
  :is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-cols{ grid-template-columns:minmax(0,1fr); gap:0; }
  :is(.dash-section[data-dash-section="personal"],.dash-section[data-dash-section="business"]) .mp-cols .mp-col + .mp-col{ margin-top:18px; }
}

/* ── 2. the Edit pop-up's overlay (the card inside is .g643-card .su[data-app="gopher"]) ── */
.gpe-overlay{ position:fixed; inset:0; z-index:9600; background:rgba(13,26,62,0.55);
  display:flex; align-items:flex-start; justify-content:center; padding:48px 20px; overflow-y:auto; }
.gpe-overlay[hidden]{ display:none; }
.gpe-overlay .gpe-card{ position:relative; border-radius:20px; box-shadow:0 24px 64px rgba(0,0,0,.3); margin:auto 0; }
/* The page's own [hidden] loses to the app's display rules; the pop-up toggles with hidden. */
.gpe-overlay .su [hidden]{ display:none !important; }
.gpe-overlay .su .su-msg-bad{ margin:0; color:#ffb3bf; }
.gpe-overlay .su .su-msg-bad i{ background:#c44257; }
.gpe-overlay .su .su-why{ margin-top:2px; }
/* Keyboard focus in the brand green, not the browser's blue ring. */
.gpe-overlay .su button:focus-visible,.gpe-overlay .su a:focus-visible,.gpe-overlay .g643-close:focus-visible{ outline:3px solid #33d975; outline-offset:2px; }
.gpe-overlay .su .su-otp input{ width:46px; }
.gpe-overlay .su .su-resend span{ white-space:nowrap; }
/* The Go app's own ring (gopher-mobile-gopher src/css/signupV2.css .su-ring): a plain span, no svg. */
.gpe-overlay .su .su-ring{ display:inline-block; border-radius:50%; border:2px solid #e2e4ea; border-top-color:var(--su-meadow); }
@media (max-width:767px){
  .gpe-overlay .g643-close{ top:16px; }   /* level with the logo row (the desktop rule sets 16px at 768+) */
}
@media (max-width:480px){
  .gpe-overlay{ padding:16px 12px; }
  .gpe-overlay .su .su-otp{ gap:6px; }
  .gpe-overlay .su .su-otp input{ width:42px; height:52px; }
}
