/* ════════════════════════════════════════════════════════════════
   Penworthy — account area bundle
   Sidebar nav, status pills, order cards, timeline, tables.
   Ported from design-reference/styles.css.
   ════════════════════════════════════════════════════════════════ */

/* ── Account area ── */
.acct-grid {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
/* Grid children may hold scroll rows (pill nav) / wide tables — without this
   their min-content inflates the 1fr track and the page overflows sideways. */
.acct-side, .acct-content { min-width: 0; }
.acct-side {
  position: sticky;
  top: 102px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.acct-nav {
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-r-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.acct-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--pw-r);
  font-size: 15px;
  font-weight: 600;
  color: var(--pw-ink-2);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background .12s, color .12s;
}
.acct-nav-item:hover { background: var(--pw-bg-2); color: var(--pw-ink); }
.acct-nav-item.is-active { background: var(--pw-blue); color: #fff; }
.acct-nav-item.is-active svg { color: #fff; }
.acct-nav-item svg { color: var(--pw-blue); flex-shrink: 0; }
.acct-nav-sep { height: 1px; background: var(--pw-line); margin: 6px 8px; }
.acct-nav-item.is-signout { color: var(--pw-ink-3); }
.acct-nav-item.is-signout svg { color: var(--pw-ink-3); }
.acct-nav-item.is-signout:hover { color: var(--pw-coral); background: var(--pw-coral-light); }
.acct-nav-item.is-signout:hover svg { color: var(--pw-coral); }

.acct-cw-card {
  background: var(--pw-blue-tint);
  border-radius: var(--pw-r-md);
  padding: 16px;
}

/* Status pills */
.acct-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--pw-pill);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.acct-pill.amber { background: var(--pw-yellow-light); color: #9A6B12; }
.acct-pill.blue  { background: var(--pw-blue-tint); color: var(--pw-blue-deep); }
.acct-pill.green { background: var(--pw-green-light); color: #2C7A52; }
.acct-pill.grey  { background: var(--pw-line-2); color: var(--pw-ink-2); }
.acct-pill.coral { background: var(--pw-coral-light); color: #C4471F; }

/* Order card */
.acct-order {
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-r-md);
  overflow: hidden;
  background: #fff;
}
.acct-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: var(--pw-bg-2);
  border-bottom: 1px solid var(--pw-line);
  flex-wrap: wrap;
}
.acct-order-meta { display: flex; gap: 36px; flex-wrap: wrap; }
.acct-meta-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pw-ink-3); }
.acct-meta-v { font-size: 15px; font-weight: 600; color: var(--pw-ink); margin-top: 2px; }

/* Status timeline */
.acct-timeline { display: flex; gap: 0; margin: 4px 0; }
.acct-tl-step { flex: 1; text-align: center; position: relative; }
.acct-tl-step::before {
  content: '';
  position: absolute;
  top: 15px; left: -50%; width: 100%; height: 3px;
  background: var(--pw-line);
}
.acct-tl-step:first-child::before { display: none; }
.acct-tl-step.done::before { background: var(--pw-green); }
.acct-tl-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--pw-line-2); color: var(--pw-ink-mute);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; position: relative; z-index: 1;
  border: 3px solid var(--pw-bg);
}
.acct-tl-step.done .acct-tl-dot { background: var(--pw-green); color: #fff; }
.acct-tl-step.current .acct-tl-dot { background: var(--pw-blue); color: #fff; }
.acct-tl-step.current.amber .acct-tl-dot { background: var(--pw-orange); color: var(--pw-orange-btn-ink); }
.acct-tl-lbl { font-size: 12.5px; font-weight: 600; color: var(--pw-ink-2); }
.acct-tl-sub { font-size: 11px; color: var(--pw-ink-3); margin-top: 1px; }

/* Reusable account section card */
.acct-card {
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-r-md);
  padding: 24px;
}
.acct-card-title {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.acct-stat {
  background: #fff; border: 1px solid var(--pw-line);
  border-radius: var(--pw-r-md); padding: 20px;
}
.acct-link {
  color: var(--pw-blue); font-weight: 700; font-size: 14px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.acct-link:hover { text-decoration: underline; }

/* Tables (receipts) */
.acct-table { width: 100%; border-collapse: collapse; }
.acct-table th {
  text-align: left; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--pw-ink-3);
  padding: 10px 14px; border-bottom: 1.5px solid var(--pw-line);
}
.acct-table td { padding: 14px; border-bottom: 1px solid var(--pw-line-2); font-size: 14.5px; }
.acct-table tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .acct-grid { grid-template-columns: minmax(0, 1fr); }
  /* Sidebar → horizontally scrollable pill row (client request: the stacked
     sidebar pushed the actual content a full screen down on phones). */
  .acct-side { position: static; }
  .acct-side .acct-nav {
    background: transparent;
    border: 0;
    padding: 8px 0 4px;
    border-radius: 0;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Bleed into the page gutter: pills clip at the SCREEN edge, which
       reads as scrollable instead of chopping at the content edge. */
    margin: 0 -32px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .acct-side .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav-item {
    flex: 0 0 auto;
    width: max-content;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--pw-line);
    background: #fff;
    font-size: 14px;
    white-space: nowrap;
  }
  .acct-nav-item.is-active { border-color: var(--pw-blue); }
  .acct-nav-sep { display: none; }
  .acct-side .acct-cw-card { display: none; }
}

/* ── Small-screen polish ── */
@media (max-width: 640px) {
  .acct-tl-lbl { font-size: 11px; }
  .acct-tl-sub { display: none; }
  .acct-order-head { padding: 14px 16px; }
  .acct-order-meta { gap: 18px; }
}

/* — page-specific conversions appended below — */

/* ════════════════════════════════════════════════════════════════
   My Account — designed sections (account.jsx port)
   ════════════════════════════════════════════════════════════════ */

/* Page shell (mirrors .pw-cart-page / .pw-checkout-page). */
.pw-acct-page { max-width: 1240px; margin: 0 auto; padding: 40px 50px 80px; }
.acct-page-title { font-size: clamp(30px, 4.5vw, 40px); margin-bottom: 24px; }
.acct-content { min-width: 0; }

/* Section headings shared across sections. */
.acct-h2 { font-size: 26px; }
.acct-h2-count { font-size: 14px; color: var(--pw-ink-3); }
.acct-card-h3 { font-size: 18px; margin: 0 0 16px; }
.acct-lede { color: var(--pw-ink-2); margin: 0 0 24px; }

/* Sidebar ClassWallet card interior. */
.acct-cw-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--pw-blue-deep); }
.acct-cw-head b { font-size: 13px; }
.acct-cw-mark { color: var(--pw-blue-deep); }
.acct-cw-copy { font-size: 13px; color: var(--pw-ink-2); line-height: 1.5; }
.acct-cw-link { font-size: 12.5px; margin-top: 6px; font-weight: 600; }

/* ── Overview / dashboard ── */
.acct-hi { font-size: 28px; margin-bottom: 4px; }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.acct-stat { display: block; color: inherit; text-decoration: none; }
.acct-stat.is-clickable { cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.acct-stat.is-clickable:hover { border-color: var(--pw-blue-tint-2); box-shadow: var(--pw-shadow-sm); }
.acct-stat-ic { margin-bottom: 8px; display: flex; }
.acct-stat-ic.is-blue { color: var(--pw-blue); }
.acct-stat-ic.is-coral { color: var(--pw-coral); }
.acct-stat-num { font-size: 26px; font-weight: 800; font-family: var(--pw-display); color: var(--pw-ink); line-height: 1.15; }
.acct-stat-num .woocommerce-Price-amount { font-weight: 800; }
.acct-stat-lbl { font-size: 13.5px; color: var(--pw-ink-3); margin-top: 2px; }

.acct-recent { margin-bottom: 16px; }
.acct-recent-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.acct-recent-meta { flex: 1; min-width: 180px; }
.acct-recent-id { font-weight: 700; color: var(--pw-ink); }
.acct-recent-sub { font-size: 13.5px; color: var(--pw-ink-3); }

.acct-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct-cta { display: flex; gap: 14px; align-items: center; }
.acct-cta-ic { color: var(--pw-blue); flex-shrink: 0; display: flex; }
.acct-cta-body { flex: 1; }
.acct-cta-t { font-weight: 700; }
.acct-cta-s { font-size: 13px; color: var(--pw-ink-3); }

/* ── Status notes (amber / blue / coral / green) ── */
.acct-note { display: flex; gap: 10px; padding: 14px; border-radius: var(--pw-r); font-size: 13.5px; color: var(--pw-ink-2); line-height: 1.5; }
.acct-note-ic { flex-shrink: 0; margin-top: 1px; display: flex; }
.acct-note-strong { color: #C4471F; }
.acct-note.amber { background: var(--pw-yellow-light); }
.acct-note.amber .acct-note-ic { color: var(--pw-orange); }
.acct-note.blue { background: var(--pw-blue-tint); }
.acct-note.blue .acct-note-ic { color: var(--pw-blue); }
.acct-note.coral { background: var(--pw-coral-light); }
.acct-note.coral .acct-note-ic { color: var(--pw-coral); }
.acct-note.green { background: var(--pw-green-light); color: #2C7A52; }
.acct-note.green .acct-note-ic { color: var(--pw-green); }
.acct-recent .acct-note { margin-top: 16px; }

/* ── Kit thumbnails ── */
.acct-thumbs { display: flex; align-items: center; gap: 8px; }
.acct-thumb { width: 46px; flex-shrink: 0; position: relative; display: block; }
.acct-thumb-img { width: 46px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.acct-thumb-ph { display: flex; align-items: center; justify-content: center; width: 46px; aspect-ratio: 4 / 3; border-radius: 6px; background: var(--pw-blue-tint); color: var(--pw-blue); }
.acct-thumb-qty { position: absolute; top: -6px; right: -6px; background: var(--pw-blue); color: #fff; min-width: 20px; height: 20px; border-radius: 10px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.acct-thumb-more { font-size: 13px; color: var(--pw-ink-3); font-weight: 600; }

/* ── Orders list ── */
.acct-order-list { display: flex; flex-direction: column; gap: 16px; }
.acct-order-body { padding: 22px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.acct-order-lines { flex: 1; min-width: 160px; }
.acct-order-count { font-size: 14px; color: var(--pw-ink-2); }
.acct-order-review { color: #9A6B12; font-weight: 600; }
.acct-order-paid { font-size: 13px; color: var(--pw-ink-3); margin-top: 2px; }
.acct-order-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.acct-reorder { margin: 0; }
.acct-pages { display: flex; gap: 12px; margin-top: 22px; justify-content: center; }

/* ── Empty states ── */
.acct-empty { text-align: center; padding: 48px 24px; }
.acct-empty-ic { color: var(--pw-ink-mute); display: flex; justify-content: center; margin-bottom: 14px; }
.acct-empty h3 { font-size: 19px; margin-bottom: 6px; }
.acct-empty-text { color: var(--pw-ink-3); font-size: 14.5px; max-width: 380px; margin: 0 auto 18px; line-height: 1.6; }

/* ── Order detail (view-order) ── */
.acct-back { margin-bottom: 16px; }
.acct-vo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.acct-vo-date { color: var(--pw-ink-3); margin-top: 4px; }
.acct-vo-status { margin-bottom: 16px; }
.acct-vo-declined { flex-direction: column; }
.acct-note-row { display: flex; gap: 10px; }
.acct-note-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.acct-vo-note { margin-top: 18px; }
.acct-vo-ship { align-items: center; flex-wrap: wrap; }
.acct-tl-n { font-size: 12px; font-weight: 800; }
.acct-vo-grid { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.acct-vo-side { display: flex; flex-direction: column; gap: 16px; }
.acct-vo-side .acct-card-h3 { font-size: 16px; margin-bottom: 12px; }
.acct-items { display: flex; flex-direction: column; gap: 16px; }
.acct-item { display: flex; gap: 14px; align-items: center; }
.acct-item-cover { width: 56px; flex-shrink: 0; }
.acct-item-img { width: 56px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.acct-item-cover .acct-thumb-ph { width: 56px; }
.acct-item-info { flex: 1; }
.acct-item-name { font-weight: 700; color: var(--pw-ink); }
.acct-item-sub { font-size: 13px; color: var(--pw-ink-3); }
.acct-item-price { font-weight: 700; }
.acct-hr { height: 1px; background: var(--pw-line); margin: 18px 0; }
.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.acct-actions form { margin: 0; }
.acct-sum-line { display: flex; justify-content: space-between; margin: 6px 0; font-size: 14px; font-weight: 500; color: var(--pw-ink-2); }
.acct-sum-v { font-weight: 600; color: var(--pw-ink); }
.acct-sum-line.big { font-size: 17px; font-weight: 700; color: var(--pw-ink); }
.acct-sum-line.big .acct-sum-v { font-weight: 800; }
.acct-sum-note { margin-top: 8px; font-size: 12.5px; color: var(--pw-ink-3); }
.acct-vo-addr { font-size: 14px; color: var(--pw-ink-2); line-height: 1.6; }

/* ── Receipts ── */
.acct-receipts-lede { margin-top: -6px; margin-bottom: 18px; font-size: 14.5px; }
.acct-card.is-flush { padding: 0; overflow: hidden; }
.acct-table-scroll { overflow-x: auto; }
.acct-table-right { text-align: right; }
.acct-receipt-id { font-weight: 700; color: var(--pw-blue); }
.acct-receipt-id:hover { text-decoration: underline; }
.acct-receipt-total { font-weight: 600; }
.acct-receipt-link { justify-content: flex-end; }
.acct-pill-xs { font-size: 10.5px; padding: 1px 7px; margin-left: 6px; }
.acct-link.is-disabled { opacity: .45; pointer-events: none; }

/* ── Saved kits ── */
.acct-saved-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acct-saved-card { padding: 14px; display: flex; flex-direction: column; transition: opacity .22s ease, transform .22s ease; }
.acct-saved-card.is-removing { opacity: 0; transform: scale(.96); }
.acct-saved-cover { position: relative; }
.acct-saved-title { font-weight: 700; color: var(--pw-ink); font-size: 15px; line-height: 1.3; margin-top: 12px; min-height: 38px; }
.acct-saved-title:hover { color: var(--pw-blue); }
.acct-saved-sub { font-size: 13px; color: var(--pw-ink-3); margin-top: 2px; }
.acct-saved-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.acct-saved-price { font-size: 19px; font-weight: 700; color: var(--pw-ink); }
.acct-saved-price .woocommerce-Price-amount { font-weight: 700; }
.acct-saved-remove { margin-top: 10px; }
.acct-saved-removebtn { color: var(--pw-coral); font-size: 13px; }

/* ── Payment methods ── */
.acct-payment-h { margin-bottom: 18px; }
.acct-pay-cw { background: var(--pw-blue-tint); border: none; margin-bottom: 16px; }
.acct-pay-cw-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acct-pay-cw-mark { width: 52px; height: 34px; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--pw-blue); flex-shrink: 0; }
.acct-pay-cw-body { flex: 1; min-width: 180px; }
.acct-pay-cw-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acct-pay-cw-title b { font-size: 16px; color: var(--pw-blue-deep); }
.acct-pay-cw-sub { font-size: 13.5px; color: var(--pw-ink-2); margin-top: 2px; }
.acct-pay-cw-note { margin-top: 14px; font-size: 13px; color: var(--pw-ink-2); line-height: 1.6; }
.acct-cards { display: flex; flex-direction: column; gap: 12px; }
.acct-card-row { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--pw-line); border-radius: var(--pw-r); }
.acct-card-ic { color: var(--pw-blue); flex-shrink: 0; display: flex; }
.acct-card-info { flex: 1; }
.acct-card-name { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acct-card-exp { font-size: 13px; color: var(--pw-ink-3); }
.acct-card-actions { display: flex; gap: 16px; align-items: center; }
.acct-cards-empty { font-size: 14px; color: var(--pw-ink-3); margin: 0; }

/* ── Profile / edit account ── */
.acct-profile-h { margin-bottom: 18px; }
.acct-profile-card { margin-bottom: 16px; }
.acct-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct-field-wide { grid-column: span 2; }
.acct-field-hint { display: block; font-size: 12.5px; color: var(--pw-ink-3); margin-top: 6px; }
.acct-pw-hint { margin-top: -6px; margin-bottom: 14px; }
.acct-profile-actions { margin-top: 4px; }

/* ── Edit address (WooCommerce fields) ── */
.acct-address .acct-h2 { display: flex; align-items: center; gap: 8px; }
.acct-address-ic { color: var(--pw-blue); display: inline-flex; }
.acct-addr-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.acct-addr-fields .form-row { margin: 0 0 14px; }
.acct-addr-fields .form-row-first { grid-column: 1; }
.acct-addr-fields .form-row-last { grid-column: 2; }
.acct-addr-fields .form-row-wide { grid-column: 1 / -1; }
.acct-addr-fields label { display: block; font-size: 13px; font-weight: 600; color: var(--pw-ink-2); margin-bottom: 6px; }
.acct-addr-fields .input-text,
.acct-addr-fields select,
.acct-addr-fields .select2-selection {
  width: 100%; padding: 14px 18px; border-radius: var(--pw-r-md);
  border: 1.5px solid var(--pw-line); font-size: 15px; background: #fff; outline: none;
}
.acct-addr-fields .input-text:focus,
.acct-addr-fields select:focus { border-color: var(--pw-blue); }
.acct-addr-fields .required { color: var(--pw-coral); border: 0; }
.acct-addr-fields .optional { color: var(--pw-ink-mute); }
.acct-address-actions { margin-top: 6px; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .pw-acct-page { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 900px) {
  .acct-vo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pw-acct-page { padding-left: 18px; padding-right: 18px; }
  .acct-side .acct-nav { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
  .acct-stats { grid-template-columns: 1fr; }
  .acct-cta-grid { grid-template-columns: 1fr; }
  .acct-saved-grid { grid-template-columns: 1fr; }
  .acct-form-grid { grid-template-columns: 1fr; }
  .acct-field-wide { grid-column: 1; }
  .acct-addr-fields { grid-template-columns: 1fr; }
  .acct-addr-fields .form-row-first,
  .acct-addr-fields .form-row-last { grid-column: 1; }
}


/* ── Saved addresses (AddressesView) ── */
.acct-addresses-lede { margin: 6px 0 18px; }
.acct-addr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct-addr-item-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.acct-addr-item-ic { color: var(--pw-blue); display: inline-flex; }
.acct-addr-item-label { font-size: 15px; }
.acct-addr-item-body { font-style: normal; font-size: 14.5px; color: var(--pw-ink-2); line-height: 1.65; }
.acct-addr-item-empty { font-size: 14.5px; color: var(--pw-ink-3); line-height: 1.6; margin: 0; }
.acct-addr-item-foot { display: flex; gap: 16px; margin-top: 14px; }

/* ── Email preferences (ProfileView third card) ── */
.acct-prefs { display: flex; flex-direction: column; gap: 12px; }
.acct-pref { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--pw-ink-2); cursor: pointer; }
.acct-pref input { width: 16px; height: 16px; accent-color: var(--pw-blue); flex-shrink: 0; }

/* ── Report a problem (ReportProblemModal) ── */
.pw-report-card { max-width: 540px; }
.pw-report-h { font-size: 22px; margin: 0; }
.pw-report-lede { font-size: 13.5px; color: var(--pw-ink-2); margin-top: 6px; line-height: 1.55; }
.pw-report-label { margin-top: 16px; }
.pw-report-items { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; }
.pw-report-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--pw-r);
  border: 1.5px solid var(--pw-line);
  background: #fff;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.pw-report-item.is-on { border-color: var(--pw-blue); background: var(--pw-blue-tint); }
.pw-report-item input { width: 16px; height: 16px; accent-color: var(--pw-blue); flex-shrink: 0; }
.pw-report-item-cover { width: 38px; flex-shrink: 0; }
.pw-report-item-cover img { width: 38px; height: 50px; object-fit: cover; border-radius: 4px; display: block; }
.pw-report-item-name { font-size: 13.5px; font-weight: 600; color: var(--pw-ink); }
.pw-report-issues { display: flex; gap: 8px; flex-wrap: wrap; }
.pw-report-issue {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  background: var(--pw-bg-2);
  color: var(--pw-ink-2);
  border: 0;
}
.pw-report-issue.is-on { background: var(--pw-blue); color: #fff; }
.pw-report-note { min-height: 70px; resize: vertical; width: 100%; }
.pw-report-done { text-align: center; padding: 18px 6px; }
.pw-report-done-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pw-green-light);
  color: var(--pw-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.pw-report-done .btn { margin-top: 20px; }

@media (max-width: 640px) {
  .acct-addr-list { grid-template-columns: 1fr; }
}

/* Mobile audit fixes: comfortable touch targets in the report modal. */
@media (max-width: 860px) {
  .pw-report-issue { min-height: 40px; }
  .pw-report-card .pw-modal-close { width: 40px; height: 40px; }
}
