
/* /src/features/workspace.css */
.workspace {
  --ink: #172d35;
  --muted: #586b72;
  --line: #dce3df;
  --paper: #f6f7f2;
  --accent: #075e4b;
  --nav: #102b32;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
}
.workspace h1,
.workspace h2,
.workspace h3,
.dialog-card h2,
.detail-drawer h2 {
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.workspace h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 52px);
  max-width: 790px;
}
.workspace h2 {
  font-size: 24px;
}
.workspace h3 {
  font-size: 17px;
  font-weight: 600;
}
.workspace p {
  margin: 0;
}
.workspace button,
.dialog-card button,
.detail-drawer button {
  cursor: pointer;
}
.workspace button:disabled,
.dialog-card button:disabled,
.detail-drawer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.workspace a,
.workspace button,
.workspace input,
.workspace select,
.workspace textarea,
.dialog-card input,
.dialog-card select,
.dialog-card textarea,
.detail-drawer input,
.detail-drawer textarea {
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.workspace :focus-visible,
.dialog-card :focus-visible,
.detail-drawer :focus-visible {
  outline: 3px solid #16856c;
  outline-offset: 4px;
}
.workspace-nav {
  width: 240px;
  flex-shrink: 0;
  background: var(--nav);
  color: #cbdcd9;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.brand-mark {
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1;
  border: 1px solid #50736c;
  padding: 10px 8px;
}
.brand-mark span {
  color: #69cbb3;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #aec5c0;
  margin-top: 3px;
}
.nav-section {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin: 42px 10px 14px;
  color: #9db7b1;
}
.workspace-nav nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.workspace-nav nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 4px;
  text-decoration: none;
  color: #cbdcd9;
  font-size: 13px;
}
.workspace-nav nav a:hover,
.workspace-nav nav .selected {
  background: #24463f;
  color: #fff;
}
.planned-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 10px;
  color: #a6bdb7;
  font-size: 12px;
}
.planned-nav > * {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-foot {
  margin-top: auto;
  padding-top: 50px;
}
.nav-foot p {
  font-family: Georgia, serif;
  font-size: 22px;
  color: #e1ebe4;
  margin: 12px 0;
}
.nav-foot small {
  display: block;
  color: #a6bdb7;
  font-size: 10px;
  max-width: 160px;
}
.workspace-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.workspace-top {
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  padding: 16px 38px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.workspace-top > a {
  display: flex;
  gap: 8px;
  align-items: center;
}
.top-divider {
  margin: 0 15px;
  color: #899f94;
}
.account-chip {
  display: flex;
  gap: 13px;
  align-items: center;
  letter-spacing: 0;
  font-size: 12px;
}
.icon-button {
  border: 0;
  background: transparent;
  padding: 10px;
  color: var(--ink);
}
.workspace-content {
  max-width: 1450px;
  width: 100%;
  margin: auto;
  padding: 42px 38px 60px;
  flex: 1;
}
.page-heading {
  margin-bottom: 23px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #587066;
  font-weight: 700;
  margin-bottom: 14px !important;
  text-transform: uppercase;
}
.tiny-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
}
.page-subtitle,
.market-intro > p {
  color: var(--muted);
  font-size: 14px;
  max-width: 550px;
}
.market-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.primary-button {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  background: #075e4b !important;
  color: white !important;
  border: 1px solid #075e4b !important;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.primary-button:hover {
  background: #064a3c !important;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.market-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  min-height: 65px;
}
.market-tabs > button {
  border: 0;
  background: transparent;
  align-self: stretch;
  padding: 20px 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  border-bottom: 2px solid transparent;
}
.market-tabs > button.active {
  color: #075e4b;
  border-bottom-color: #075e4b;
}
.refresh-note {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
}
.filter-bar {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 170px;
  background: #f7f9f6;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
}
.search-field input {
  border: 0 !important;
  background: transparent !important;
  width: 100%;
  margin: 0 !important;
}
.filter-select {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.filter-select select {
  margin: 0 !important;
  min-width: 130px;
}
.want-list {
  width: 100%;
}
.want-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 0.7fr) 90px 20px;
  gap: 22px;
  padding: 26px 24px;
  border: 0;
  border-bottom: 1px solid #e7ece8;
  background: #fff;
  text-align: left;
  align-items: center;
  color: var(--ink);
}
.want-row:hover {
  background: #f5f8f3;
}
.want-row h3 {
  margin: 8px 0;
}
.want-row p {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}
.want-budget {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.want-budget strong {
  font-size: 14px;
  font-weight: 600;
}
.want-budget > span:last-child {
  font-size: 11px;
  color: var(--muted);
}
.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  padding: 5px 9px;
  background: #edf2ee;
  color: #365a4a;
  font-size: 10px;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.status-pending,
.status-negotiating {
  background: #fff1d2;
  color: #795509;
}
.status-suspended,
.status-rejected,
.status-cancelled {
  background: #fae9e5;
  color: #96352e;
}
.status-approved,
.status-open,
.status-accepted {
  background: #e6f4ed;
  color: #176046;
}
.status-superadmin {
  background: #e4edf4;
  color: #274860;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 24px;
  font-size: 11px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  gap: 8px;
}
.pagination button,
.action-row > button:not(.primary-button) {
  border: 1px solid #cad6cd;
  background: #fff;
  padding: 9px 13px;
  border-radius: 4px;
  font-size: 11px;
  color: #203c32;
  min-height: 40px;
}
.market-disclosure {
  display: flex;
  gap: 26px;
  margin-top: 28px;
  padding: 0 4px;
  align-items: flex-start;
  color: var(--muted);
}
.market-disclosure > span {
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 700;
  min-width: 150px;
}
.market-disclosure p {
  font-size: 11px;
  max-width: 600px;
}
.workspace-footer {
  border-top: 1px solid var(--line);
  padding: 20px 38px;
  color: var(--muted);
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}
.loading-state,
.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.empty-state h2 {
  color: var(--ink);
}
.empty-state p {
  max-width: 480px;
  line-height: 1.8;
}
.notice {
  padding: 14px 16px;
  margin: 14px 0;
  border: 1px solid #a8ccba;
  background: #edf8f0;
  color: #23543c;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.7;
}
.notice-error {
  border-color: #e6bcb5;
  background: #fff0ed;
  color: #912f29;
}
.notice button {
  text-decoration: underline;
  margin-left: 10px;
}
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 35, 0.5);
  backdrop-filter: blur(3px);
  z-index: 100;
}
.dialog-card,
.detail-drawer {
  font-family: "DM Sans", sans-serif;
  position: fixed;
  z-index: 101;
  background: #fff;
  color: #172d35;
  box-shadow: 0 20px 80px #0003;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
}
.dialog-card {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  border-radius: 8px;
  padding: 36px;
}
.detail-drawer {
  inset: 0 0 0 auto;
  width: min(610px, 100%);
  padding: 40px;
}
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: #f1f4f0;
  color: #254136;
  border-radius: 50%;
}
.dialog-card h2,
.detail-drawer h2 {
  font-size: 27px;
  margin: 10px 28px 12px 0;
}
.dialog-card [id$="description"],
.detail-drawer [id$="description"] {
  font-size: 12px;
  color: #60726a;
  line-height: 1.7;
}
.workspace form,
.dialog-card form,
.detail-drawer form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 25px;
}
.workspace form label,
.dialog-card form label,
.detail-drawer form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #30483d;
}
.workspace input,
.workspace select,
.workspace textarea,
.dialog-card input,
.dialog-card select,
.dialog-card textarea,
.detail-drawer input,
.detail-drawer textarea {
  border: 1px solid #cfd9d1;
  background: #fff;
  border-radius: 4px;
  padding: 11px 12px;
  color: #172d35;
  font-size: 13px;
  min-height: 44px;
  max-width: 100%;
  width: 100%;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fine-print {
  font-size: 11px !important;
  color: #586b62 !important;
  line-height: 1.8 !important;
}
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  margin: 24px 0;
}
.detail-facts > span {
  display: flex;
  align-items: center;
}
.detail-budget {
  background: #eff4ec;
  border: 1px solid #dce7d8;
  padding: 20px;
  margin-bottom: 20px;
}
.detail-budget strong {
  display: block;
  font-size: 18px;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.detail-notes {
  white-space: pre-wrap;
  font-size: 14px;
  margin-bottom: 15px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 25px 0 18px;
}
.section-heading h2 {
  font-size: 20px;
  margin: 0;
}
.section-heading > span {
  font-size: 11px;
  color: #586b62;
}
.section-heading p {
  color: #586b62;
  font-size: 12px;
  margin-top: 8px;
}
.action-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.danger-button {
  color: #9a3529 !important;
}
.offer-card {
  border: 1px solid #dce3df;
  padding: 20px;
  margin-bottom: 12px;
  border-radius: 5px;
}
.offer-card .section-heading {
  margin: 0 0 10px;
}
.offer-card h3 {
  font-size: 19px;
  margin: 12px 0;
}
.offer-card p {
  white-space: pre-wrap;
  font-size: 13px;
}
.offer-form {
  padding: 24px;
  background: #f4f7f1;
  border-radius: 5px;
}
.history {
  margin-top: 30px;
  border-top: 1px solid #dce3df;
}
.history > div {
  display: flex;
  gap: 12px;
  padding: 10px 0;
}
.history-dot {
  width: 7px;
  height: 7px;
  background: #63826b;
  flex-shrink: 0;
  border-radius: 50%;
  margin-top: 6px;
}
.history p {
  font-size: 11px;
}
.history small {
  display: block;
  color: #586b62;
  font-size: 10px;
  margin-top: 5px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 430px);
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}
.auth-story {
  padding-top: 24px;
}
.auth-story h2 {
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  margin: 22px 0;
}
.auth-story em {
  color: #08715a;
  font-weight: 400;
}
.auth-story > p {
  max-width: 340px;
  color: #586b62;
}
.auth-principles {
  margin-top: 40px;
}
.auth-principles div {
  display: flex;
  gap: 15px;
  border-top: 1px solid #dce3df;
  padding: 18px 0;
  font-size: 12px;
}
.auth-principles span {
  color: #778b7d;
  font-variant-numeric: tabular-nums;
}
.auth-card {
  background: #fff;
  border: 1px solid #dce3df;
  padding: 28px;
  border-radius: 6px;
}
.auth-card h2 {
  font-size: 23px;
  margin: 28px 0 10px;
}
.auth-card > p {
  font-size: 12px;
  color: #586b62;
}
.auth-card .fine-print {
  margin-top: 22px;
}
.auth-card small {
  font-size: 10px;
  color: #586b62;
}
.segmented {
  display: flex;
  background: #eff3ed;
  border-radius: 5px;
  padding: 4px;
  gap: 4px;
}
.segmented button {
  flex: 1;
  border: 0;
  padding: 10px;
  background: transparent;
  border-radius: 3px;
  color: #586b62;
  font-size: 12px;
}
.segmented button.active {
  background: #fff;
  color: #173c2a;
  box-shadow: 0 1px 5px #0001;
}
.role-select {
  border: 0;
  padding: 0;
  margin: 18px 0 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.role-select legend {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #586b62;
  padding: 0;
  margin-bottom: 8px;
}
.role-select label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #dce3df;
  border-radius: 5px;
  padding: 12px;
  cursor: pointer;
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.role-select label:hover {
  border-color: #b9c8c1;
}
.role-select label.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.role-select input {
  width: auto;
  margin-top: 2px;
  accent-color: var(--accent);
}
.role-select span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  font-weight: 600;
  color: #173c2a;
}
.role-select span small {
  font-size: 10px;
  font-weight: 400;
  color: #586b62;
  line-height: 1.5;
}
.profile-panel,
.welcome-card {
  max-width: 640px;
  padding: 28px;
}
.welcome-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid #dce3df;
  background: #fff;
}
.welcome-card p {
  color: #586b62;
  line-height: 1.8;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.admin-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
@media (max-width: 767px) {
  .admin-entry {
    align-items: flex-start;
    flex-direction: column;
  }
}
.admin-metrics > div {
  border-top: 2px solid #aac0ad;
  padding: 16px 12px;
  background: #eef2eb;
}
.admin-metrics span {
  display: block;
  font-size: 10px;
  color: #586b62;
}
.admin-metrics strong {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  display: block;
  margin-top: 8px;
}
.dealer-row {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e1e7e1;
  padding: 20px 24px;
}
.dealer-avatar {
  background: #edf2e8;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 20px;
  flex-shrink: 0;
}
.dealer-info {
  flex: 1;
  min-width: 0;
}
.dealer-info h3 {
  margin-bottom: 6px;
}
.dealer-info p,
.dealer-info small {
  font-size: 11px;
  color: #586b62;
  overflow-wrap: anywhere;
}
.audit-list article {
  display: grid;
  grid-template-columns: 150px 1fr 130px;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid #e1e7e1;
  font-size: 11px;
}
.audit-list p {
  margin: 5px 0;
  color: #586b62;
}
.audit-list small {
  font-size: 9px;
  overflow-wrap: anywhere;
}
.audit-list time {
  color: #586b62;
  font-size: 10px;
}
.audit-action {
  font-family: monospace;
  color: #075e4b;
}
@media (min-width: 1600px) {
  .workspace-content {
    padding-top: 55px;
  }
  .want-row {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
@media (max-width: 1100px) {
  .workspace-nav {
    width: 205px;
    padding: 28px 17px;
  }
  .workspace-content {
    padding: 32px 24px;
  }
  .workspace-top {
    padding: 16px 24px;
  }
  .refresh-note {
    display: none;
  }
  .want-row {
    grid-template-columns: 1fr 160px 76px;
    gap: 15px;
  }
  .want-row > svg {
    display: none;
  }
  .auth-layout {
    gap: 25px;
  }
  .auth-story h2 {
    font-size: 32px;
  }
  .brand {
    font-size: 15px;
  }
  .brand-logo {
    width: 36px;
    height: 36px;
  }
  .brand-mark {
    font-size: 26px;
  }
  .dealer-row {
    gap: 12px;
  }
  .dealer-avatar {
    display: none;
  }
  .admin-metrics {
    gap: 6px;
  }
}
@media (max-width: 767px) {
  .workspace {
    display: block;
  }
  .workspace-nav {
    position: static;
    width: 100%;
    height: auto;
    padding: 18px 20px;
    display: block;
  }
  .brand {
    font-size: 17px;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand-mark {
    font-size: 25px;
    padding: 7px;
  }
  .workspace-nav nav {
    flex-direction: row;
    gap: 5px;
    margin-top: 20px;
    flex-wrap: wrap;
  }
  .workspace-nav nav a {
    font-size: 11px;
    padding: 10px;
  }
  .nav-section,
  .planned-nav,
  .nav-foot {
    display: none;
  }
  .workspace-top {
    padding: 13px 20px;
    min-height: 58px;
  }
  .workspace-top > span {
    display: none;
  }
  .account-chip {
    width: 100%;
    justify-content: space-between;
  }
  .workspace-content {
    padding: 28px 20px 40px;
  }
  .workspace h1 {
    font-size: 35px;
  }
  .market-intro {
    display: block;
  }
  .market-intro > p {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .market-tabs {
    gap: 22px;
    padding: 0 16px;
    min-height: 60px;
  }
  .market-tabs button {
    font-size: 11px;
  }
  .filter-bar {
    padding: 16px;
    gap: 12px;
  }
  .search-field {
    flex-basis: 100%;
  }
  .filter-select {
    flex: 1;
  }
  .filter-select select {
    min-width: 90px;
  }
  .want-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 22px 18px;
    gap: 16px;
  }
  .want-description {
    grid-column: 1/-1;
  }
  .want-row h3 {
    font-size: 18px;
    line-height: 1.35;
  }
  .want-budget {
    grid-column: 1;
  }
  .want-row .status-pill {
    grid-column: 2;
  }
  .market-disclosure {
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
  }
  .pagination {
    padding: 18px 14px;
    gap: 8px;
    font-size: 10px;
  }
  .pagination button {
    padding: 9px;
  }
  .workspace-footer {
    padding: 18px 20px;
  }
  .workspace-footer > span {
    display: none;
  }
  .auth-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
  }
  .auth-story {
    padding-top: 0;
  }
  .auth-story h2,
  .auth-principles {
    display: none;
  }
  .auth-card {
    width: 100%;
    padding: 22px;
  }
  .detail-drawer {
    padding: 34px 22px;
  }
  .detail-drawer h2 {
    font-size: 25px;
  }
  .detail-budget strong {
    font-size: 16px;
  }
  .dialog-card {
    padding: 30px 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-metrics strong {
    font-size: 29px;
  }
  .dealer-row {
    flex-wrap: wrap;
    padding: 20px 16px;
    gap: 14px;
  }
  .dealer-info {
    flex-basis: 65%;
  }
  .dealer-row .action-row {
    margin: 0;
  }
  .audit-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }
  .empty-state {
    padding: 36px 18px;
  }
  .profile-panel {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace *,
  .dialog-card *,
  .detail-drawer * {
    transition: none !important;
    animation: none !important;
  }
}

/* Focused entry experience: the workspace chrome begins after authentication. */
.auth-page {
  height: 100dvh;
  overflow: hidden;
  background: #eeeae1;
  color: #192a31;
  font-family: "DM Sans", sans-serif;
}
.auth-brand {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 38px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #f8f5ec;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.auth-brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}
.auth-brand span {
  display: block;
  margin-left: 3px;
  color: #d1bd94;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.auth-page .auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  min-height: 100dvh;
  gap: 0;
  margin: 0;
  align-items: stretch;
}
.auth-page .auth-story {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 150px clamp(40px, 6vw, 110px) clamp(52px, 6vw, 85px);
  isolation: isolate;
  overflow: hidden;
  color: #f7f2e9;
  background: #0c2420;
}
/* Full-bleed cover image */
.auth-story-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
/* Dark green → transparent overlay: strong on left & bottom, fades right */
.auth-story-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to right,
      rgba(6, 28, 24, 0.85) 0%,
      rgba(6, 28, 24, 0.6) 38%,
      rgba(6, 28, 24, 0.1) 100%
    ),
    linear-gradient(to top, rgba(6, 28, 24, 0.72) 0%, rgba(6, 28, 24, 0) 28%);
}
.auth-story-copy {
  position: relative;
  max-width: 640px;
}
.auth-kicker {
  color: #d8c49c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.auth-page .auth-story h1 {
  max-width: 620px;
  margin: 18px 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.auth-page .auth-story-copy > p:not(.auth-kicker) {
  max-width: 470px;
  color: #e3e6df;
  font-size: 15px;
  line-height: 1.8;
}
.auth-story-rule {
  display: flex;
  gap: 20px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid #e9dcc052;
  color: #e2dacb;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.auth-story-rule span {
  color: #d7b87d;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 88px 36px;
  background: #f7f5f0;
  overflow-y: auto;
}
.auth-page .auth-card,
.auth-status {
  width: min(100%, 430px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.auth-page .auth-card h2,
.auth-status h1 {
  margin: 38px 0 10px;
  color: #17272e;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.auth-page .auth-card > p,
.auth-status p {
  color: #55636a;
  font-size: 13px;
  line-height: 1.7;
}
.auth-page .segmented {
  padding: 5px;
  border: 1px solid #d9dcd5;
  background: #eaece7;
}
.auth-page .segmented button {
  min-height: 40px;
  font-size: 13px;
}
.auth-page form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}
.auth-page form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #2e3e40;
  font-size: 12px;
  font-weight: 600;
}
.auth-page input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbd2cc;
  border-radius: 5px;
  background: #fff;
  color: #192a31;
  font-size: 14px;
}
.auth-page :focus-visible {
  outline: 2px solid #4aaf86;
  outline-offset: 3px;
}
.auth-page .segmented button:focus-visible {
  outline: 2px solid #4aaf86;
  outline-offset: 2px;
  border-radius: 3px;
}
.auth-page .primary-button {
  width: 100%;
  min-height: 49px;
  margin-top: 6px;
  background: #193c38 !important;
  border-color: #193c38 !important;
  font-size: 13px;
}
.auth-page .primary-button:hover {
  background: #102f2c !important;
}
.auth-page .fine-print {
  margin-top: 28px !important;
}
.auth-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.auth-status h1 {
  margin: 5px 0 0;
}
.auth-status .primary-button {
  margin-top: 18px;
}

/* Operational pages keep the market and approval queue near the top of the viewport. */
.workspace-nav {
  width: 212px;
  padding: 24px 17px;
}
.workspace-nav nav {
  margin-top: 30px;
}
.workspace-nav nav a {
  padding: 10px 11px;
}
.nav-foot {
  padding-top: 28px;
}
.nav-foot p {
  font-size: 17px;
  line-height: 1.35;
}
.workspace-top {
  min-height: 62px;
  padding: 12px 30px;
}
.workspace-content {
  padding: 28px 30px 45px;
}
.page-heading {
  margin-bottom: 18px;
}
.page-heading .eyebrow {
  margin-bottom: 6px !important;
}
.workspace .page-heading h1 {
  max-width: none;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.045em;
}
.market-intro {
  margin-bottom: 18px;
}
.admin-metrics {
  margin: 18px 0;
}
.market-tabs {
  min-height: 54px;
}
.market-tabs > button {
  padding: 14px 0;
}

@media (max-width: 900px) {
  .auth-page .auth-layout {
    display: flex;
    flex-direction: column-reverse;
  }
  .auth-page .auth-story {
    /* Short banner at top when form is stacked below */
    min-height: 140px;
    max-height: 200px;
    padding: 22px 28px;
    align-items: flex-start;
  }
  .auth-page .auth-story h1,
  .auth-story-rule {
    display: none;
  }
  .auth-page .auth-story-copy > p:not(.auth-kicker) {
    font-size: 12px;
    line-height: 1.5;
    max-width: 380px;
  }
  .auth-story-bg {
    object-position: center 30%;
  }
  .auth-main {
    flex: 1;
    align-items: flex-start;
    padding: 42px 28px 55px;
  }
  .auth-brand {
    top: 20px;
    left: 24px;
  }
}
@media (max-width: 767px) {
  .auth-page .auth-layout {
    display: flex;
    flex-direction: column-reverse;
  }
  .auth-brand {
    position: relative;
    top: auto;
    left: auto;
    padding: 16px 22px;
    background: #17272e;
  }
  .auth-brand img {
    width: 36px;
    height: 36px;
  }
  .auth-page .auth-story {
    /* Collapsed to a very short banner so the form is reached first */
    min-height: 0;
    max-height: 88px;
    padding: 16px 22px;
    align-items: flex-start;
    overflow: hidden;
  }
  .auth-architecture,
  .auth-story-rule,
  .auth-page .auth-story h1,
  .auth-page .auth-story-copy > p:not(.auth-kicker) {
    display: none;
  }
  .auth-kicker {
    font-size: 9px;
  }
  .auth-main {
    flex: 1;
    align-items: flex-start;
    padding: 35px 22px 55px;
  }
  .auth-page .auth-card h2,
  .auth-status h1 {
    font-size: 26px;
    margin-top: 26px;
  }
  .workspace-nav {
    width: 100%;
    padding: 15px 19px;
  }
  .workspace-nav nav {
    margin-top: 13px;
  }
  .workspace-content {
    padding: 23px 19px 36px;
  }
  .workspace-top {
    padding: 10px 19px;
  }
  .workspace .page-heading h1 {
    font-size: 27px;
  }
}

/* ─── Property Verification & Governance Workspace ───────────────────────────── */

.verification-header-banner {
  background: linear-gradient(135deg, #112922 0%, #0d1f19 100%);
  border: 1px solid #1f473b;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  color: #e5e7eb;
}
.banner-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #22c55e;
  margin-bottom: 0.5rem;
}
.banner-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}
.banner-fineprint {
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
  margin: 0;
}

.verification-badge {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin: 0.75rem 0;
  font-size: 0.85rem;
  line-height: 1.4;
}
.badge-verified {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
}
.badge-rejected {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}
.badge-revoked {
  background: rgba(185, 28, 28, 0.12);
  border: 1px solid rgba(185, 28, 28, 0.5);
  color: #991b1b;
}
.badge-unverified {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #854d0e;
}
.badge-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.badge-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.badge-org {
  font-weight: 600;
  color: #1e293b;
}
.badge-scope {
  color: #334155;
  margin: 0.15rem 0;
}
.badge-date {
  font-size: 0.75rem;
  color: #64748b;
}
.badge-disclaimer {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.25rem;
  font-style: italic;
}

.submissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.submission-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.submission-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.submission-price {
  font-weight: 700;
  color: #112922;
  font-size: 1.1rem;
  margin-top: 0.25rem;
}
.claim-snippet {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  margin: 0.75rem 0 0.5rem;
}
.claim-snippet p {
  font-size: 0.85rem;
  color: #334155;
  margin: 0.2rem 0 0;
}
.rejection-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}
.submission-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.queue-item-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 1.25rem;
}
.queue-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.queue-item-claims {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  gap: 1rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.claim-column {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.evidence-ref {
  font-family: monospace;
  font-size: 0.85rem;
  color: #0f766e;
  word-break: break-all;
}
.review-history-accordion {
  margin: 0.75rem 0;
  padding: 0.5rem 0.75rem;
  border-left: 2px solid #94a3b8;
  font-size: 0.8rem;
  color: #475569;
}
.review-history-accordion ul {
  margin: 0.25rem 0 0;
  padding-left: 1rem;
}
.queue-item-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
}
.conflict-warning {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
}
.button-destructive {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.button-destructive:hover {
  background: #b91c1c;
}
.button-destructive-outline {
  background: transparent;
  color: #dc2626;
  border: 1px solid #dc2626;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
}
.button-destructive-outline:hover {
  background: #fef2f2;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.projects-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.project-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.sub-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  border-radius: 8px;
}

/* ─── Chart Reset & Crosshairs ────────────────────────────────────────────────── */

.chart-reset-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: #475569;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  margin-left: 4px;
}
.chart-reset-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.chart-crosshair-v {
  stroke: #94a3b8;
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.chart-crosshair-h {
  stroke: #94a3b8;
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

/* ─── Collapsible sidebar ─────────────────────────────────────────────────── */
.nav-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.nav-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #2c4a44;
  color: #aec5c0;
  border-radius: 6px;
  padding: 7px;
}
.nav-toggle:hover {
  background: #24463f;
  color: #fff;
}
@media (min-width: 768px) {
  .workspace-nav.collapsed {
    width: 70px;
    padding-left: 11px;
    padding-right: 11px;
  }
  .workspace-nav.collapsed .nav-brand-row {
    flex-direction: column;
    gap: 14px;
  }
  .workspace-nav.collapsed .brand {
    justify-content: center;
  }
  .workspace-nav.collapsed .brand span {
    display: none;
  }
  .workspace-nav.collapsed nav a {
    justify-content: center;
    padding: 12px 0;
  }
  .workspace-nav.collapsed nav a span {
    display: none;
  }
}

.workspace-terminal .workspace-content {
  padding: 20px;
}
.workspace-terminal .terminal-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.workspace-terminal .workspace-footer {
  padding-block: 14px;
}
@media (max-width: 767px) {
  .workspace-terminal .workspace-content {
    padding: 10px;
  }
  .workspace-nav.collapsed nav,
  .workspace-nav.collapsed .nav-foot {
    display: none;
  }
  .workspace-nav.collapsed {
    padding-block: 10px;
  }
}


/* /src/features/live-market.css */
.live-page {
  --live-bg: #15262b;
  --live-panel: #1a3034;
  --live-line: #385055;
  --live-muted: #b0c0bb;
  --live-gold: #dbbb7c;
  color: #f5f4ee;
  background: var(--live-bg);
  border: 1px solid #35484b;
  border-radius: 9px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.live-page p {
  margin: 0;
}
.live-demo-banner {
  padding: 9px 18px;
  background: #ddc38d;
  color: #1b2d30;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.live-demo-tag {
  padding: 2px 5px;
  border: 1px solid var(--live-gold);
  color: var(--live-gold);
  font-size: 9px;
}
.live-toolbar {
  min-height: 83px;
  padding: 19px 24px;
  border-bottom: 1px solid var(--live-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.live-toolbar > div > p:last-child {
  color: var(--live-muted);
  font-size: 12px;
  margin-top: 5px;
}
.live-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--live-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live-toolbar .primary-button,
.live-bid-form .primary-button {
  background: #cfb278 !important;
  color: #14252a !important;
  border-color: #cfb278 !important;
}
.live-toolbar .primary-button:hover,
.live-bid-form .primary-button:hover {
  background: #e3c68e !important;
}
.live-readonly {
  color: var(--live-gold);
  font-size: 11px;
}
.live-grid {
  display: grid;
  grid-template-columns: minmax(245px, 0.95fr) minmax(280px, 1.3fr) minmax(250px, 0.9fr);
  min-height: 620px;
}
.live-grid > section {
  min-width: 0;
}
.live-browser,
.live-property {
  border-right: 1px solid var(--live-line);
}
.live-panel-head {
  min-height: 49px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--live-line);
  color: var(--live-gold);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.live-panel-head strong,
.live-panel-head > span:last-child:not(:first-child) {
  color: #d5ddd7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}
.live-panel-head .status-pill {
  letter-spacing: 0;
}
.live-filters {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--live-line);
}
.live-filters label {
  position: relative;
}
.live-filters label svg {
  position: absolute;
  top: 12px;
  left: 10px;
  color: var(--live-muted);
}
.live-page .live-filters input,
.live-page .live-filters select,
.live-page .live-bid-form input,
.live-page .live-bid-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 9px 10px;
  background: #20383b;
  border: 1px solid #496063;
  border-radius: 4px;
  color: #f4f3ec;
  font-size: 12px;
}
.live-page input::placeholder,
.live-page textarea::placeholder {
  color: #a8b7b1;
}
.live-page .live-filters label input {
  padding-left: 32px;
}
.live-filter-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}
.live-page select option {
  color: #15262b;
  background: #fff;
}
.live-listing {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  padding: 17px 18px;
  border: 0;
  border-bottom: 1px solid var(--live-line);
  background: transparent;
  color: #f6f4ed;
  text-align: left;
}
.live-listing:hover,
.live-listing.selected {
  background: #264045;
}
.live-listing.selected {
  box-shadow: inset 3px 0 var(--live-gold);
}
.live-listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  color: var(--live-gold);
  font-size: 10px;
}
.live-listing > strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}
.live-listing > span:not(.live-listing-meta):not(.live-listing-prices) {
  color: var(--live-muted);
  font-size: 11px;
}
.live-listing-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 5px 0;
}
.live-listing-prices > span {
  color: var(--live-muted);
  font-size: 9px;
}
.live-listing-prices b {
  display: block;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.live-listing small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--live-muted);
  font-size: 10px;
}
.live-page .pagination {
  border-top: 1px solid var(--live-line);
  color: var(--live-muted);
}
.live-page .pagination button {
  color: #e4ded0;
  background: #294044;
  border-color: #526668;
}
.live-info {
  padding: 24px 17px;
  color: var(--live-muted);
  font-size: 12px;
  line-height: 1.6;
}
.live-page .notice {
  margin: 16px;
}
.live-property-body {
  padding: 25px;
}
.live-property-body h2 {
  margin: 12px 0;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.live-location,
.live-synced {
  color: var(--live-muted);
  font-size: 11px;
}
.live-price {
  padding: 20px 0;
  margin: 21px 0 16px;
  border-block: 1px solid var(--live-line);
}
.live-price span,
.live-bid-summary > span {
  display: block;
  color: var(--live-gold);
  font-size: 10px;
  letter-spacing: 0.13em;
}
.live-price strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 35px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.live-description {
  color: #d6e0d8;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.live-counterparty {
  margin-top: 15px !important;
  color: var(--live-gold);
  font-size: 12px;
}
.live-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0 10px;
}
.live-metadata span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: #284146;
  color: #e6ece5;
  border: 1px solid var(--live-line);
  border-radius: 4px;
  font-size: 11px;
}
.live-connection.connected {
  color: #c0e8d2;
}
.live-connection.reconnecting {
  color: #efd6a3;
}
.live-activity {
  margin-top: 30px;
  border-top: 1px solid var(--live-line);
  padding-top: 23px;
}
.live-activity h3,
.live-bid-form h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.live-activity > p,
.live-bid-form > p {
  color: var(--live-muted);
  font-size: 11px;
  line-height: 1.6;
}
.live-activity > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--live-line);
  font-size: 11px;
}
.live-activity strong {
  color: #fff;
}
.live-activity small {
  grid-column: 1 / -1;
  color: var(--live-muted);
}
.live-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 480px;
  padding: 40px;
}
.live-empty > span {
  color: var(--live-gold);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.live-empty h2 {
  max-width: 320px;
  margin: 20px 0;
  font-family: Georgia, serif;
  font-size: 37px;
  font-weight: 400;
}
.live-empty p {
  color: var(--live-muted);
  font-size: 13px;
}
.live-bids-body {
  padding: 18px;
}
.live-bid-summary {
  border-bottom: 1px solid var(--live-line);
  padding: 0 0 17px;
}
.live-bid-summary strong {
  display: block;
  font-size: 21px;
  margin: 7px 0;
}
.live-bid-summary small {
  display: block;
  color: var(--live-muted);
  font-size: 10px;
  line-height: 1.5;
}
.live-bid-list {
  margin: 10px 0 20px;
}
.live-bid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--live-line);
}
.live-bid-row > div {
  min-width: 0;
}
.live-bid-row strong {
  display: block;
  margin: 4px 0;
  font-size: 16px;
}
.live-alias {
  color: var(--live-gold);
  font-size: 10px;
  letter-spacing: 0.05em;
}
.live-bid-row small {
  display: block;
  color: var(--live-muted);
  font-size: 10px;
}
.live-bid-row .live-identity {
  color: #e6e6d5;
  margin-top: 5px;
}
.live-accept,
.live-secondary {
  min-height: 35px;
  padding: 8px 12px;
  border: 1px solid #a6936b;
  border-radius: 4px;
  background: transparent;
  color: #f0d394;
  font-size: 11px;
}
.live-accept:hover,
.live-secondary:hover {
  background: #3a4940;
}
.live-bid-form {
  display: flex !important;
  flex-direction: column;
  gap: 15px;
  padding: 17px;
  margin: 22px 0 !important;
  background: #243a3e;
  border: 1px solid var(--live-line);
  border-radius: 5px;
}
.live-bid-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #e8e8df;
  font-size: 11px;
}
.live-bid-form .primary-button {
  width: 100%;
}
.live-policy {
  display: flex;
  gap: 7px;
  color: var(--live-muted);
  font-size: 10px;
  line-height: 1.5;
}
.live-editor .live-kicker {
  margin-bottom: 9px;
}
.live-mobile-tabs {
  display: none;
}
.live-page :focus-visible,
.live-editor :focus-visible {
  outline: 3px solid #edce8b;
  outline-offset: 2px;
}
@media (max-width: 1200px) {
  .live-grid {
    grid-template-columns: minmax(220px, 0.9fr) minmax(265px, 1.2fr) minmax(220px, 0.95fr);
  }
  .live-property-body {
    padding: 18px;
  }
  .live-bids-body {
    padding: 14px;
  }
}
@media (max-width: 900px) {
  .live-grid {
    grid-template-columns: minmax(220px, 0.9fr) minmax(270px, 1.1fr);
  }
  .live-bids {
    grid-column: 1 / -1;
    border-top: 1px solid var(--live-line);
  }
  .live-bids-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .live-bid-form {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}
@media (max-width: 700px) {
  .live-toolbar {
    align-items: flex-start;
    padding: 17px;
    flex-wrap: wrap;
  }
  .live-toolbar .primary-button {
    width: 100%;
  }
  .live-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--live-line);
  }
  .live-mobile-tabs button {
    min-height: 45px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--live-muted);
    font-size: 11px;
  }
  .live-mobile-tabs button[aria-pressed="true"] {
    border-color: var(--live-gold);
    color: #fff;
  }
  .live-grid {
    display: block;
    min-height: 540px;
  }
  .live-grid > section {
    display: none;
    border: 0;
  }
  .live-grid[data-mobile-tab="browse"] .live-browser,
  .live-grid[data-mobile-tab="detail"] .live-property,
  .live-grid[data-mobile-tab="bids"] .live-bids {
    display: block;
  }
  .live-bids-body {
    display: block;
    padding: 18px;
  }
  .live-bid-form {
    position: sticky;
    bottom: 0;
    margin-bottom: 0 !important;
    box-shadow: 0 -12px 28px #102025d9;
  }
  .live-property-body {
    padding: 21px;
  }
  .live-filters {
    grid-template-columns: 1fr 0.75fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-page *,
  .live-editor * {
    transition: none !important;
    animation: none !important;
  }
}

/* Compact, evidence-led trading terminal. */
.live-grid {
  grid-template-columns: minmax(205px, 0.7fr) minmax(380px, 1.7fr) minmax(245px, 0.9fr);
}
.live-property-body {
  padding: 20px;
}
.live-property-body h2 {
  font-size: 22px;
  line-height: 1.3;
}
.live-price strong {
  font-size: 26px;
}
.live-page label {
  color: #cbd8d5;
}
.market-chart {
  margin: 20px -8px;
  background: #101d25;
  border: 1px solid #34454f;
  border-radius: 6px;
  overflow: hidden;
}
.market-chart header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
.market-chart h3 {
  margin: 5px 0 0;
  font-size: 17px;
}
.chart-source {
  color: #65dcb3;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.chart-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 12px;
  border-block: 1px solid #30414b;
}
.chart-controls button,
.chart-controls select {
  background: transparent;
  color: #c5d4df;
  border: 1px solid #425660;
  border-radius: 3px;
  padding: 7px;
  font-size: 11px;
}
.chart-controls button[aria-pressed="true"] {
  background: #284650;
  color: #fff;
}
.chart-controls button:disabled {
  opacity: 0.45;
}
.chart-segment {
  padding: 10px 14px;
  color: #9baeba;
  font-size: 10px;
}
.chart-ohlc {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  padding: 0 14px 10px;
  font-size: 9px;
  color: #9cadb7;
}
.chart-ohlc b {
  color: #e1ecee;
  font-weight: 500;
}
.market-chart svg {
  width: 100%;
  min-height: 210px;
  display: block;
}
.market-chart svg text {
  fill: #9aafbc;
  font-size: 10px;
  font-family: inherit;
}
.chart-grid {
  stroke: #293c46;
  stroke-width: 0.7;
}
.chart-ask {
  stroke: #cfb278;
  stroke-dasharray: 5 5;
}
.market-chart .chart-ask-label {
  fill: #cfb278;
  font-size: 9px;
}
.chart-bid-line {
  stroke: #75b9ed;
  stroke-width: 2;
  fill: none;
}
.chart-bid-dot {
  fill: #75b9ed;
}
.candle-up {
  fill: #4fd6a9;
  stroke: #4fd6a9;
}
.candle-down {
  fill: #ed7f88;
  stroke: #ed7f88;
}
.market-chart footer {
  border-top: 1px solid #30414b;
  padding: 10px 14px;
  font-size: 9px;
  color: #adbdc7;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.chart-empty {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: #b1c2ce;
  font-size: 12px;
}
.chart-empty strong {
  color: #eef4f7;
  font-size: 15px;
}
.listing-verification {
  border: 1px solid #425b59;
  background: #1b3536;
  padding: 12px;
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.6;
}
.listing-verification strong {
  color: #9ce0bf;
}
.listing-verification small {
  color: #b6c8c4;
}
.verification-desk {
  padding: 16px 20px;
  border-bottom: 1px solid #385055;
}
.verification-desk summary {
  cursor: pointer;
  font-size: 13px;
  color: #dbc18e;
}
.verification-content {
  padding-top: 16px;
  font-size: 12px;
}
.verification-admin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.verification-content form,
.listing-verification form {
  display: grid;
  gap: 10px;
  padding: 16px 0;
}
.verification-content label,
.listing-verification label {
  display: grid;
  gap: 5px;
}
.verification-content input,
.verification-content select,
.verification-content textarea,
.listing-verification input,
.listing-verification select {
  background: #20383d;
  color: #f2f5f2;
  border: 1px solid #536c72;
  padding: 10px;
  border-radius: 4px;
  width: 100%;
}
.verification-content button,
.listing-verification button {
  background: #d4b981;
  color: #132b30;
  padding: 10px;
  border-radius: 4px;
}
.verification-item {
  border-top: 1px solid #385055;
}
@media (max-width: 1100px) {
  .live-grid {
    grid-template-columns: minmax(190px, 0.8fr) minmax(300px, 1.2fr);
  }
  .live-bids {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .live-grid {
    display: block;
  }
  .verification-admin {
    grid-template-columns: 1fr;
  }
  .market-chart {
    margin-inline: -8px;
  }
  .live-property-body {
    padding: 16px;
  }
}
.live-page .chart-controls select {
  width: auto;
  min-width: 0;
  max-width: 140px;
  padding: 6px 9px;
  height: 34px;
  margin: 0;
}
.live-page .chart-segment select {
  display: inline-block;
  width: auto;
  max-width: 220px;
  min-width: 0;
  margin: 0 0 0 8px;
  padding: 6px;
  font-size: 11px;
  background: #1c303b;
  color: #f0f5f7;
  border: 1px solid #425660;
}
.chart-controls {
  justify-content: space-between;
}
.chart-controls > div {
  display: flex;
  gap: 3px;
}
.chart-controls button {
  min-height: 34px;
}
.market-chart .chart-empty {
  min-height: 180px;
}
.market-chart svg {
  min-height: 280px;
}
@media (max-width: 760px) {
  .market-chart svg {
    min-height: 210px;
  }
  .live-page .chart-segment select {
    max-width: 180px;
  }
}


/* /src/features/live-board.css */
/* PlotSale exchange: a quiet, data-first trading floor. */
.board {
  --board-bg: #0c141c;
  --board-panel: #111e29;
  --board-line: #2a3a48;
  --board-ink: #f0f3f4;
  --board-muted: #afbec9;
  --board-up: #72dfba;
  --board-down: #ff969b;
  --board-accent: #dfc084;
  background: var(--board-bg);
  color: var(--board-ink);
  border: 1px solid var(--board-line);
  border-radius: 10px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.board p {
  margin: 0;
}
.board-masthead {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--board-line);
}
.board-masthead h1 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 6px 0;
}
.board-masthead p {
  color: var(--board-muted);
  font-size: 13px;
}
.board-kicker {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--board-accent);
  font-weight: 600;
}
.board-head-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.board-feed {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dfc084;
  font-size: 11px;
}
.board-feed.online {
  color: var(--board-up);
}
.board-list-action {
  background: var(--board-accent);
  color: #15202a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  min-height: 44px;
}
.board-data-note {
  padding: 9px 28px;
  font-size: 10px;
  letter-spacing: 0.025em;
  color: var(--board-muted);
  background: #15212d;
}
.board-demo-banner {
  padding: 8px 28px;
  font-size: 10px;
  color: #e5c68e;
  background: #352e21;
  border-bottom: 1px solid #685739;
}
.board .notice {
  margin: 10px 18px;
}
.board-ticker {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--board-line);
  background: #101b25;
}
.board-ticker-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--board-up);
  flex-shrink: 0;
}
.board-ticker-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  min-width: 0;
}
.tick {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 11px;
  padding: 9px 12px;
  border-left: 1px solid #34444e;
  color: #f1f4f5;
  background: transparent;
}
.tick.selected {
  background: #23323e;
}
.tick-name {
  color: var(--board-muted);
}
.tick-price {
  font-weight: 600;
}
.tick-up,
.board-up {
  color: var(--board-up);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.tick-down,
.board-down {
  color: var(--board-down);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.board-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 660px;
}
.board-rail {
  border-right: 1px solid var(--board-line);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  background: #101b25;
}
.board-rail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--board-muted);
  font-size: 10px;
  letter-spacing: 0.13em;
}
.board-rail-head span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.board-rail-head strong {
  color: #eef3f5;
}
.board input {
  border: 1px solid #526372;
  background: #172632;
  color: #f0f4f6;
  border-radius: 4px;
}
.board-filter {
  padding: 11px;
  width: 100%;
  font-size: 12px;
}
.board input::placeholder {
  color: #a9b8c4;
}
.board-kind {
  display: flex;
  gap: 5px;
}
.board-kind button {
  flex: 1;
  padding: 9px 4px;
  font-size: 11px;
  color: #b6c6d1;
  border: 1px solid #3b4c59;
  border-radius: 3px;
}
.board-kind button[aria-pressed="true"] {
  background: #dabe86;
  color: #172430;
  border-color: #dabe86;
}
.board-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 630px;
  overflow: auto;
  scrollbar-width: thin;
}
.board-card {
  text-align: left;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #17232e;
  border: 1px solid #2d3e4c;
  color: #f1f5f7;
  border-radius: 5px;
  flex-shrink: 0;
}
.board-card:hover {
  border-color: #748794;
}
.board-card.selected {
  border-color: var(--board-accent);
  box-shadow: inset 3px 0 0 var(--board-accent);
  background: #1e2d39;
}
.board-card-top,
.board-card-bottom,
.board-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.board-card-name {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
}
.board-card-sub {
  font-size: 10px;
  color: var(--board-muted);
}
.board-card-price {
  font-size: 12px;
  font-weight: 700;
}
.board-card-bottom {
  flex-wrap: wrap;
}
.board-card-bottom .board-up,
.board-card-bottom .board-down {
  font-size: 10px;
}
.board-card-meta {
  font-size: 10px;
  color: var(--board-muted);
}
.board-card-meta span {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.board-demo {
  font-size: 8px;
  letter-spacing: 0.08em;
  border: 1px solid #9d8550;
  padding: 2px 4px;
  color: #e1c48c;
}
.board-series-source,
.board-no-history {
  font-size: 9px;
  color: #b7c3cf;
}
.board-no-history {
  padding: 10px 0;
}
.board-spark {
  height: 32px;
  width: 100%;
  display: block;
}
.board .status-pill {
  font-size: 9px;
  background: #243d40;
  color: #a4e7ca;
}
.board-stage {
  padding: 18px;
  min-width: 0;
}
.board-stage-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 14px;
}
.board-stage-head h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 7px 0;
  color: #f6f7f8;
}
.board-sub {
  font-size: 11px;
  color: var(--board-muted);
}
.board-stage-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  flex-shrink: 0;
}
.board-stage-price strong {
  font-size: clamp(18px, 2vw, 27px);
  letter-spacing: -0.035em;
  font-weight: 600;
}
.board-stage-price > .board-up,
.board-stage-price > .board-down {
  font-size: 11px;
}
.board-stage-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--board-muted);
  font-size: 10px;
}
.board-stage-meta > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.board-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 18px;
}
.board-chart-wrap {
  min-width: 0;
}
.board .market-chart {
  margin: 0;
  border-radius: 5px;
  background: #101a24;
  border-color: #31414f;
}
.board .market-chart header {
  padding: 10px 14px;
}
.board .market-chart .chart-segment {
  padding: 7px 14px;
}
.board .market-chart label.chart-segment {
  display: flex;
  gap: 10px;
  align-items: center;
}
.board .market-chart label.chart-segment select {
  min-height: 32px;
  padding: 4px 8px;
  font-size: 11px;
  background: #172632;
  color: var(--board-ink);
  border: 1px solid #536775;
  border-radius: 3px;
}
.board .market-chart svg {
  min-height: 370px;
}
.board .market-chart .chart-empty {
  min-height: 370px;
}
.board .chart-controls {
  padding: 10px;
}
.board .chart-controls select {
  width: auto;
  padding: 7px;
  background: #172632;
  border: 1px solid #536775;
  color: #f0f4f6;
  font-size: 11px;
}
.board .chart-segment {
  font-size: 10px;
  color: var(--board-muted);
}
.board .chart-segment select {
  background: #172632;
  color: #f0f4f6;
  border: 1px solid #536775;
  padding: 5px;
  max-width: 210px;
}
.board .chart-controls button {
  font-size: 10px;
  min-height: 32px;
}
.board .live-kicker {
  color: var(--board-accent);
}
.board .live-demo-banner {
  background: #382f22;
  color: #f0cf98;
  font-size: 10px;
  padding: 8px 12px;
}
.board-order-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.board-trade,
.board-ladder {
  padding: 18px;
  background: #172630;
  border: 1px solid #3b4f5b;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.board-trade h3,
.board-ladder h3 {
  font-size: 16px;
  margin: 0;
  color: #f3f5f7;
}
.board-note {
  font-size: 11px;
  color: var(--board-muted);
  line-height: 1.7;
}
.board-trade-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.board-quick {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.board-chip {
  padding: 8px;
  background: #253d48;
  border: 1px solid #526975;
  color: #dae8ef;
  border-radius: 3px;
  font-size: 10px;
}
.board-amount {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.board-amount label {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.board-amount label span {
  font-size: 10px;
  color: #c6d1db;
}
.board-amount input {
  width: 100%;
  padding: 10px 6px;
  font-size: 16px;
  text-align: center;
  font-weight: 600;
}
.board-amount > button {
  width: 30px;
  min-height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #526372;
  color: #e0e9ef;
  border-radius: 3px;
}
.board-buy {
  background: #79d8b3;
  color: #0d2921;
  border-radius: 4px;
  padding: 14px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.07em;
  min-height: 44px;
}
.board-buy.accept {
  background: #dfc084;
  color: #1e252b;
  letter-spacing: 0;
  font-size: 11px;
}
.board-sell {
  padding: 11px;
  border: 1px solid #5c7580;
  color: #d6e2e8;
  border-radius: 4px;
  font-size: 11px;
}
.board-disclaimer {
  font-size: 10px;
  color: #c0cbd3;
  line-height: 1.6;
}
.board-ladder header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.board-ladder header > span {
  font-size: 10px;
  color: var(--board-muted);
}
.board-ladder > div {
  border-top: 1px solid #3a4e59;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
}
.board-ladder small {
  display: block;
  color: var(--board-accent);
  padding-top: 4px;
}
.board-ladder p {
  font-size: 10px;
  color: var(--board-muted);
  line-height: 1.6;
}
.board-context {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #334654;
  color: #b0c9c3;
  font-size: 11px;
}
.board-context a {
  color: #e0c891;
}
.board-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 430px;
  color: var(--board-muted);
  text-align: center;
}
.board-empty h2 {
  color: #f1f5f7;
}
.board button:focus-visible,
.board input:focus-visible,
.board select:focus-visible {
  outline: 2px solid #e4c789;
  outline-offset: 3px;
}
.board button:disabled {
  opacity: 0.5;
  cursor: wait;
}
@media (min-width: 1600px) {
  .board-body {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .board-workspace {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
@media (max-width: 1300px) {
  .board-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .board-order-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .board-stage-head {
    flex-wrap: wrap;
  }
  .board-stage-price {
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .board-body {
    grid-template-columns: 1fr;
  }
  .board-rail {
    border-right: 0;
    border-bottom: 1px solid var(--board-line);
  }
  .board-list {
    flex-direction: row;
    max-height: none;
  }
  .board-card {
    width: 220px;
  }
  .board-rail .pagination {
    margin: 0;
  }
  .board-masthead {
    padding: 22px;
  }
}
@media (max-width: 600px) {
  .board-stage {
    padding: 14px;
  }
  .board-order-rail {
    grid-template-columns: 1fr;
  }
  .board-masthead {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 16px;
  }
  .board-head-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .board-data-note,
  .board-demo-banner {
    padding-inline: 16px;
  }
  .board-stage-head h2 {
    font-size: 20px;
  }
  .board .market-chart svg,
  .board .market-chart .chart-empty {
    min-height: 230px;
  }
  .board-context {
    flex-direction: column;
  }
  .board .chart-segment select {
    width: 100%;
    margin: 6px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .board *,
  .board *::before,
  .board *::after {
    animation: none !important;
    transition: none !important;
  }
}
.board-head-actions select,.board-rail > select,.display-header select { background:#172632;color:#eef3f6;border:1px solid #536775;border-radius:4px;padding:10px;min-height:42px;font-size:12px; }
.board-rail > select { margin:8px 14px;width:calc(100% - 28px); }
.board-display-link { display:inline-block;color:#dfc084;border:1px solid #536775;padding:10px 14px;border-radius:4px;font-size:12px; }
.board-description { color:#b5c3cd;font-size:13px;padding:16px 0; }
.evidence-gallery > div {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:12px 0;}
.evidence-gallery a {display:flex;flex-direction:column;gap:6px;border:1px solid #536775;padding:8px;border-radius:5px;overflow-wrap:anywhere;}
.evidence-gallery img {width:100%;height:160px;object-fit:contain;background:#e8ecee;}
.evidence-gallery small {font-size:10px;}
.market-display { min-height:100vh;background:#0b141c;color:#eef3f6;padding:22px;font-variant-numeric:tabular-nums; }
.display-header {display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #2a3a48;padding-bottom:18px;}
.display-header > div {display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.display-brand {display:flex;align-items:center;gap:12px;font-size:17px;letter-spacing:.12em;font-weight:600;}
.display-brand img {height:48px;width:48px;object-fit:contain;border-radius:8px;}
.display-brand small {display:block;font-size:9px;color:#dfc084;margin-top:6px;}
.display-header button,.display-header > div > a {border:1px solid #536775;padding:10px 14px;border-radius:4px;font-size:12px;}
.display-note {color:#aebfcb;font-size:12px;padding:14px 0;}
.display-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.display-instrument {min-width:0;border:1px solid #2a3a48;background:#101d28;border-radius:6px;overflow:hidden;}
.display-instrument > header {display:flex;justify-content:space-between;gap:12px;padding:20px;}
.display-instrument h2 {font-size:23px;margin:5px 0;}
.display-instrument header p {font-size:11px;color:#aebfcb;}
.display-instrument header strong {font-size:21px;}
.display-instrument header small {display:block;color:#aebfcb;font-size:10px;margin-top:5px;text-align:right;}
.display-instrument .market-chart {margin:0;border:0;border-radius:0;}
.display-instrument footer {padding:12px 18px;color:#aebfcb;font-size:11px;}
.display-empty {padding:80px 20px;text-align:center;}
@media (min-width:1900px) {.display-grid {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:900px) {.display-grid {grid-template-columns:1fr;}.display-header {align-items:flex-start;flex-direction:column;}}
@media (max-width:600px) {.market-display {padding:10px;}.display-header > div {gap:8px;}.display-instrument > header {padding:14px;flex-wrap:wrap;}.display-instrument header strong {font-size:18px;}.board-head-actions {width:100%;}}
