/* Universal Darwesh Account profile — premium centered shell.
   Uses existing --aw-* theme tokens (Sun/Moon). Does not restyle site header. */

.aw-scope.awp-on .aw-page {
  max-width: 1120px;
  /* Fixed site header (.dg-header = 76px) sits out of flow — clear it + ~18px gap. */
  padding-top: calc(76px + 18px);
}

/* Approved screenshot layout: no secondary tab / sidebar navigation. */
.aw-scope.awp-on .aw-tabs,
.aw-scope.awp-on #awMobileNav {
  display: none !important;
}

/* Keep non-overview panels out of layout; content is mounted into accordions. */
.aw-scope.awp-on .aw-main > .aw-panel:not(#tab-overview),
.aw-scope.awp-on .aw-main > .acct-panel:not(#tab-overview) {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
}

.aw-scope.awp-on #tab-overview {
  display: block !important;
  visibility: visible !important;
  position: relative !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  pointer-events: auto !important;
}

.aw-scope.awp-on #tab-overview[hidden] {
  display: block !important;
}

.aw-scope.awp-on #roleCard { display: none !important; }

/* ——— Centered cover + avatar hero ——— */
.aw-scope.awp-on .aw-hero {
  display: block;
  position: relative;
  padding: 0;
  margin-bottom: 22px;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.awp-cover {
  position: relative;
  width: 100%;
  height: clamp(160px, 28vw, 240px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--aw-edge);
  background:
    linear-gradient(160deg,
      color-mix(in srgb, var(--aw-surface) 88%, var(--aw-field)) 0%,
      color-mix(in srgb, var(--aw-field) 92%, var(--aw-surface)) 100%);
}

.awp-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.awp-cover-img[hidden] { display: none !important; }

.awp-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.22;
}

.awp-cover-fallback .material-symbols-outlined {
  font-size: 72px !important;
  color: var(--aw-champagne-hi);
}

.awp-cover-edit {
  position: absolute;
  inset-inline-end: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 14, 18, 0.55);
  color: #f2f4f6;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.awp-cover-edit .material-symbols-outlined { font-size: 16px !important; color: inherit; }
.awp-cover-edit input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.awp-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -56px;
  position: relative;
  z-index: 3;
  padding: 0 16px 8px;
}

.aw-scope.awp-on .aw-avatar-wrap {
  width: 112px;
  height: 112px;
}

.aw-scope.awp-on .aw-avatar {
  width: 112px;
  height: 112px;
  border: 3px solid color-mix(in srgb, var(--aw-page) 70%, var(--aw-edge-strong));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  background: var(--aw-field);
}

.aw-scope.awp-on .aw-avatar-edit {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  inset-inline-end: 2px;
  bottom: 2px;
  background: var(--aw-surface-solid);
  border-color: var(--aw-edge-strong);
}

.aw-scope.awp-on .aw-avatar-edit {
  border-color: var(--aw-edge-strong);
  background: var(--aw-surface-solid);
}
.aw-scope.awp-on .aw-avatar-edit .material-symbols-outlined {
  font-size: 15px;
  color: var(--aw-muted);
}

.aw-scope.awp-on .aw-avatar-remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.aw-scope.awp-on .aw-id-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  width: 100%;
}

.aw-scope.awp-on .aw-display-name {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.awp-verify-mark {
  display: inline-flex;
  color: var(--aw-champagne);
  line-height: 1;
}

.awp-verify-mark[hidden] { display: none !important; }
.awp-verify-mark .material-symbols-outlined {
  font-size: 20px !important;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.awp-username {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--aw-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  direction: ltr;
  unicode-bidi: isolate;
}

.aw-scope.awp-on .aw-hero-meta {
  margin-top: 8px;
  justify-content: center;
}

.aw-scope.awp-on .aw-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--aw-edge);
  background: var(--aw-surface-solid);
  color: var(--aw-muted);
  box-shadow: none;
  min-height: 26px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}
.aw-scope.awp-on .aw-type-pill .material-symbols-outlined {
  font-size: 14px !important;
  color: inherit;
}

.aw-scope.awp-on .aw-family,
.aw-scope.awp-on #acctReviewBanner {
  display: none !important;
}

.aw-scope.awp-on .aw-id-line {
  display: none;
}

.aw-scope.awp-on .aw-identity-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
  gap: 8px;
}

/* Workspace deep-link (office / pro / org) — Manage only; same pill language as Edit */
.aw-scope.awp-on .aw-identity-actions #awPrimaryAction:not([hidden]) {
  border-color: color-mix(in srgb, #8aa4bc 35%, var(--aw-edge));
}

.aw-scope.awp-on .aw-identity-actions .aw-btn {
  border: 1px solid var(--aw-edge);
  background: var(--aw-surface-solid);
  color: var(--aw-text);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 16px;
  transition: border-color 160ms ease, background 160ms ease;
}

.aw-scope.awp-on .aw-identity-actions .aw-btn:hover {
  border-color: var(--aw-edge-strong);
  background: color-mix(in srgb, var(--aw-surface-solid) 94%, var(--aw-text));
}

.aw-scope.awp-on .aw-identity-actions .aw-btn[hidden],
.aw-scope.awp-on .aw-identity-actions a[hidden],
.aw-scope.awp-on .aw-identity-actions .hidden {
  display: none !important;
}

.awp-hero-arc {
  height: 28px;
  margin: 4px 0 0;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: color-mix(in srgb, var(--aw-page) 40%, transparent);
  pointer-events: none;
}

.awp-photo-status {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--aw-muted);
  text-align: center;
}

/* Compact top tabs under premium hero */
.aw-scope.awp-on .aw-tabs {
  margin-bottom: 18px;
}

/* ——— Manage / Public view switcher (below Edit Profile, above stats) ——— */
.awp-view-switch-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 12px 0 0;
  z-index: 2;
}
.awp-view-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 100px;
  min-height: 44px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--aw-edge) 88%, transparent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    color-mix(in srgb, var(--aw-surface-solid) 92%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
}
html[data-dg-theme="light"] .awp-view-switch {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 246, 248, 0.96));
  border-color: rgba(40, 48, 60, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.awp-view-switch-thumb {
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  inset-inline-start: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: color-mix(in srgb, var(--aw-surface-solid) 70%, #8aa4bc 18%);
  border: 1px solid color-mix(in srgb, #8aa4bc 28%, var(--aw-edge));
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.28);
  transition: transform 230ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
html[data-dg-theme="light"] .awp-view-switch-thumb {
  background: linear-gradient(180deg, #fff, #eef3f8);
  border-color: rgba(90, 120, 150, 0.28);
  box-shadow: 0 2px 8px -4px rgba(40, 60, 90, 0.18);
}
.awp-view-switch[data-mode="public"] .awp-view-switch-thumb {
  transform: translateX(100%);
}
html[dir="rtl"] .awp-view-switch[data-mode="public"] .awp-view-switch-thumb {
  transform: translateX(-100%);
}
.awp-view-switch-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--aw-muted);
  cursor: pointer;
  transition: color 180ms ease;
}
.awp-view-switch-btn .material-symbols-outlined {
  font-size: 18px !important;
}
.awp-view-switch-btn.is-active,
.awp-view-switch-btn[aria-pressed="true"] {
  color: var(--aw-text);
}
.awp-view-switch-btn:focus-visible {
  outline: 1.5px solid color-mix(in srgb, #8aa4bc 55%, transparent);
  outline-offset: 2px;
}
.awp-public-preview-note {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: min(42ch, 92vw);
  margin: 0;
  padding: 0 8px;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: var(--aw-muted);
  pointer-events: none;
  z-index: 3;
}
.awp-public-preview-note[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .awp-view-switch-thumb { transition: none !important; }
}

/* Public view: hide private chrome + private accordion destinations */
.aw-scope.awp-on[data-awp-view="public"] .awp-cover-edit,
.aw-scope.awp-on[data-awp-view="public"] .aw-avatar-edit,
.aw-scope.awp-on[data-awp-view="public"] .aw-avatar-remove,
.aw-scope.awp-on[data-awp-view="public"] #stripVerifyBtn,
.aw-scope.awp-on[data-awp-view="public"] #awPrimaryAction,
.aw-scope.awp-on[data-awp-view="public"] [data-awp-acc="saved"],
.aw-scope.awp-on[data-awp-view="public"] [data-awp-acc="requestsChat"],
.aw-scope.awp-on[data-awp-view="public"] [data-awp-acc="points"],
.aw-scope.awp-on[data-awp-view="public"] [data-awp-acc="invitations"],
.aw-scope.awp-on[data-awp-view="public"] [data-awp-acc="notifications"],
.aw-scope.awp-on[data-awp-view="public"] [data-awp-acc="profile"],
.aw-scope.awp-on[data-awp-view="public"] [data-awp-acc="settings"],
.aw-scope.awp-on[data-awp-view="public"] .aw-prop-filters,
.aw-scope.awp-on[data-awp-view="public"] .aw-prop-row[data-prop-public="0"],
.aw-scope.awp-on[data-awp-view="public"] .aw-prop-review-note,
.aw-scope.awp-on[data-awp-view="public"] .aw-prop-actions a[href="sell.html"],
.aw-scope.awp-on[data-awp-view="public"] .aw-prop-actions a[href="account.html#support"],
.aw-scope.awp-on[data-awp-view="public"] .aw-empty-block .aw-form-actions {
  display: none !important;
}
/* Keep Edit Profile box in layout so stats do not jump when mode changes */
.aw-scope.awp-on[data-awp-view="public"] #heroEditProfileBtn {
  visibility: hidden !important;
  pointer-events: none !important;
  user-select: none !important;
}
.aw-scope.awp-on[data-awp-view="public"] #awpStatPoints,
.aw-scope.awp-on[data-awp-view="public"] #awpStatInvitations {
  opacity: 0.55;
  pointer-events: none;
}

/* ——— Five statistic tiles (approved compact row) ——— */
.awp-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 22px;
  padding: 0;
}

.awp-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  height: 100%;
  padding: 12px 10px 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--aw-edge);
  background: var(--aw-surface-solid);
  box-shadow: none;
  color: inherit;
  text-align: start;
  cursor: default;
  transition: border-color 160ms ease, background 160ms ease;
}

.awp-stat[data-goto-tab],
.awp-stat[data-acc-open] {
  cursor: pointer;
}

.awp-stat:is([data-goto-tab], [data-acc-open]):hover {
  border-color: var(--aw-edge-strong);
  background: color-mix(in srgb, var(--aw-surface-solid) 96%, var(--aw-text));
}

/* Universal profile keeps all five stats in layout; unavailable uses .is-unavailable */
.awp-stat[hidden] { display: none !important; }
.awp-stat.is-unavailable {
  opacity: 0.72;
}
.awp-stat.is-unavailable .awp-stat-value {
  color: var(--aw-muted);
}

.awp-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--aw-edge);
  background: color-mix(in srgb, var(--aw-field) 85%, transparent);
  color: var(--aw-muted);
}

.awp-stat-icon .material-symbols-outlined {
  font-size: 18px !important;
  color: inherit;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.awp-stat-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.awp-stat-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--aw-text);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

/* Points value may contain coin + number from paintPointsAmount */
.awp-stat-value.aw-summary-value--points,
.awp-stat-value .dg-gp-amt {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.awp-stat-label {
  font-size: 11px;
  color: var(--aw-muted);
  font-weight: 500;
  line-height: 1.25;
  white-space: normal;
  text-align: start;
  max-width: 100%;
}

.awp-stat-chevron {
  flex: none;
  display: inline-flex;
  color: var(--aw-soft);
  opacity: 0.85;
  line-height: 0;
}
.awp-stat-chevron .material-symbols-outlined { font-size: 18px !important; }
[dir="rtl"] .awp-stat-chevron .material-symbols-outlined { transform: scaleX(-1); }

.awp-stat.is-unavailable .awp-stat-value { color: var(--aw-soft); }

/* ——— Accordion rows (single stacked list) ——— */
.awp-acc-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 24px;
  border-radius: 12px;
  border: 1px solid var(--aw-edge);
  background: var(--aw-surface-solid);
  overflow: hidden;
}

.awp-acc {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--aw-edge);
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.awp-acc:last-child {
  border-bottom: 0;
}

.awp-acc[hidden] { display: none !important; }

.awp-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: start;
  cursor: pointer;
  transition: background 160ms ease;
}

.awp-acc-trigger:hover { background: var(--aw-hover); }
.awp-acc-trigger:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--aw-champagne) 45%, transparent);
  outline-offset: -2px;
}

.awp-acc-icon {
  width: 22px;
  height: 22px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: transparent;
  color: var(--aw-muted);
}

.awp-acc-icon .material-symbols-outlined {
  font-size: 20px !important;
  color: inherit;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.awp-acc-copy { min-width: 0; flex: 1; }
.awp-acc-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--aw-text);
  letter-spacing: -0.01em;
}
.awp-acc-desc {
  display: none;
}

.awp-acc-chevron {
  flex: none;
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aw-soft);
  transition: transform 200ms ease;
  line-height: 0;
}
.awp-acc-chevron .material-symbols-outlined { font-size: 20px !important; }
/* Collapsed: chevron down. Expanded: rotate to point up. */
.awp-acc.is-open .awp-acc-chevron { transform: rotate(180deg); }

.awp-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
  border-top: 0 solid transparent;
}

.awp-acc.is-open .awp-acc-panel {
  grid-template-rows: 1fr;
  border-top: 1px solid var(--aw-edge);
}

.awp-acc-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.awp-acc:not(.is-open) .awp-acc-panel-inner {
  padding: 0 !important;
}

.awp-acc.is-open .awp-acc-panel-inner {
  padding: 12px 16px 16px;
}

.awp-acc-mount {
  min-height: 0;
}

.awp-acc-mount .aw-page-head { display: none; }

@media (prefers-reduced-motion: reduce) {
  .awp-acc-chevron,
  .awp-acc-panel,
  .awp-stat,
  .awp-id-btn { transition: none !important; }
}

/* ——— Account ID (accordion panel content) ——— */
.awp-id-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 12px;
}

.awp-id-kicker {
  flex: 1 1 100%;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--aw-soft);
}

.awp-id-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 220px;
  min-width: min(100%, 200px);
  min-height: 44px;
  padding: 0 6px 0 12px;
  border-radius: 10px;
  border: 1px solid var(--aw-edge);
  background: var(--aw-field);
}

.awp-id-value {
  flex: 1;
  min-width: 0;
  font-family: 'IBM Plex Sans', var(--aw-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--aw-text);
  direction: ltr;
  unicode-bidi: isolate;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.awp-id-inline-copy {
  appearance: none;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--aw-muted);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}
.awp-id-inline-copy .material-symbols-outlined { font-size: 18px !important; }
.awp-id-inline-copy:hover {
  color: var(--aw-text);
  background: color-mix(in srgb, var(--aw-surface-solid) 80%, transparent);
}
.awp-id-inline-copy.is-copied { color: var(--aw-green-text, #6fbf73); }
.awp-id-inline-copy[hidden] { display: none !important; }

.awp-id-actions {
  display: flex;
  gap: 8px;
  flex: none;
  flex-wrap: wrap;
}

.awp-id-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--aw-edge);
  background: var(--aw-surface-solid);
  color: var(--aw-text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.awp-id-btn .material-symbols-outlined {
  font-size: 16px !important;
  color: inherit;
}

.awp-id-btn:hover {
  border-color: var(--aw-edge-strong);
  background: color-mix(in srgb, var(--aw-surface-solid) 94%, var(--aw-text));
}

.awp-id-btn--ghost {
  background: transparent;
}

.awp-id-btn.is-copied {
  border-color: color-mix(in srgb, var(--aw-green-text, #6fbf73) 45%, var(--aw-edge));
  color: var(--aw-green-text, #6fbf73);
}

.awp-id-btn[hidden] { display: none !important; }

/* ——— Points panel inside accordion (approved split) ——— */
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-wrap--profile {
  margin: 0;
}
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-split--profile {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 16px 20px;
  align-items: start;
}
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-section--balance,
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-section--history {
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--aw-edge);
  background: color-mix(in srgb, var(--aw-field) 70%, var(--aw-surface-solid));
}
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-kicker {
  margin: 0 0 10px;
  color: var(--aw-soft);
}
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-total {
  color: var(--aw-text);
  font-size: 28px;
  font-weight: 700;
}
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--aw-muted);
  max-width: 36ch;
}
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-row {
  padding: 10px 0;
  min-height: 0;
  gap: 10px;
  align-items: center;
}
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-amt {
  color: var(--aw-text);
  min-width: 2.75rem;
}
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-reason {
  font-size: 13.5px;
}
.aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-date {
  font-size: 12px;
}
@media (max-width: 767px) {
  .aw-scope.awp-on .awp-acc[data-awp-acc="points"] .pts-split--profile {
    grid-template-columns: 1fr;
  }
}

/* Hidden sync hooks only — Account ID lives in the accordion list. */
.awp-bottom {
  margin: 0;
  padding: 0;
  border: 0;
}

.awp-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.awp-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.awp-info-row .material-symbols-outlined {
  font-size: 18px !important;
  color: var(--aw-champagne);
  margin-top: 1px;
}

.awp-info-k {
  display: block;
  font-size: 11px;
  color: var(--aw-soft);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.awp-info-v {
  display: block;
  font-size: 13.5px;
  color: var(--aw-text);
  font-weight: 500;
  margin-top: 1px;
  word-break: break-word;
}

.awp-info-v.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Hide legacy welcome/quick-stats chrome when premium overview is active */
.aw-scope.awp-on .aw-ov-top,
.aw-scope.awp-on .aw-ov-mid,
.aw-scope.awp-on .aw-ov-shortcuts {
  display: none !important;
}

/* Responsive */
@media (max-width: 980px) {
  .awp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}

@media (max-width: 640px) {
  .awp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .aw-scope.awp-on .aw-avatar-wrap,
  .aw-scope.awp-on .aw-avatar { width: 96px; height: 96px; }
  .awp-identity { margin-top: -48px; }
  .awp-cover { height: 150px; border-radius: 12px; }
  .awp-stat { min-height: 64px; padding: 10px; border-radius: 12px; gap: 8px; }
  .awp-stat-icon { width: 30px; height: 30px; }
  .awp-stat-value { font-size: 18px; }
  .awp-stat-label { font-size: 10px; }
  .awp-acc-trigger { min-height: 48px; padding: 12px 14px; }
  .awp-id-panel { flex-direction: column; align-items: stretch; }
  .awp-id-row { flex: 1 1 auto; min-width: 0; width: 100%; }
  .awp-id-actions { width: 100%; }
  .awp-id-btn { flex: 1 1 0; min-height: 44px; }
}

@media (max-width: 420px) {
  .awp-stats { grid-template-columns: 1fr; }
  .awp-stat-chevron { margin-inline-start: auto; }
}

/* Account Notifications (shared store with navbar bell) */
.awp-notif-root { min-height: 80px; }
.awp-notif-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.awp-notif-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.awp-notif-filter {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--aw-edge, #e0e3e8);
  background: transparent;
  color: var(--aw-text, #181c20);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.awp-notif-filter.is-active {
  border-color: color-mix(in srgb, var(--aw-champagne, #B89A63) 55%, var(--aw-edge));
  background: color-mix(in srgb, var(--aw-champagne, #B89A63) 14%, transparent);
}
.awp-notif-list { display: flex; flex-direction: column; gap: 8px; }
.awp-notif-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--aw-edge, #e5e8ee);
  border-radius: 14px;
  background: color-mix(in srgb, var(--aw-surface-solid, #fff) 96%, transparent);
}
.awp-notif-item.is-unread {
  background: color-mix(in srgb, var(--aw-champagne, #B89A63) 10%, var(--aw-surface-solid, #fff));
}
.awp-notif-open {
  display: block;
  width: 100%;
  text-align: start;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}
.awp-notif-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.awp-notif-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aw-champagne, #B89A63);
}
.awp-notif-item-title {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.awp-notif-time {
  flex: none;
  font-size: 11px;
  color: var(--aw-muted, #9aa1ab);
}
.awp-notif-item-desc {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--aw-muted, #6b7280);
  line-height: 1.4;
}
.awp-notif-mark {
  align-self: flex-start;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--aw-edge, #e0e3e8);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--aw-text, #181c20);
}
.awp-notif-state {
  padding: 20px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--aw-muted, #6b7280);
}
.awp-notif-hint { margin-top: 4px; font-size: 12px; opacity: 0.9; }
.awp-notif-more { margin-top: 12px; text-align: center; }
html[dir="rtl"] .awp-notif-open { text-align: right; }
