/* ---------------------------------------------------------------------------
 * Page components that are not part of the Tailwind build: cart, checkout
 * summary lines, auth pages and the account order list.
 * Product thumbnails are strictly sized here — this is what keeps cart and
 * checkout images small instead of rendering at their natural size.
 * ------------------------------------------------------------------------- */

/* ------------------------------- cart page ------------------------------- */
.cart-head { margin-bottom: 1.25rem; }
.cart-title { display: flex; align-items: center; gap: .5rem; font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.cart-sub { margin-top: .25rem; font-size: .875rem; color: #64748b; }

.cart-layout { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 20rem; } }

.cart-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; min-width: 0; }

.cart-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  padding: .85rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
@media (min-width: 640px) {
  .cart-item { grid-template-columns: 90px minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
}

.cart-item-media {
  display: block;
  width: 70px;
  height: 70px;
  max-width: 70px;
  max-height: 70px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.cart-item-media img,
.cart-item-media svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cart-item-media-empty { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #cbd5e1; }
@media (min-width: 640px) {
  .cart-item-media { width: 90px; height: 90px; max-width: 90px; max-height: 90px; }
}

.cart-item-main { min-width: 0; }
.cart-item-name { display: block; font-weight: 600; font-size: .9rem; color: #0f172a; line-height: 1.5; }
.cart-item-price { margin-top: .2rem; font-size: .875rem; font-weight: 700; color: var(--brand, #16a34a); }
.cart-item-old { margin-left: .35rem; font-weight: 500; color: #94a3b8; text-decoration: line-through; }
.cart-item-stock { margin-top: .2rem; font-size: .75rem; color: #dc2626; }

.cart-item-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
@media (min-width: 640px) {
  .cart-item-actions { grid-column: auto; flex-direction: column; align-items: flex-end; gap: .4rem; }
}

.cart-qty { display: inline-flex; align-items: center; border: 1px solid #e2e8f0; border-radius: 9999px; overflow: hidden; }
.cart-qty button {
  width: 2rem; height: 2rem; font-size: 1rem; font-weight: 700; color: #334155; background: #f8fafc; cursor: pointer;
}
.cart-qty button:disabled { opacity: .4; cursor: not-allowed; }
.cart-qty span { min-width: 2.25rem; text-align: center; font-weight: 700; font-size: .875rem; }
.cart-item-total { font-weight: 800; color: #0f172a; font-size: .95rem; }
.cart-remove { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; color: #ef4444; cursor: pointer; }

.cart-summary {
  border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; padding: 1.1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.cart-summary-title { font-size: .95rem; font-weight: 800; color: #0f172a; }
.cart-summary-rows { margin-top: .85rem; display: grid; gap: .5rem; font-size: .875rem; }
.cart-summary-rows > div { display: flex; justify-content: space-between; gap: 1rem; color: #64748b; }
.cart-summary-rows dd { font-weight: 600; color: #0f172a; }
.cart-summary-note dd { font-weight: 500; color: #94a3b8; }
.cart-summary-total {
  margin-top: .85rem; padding-top: .75rem; border-top: 1px solid #e2e8f0;
  display: flex; justify-content: space-between; font-size: 1rem; font-weight: 800; color: #0f172a;
}
.cart-continue { margin-top: .7rem; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; width: 100%; font-size: .82rem; color: #64748b; }

.cart-empty { text-align: center; padding: 3rem 1rem; border: 1px dashed #e2e8f0; border-radius: 18px; background: #fff; }
.cart-empty-icon { margin: 0 auto; display: flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 9999px; background: #f1f5f9; color: #94a3b8; }
.cart-empty h2 { margin-top: .9rem; font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.cart-empty p { margin-top: .25rem; font-size: .875rem; color: #64748b; }

/* --------------------------- checkout line items -------------------------- */
.co-selected { border: 1px solid #e2e8f0; border-radius: 14px; background: #f8fafc; padding: .9rem; }
.co-selected-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.co-selected-title { display: flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 800; color: #0f172a; }
.co-selected-count { display: inline-flex; min-width: 1.35rem; height: 1.35rem; align-items: center; justify-content: center; border-radius: 9999px; background: #e2e8f0; font-size: .72rem; font-weight: 700; }
.co-selected-edit { display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem; color: var(--brand, #16a34a); font-weight: 600; }

.co-lines { margin: .75rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.co-line { display: grid; grid-template-columns: 55px minmax(0, 1fr) auto; gap: .7rem; align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: .5rem .65rem; }
.co-line-thumb {
  width: 55px; height: 55px; max-width: 55px; max-height: 55px;
  object-fit: contain; border-radius: 8px; border: 1px solid #e2e8f0; background: #f8fafc; display: block; flex: 0 0 auto;
}
.co-line-thumb-empty { display: flex; align-items: center; justify-content: center; color: #cbd5e1; }
@media (min-width: 640px) {
  .co-line { grid-template-columns: 70px minmax(0, 1fr) auto; }
  .co-line-thumb { width: 70px; height: 70px; max-width: 70px; max-height: 70px; }
}
.co-line-body { min-width: 0; }
.co-line-name { font-size: .85rem; font-weight: 600; color: #0f172a; line-height: 1.45; }
.co-line-meta { margin-top: .15rem; font-size: .75rem; color: #64748b; }
.co-line-total { font-size: .875rem; font-weight: 800; color: #0f172a; white-space: nowrap; }

.of-advance-note { margin-top: .6rem; border-radius: 10px; background: #ecfdf5; border: 1px solid #a7f3d0; padding: .6rem .7rem; font-size: .78rem; line-height: 1.7; color: #047857; }

/* -------------------------------- auth pages ------------------------------ */
.auth-page { max-width: 27rem; margin: 0 auto; padding: 2.5rem 1rem 3.5rem; }
.auth-card {
  border: 1px solid #e5e7eb; border-radius: 20px; background: #fff; padding: 1.75rem 1.4rem;
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .45);
}
@media (min-width: 640px) { .auth-card { padding: 2.25rem 2rem; } }
.auth-brand { text-align: center; }
.auth-logo { display: inline-block; max-width: 160px; max-height: 64px; object-fit: contain; }
.auth-logo-text { font-size: 1.1rem; font-weight: 800; letter-spacing: .04em; color: #0f172a; }
.auth-title { margin-top: 1.1rem; text-align: center; font-size: 1.45rem; font-weight: 800; color: #0f172a; }
.auth-sub { margin-top: .35rem; text-align: center; font-size: .85rem; line-height: 1.7; color: #64748b; }
.auth-error { margin-top: 1rem; border-radius: 10px; border: 1px solid #fecaca; background: #fef2f2; padding: .6rem .75rem; font-size: .82rem; color: #b91c1c; }
.auth-form { margin-top: 1.4rem; display: grid; gap: 1rem; }
.auth-field label { display: block; font-size: .8rem; font-weight: 600; color: #334155; margin-bottom: .35rem; }
.auth-field input {
  width: 100%; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff;
  padding: .7rem .85rem; font-size: .9rem; color: #0f172a; transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus { outline: none; border-color: var(--brand, #16a34a); box-shadow: 0 0 0 3px rgba(22, 163, 74, .12); }
.auth-hint { display: block; margin-top: .3rem; font-size: .72rem; color: #94a3b8; }
.auth-pass { position: relative; }
.auth-pass input { padding-right: 4.25rem; }
.auth-pass-toggle {
  position: absolute; top: 50%; right: .5rem; transform: translateY(-50%);
  border-radius: 8px; padding: .3rem .55rem; font-size: .72rem; font-weight: 700;
  color: #475569; background: #f1f5f9; cursor: pointer;
}
.auth-forgot { display: inline-block; margin-top: .45rem; font-size: .76rem; font-weight: 600; color: var(--brand, #16a34a); }
.auth-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; width: 100%;
  border-radius: 12px; padding: .8rem 1rem; font-size: .92rem; font-weight: 700; cursor: pointer;
  color: #fff; background: var(--brand, #16a34a);
  box-shadow: 0 12px 24px -14px rgba(15, 23, 42, .8);
}
.auth-submit:hover { filter: brightness(.95); }
.auth-divider { position: relative; margin: 1.25rem 0; text-align: center; }
.auth-divider::before { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: #e2e8f0; }
.auth-divider span { position: relative; background: #fff; padding: 0 .7rem; font-size: .75rem; color: #94a3b8; }
.auth-google {
  display: flex; align-items: center; justify-content: center; gap: .55rem; width: 100%;
  border: 1px solid #e2e8f0; border-radius: 12px; padding: .72rem 1rem;
  font-size: .88rem; font-weight: 600; color: #0f172a; background: #fff;
}
.auth-google:hover { background: #f8fafc; }
.auth-alt { margin-top: 1.25rem; text-align: center; font-size: .82rem; color: #64748b; }
.auth-alt a { font-weight: 700; color: var(--brand, #16a34a); }

/* ---------------------------------------------------------------------------
 * Customer "My Account" area (account.php, account-order.php,
 * account-profile.php)
 *
 * Layout: profile header -> Order Statistics tiles -> Order List. The list is a
 * CSS-grid "table" that turns into labelled cards below 900px, so nothing
 * overflows on a phone.
 * ------------------------------------------------------------------------- */
.acc-wrap { max-width: 74rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.acc-wrap-narrow { max-width: 44rem; }

.acc-eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand, #16a34a); }
.acc-name { font-size: 1.35rem; font-weight: 800; color: #0f172a; line-height: 1.25; }
.acc-section-title { margin: 1.75rem 0 .15rem; font-size: 1rem; font-weight: 800; color: #0f172a; }
.acc-section-note { font-size: .78rem; color: #64748b; }

.acc-back { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: #64748b; margin-bottom: .9rem; }
.acc-back:hover { color: var(--brand, #16a34a); }

/* ---- profile header ---- */
.acc-profile {
  display: grid; gap: 1rem; align-items: center;
  border: 1px solid #e2e8f0; border-radius: 20px; padding: 1.1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
@media (min-width: 768px) { .acc-profile { grid-template-columns: minmax(0, 1fr) auto; padding: 1.35rem 1.5rem; } }
.acc-profile-main { display: flex; min-width: 0; align-items: center; gap: .9rem; }
.acc-profile-text { min-width: 0; }
.acc-avatar { width: 3.25rem; height: 3.25rem; flex-shrink: 0; border-radius: 9999px; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .12); }
.acc-avatar-fallback { display: inline-flex; align-items: center; justify-content: center; background: var(--brand, #16a34a); color: #fff; }
.acc-meta { margin-top: .35rem; display: flex; flex-wrap: wrap; gap: .3rem .85rem; }
.acc-meta-item { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; color: #475569; min-width: 0; word-break: break-word; }
.acc-profile-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---- buttons ---- */
.acc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 11px; padding: .55rem .9rem; font-size: .82rem; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.acc-btn:active { transform: translateY(1px); }
.acc-btn-primary { background: var(--brand, #16a34a); color: #fff; box-shadow: 0 2px 8px -2px rgba(22, 163, 74, .5); }
.acc-btn-primary:hover { filter: brightness(1.06); }
.acc-btn-outline { background: #fff; color: #0f172a; border-color: #cbd5e1; }
.acc-btn-outline:hover { border-color: var(--brand, #16a34a); color: var(--brand, #16a34a); }
.acc-btn-ghost { background: #fff; color: #64748b; border-color: #e2e8f0; }
.acc-btn-ghost:hover { color: #e11d48; border-color: #fecdd3; }
.acc-btn-sm { padding: .4rem .7rem; font-size: .76rem; }

/* ---- Order Statistics ---- */
.acc-stats { margin-top: .7rem; display: grid; gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .acc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .acc-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.acc-stat { border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; padding: .85rem .9rem; transition: box-shadow .15s ease, transform .15s ease; }
.acc-stat:hover { box-shadow: 0 6px 18px -10px rgba(15, 23, 42, .35); transform: translateY(-1px); }
.acc-stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.85rem; height: 1.85rem; border-radius: 10px; background: #f1f5f9; color: #475569; }
.acc-stat-icon.is-total { background: #eef2ff; color: #4f46e5; }
.acc-stat-icon.is-pending { background: #fef3c7; color: #b45309; }
.acc-stat-icon.is-processing { background: #e0f2fe; color: #0369a1; }
.acc-stat-icon.is-completed { background: #dcfce7; color: #15803d; }
.acc-stat-icon.is-cancelled { background: #ffe4e6; color: #be123c; }
.acc-stat-value { margin-top: .45rem; font-size: 1.4rem; font-weight: 800; color: #0f172a; line-height: 1.1; }
.acc-stat-label { font-size: .74rem; font-weight: 600; color: #64748b; }

.acc-saved { margin-top: .8rem; display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; border: 1px dashed #a7f3d0; background: #f0fdf4; border-radius: 14px; padding: .6rem .8rem; font-size: .8rem; color: #166534; }
.acc-saved strong { font-weight: 800; }

/* ---- quick links ---- */
.acc-links { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.acc-links a { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid #e2e8f0; background: #fff; border-radius: 9999px; padding: .42rem .8rem; font-size: .78rem; font-weight: 600; color: #334155; }
.acc-links a:hover { border-color: var(--brand, #16a34a); color: var(--brand, #16a34a); }

/* ---- Order List ("table" that becomes cards on mobile) ---- */
.acc-table { margin-top: .85rem; display: grid; gap: .85rem; }
.acc-thead { display: none; }
.acc-row {
  border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; padding: 1rem;
  display: grid; gap: .7rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: box-shadow .15s ease;
}
.acc-row:hover { box-shadow: 0 10px 26px -18px rgba(15, 23, 42, .55); }
.acc-cell { min-width: 0; }
.acc-cell-label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #94a3b8; margin-bottom: .15rem; }
.acc-order-no { font-size: .95rem; font-weight: 800; color: #0f172a; }
.acc-order-no:hover { color: var(--brand, #16a34a); }
.acc-order-date { font-size: .74rem; color: #94a3b8; }
.acc-items-line { font-size: .82rem; font-weight: 600; color: #334155; overflow-wrap: anywhere; }
.acc-items-more { font-size: .72rem; color: #94a3b8; }
.acc-cell-value { font-size: .88rem; font-weight: 700; color: #0f172a; }
.acc-cell-sub { font-size: .72rem; color: #94a3b8; }
.acc-cell-sub.is-discount { color: #059669; font-weight: 600; }
.acc-pay-method { font-size: .82rem; }
.acc-pill { display: inline-flex; align-items: center; gap: .25rem; border-radius: 9999px; padding: .22rem .6rem; font-size: .7rem; font-weight: 700; border: 1px solid transparent; }
.acc-status-pill.is-pending { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.acc-status-pill.is-processing { background: #e0f2fe; color: #075985; border-color: #bae6fd; }
.acc-status-pill.is-shipped { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; }
.acc-status-pill.is-delivered { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.acc-status-pill.is-cancelled { background: #ffe4e6; color: #9f1239; border-color: #fecdd3; }
.acc-pay-pill { margin-top: .25rem; }
.acc-pay-pill.is-paid { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.acc-pay-pill.is-partial { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.acc-pay-pill.is-unpaid { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.acc-pay-pill.is-refunded { background: #e0f2fe; color: #075985; border-color: #bae6fd; }
.acc-pay-pill.is-failed { background: #ffe4e6; color: #9f1239; border-color: #fecdd3; }
.acc-cell-action { display: flex; }
.acc-cell-action .acc-btn { width: 100%; }

/* desktop table grid */
@media (min-width: 900px) {
  .acc-thead {
    display: grid; align-items: center; gap: .75rem; padding: 0 1.15rem .1rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) 3.5rem minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr) 7.5rem;
  }
  .acc-thead span { font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
  .acc-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) 3.5rem minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr) 7.5rem;
    align-items: start; padding: 1.15rem; gap: .75rem;
  }
  .acc-cell-label { display: none; }
  .acc-cell-track { grid-column: 1 / -1; margin-top: .35rem; border-top: 1px dashed #e2e8f0; padding-top: .8rem; }
  .acc-cell-action .acc-btn { width: auto; }
}

/* ---- tracking rail ---- */
.acc-track { display: flex; align-items: center; }
.acc-track-step { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 0 0 auto; width: 3.7rem; }
.acc-track-dot { display: inline-flex; align-items: center; justify-content: center; width: 1.55rem; height: 1.55rem; border-radius: 9999px; background: #f1f5f9; color: #94a3b8; font-size: .68rem; font-weight: 800; border: 1px solid #e2e8f0; }
.acc-track-step.is-done .acc-track-dot { background: var(--brand, #16a34a); border-color: var(--brand, #16a34a); color: #fff; box-shadow: 0 0 0 4px rgba(22, 163, 74, .12); }
.acc-track-label { margin-top: .32rem; font-size: .63rem; font-weight: 600; color: #94a3b8; line-height: 1.25; }
.acc-track-step.is-done .acc-track-label { color: #334155; }
.acc-track-bar { flex: 1 1 auto; height: 2px; min-width: .5rem; background: #e2e8f0; border-radius: 2px; }
.acc-track-bar.is-done { background: var(--brand, #16a34a); }
.acc-track.is-lg .acc-track-step { width: 4.4rem; }
.acc-track.is-lg .acc-track-dot { width: 1.9rem; height: 1.9rem; font-size: .75rem; }
.acc-track.is-lg .acc-track-label { font-size: .7rem; }
.acc-track-cancelled { font-size: .8rem; font-weight: 700; color: #e11d48; }
.acc-track-note { margin-top: .7rem; font-size: .78rem; color: #64748b; }
.acc-track-courier { margin-top: .5rem; font-size: .78rem; color: #334155; overflow-wrap: anywhere; }

/* ---- Order Details ---- */
.acc-detail-head { display: grid; gap: .7rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .acc-detail-head { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.acc-detail-pills { display: flex; flex-wrap: wrap; gap: .4rem; align-items: flex-start; }
.acc-detail-pills .acc-pay-pill { margin-top: 0; }
.acc-detail-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 900px) { .acc-detail-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } }
.acc-detail-side { display: grid; gap: 1rem; align-content: start; }

.acc-card { border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; padding: 1.1rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.acc-card-title { display: flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 800; color: #0f172a; margin-bottom: .85rem; }

.acc-items { display: grid; gap: .55rem; }
.acc-item { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; border-bottom: 1px dashed #e2e8f0; padding-bottom: .55rem; }
.acc-item:last-child { border-bottom: 0; padding-bottom: 0; }
.acc-item-body { min-width: 0; }
.acc-item-name { font-size: .84rem; font-weight: 600; color: #0f172a; overflow-wrap: anywhere; }
.acc-item-meta { font-size: .73rem; color: #94a3b8; }
.acc-item-total { flex-shrink: 0; font-size: .84rem; font-weight: 700; color: #0f172a; }

.acc-sum { margin-top: .95rem; border-top: 1px dashed #e2e8f0; padding-top: .8rem; display: grid; gap: .35rem; font-size: .82rem; color: #64748b; }
.acc-sum div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.acc-sum div span:first-child { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .3rem; min-width: 0; }
.acc-sum .is-discount { color: #059669; font-weight: 600; }
.acc-sum .is-total { color: #0f172a; font-weight: 800; }
.acc-sum .is-due { margin-top: .2rem; border-top: 1px solid #e2e8f0; padding-top: .5rem; color: #0f172a; font-weight: 800; }

.acc-kv { display: grid; gap: .5rem; }
.acc-kv div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .5rem; align-items: start; }
.acc-kv dt { font-size: .75rem; font-weight: 600; color: #94a3b8; }
.acc-kv dd { font-size: .82rem; color: #0f172a; overflow-wrap: anywhere; }
.acc-kv-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; }
.acc-note { margin-top: .8rem; font-size: .77rem; color: #64748b; }
.acc-note.is-ok { color: #15803d; font-weight: 600; }

/* ---- Edit Profile form ---- */
.acc-alert { display: flex; align-items: center; gap: .45rem; margin-bottom: .9rem; border: 1px solid #fecdd3; background: #fff1f2; color: #9f1239; border-radius: 14px; padding: .6rem .8rem; font-size: .8rem; font-weight: 600; }
.acc-form { display: grid; gap: .95rem; }
.acc-form-row { display: grid; gap: .95rem; }
@media (min-width: 640px) { .acc-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acc-field { display: grid; gap: .3rem; min-width: 0; }
.acc-field label { font-size: .78rem; font-weight: 700; color: #334155; }
.acc-input { width: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: .6rem .75rem; font-size: .88rem; color: #0f172a; background: #fff; }
.acc-input:focus { outline: none; border-color: var(--brand, #16a34a); box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.acc-input.has-error { border-color: #f43f5e; }
.acc-hint { font-size: .72rem; color: #94a3b8; }
.acc-error { font-size: .74rem; font-weight: 600; color: #e11d48; }
.acc-form-divider { display: flex; align-items: center; gap: .6rem; margin-top: .3rem; color: #94a3b8; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.acc-form-divider::before, .acc-form-divider::after { content: ""; height: 1px; flex: 1 1 auto; background: #e2e8f0; }
.acc-form-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
