.ap-account{max-width:1100px}.ap-section{display:grid;grid-template-columns:minmax(200px,270px) minmax(0,1fr);gap:32px;padding:28px 0;border-top:1px solid #e1e5ed}.ap-section:first-child{border-top:0;padding-top:0}.ap-section-intro h2{margin:0 0 9px;font-size:17px;font-weight:650;color:#182230}.ap-section-intro p,.ap-muted{color:#667085;font-size:13px;line-height:1.7;margin:0}.ap-card{padding:24px;background:#fff;border:1px solid #e1e5ed;border-radius:12px;min-width:0}.ap-card p{font-size:13px;line-height:1.65;color:#667085}.ap-card .cx-form{max-width:none;gap:15px}.ap-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ap-full{grid-column:1/-1}.ap-card-footer{display:flex;justify-content:flex-end;border-top:1px solid #edf0f4;padding-top:18px;margin-top:3px}.ap-photo-row{display:flex;align-items:center;gap:18px;margin-bottom:8px}.ap-photo,.ap-photo img{width:76px;height:76px;border-radius:50%}.ap-photo{display:grid;place-items:center;background:#f0edff;color:#5141d7;font-size:25px;font-weight:600;flex-shrink:0;overflow:hidden}.ap-photo img{object-fit:cover}.ap-upload{display:inline-flex;position:relative;overflow:hidden;cursor:pointer;margin-right:10px}.ap-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.ap-upload:focus-within{outline:2px solid #7867f0;outline-offset:2px}.ap-photo-row p{margin:9px 0 0;font-size:12px}.ap-link{border:0;background:none;color:#5141d7;font:inherit;font-size:13px;padding:6px 0;cursor:pointer}.ap-link:hover{text-decoration:underline}.ap-danger{color:#b42318}.ap-status{margin:0;min-height:0}.ap-status:empty{display:none}.ap-status:not(:empty){padding:10px 0}.ap-credential{display:flex;align-items:center;justify-content:space-between;gap:18px}.ap-credential>div{min-width:0}.ap-credential strong{font-size:14px;overflow-wrap:anywhere;color:#344054}.ap-credential p{margin:6px 0 0}.ap-credential .btn-secondary{flex-shrink:0;white-space:nowrap;font-size:12px;min-height:34px;padding:8px 11px}.ap-provider-list{border-top:1px solid #edf0f4;margin-top:20px;padding-top:10px}.ap-provider{display:flex;gap:16px;align-items:center;padding:10px 0;font-size:13px}.ap-provider strong{flex:1;color:#344054;font-weight:550}.ap-provider>span{font-size:12px;color:#667085}.ap-provider .btn-secondary{font-size:12px;min-height:30px;padding:6px 10px}.ap-card button:disabled{opacity:.55;cursor:not-allowed}.ap-sessions{border-top:1px solid #edf0f4;margin-top:20px;padding-top:20px}.ap-credential h3{font-size:15px;margin:11px 0 0;color:#344054}.ap-badge{display:inline-block;font-size:11px;font-weight:600;border-radius:5px;background:#f2f4f7;color:#475467;padding:4px 7px;white-space:nowrap}.ap-badge-success{background:#ecfdf3;color:#067647}.ap-credential strong+.ap-badge{margin-left:8px}.ap-button-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:18px}.ap-dialog{padding:8px;max-width:560px}.ap-dialog h2{font-size:22px;line-height:1.3;margin:0 0 15px;color:#182230}.ap-dialog>p{font-size:14px;color:#667085;line-height:1.65}.ap-dialog .cx-form{margin-top:20px}.ap-dialog [role=alert]{font-size:13px;color:#b42318;margin:0}.ap-qr{display:block;width:220px;height:220px;max-width:100%;margin:20px auto;background:#fff;object-fit:contain;border-radius:6px}.ap-setup-key{display:grid;gap:7px;font-size:13px;color:#344054}.ap-setup-key input{box-sizing:border-box;width:100%;font:13px monospace;border:1px solid #d0d5dd;border-radius:7px;padding:10px;background:#f9fafb;color:#344054;letter-spacing:.035em}.ap-recovery-codes{background:#f8f9fc;padding:18px;border-radius:8px;border:1px solid #e1e5ed;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;color:#344054}.account-avatar img,.stopbar-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.stopbar-avatar{overflow:hidden}.ap-account input:focus-visible,.ap-account button:focus-visible,.ap-dialog button:focus-visible,.ap-setup-key input:focus-visible{outline:2px solid #7867f0;outline-offset:2px}
/* Dark appearance affects account management, never storefront themes. */
html[data-dashboard-appearance=dark] :is(.shopify-layout,.pf-dashboard){background:#101827;color:#e5e7eb;color-scheme:dark}
html[data-dashboard-appearance=dark] :is(.snav,.stopbar,.pf-sidebar,.ap-card,.cx-panel,.cx-setting-card,.account-menu summary,.account-menu-options,.cx-table-wrap){background:#182233;border-color:#334155;color:#e5e7eb}
html[data-dashboard-appearance=dark] :is(.smain,.spage,.pf-workspace){background:#101827;color:#e5e7eb}
html[data-dashboard-appearance=dark] :is(.spage-header,.pf-page-head,.ap-account,.cx-workspace,.snav,.pf-sidebar) :is(h1,h2,h3,strong,label,.snav-item,.pf-nav-item){color:#e5e7eb}
html[data-dashboard-appearance=dark] :is(.ap-account,.cx-workspace,.snav,.pf-sidebar) :is(p,small,.cx-description,.snav-section-label){color:#a6b3c6}
html[data-dashboard-appearance=dark] :is(.shopify-layout,.pf-dashboard) :is(input,textarea,select,.btn-secondary,.stopbar-search){background:#202d41;border-color:#40516a;color:#e5e7eb}
html[data-dashboard-appearance=dark] :is(.ap-section,.ap-card-footer,.ap-provider-list,.ap-sessions,.account-menu-options hr){border-color:#334155}
html[data-dashboard-appearance=dark] :is(.ap-badge,.account-avatar){background:#293650;color:#c7c5ff}
html[data-dashboard-appearance=dark] .ap-badge-success{background:#123d32;color:#8ce5b4}
html[data-dashboard-appearance=dark] :is(.snav .snav-item.active,.snav .snav-item:hover,.pf-nav-item.active,.account-menu-options a:hover,.account-menu-options button:hover){background:#2b315a;color:#d5d0ff}
html[data-dashboard-appearance=dark] .account-menu-options :is(a,button){color:#e5e7eb}
html[data-dashboard-appearance=dark] .account-store-list [aria-current=true]{background:#252b4d;border-color:#9e95f5}
html[data-dashboard-appearance=dark] .modal:has(.ap-dialog){background:#182233;color:#e5e7eb;color-scheme:dark}
html[data-dashboard-appearance=dark] .ap-dialog :is(h2,label){color:#e5e7eb}
html[data-dashboard-appearance=dark] .ap-dialog :is(p,small){color:#a6b3c6}
html[data-dashboard-appearance=dark] .ap-dialog :is(input,.ap-recovery-codes,.btn-secondary){background:#202d41;border-color:#40516a;color:#e5e7eb}
@media(max-width:1050px){.ap-section{grid-template-columns:220px minmax(0,1fr);gap:22px}.ap-credential{align-items:flex-start;flex-direction:column}.ap-credential .btn-secondary{align-self:flex-start}}
@media(max-width:760px){.ap-section{grid-template-columns:1fr;gap:16px;padding:25px 0}.ap-card{padding:19px}.ap-fields{grid-template-columns:1fr;gap:16px}.ap-section-intro{max-width:600px}.ap-full{grid-column:auto}.ap-photo-row{gap:14px}.ap-dialog{padding:2px}.ap-recovery-codes{font-size:12px;padding:12px}.ap-credential strong+.ap-badge{display:table;margin:8px 0 0}.ap-provider{gap:10px}}

.stopbar-right .stopbar-avatar{color:#fff}

html[data-dashboard-appearance=dark] :is(.snav-store-picker,.sd-card,.sd-table-card,.dashboard-card,.pf-stats article,.pf-dash-cards>a,.cx-empty){background:#182233;border-color:#334155;color:#e5e7eb}
