/* Account workspace: compact hierarchy, one task at a time. */
.account-page .page-lead { padding: 14px 18px; margin-bottom: 14px; box-shadow: 3px 3px 0 var(--ink); }
.account-page .page-lead h1 { font-size: clamp(22px, 4vw, 28px); margin: 0; }
.account-page .page-lead-eyebrow { margin-bottom: 6px; font-size: 10px; }
.account-page .page-lead-deck { font-size: 13px; margin: 6px 0 0; }
.account-page .page-lead-actions { display: none; }
.account-page .account-welcome { padding: 14px 16px; gap: 14px; margin: 0 0 14px; box-shadow: 3px 3px 0 var(--ink); }
.account-page #profile-avatar { width: 48px; height: 48px; flex-basis: 48px; font-size: 23px; box-shadow: 2px 2px 0 var(--ink); }
.account-page .account-welcome h2 { font-size: 20px; margin: 2px 0; line-height: 1.3; }
.account-page .account-welcome p { margin: 0; font-size: 12px; line-height: 1.5; }
.account-page .account-eyebrow { font-size: 10px !important; letter-spacing: .05em; }
.account-page #profile-joined { color: var(--muted); font-size: 11px; }
.account-page #sign-out { width: auto; min-height: 40px; padding: 8px 12px; font-size: 12px; margin-left: auto; }
.account-page .account-stats { margin: 14px 0; gap: 10px; }
.account-page .account-stat { padding: 10px 12px; box-shadow: 2px 2px 0 var(--ink); }
.account-page .account-stat strong { font-size: 23px; }
.account-page .account-stat span { margin-top: 3px; font-size: 11px; }
.account-page .account-tabs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin: 16px 0; }
.account-page .account-tabs a { min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 9px 10px; text-align: center; text-decoration: none; font-size: 13px; line-height: 1.35; border-radius: 8px; transition: transform .12s, box-shadow .12s; }
.account-page .account-tabs a[aria-current] { background: var(--yellow, #ffe56b); box-shadow: 1px 1px 0 var(--ink); transform: translate(1px,1px); }
.account-page .account-tabs a:focus-visible { outline: 3px solid #3567c9; outline-offset: 3px; }
.account-page .account-columns { margin-top: 0; gap: 16px; grid-template-columns: minmax(0,1.7fr) minmax(230px,1fr); }
.account-page .commerce-panel { padding: 18px; box-shadow: 3px 3px 0 var(--ink); }
.account-page .account-columns h2, .account-page .account-history h2 { font-size: 19px; margin-bottom: 8px; }
.account-page .account-columns p { line-height: 1.6; }
.account-page #profile-form { display: grid; gap: 12px; }
.account-page #profile-form label { margin: 0; min-width: 0; }
.account-page #profile-form input { min-width: 0; }
.account-page .profile-hint { font-size: 12px; margin-top: 0; }
.account-page .account-aside { gap: 12px; }
.account-page .account-secondary summary { cursor: pointer; font-size: 14px; font-weight: 800; line-height: 1.5; }
.account-page .account-secondary[open] summary { margin-bottom: 12px; }
.account-page .account-aside #account-admin { margin: 0; text-align: center; }
.account-page .account-history { margin-top: 0; }
.account-page .account-columns[hidden], .account-page .account-history[hidden], .account-page #account-admin[hidden] { display: none !important; }
.account-page #auth-status:empty, .account-page #summary-status:empty, .account-page #profile-status:empty { display: none; }
.account-page .account-section-heading { gap: 10px; }
.account-page .recent-order { margin-top: 10px; padding: 12px; gap: 12px; }
@media (min-width: 701px) {
  .account-page #profile-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .account-page #profile-form > label:first-of-type { grid-column: 1; grid-row: 1; }
  .account-page #profile-form > label:last-of-type { grid-column: 2; grid-row: 1; }
  .account-page #profile-form > .profile-pair { grid-column: 1 / -1; grid-row: 2; }
  .account-page #profile-form > :is(.profile-hint,.order-actions,.commerce-status) { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .account-page .commerce-header { gap: 14px; padding-bottom: 16px; margin-bottom: 16px; }
  .account-page .commerce-nav { gap: 6px; }
  .account-page .commerce-nav a { font-size: 12px; padding: 8px 10px; min-height: 40px; }
  .account-page .page-lead { padding: 12px 14px; }
  .account-page .page-lead-deck { display: none; }
  .account-page .account-welcome { flex-wrap: wrap; padding: 12px; gap: 10px; }
  .account-page .account-welcome > div:nth-child(2) { flex: 1; min-width: 150px; }
  .account-page #sign-out { margin-left: 58px; min-height: 36px; padding: 6px 10px; }
  .account-page .account-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .account-page .account-stat { padding: 9px 10px; }
  .account-page .account-stat strong { font-size: 20px; line-height: 1.2; }
  .account-page .account-stat span { margin: 3px 0 0; }
  .account-page .account-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 14px 0; }
  .account-page .account-tabs a { font-size: 12px; padding: 8px; }
  .account-page .account-columns { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .account-page .commerce-panel { padding: 14px; }
  .account-page .order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .account-page .order-actions button { flex: 1 1 130px; }
}
@media (prefers-reduced-motion: reduce) { .account-page .account-tabs a { transition: none; } }

/* Notification stickers: shape + title + explicit read state, never color alone. */
#inbox-list .notice-card {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  align-items: start;
  gap: 16px;
  margin: 12px 0 0;
  padding: 16px;
  border: 2px solid var(--ink,#17213a);
  border-radius: 10px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink,#17213a);
}
#inbox-list .notice-card[data-read="false"] { background: #fffdf2; border-left-width: 2px; }
#inbox-list .notice-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #d8eaff;
  color: #17213a;
  border: 2px solid #17213a;
  border-radius: 8px;
  box-shadow: 2px 2px 0 #17213a;
  rotate: -4deg;
}
#inbox-list [data-kind="payment"] .notice-icon { background: #cbf5d9; }
#inbox-list [data-kind="delivery"] .notice-icon { background: #ffe56b; }
#inbox-list [data-kind="support"] .notice-icon { background: #e6dff9; }
#inbox-list :is([data-kind="refund"],[data-kind="cancelled"]) .notice-icon { background: #ffd4d4; }
#inbox-list .notice-content { min-width: 0; }
#inbox-list .notice-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
#inbox-list .notice-heading h3 { margin: 0; font-size: 15px; line-height: 1.5; }
#inbox-list .notice-read-state { flex-shrink: 0; font-size: 10px; font-weight: 800; color: #596477; }
#inbox-list [data-read="false"] .notice-read-state { border: 1.5px solid #17213a; background: #ffe56b; color: #17213a; padding: 2px 6px; border-radius: 4px; }
#inbox-list .notice-body { margin: 5px 0; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
#inbox-list .notice-date { display: block; font-size: 11px; color: #596477; margin-top: 5px; }
#inbox-list .notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
#inbox-list .notice-actions a { color: #17213a; font-size: 12px; font-weight: 800; text-underline-offset: 3px; }
#inbox-list .notice-actions button { min-height: 34px; padding: 5px 9px; font-size: 11px; }
@media (max-width:480px) {
  #inbox-list .notice-card { grid-template-columns: 36px minmax(0,1fr); gap: 10px; padding: 12px; }
  #inbox-list .notice-icon { width: 34px; height: 36px; border-radius: 6px; }
  #inbox-list .notice-icon svg { width: 22px; height: 22px; }
  #inbox-list .notice-heading h3 { font-size: 14px; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  #inbox-list .notice-icon { transition: rotate .18s, translate .18s; }
  #inbox-list .notice-card:hover .notice-icon { rotate: 2deg; translate: 0 -2px; }
}
