.dashboard-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 30px; margin-block: 32px 48px; }
.dashboard-sidebar { position: sticky; top: 24px; padding: 22px 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 8px 30px #11192305; }
.dashboard-person { display: flex; align-items: center; gap: 12px; padding: 0 6px 22px; }
.dashboard-avatar { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 16px; background: var(--mint); color: var(--brand-dark); }
.dashboard-person > div { min-width: 0; }
.dashboard-person strong { display: block; overflow-wrap: anywhere; font-size: 15px; margin-block: 4px; }
.dashboard-person small, .dashboard-eyebrow { color: var(--muted); font-size: 11px; }
.dashboard-create { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 52px; padding: 13px 22px; border-radius: 14px; background: #007f70; color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 18px #007f7029; transition: background .2s, box-shadow .2s; }
.dashboard-create:hover { background: #006657; box-shadow: 0 10px 22px #007f7040; }
.dashboard-heading-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dashboard-market { background: #243d67; box-shadow: 0 8px 18px #243d6729; }
.dashboard-market:hover { background: #192e50; box-shadow: 0 10px 22px #243d6740; }
.dashboard-sidebar-create { display: flex; width: 100%; font-size: 14px; }
.dashboard-nav { display: flex; flex-direction: column; align-items: stretch; gap: 7px; margin-top: 24px; }
.dashboard-nav > a, .dashboard-nav button { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 12px; min-height: 48px; color: #455568; font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; border: 0; background: transparent; cursor: pointer; }
.dashboard-nav > a:hover { background: #f4f7f8; }
.dashboard-nav > a.is-current { color: #006657; background: #e3f5ef; font-weight: 800; }
.dashboard-nav form { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.dashboard-nav button { width: 100%; color: #b42318; text-align: start; }
.dashboard-nav button:hover { background: #fff2ef; }
.dashboard-icon { flex-shrink: 0; }
.user-level-badge { --level-color: #fff; --level-start: #416387; --level-end: #294564; --level-border: #315579; --level-shadow: #29456424; display: flex; align-items: center; gap: 12px; padding: 16px 14px; border: 1px solid var(--level-border); border-radius: 16px; background: linear-gradient(125deg, var(--level-start), var(--level-end)); color: var(--level-color); box-shadow: 0 6px 16px var(--level-shadow), inset 0 1px 0 #ffffff38; }
.user-level-badge[data-user-level="verified"] { --level-start: #008360; --level-end: #005d48; --level-border: #007454; --level-shadow: #00745430; }
.user-level-badge[data-user-level="bronze"] { --level-start: #a65420; --level-end: #763611; --level-border: #a65420; --level-shadow: #a6542033; }
.user-level-badge[data-user-level="silver"] { --level-color: #26374d; --level-start: #edf2f9; --level-end: #b4c3d7; --level-border: #96aac4; --level-shadow: #5269852e; }
.user-level-badge[data-user-level="gold"] { --level-color: #583700; --level-start: #ffe17d; --level-end: #efba3f; --level-border: #d99c23; --level-shadow: #d99c2338; }
.user-level-badge[data-user-level="vip"] { --level-start: #8042d1; --level-end: #4c238b; --level-border: #7337c0; --level-shadow: #7337c03b; }
.user-level-emblem { display: inline-flex; flex-shrink: 0; padding: 6px; border-radius: 14px; background: #ffffff24; filter: drop-shadow(0 3px 4px #11192318); }
.user-level-badge strong { display: block; font-size: 15px; font-weight: 800; }
.user-level-badge small { display: block; font-size: 11px; line-height: 1.9; margin-top: 5px; color: inherit; }
.user-level-guide-link { display: block; margin: 10px 0 18px; font-size: 11px; text-align: center; }
.account-guide-page { padding-block: 32px 48px; }
.user-levels-guide { margin-block: 40px; scroll-margin-top: 24px; }
.user-levels-guide > p { color: var(--muted); font-size: 14px; line-height: 2; }
.user-levels-guide .heading span { color: var(--brand-dark); }
.user-levels-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.user-level-guide-card { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.user-level-guide-card p { font-size: 13px; line-height: 2; color: var(--muted); margin-bottom: 0; }
.user-level-upcoming { display: inline-block; font-size: 12px; margin-top: 16px; color: var(--muted); }
.user-level-guide-note { padding: 16px; border-inline-start: 3px solid var(--brand); background: var(--surface); border-radius: 12px; }
.profile-identity button:disabled { opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }
.dashboard-avatar { font-size: 26px; }
.profile-photo-image { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.profile-avatar, .dashboard-avatar { overflow: hidden; }
.profile-avatar-picker { min-width: 0; padding: 18px; margin: 20px 0; border: 1px solid var(--line); border-radius: 16px; }
.profile-avatar-picker legend { padding-inline: 8px; font-weight: 700; }
.profile-avatar-picker > p { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.profile-avatar-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
.profile-avatar-option { position: relative; margin: 0; cursor: pointer; }
.profile-avatar-option input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.profile-avatar-choice { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border: 2px solid var(--line); border-radius: 12px; font-size: 12px; }
.profile-avatar-symbol { display: grid; place-items: center; width: 48px; height: 48px; font-size: 28px; border-radius: 50%; background: var(--mint); }
.profile-avatar-option input:checked + .profile-avatar-choice { border-color: var(--brand-dark); background: var(--mint); }
.profile-avatar-option input:focus-visible + .profile-avatar-choice { outline: 3px solid var(--brand-dark); outline-offset: 3px; }
.profile-inquiry-action { display: flex; align-items: flex-start; padding-top: 28px; }
.profile-identity > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
@media (max-width: 560px) { .profile-inquiry-action { padding-top: 0; } }
@media (max-width: 800px) { .user-levels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dashboard-sidebar .user-level-badge { margin-top: 16px; } }
@media (max-width: 560px) { .user-levels-grid { grid-template-columns: minmax(0, 1fr); } }
.dashboard-tip { margin-top: 22px; padding: 16px; border-radius: 14px; background: #f6f8fa; }
.dashboard-tip strong { font-size: 12px; }
.dashboard-tip p { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 8px 0 0; }
.dashboard-content { min-width: 0; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.dashboard-heading h1 { font-size: clamp(25px, 3vw, 32px); letter-spacing: -.8px; margin: 8px 0; }
.dashboard-heading p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.8; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.dashboard-stats > div { display: grid; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 18px 20px; }
.dashboard-stats span { font-size: 12px; color: #455568; }
.dashboard-stats strong { font-size: 29px; font-weight: 800; line-height: 1.5; font-variant-numeric: tabular-nums; }
.dashboard-stats small { font-size: 11px; color: var(--muted); }
.dashboard-stats .needs-attention { background: #fff9ed; border-color: #ebd6a4; }
.dashboard-stats .needs-attention strong { color: #8a5b09; }
.dashboard-tools { display: flex; align-items: end; gap: 12px; padding: 18px; margin-bottom: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.dashboard-tools label { display: grid; gap: 8px; font-size: 12px; color: #455568; min-width: 0; }
.dashboard-search { flex: 1; }
.dashboard-tools input, .dashboard-tools select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 13px; background: #f9fafb; color: var(--ink); }
.dashboard-status-filter { flex: 0 1 190px; }
.dashboard-result-count { font-size: 11px; white-space: nowrap; color: var(--muted); padding-block: 13px; }
.dashboard-listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dashboard-listing-card { box-shadow: 0 4px 16px #11192304; border-radius: 18px; }
.dashboard-listing-card:hover { transform: none; box-shadow: 0 8px 24px #1119230c; }
.dashboard-listing-card > div { padding: 20px; }
.dashboard-listing-card h3 { line-height: 1.8; }
.dashboard-listing-card small { line-height: 1.9; }
.dashboard-listing-card .status { white-space: normal; max-width: 100%; }
.dashboard-listing-card .status-submitted, .dashboard-listing-card .status-underreview, .dashboard-listing-card .status-awaitingownerapproval { background: #fff2cf; color: #79530b; }
.dashboard-listing-card .status-changesrequested { background: #fff0d5; color: #8a5200; }
.dashboard-listing-card .status-rejected { background: #fee4e2; color: #b42318; }
.dashboard-listing-card .status-draft, .dashboard-listing-card .status-archived { background: #edf2f4; color: #455568; }
.dashboard-listing-card .btn { text-align: center; text-decoration: none; }
.dashboard-listing-card .dashboard-edit { background: #edf5f2; color: #006657; border: 1px solid #cfe2da; box-shadow: none; }
.dashboard-listing-card .listing-conversations { margin-top: 0; }
.dashboard-listing-card summary { cursor: pointer; padding-block: 6px; font-size: 13px; font-weight: 700; }
.dashboard-listing-card .listing-delete-form .danger { color: #b42318; background: #fff7f6; padding: 8px; box-shadow: none; font-size: 12px; }
.dashboard-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 26px; border: 1px dashed #b8cec7; border-radius: 22px; background: var(--surface); }
.dashboard-empty-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 24px; background: var(--mint); color: var(--brand-dark); margin-bottom: 10px; }
.dashboard-empty-icon svg { width: 32px; height: 32px; }
.dashboard-empty h2 { font-size: 21px; margin: 16px 0 8px; }
.dashboard-empty p { max-width: 430px; color: var(--muted); font-size: 14px; line-height: 2; margin: 0 0 24px; }
.dashboard-no-results { padding: 32px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; line-height: 1.9; color: var(--muted); }
.dashboard-content .profile-card { margin: 0; max-width: none; box-shadow: 0 4px 16px #11192304; }
.dashboard-shell :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #007f70; outline-offset: 4px; }
.dashboard-shell [hidden] { display: none !important; }
@media (max-width: 1050px) {
  .dashboard-shell { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .dashboard-heading { flex-wrap: wrap; }
  .dashboard-tools { flex-wrap: wrap; }
  .dashboard-result-count { padding: 0; width: 100%; }
  .dashboard-stats > div { padding: 14px; }
}
@media (max-width: 800px) {
  .dashboard-shell { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .dashboard-sidebar { position: static; padding: 16px; }
  .dashboard-person { padding-bottom: 0; }
  .dashboard-sidebar-create, .dashboard-tip { display: none; }
  .dashboard-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
  .dashboard-nav > a, .dashboard-nav button { font-size: 12px; padding: 10px; gap: 7px; }
  .dashboard-nav form { border: 0; margin: 0; padding: 0; }
  .dashboard-nav .dashboard-icon { width: 18px; height: 18px; }
}
@media (max-width: 560px) {
  .dashboard-heading { align-items: stretch; gap: 16px; }
  .dashboard-heading > div, .dashboard-heading > .dashboard-create { width: 100%; }
  .dashboard-heading-actions > a { width: 100%; }
  .dashboard-stats { gap: 8px; }
  .dashboard-stats > div { padding: 12px 8px; }
  .dashboard-stats span { font-size: 10px; }
  .dashboard-stats strong { font-size: 24px; }
  .dashboard-stats small { display: none; }
  .dashboard-listing-grid { grid-template-columns: minmax(0, 1fr); }
  .dashboard-search, .dashboard-status-filter { flex: 1 1 100%; }
  .dashboard-empty { padding: 36px 18px; }
  .dashboard-empty h2 { font-size: 18px; }
  .dashboard-content .profile-heading { gap: 12px; }
  .dashboard-content .profile-heading h1 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-shell *, .dashboard-shell *::before, .dashboard-shell *::after { transition: none; }
}
