/* One scoped P2P layout; existing S PAY colors and commerce components stay. */
html,body{min-width:0;overflow-x:clip}body>header{position:relative;padding-top:max(14px,env(safe-area-inset-top))}.brand-button{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:var(--text);padding:0;min-height:48px;text-align:left}.brand-button img{width:36px;height:40px}.brand-button b{display:block;font-size:21px;line-height:1.3}.brand-button small{display:block;font-size:11px;letter-spacing:.02em}.header-actions>button{display:inline-grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px}.header-actions svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.page{min-width:0}.page h1{font-size:29px}.p2p-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.p2p-heading h1{margin:4px 0}.p2p-eyebrow{display:block;font-size:11px;font-weight:750;letter-spacing:.16em;color:var(--muted)}.p2p-approved{font-size:12px;padding:8px 11px}.p2p-balance{background:var(--panel);color:var(--text)}.p2p-balance small,.p2p-balance .amount em{color:var(--muted)}.p2p-primary-actions button{display:flex;align-items:center;justify-content:center;gap:10px}.p2p-primary-actions svg{width:23px;height:23px;flex:none}.p2p-company-send{display:flex;align-items:center;gap:14px;width:100%;padding:20px;margin-top:16px;text-align:left;background:var(--soft);border-radius:21px;white-space:normal}.p2p-company-send>span:nth-child(2){flex:1;min-width:0}.p2p-company-send small{display:block;font-size:12px}.p2p-company-send b{display:block;font-size:16px;overflow-wrap:anywhere;line-height:1.6}.p2p-company-send>svg{width:20px;height:20px;flex:none}.p2p-service-icon,.p2p-account-symbol{display:grid;place-items:center;background:var(--panel);border-radius:15px;width:47px;height:47px;flex:none;color:var(--blue)}.p2p-service-icon svg,.p2p-account-symbol svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8}.p2p-safe-note{display:flex;gap:8px;align-items:flex-start;color:var(--muted);font-size:12px}.p2p-safe-note svg{width:20px;height:20px;flex:none}.p2p-text-button,.p2p-back{background:transparent;border:0;padding:8px;color:var(--blue);min-height:44px}.p2p-heading+ .subtitle{margin-top:10px}.p2p-auth{max-width:560px;margin:auto}.auth-intro{text-align:center;margin:10px 0 26px}.auth-intro img{display:block;margin:0 auto 14px}.auth-intro h1{margin-top:12px}.p2p-auth-bottom{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:22px;font-size:13px}.p2p-auth-bottom button{min-height:44px;background:transparent;color:var(--blue);border:0;padding:8px}.p2p-steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0;text-align:center;color:var(--muted);font-size:12px}.p2p-steps b{display:block;margin-bottom:3px;color:var(--blue);font-size:16px}.p2p-code-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.p2p-code-input input{min-width:0;text-transform:uppercase}.p2p-code-input button{padding:10px 14px}.p2p-code-result:empty,.error:empty{display:none}.p2p-code-result{font-size:13px;color:var(--good)}.p2p-details{margin:20px 0}.p2p-details>div{display:flex;align-items:baseline;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line)}.p2p-details dt{color:var(--muted);font-size:13px;flex-shrink:0}.p2p-details dd{margin:0;text-align:right;overflow-wrap:anywhere;font-size:14px;font-weight:650}.p2p-pending{text-align:center}.p2p-pending h2{margin-top:20px;font-size:23px}.p2p-pending-ring{display:grid;place-items:center;margin:8px auto 24px;width:80px;height:80px;border:2px solid var(--line);border-top-color:var(--blue);border-radius:50%;animation:p2p-breathe 2.2s ease-in-out infinite}.p2p-pending-ring svg{width:30px;height:30px;fill:none;stroke:var(--blue);stroke-width:1.5}.p2p-account{display:flex;align-items:center;gap:14px}.p2p-account h2{margin:0;font-size:22px}.p2p-account small{font-size:12px}.p2p-menu{padding:10px}.profile-menu{display:flex;align-items:center;gap:14px;width:100%;white-space:normal;text-align:left;border:0;border-radius:14px;background:transparent;padding:16px}.profile-menu+.profile-menu{border-top:1px solid var(--line);border-radius:0}.profile-menu-icon svg,.profile-chevron svg{width:22px;height:22px;display:block;color:var(--blue)}.profile-menu-copy{flex:1;min-width:0}.profile-menu-copy b,.profile-menu-copy small{display:block}.profile-menu-copy b{font-size:15px}.profile-menu-copy small{font-size:12px}.profile-chevron svg{width:17px;height:17px;color:var(--muted)}form>button.primary{margin-top:16px}form .pin-open{margin-top:10px}.p2p-modal-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:var(--soft);color:var(--blue);margin-bottom:18px}.p2p-modal-mark svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7}.p2p-send-amount{font-size:34px;font-weight:800;margin:22px 0}.p2p-send-amount small{font-size:14px}.p2p-send-dialog>button:last-child{margin-top:10px}.p2p-destination{margin-top:15px}.p2p-history-tabs{display:flex;gap:8px;flex-wrap:wrap}.p2p-history-tabs button{flex:1;font-size:13px;padding:10px 12px}.p2p-history-tabs [aria-selected="true"]{background:var(--blue);color:#fff}.commerce-history-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px;text-align:left;white-space:normal;border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;padding:18px 0}.commerce-history-row small{display:block;font-size:12px}.commerce-history-row b{font-size:17px}.commerce-history-row>span:last-child{font-size:12px}.commerce-history-row:last-child{border-bottom:0}.card>.row h2{margin:0}.dialog .actions{gap:12px}.dialog .actions .wide{flex-basis:100%}.dialog{max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.pin-open{white-space:normal}#app:has(.p2p-auth)~.nav{display:none}.p2p-history-tabs~.card{min-width:0}.support-row{padding:14px 0;border-bottom:1px solid var(--line)}.support-row p{white-space:pre-wrap}.p2p-account-symbol>svg{fill:none}.p2p-home .card{margin:20px 0}.p2p-home .amount{font-size:42px}.commerce-chat .commerce-chat-identity svg{width:26px;height:26px}.commerce-chat .compose button svg{width:23px;height:23px}.commerce-chat-summary{flex:none}.commerce-chat .chat-messages{min-height:0}.commerce-chat-input{flex:none}.commerce-chat-messages .message p{white-space:pre-wrap;overflow-wrap:anywhere}.light .hero:not(.p2p-balance){color:#fff}.p2p-send-dialog .p2p-details{font-size:14px}
@keyframes p2p-breathe{0%,100%{box-shadow:0 0 0 0 #3978f600}50%{box-shadow:0 0 0 9px #3978f615}}
@media(max-width:420px){main{padding:22px 16px 125px}.card{padding:20px}.page h1{font-size:26px}.p2p-home .amount{font-size:37px}.p2p-code-input{grid-template-columns:minmax(0,1fr)}.p2p-code-input button{min-height:44px}.p2p-company-send{padding:16px;gap:11px}.p2p-company-send b{font-size:14px}.p2p-approved{max-width:100%;overflow-wrap:anywhere;white-space:normal}.p2p-primary-actions{gap:10px}.p2p-primary-actions button{font-size:14px;padding:13px 9px;gap:7px}.p2p-details>div{gap:8px}.p2p-details dt{font-size:12px}.dialog{padding:22px}.modal-root{padding:14px}.p2p-send-amount{font-size:29px}.profile-menu{padding:14px 9px;gap:10px}.p2p-auth-bottom{font-size:12px}.nav button{min-width:0;font-size:12px}}
.split{grid-template-columns:repeat(2,minmax(0,1fr))}.split>*{min-width:0}.p2p-boot{text-align:center;padding:80px 0}.page{animation:none}.brand-button{min-width:0}.brand-button>span{min-width:0}.header-actions{flex:none}.p2p-primary-actions button{min-width:0;white-space:normal}.p2p-primary-actions span{min-width:0}.p2p-pending h2{overflow-wrap:anywhere}.p2p-heading .tag{max-width:100%}.p2p-event-toast{position:fixed;bottom:calc(105px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:15;display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100vw - 32px);padding:14px 18px;white-space:normal;background:var(--soft);box-shadow:0 8px 28px #0005;text-align:left;font-size:13px}.p2p-event-toast svg{width:23px;height:23px;flex:none;color:var(--blue)}
@media(max-width:340px){body>header{padding-left:14px;padding-right:14px;gap:8px}.brand-button{gap:8px}.brand-button img{width:30px;height:34px}.brand-button b{font-size:18px}.brand-button small{font-size:9px;max-width:92px;white-space:normal}.header-actions{gap:4px}.header-actions>button{width:44px}.p2p-primary-actions button{flex-direction:column;gap:5px;font-size:13px}.p2p-company-send{gap:10px}.p2p-service-icon{width:37px;height:40px}.p2p-company-send>svg{width:16px}.p2p-details>div{flex-wrap:wrap}.p2p-details dd{text-align:left}.p2p-history-tabs button{flex:1 1 40%;min-width:0}}
@media(prefers-reduced-motion:reduce){.p2p-pending-ring{animation:none}}
#content .roster-member{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);min-width:0}
#content .roster-member>div{min-width:0;flex:1}
#content .roster-member strong{display:block;overflow-wrap:anywhere;font-size:16px;line-height:1.5}
#content .roster-member small{display:block;overflow-wrap:anywhere;color:var(--muted);font-size:12px;line-height:1.7}
#content .roster-member button{min-height:44px;flex:none;max-width:48%;white-space:normal}
#roster-company{width:100%;max-width:100%;min-height:48px;margin-bottom:24px;background:var(--soft);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:inherit}
#admin-roster-register .commerce-check{display:flex;align-items:flex-start;gap:10px;line-height:1.6;margin:18px 0}
#admin-roster-register .commerce-check input{flex:none;width:20px;height:20px;margin-top:3px}
.admin-work>header{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.admin-work>header>.muted{flex:1 1 170px;min-width:0;overflow-wrap:anywhere}
.admin-work .header-actions{display:flex;align-items:center;gap:8px;flex:none}
.admin-work .header-actions>button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:76px;min-height:44px;padding:10px 12px;font-size:13px;white-space:nowrap}
@media(max-width:320px){#content .roster-member{flex-wrap:wrap;gap:10px}#content .roster-member>div{flex-basis:100%}#content .roster-member button{max-width:100%}}
