/* Customer dashboard: shared brand colours and navigation live in style.css. */
.dashboard-page { background: #0e0e10; }
.dashboard-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); max-width: 1440px; min-height: calc(100svh - 75px); margin: auto; }
.account-sidebar { border-right: 1px solid var(--stroke); padding: 40px 22px 28px; display: flex; flex-direction: column; gap: 36px; }
.dashboard-wordmark { font-family: Georgia, serif; font-size: 23px; line-height: 1.3; color: #e8e2d6; }
.dashboard-wordmark span { display: block; font-family: inherit; font-size: 8px; letter-spacing: 1.7px; margin-top: 9px; color: var(--muted); }
.account-nav { display: grid; gap: 7px; }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border: 1px solid transparent; border-radius: 10px; color: #aaa9ad; font-size: 13px; }
.account-nav a span { width: 18px; font-size: 19px; text-align: center; }
.account-nav a:hover, .account-nav a[aria-current="page"] { color: #eee9de; background: #222224; border-color: #373638; }
.sidebar-bottom { margin-top: auto; padding: 20px 8px 0; }
.sidebar-bottom p { color: #99989e; font-size: 12px; line-height: 1.6; }
.sidebar-bottom a { display: block; font-size: 12px; padding: 9px 0; color: #dbd6ca; }
.dashboard-signout { display: flex; justify-content: space-between; padding: 16px 10px 0; background: none; border: 0; border-top: 1px solid var(--stroke); color: var(--muted); font-size: 12px; cursor: pointer; }
.dashboard-content { min-width: 0; padding: 28px clamp(22px, 4vw, 60px) 64px; }
.dashboard-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.dashboard-topline .eyebrow { margin: 0; font-size: 9px; letter-spacing: 1.7px; }
.account-avatar { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #504d45; border-radius: 50%; background: #292720; color: #dfd5be; font-size: 12px; }
.dashboard-heading { margin: 0 0 32px; }
.dashboard-heading .eyebrow { margin-bottom: 12px; font-size: 9px; }
.dashboard-heading h1 { margin: 0 0 13px; font-size: clamp(30px, 3.8vw, 46px); font-weight: 500; line-height: 1.15; letter-spacing: -1.8px; overflow-wrap: anywhere; }
.dashboard-heading > p:last-child { color: #a7a6ae; font-size: 13px; line-height: 1.7; }
.account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat-card { border: 1px solid var(--stroke); border-radius: 13px; padding: 22px; background: linear-gradient(125deg, #1b1b1e, #151517); }
.stat-card > span { display: block; font-size: 9px; letter-spacing: 1.5px; color: #aaa9b0; }
.stat-card strong { display: block; font-weight: 500; font-size: 38px; margin: 18px 0 15px; line-height: 1.1; }
.stat-card small { font-size: 11px; color: #b9b5aa; display: flex; justify-content: space-between; gap: 8px; }
.member-card strong { font-size: 21px; min-height: 42px; display: flex; align-items: center; }
.dashboard-card { border: 1px solid var(--stroke); border-radius: 14px; background: #171719; overflow: hidden; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 23px 25px; border-bottom: 1px solid var(--stroke); }
.dashboard-card h2 { margin: 0; font-size: 16px; font-weight: 550; }
.card-heading a, .text-action { color: #c5bdab; font-size: 11px; }
.text-action { border: 0; background: none; cursor: pointer; padding: 6px 0; }
.list-message { margin: 0; padding: 42px 25px; text-align: center; color: #a8a6b0; font-size: 13px; line-height: 1.8; }
.empty-account { padding: 38px 24px; text-align: center; }
.empty-account .empty-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--stroke); border-radius: 12px; margin: 0 auto 16px; font-size: 23px; color: #bab1a0; }
.empty-account h3 { font-size: 16px; font-weight: 500; margin: 0 0 9px; }
.empty-account p { color: #929099; font-size: 12px; line-height: 1.8; max-width: 360px; margin: 0 auto 19px; }
.empty-account a { color: #d4ccba; font-size: 12px; }
.discovery-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 33px; margin-top: 28px; border: 1px solid #3c3830; border-radius: 14px; background: radial-gradient(ellipse at right, #2d2921, #1c1b19 70%); overflow: hidden; }
.discovery-card .eyebrow { color: #c4b99f; font-size: 8px; margin-bottom: 12px; }
.discovery-card h2 { font-size: 25px; font-weight: 500; letter-spacing: -.7px; margin: 0 0 10px; }
.discovery-card p:not(.eyebrow) { color: #aaa69e; font-size: 12px; line-height: 1.8; max-width: 430px; }
.discovery-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: 11px; }
.discovery-links .button { min-height: 40px; font-size: 11px; }
.discovery-symbol { font-family: Georgia, serif; color: #9a8d6d; font-size: 110px; opacity: .35; }
.dashboard-notice { padding: 15px 18px; border: 1px solid #67604e; border-radius: 10px; background: #25221b; font-size: 13px; line-height: 1.7; margin-bottom: 24px; overflow-wrap: anywhere; }
.dashboard-notice[data-kind="error"] { border-color: #945e66; background: #2d2025; }
.order-entry { border-bottom: 1px solid var(--stroke); }
.order-entry:last-child { border-bottom: 0; }
.order-summary { list-style: none; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 18px; padding: 23px 25px; cursor: pointer; }
.order-summary::-webkit-details-marker { display: none; }
.order-summary strong { font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.order-summary small { display: block; color: #94929c; font-size: 11px; margin-top: 8px; }
.order-value { text-align: right; font-size: 13px; white-space: nowrap; }
.status-badge { display: inline-block; padding: 6px 9px; border: 1px solid #45413a; border-radius: 6px; font-size: 10px; color: #c9bfaa; background: #29261f; }
.status-badge[data-status="paid"], .status-badge[data-status="delivered"] { color: #b5cfbf; border-color: #344d40; background: #1d2c24; }
.order-body { padding: 0 25px 24px; color: #aba8b3; font-size: 12px; line-height: 1.8; }
.order-body ul { margin: 12px 0; padding-left: 20px; }
.order-body a { color: #e2d6bc; text-decoration: underline; text-underline-offset: 3px; }
.order-body p { margin-bottom: 0; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px; border-bottom: 1px solid var(--stroke); }
.file-row:last-child { border: 0; }
.file-row h3 { margin: 0 0 8px; font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.file-row p { margin: 0; font-size: 11px; color: #96929e; overflow-wrap: anywhere; }
.file-row button { flex-shrink: 0; min-height: 40px; font-size: 11px; }
.list-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 25px; border-top: 1px solid var(--stroke); font-size: 11px; color: #aaa5b2; }
.list-pagination button { border: 1px solid var(--stroke); border-radius: 7px; background: transparent; color: var(--text); padding: 9px 12px; cursor: pointer; }
.dashboard-footnote { color: #929099; font-size: 12px; line-height: 1.8; margin-top: 22px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 20px; }
.settings-card { padding: 26px; display: grid; gap: 18px; }
.settings-card h2 { margin-bottom: 3px; }
.settings-card p { color: #a8a4af; font-size: 12px; line-height: 1.8; margin: 0; overflow-wrap: anywhere; }
.settings-card strong { color: #e3e0e7; font-weight: 500; }
.settings-card label { font-size: 12px; }
.settings-card input { width: 100%; min-width: 0; min-height: 45px; border: 1px solid #3e3b43; border-radius: 8px; background: #202023; color: #fff; padding: 10px 12px; }
.settings-card .field-hint { font-size: 11px; }
.button-outline { border-color: var(--stroke2); color: var(--text); background: transparent; }
.dashboard-page .button { cursor: pointer; }
.dashboard-page button:disabled { opacity: .5; cursor: wait; }
.dashboard-gate { padding: 80px 24px; max-width: 650px; margin: auto; }
.dashboard-gate > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
@media (max-width: 1000px) {
  .dashboard-layout { grid-template-columns: 200px minmax(0,1fr); }
  .account-sidebar { padding: 30px 14px; }
  .stat-card { padding: 18px; }
  .stat-card > span { font-size: 8px; }
  .discovery-symbol { display: none; }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .account-sidebar { border-right: 0; border-bottom: 1px solid var(--stroke); padding: 18px; gap: 16px; }
  .dashboard-wordmark, .sidebar-bottom { display: none; }
  .account-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .account-nav a { flex-shrink: 0; font-size: 11px; padding: 10px; gap: 6px; }
  .account-nav a span { display: none; }
  .dashboard-signout { padding: 0; border: 0; align-self: end; font-size: 11px; gap: 12px; }
  .dashboard-content { padding: 22px 18px 50px; }
  .dashboard-topline { margin-bottom: 30px; }
  .account-stats { gap: 9px; }
  .stat-card { padding: 14px 10px; }
  .stat-card strong { font-size: 29px; }
  .member-card strong { font-size: 16px; min-height: 32px; }
  .stat-card small { font-size: 10px; line-height: 1.6; }
  .stat-card > span { font-size: 7px; letter-spacing: .7px; line-height: 1.6; min-height: 23px; }
  .card-heading, .file-row { padding: 20px; }
  .order-summary { padding: 20px; gap: 12px; grid-template-columns: minmax(0,1fr) auto; }
  .order-summary .status-badge { grid-row: 2; justify-self: start; }
  .order-summary .order-value { grid-column: 2; grid-row: 1; }
  .order-body { padding-left: 20px; padding-right: 20px; }
  .discovery-card { padding: 25px; }
  .file-row { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .dashboard-page * { scroll-behavior: auto; } }
