#shopProfileModal { padding:24px 12px; }
#shopProfileModal .shop-account-shell {
  width:100%; max-width:960px; max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px);
  display:flex; flex-direction:column; overflow:hidden; border-radius:16px;
}
#shopProfileModal .shop-account-header { display:flex; align-items:center; justify-content:space-between; padding:12px 18px; flex-shrink:0; }
#shopProfileModal .shop-account-header h4 { font-size:20px; font-weight:700; margin:0; }
#shopProfileModal .shop-account-header button { border-radius:8px; font-size:24px; line-height:1; }
.shop-account-tabs { display:flex; flex-wrap:wrap; gap:4px; padding:10px 14px 0; border-bottom:1px solid #8998ab55; flex-shrink:0; }
.shop-account-tabs button {
  border:0; border-bottom:3px solid transparent; border-radius:8px 8px 0 0; background:transparent; color:inherit;
  padding:10px 12px; font:inherit; font-size:14px; font-weight:650; cursor:pointer;
}
.shop-account-tabs button:hover { background:color-mix(in srgb, var(--focus-color,#1767a7) 10%, transparent); }
.shop-account-tabs button[aria-selected="true"] { color:var(--focus-color,#1767a7); border-bottom-color:currentColor; background:color-mix(in srgb, var(--focus-color,#1767a7) 10%, transparent); }
.shop-account-tabs button:focus-visible { outline:2px solid var(--focus-color,#1767a7); outline-offset:-3px; }
.shop-account-subtabs { padding:0; margin-bottom:12px; }
.shop-account-subtabs button { font-size:13px; }
.shop-account-body { padding:18px; overflow-y:auto; min-height:0; overscroll-behavior:contain; }
#shopProfileModal [hidden] { display:none !important; }
#shopProfileModal .shop-orders-list { max-height:none; overflow:visible; }
#shopProfileModal [role="tabpanel"] { min-width:0; }
.shop-account-help { font-size:13px; line-height:1.5; opacity:.85; margin:0 0 16px; }
.shop-account-status { font-size:13px; margin:10px 0; }
.shop-account-status:empty { display:none; }
.shop-account-status[data-error="true"] { color:#c43737; }
.shop-account-actions { display:flex; justify-content:flex-end; margin-top:18px; }
#shopDiverForm label, .shop-account-document-form > label { display:block; font-size:13px; font-weight:650; margin-bottom:5px; }
.shop-account-upload-row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.shop-account-upload-row input { min-width:0; max-width:100%; flex:1; }
.shop-account-upload-row button { white-space:nowrap; }
.shop-account-documents, .shop-account-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.shop-account-documents { margin-top:18px; }
.shop-account-card { min-width:0; border:1px solid #8998ab55; border-radius:12px; padding:16px; background:color-mix(in srgb, var(--focus-color,#1767a7) 5%, transparent); }
.shop-account-card h3 { margin:0; font-size:16px; font-weight:700; overflow-wrap:anywhere; }
.shop-account-card-head { display:flex; gap:10px; align-items:flex-start; justify-content:space-between; margin-bottom:12px; }
.shop-account-badge { font-size:11px; font-weight:650; border:1px solid #8998ab55; border-radius:999px; padding:3px 8px; white-space:nowrap; }
.shop-account-badge[data-active="true"] { color:#14713a; background:#cbeed8; border-color:#95d8af; }
.shop-account-number { font-size:27px; line-height:1.2; font-weight:750; margin:10px 0 4px; }
.shop-account-card progress { width:100%; height:12px; accent-color:var(--focus-color,#1767a7); margin-top:8px; }
.shop-account-card dl { margin:14px 0 0; font-size:13px; }
.shop-account-card dl div { display:flex; justify-content:space-between; gap:12px; margin:6px 0; }
.shop-account-card dt { opacity:.85; }
.shop-account-card dd { margin:0; text-align:right; font-weight:650; }
.shop-account-document img { display:block; width:100%; height:170px; object-fit:contain; border-radius:8px; background:#fff; }
.shop-account-document .shop-account-pdf { display:flex; justify-content:center; align-items:center; height:100px; font-size:40px; }
.shop-account-document .shop-account-filename { margin:10px 0 4px; overflow-wrap:anywhere; font-size:13px; font-weight:650; }
.shop-account-document .shop-account-document-actions { display:flex; gap:8px; align-items:center; justify-content:space-between; margin-top:12px; }
.shop-account-empty { grid-column:1 / -1; padding:20px; text-align:center; border:1px dashed #8998ab88; border-radius:12px; font-size:14px; }
@media (max-width:640px) {
  #shopProfileModal { padding:12px 8px; }
  #shopProfileModal .shop-account-shell { max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); }
  .shop-account-tabs { padding:6px 8px 0; gap:0; }
  .shop-account-tabs button { padding:9px 8px; font-size:12px; }
  .shop-account-body { padding:14px; }
  .shop-account-subtabs { padding:0; }
  .shop-account-documents, .shop-account-cards { grid-template-columns:minmax(0,1fr); }
}
