/* ============================================================
   MAISON — Seller Dashboard
   Warm cream · Stripe/Linear simplicity · No dark theme
   ============================================================ */

/* ── Layout shell ── */
.dash-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  background: var(--bg);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.dash-sidebar {
  grid-row: 1 / -1;
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 0 0 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.dash-sidebar::-webkit-scrollbar { display: none; }

/* Brand / shop identity */
.dash-brand {
  padding: 1.75rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.dash-brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.dash-brand__info { min-width: 0; }

.dash-brand__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-brand__sub {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  margin-top: 1px;
}

.dash-brand__badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #EAF2E8;
  color: var(--olive);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  margin-top: 5px;
}

.dash-brand__badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--olive);
}

/* Nav sections */
.dash-nav {
  padding: 1.25rem 0.875rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dash-nav__section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0.75rem 0.625rem 0.35rem;
  margin-top: 0.5rem;
}

.dash-nav__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.875rem;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
}

.dash-nav__item:hover {
  background: var(--bg);
  color: var(--ink);
}

.dash-nav__item.active {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 500;
}

.dash-nav__item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  flex-shrink: 0;
  stroke-width: 1.75;
}

.dash-nav__item.active svg { opacity: 1; }

.dash-nav__badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Sidebar footer */
.dash-sidebar__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-sidebar__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}

.dash-sidebar__user-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.dash-sidebar__user-role {
  font-size: 11px;
  color: var(--ink-mute);
}

.dash-sidebar__settings-btn {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  transition: background 0.15s, color 0.15s;
}

.dash-sidebar__settings-btn:hover {
  background: var(--bg);
  color: var(--ink);
}

.dash-sidebar__settings-btn svg { width: 15px; height: 15px; stroke-width: 1.75; }

/* ============================================================
   TOPBAR
   ============================================================ */
.dash-topbar {
  grid-column: 2;
  background: rgba(246,242,234,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.dash-topbar__greeting {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  flex: 1;
}

.dash-topbar__greeting strong {
  color: var(--ink);
  font-weight: 500;
}

.dash-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-topbar__btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
  text-decoration: none;
  border: 0;
}

.dash-topbar__btn--ghost {
  background: none;
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

.dash-topbar__btn--ghost:hover {
  background: var(--card);
  color: var(--ink);
  border-color: var(--hair);
}

.dash-topbar__btn--primary {
  background: var(--accent);
  color: #fff;
}

.dash-topbar__btn--primary:hover { background: var(--accent-deep); }

.dash-topbar__btn svg { width: 14px; height: 14px; stroke-width: 2; }

.dash-topbar__notif {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}

.dash-topbar__notif:hover { background: var(--card); color: var(--ink); }
.dash-topbar__notif svg { width: 17px; height: 17px; stroke-width: 1.75; }

.dash-topbar__notif-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  border: 1.5px solid var(--bg);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.dash-main {
  grid-column: 2;
  padding: 2rem 2.25rem 3rem;
  min-width: 0;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.4rem 1.3rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.stat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.stat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.stat-card__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
}

.stat-card__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card__icon--terracotta { background: #F5E4DA; color: var(--accent); }
.stat-card__icon--olive      { background: #E4EBE0; color: var(--olive); }
.stat-card__icon--gold       { background: #F5EDD5; color: #A07A2A; }
.stat-card__icon--mist       { background: #DDE8EC; color: #4A7A8A; }

.stat-card__icon svg { width: 15px; height: 15px; stroke-width: 2; }

.stat-card__value {
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.stat-card__change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 100px;
}

.stat-card__change--up   { background: #E4EBE0; color: var(--olive); }
.stat-card__change--down { background: #F5E4DA; color: var(--accent); }
.stat-card__change--neutral { background: var(--bg-2); color: var(--ink-mute); }

.stat-card__change svg { width: 11px; height: 11px; stroke-width: 2.5; }

/* Sparkline (CSS-only) */
.stat-card__spark {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42px;
  opacity: 0.15;
}

/* ============================================================
   TWO-COLUMN CONTENT GRID
   ============================================================ */
.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

/* ============================================================
   PANEL (reusable card wrapper)
   ============================================================ */
.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.panel__head {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.panel__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

.panel__sub {
  font-size: 12px;
  color: var(--ink-mute);
  margin-left: auto;
}

.panel__action {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s;
}

.panel__action:hover { color: var(--accent-deep); }

.panel__body { padding: 1.2rem 1.4rem; }

/* ============================================================
   ORDERS TABLE
   ============================================================ */
.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0 1.4rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.orders-table td {
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid rgba(216, 206, 194, 0.5);
  font-size: 13.5px;
  color: var(--ink-soft);
  vertical-align: middle;
}

.orders-table tr:last-child td { border-bottom: 0; }

.orders-table tr:hover td { background: var(--bg); }

.order__product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.order__img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.order__name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.order__sku {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 1px;
}

.order__customer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.order__customer-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-2);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Status pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.status-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill--new       { background: #F5E4DA; color: var(--accent); }
.status-pill--preparing { background: #F5EDD5; color: #A07A2A; }
.status-pill--shipped   { background: #DDE8EC; color: #4A7A8A; }
.status-pill--delivered { background: #E4EBE0; color: var(--olive); }
.status-pill--cancelled { background: var(--bg-2); color: var(--ink-mute); }

.order__amount {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}

/* ============================================================
   QUICK TASKS / TO-DO PANEL
   ============================================================ */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.task-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1.4rem;
  border-bottom: 1px solid rgba(216, 206, 194, 0.4);
  cursor: pointer;
  transition: background 0.15s;
}

.task-item:last-child { border-bottom: 0; }
.task-item:hover { background: var(--bg); }

.task-item__check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.task-item__check--done {
  background: var(--olive);
  border-color: var(--olive);
}

.task-item__check--done svg { width: 11px; height: 11px; color: #fff; stroke-width: 2.5; }

.task-item__text {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}

.task-item__text--done {
  text-decoration: line-through;
  color: var(--ink-mute);
}

.task-item__tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--bg-2);
  color: var(--ink-mute);
  white-space: nowrap;
  flex-shrink: 0;
}

.task-item__tag--urgent { background: #F5E4DA; color: var(--accent); }
.task-item__tag--new { background: #DDE8EC; color: #4A7A8A; }

/* ============================================================
   TOP OBJECTS panel
   ============================================================ */
.top-objects { display: flex; flex-direction: column; gap: 0; }

.top-obj {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.8rem 1.4rem;
  border-bottom: 1px solid rgba(216, 206, 194, 0.4);
  transition: background 0.15s;
  cursor: pointer;
}

.top-obj:last-child { border-bottom: 0; }
.top-obj:hover { background: var(--bg); }

.top-obj__rank {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--border);
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.top-obj__img {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.top-obj__info { flex: 1; min-width: 0; }

.top-obj__name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-obj__meta {
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-top: 1px;
}

.top-obj__revenue {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
  flex-shrink: 0;
  text-align: right;
}

.top-obj__revenue-sub {
  font-size: 10.5px;
  color: var(--ink-mute);
  text-align: right;
  margin-top: 1px;
}

/* ============================================================
   CHART ROW — Analytics preview
   ============================================================ */
.dash-chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Bar chart (CSS-only) */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 90px;
  padding: 0 1.4rem 1rem;
}

.bar-chart__bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--accent-soft);
  position: relative;
  min-height: 4px;
  transition: background 0.2s;
  cursor: pointer;
}

.bar-chart__bar:hover { background: var(--accent); }
.bar-chart__bar--active { background: var(--accent); }

.bar-chart__bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--ink-mute);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Donut chart (CSS-only) */
.donut-wrap {
  padding: 1rem 1.4rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.donut {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(
    var(--accent) 0% 42%,
    var(--olive) 42% 66%,
    #4A7A8A 66% 80%,
    #A07A2A 80% 90%,
    var(--border) 90% 100%
  );
  position: relative;
}

.donut::after {
  content: '';
  position: absolute;
  inset: 14px;
  background: var(--card);
  border-radius: 50%;
}

.donut-legend { flex: 1; }

.donut-legend__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.donut-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Trend line (CSS SVG poly) */
.trend-line-wrap {
  padding: 0.25rem 1.4rem 1rem;
}

/* ============================================================
   SHOP HEALTH BANNER
   ============================================================ */
.health-banner {
  background: linear-gradient(115deg, #EAF0E4 0%, #F0EAE0 100%);
  border: 1px solid #D4E0CC;
  border-radius: 16px;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.health-banner__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.health-banner__number {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--olive);
  line-height: 1;
}

.health-banner__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  opacity: 0.7;
}

.health-banner__divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}

.health-banner__content { flex: 1; }

.health-banner__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.health-banner__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.health-banner__bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 180px;
}

.health-bar {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.health-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-mute);
}

.health-bar__track {
  height: 5px;
  background: rgba(110, 122, 94, 0.15);
  border-radius: 100px;
  overflow: hidden;
}

.health-bar__fill {
  height: 100%;
  background: var(--olive);
  border-radius: 100px;
}

.health-banner__action {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ============================================================
   MESSAGES PANEL
   ============================================================ */
.message-list { display: flex; flex-direction: column; gap: 0; }

.message-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1.4rem;
  border-bottom: 1px solid rgba(216, 206, 194, 0.4);
  cursor: pointer;
  transition: background 0.15s;
}

.message-item:last-child { border-bottom: 0; }
.message-item:hover { background: var(--bg); }

.message-item--unread .message-item__text { font-weight: 500; color: var(--ink); }

.message-item__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.message-item__avatar--placeholder {
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
}

.message-item__body { flex: 1; min-width: 0; }

.message-item__from {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.message-item__text {
  font-size: 12.5px;
  color: var(--ink-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-item__time {
  font-size: 11px;
  color: var(--ink-mute);
  white-space: nowrap;
  flex-shrink: 0;
}

.message-item__unread-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ============================================================
   QUICK ACTIONS GRID
   ============================================================ */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.qa-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s;
}

.qa-btn:hover {
  border-color: var(--hair);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.qa-btn__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qa-btn__icon--terracotta { background: #F5E4DA; color: var(--accent); }
.qa-btn__icon--olive      { background: #E4EBE0; color: var(--olive); }
.qa-btn__icon--gold       { background: #F5EDD5; color: #A07A2A; }
.qa-btn__icon--mist       { background: #DDE8EC; color: #4A7A8A; }

.qa-btn__icon svg { width: 18px; height: 18px; stroke-width: 1.75; }

.qa-btn__label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.qa-btn__sub {
  font-size: 11.5px;
  color: var(--ink-mute);
  line-height: 1.35;
}

/* ============================================================
   BOTTOM 3-COL GRID
   ============================================================ */
.dash-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ============================================================
   TIMELINE / ACTIVITY
   ============================================================ */
.timeline { padding: 0 1.4rem 0.5rem; }

.timeline-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.6rem 0;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: -4px;
  width: 1px;
  background: var(--border);
}

.timeline-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  border: 1.5px solid var(--border);
  background: var(--card);
}

.timeline-item__body { flex: 1; }

.timeline-item__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.35;
}

.timeline-item__text strong { color: var(--ink); font-weight: 500; }

.timeline-item__time {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* ============================================================
   PAYOUT CARD
   ============================================================ */
.payout-card {
  background: linear-gradient(130deg, #F2EBE1 0%, #EDE4D5 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.875rem;
}

.payout-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}

.payout-card__amount {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.payout-card__date {
  font-size: 12px;
  color: var(--ink-soft);
}

.payout-card__progress {
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 0.875rem;
}

.payout-card__progress-fill {
  height: 100%;
  background: var(--olive);
  border-radius: 100px;
  width: 68%;
}

.payout-history { padding: 0 1.4rem; }

.payout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(216, 206, 194, 0.4);
  font-size: 13px;
}

.payout-row:last-child { border-bottom: 0; }

.payout-row__date { color: var(--ink-mute); }
.payout-row__amount { font-weight: 500; color: var(--ink); }
.payout-row__status {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 500;
}
.payout-row__status--paid { background: #E4EBE0; color: var(--olive); }
.payout-row__status--pending { background: #F5EDD5; color: #A07A2A; }

/* ============================================================
   REVIEWS PANEL
   ============================================================ */
.reviews-summary {
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.reviews-big-score {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}

.reviews-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.reviews-count {
  font-size: 12px;
  color: var(--ink-mute);
}

.reviews-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviews-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  color: var(--ink-mute);
}

.reviews-bar-track {
  flex: 1;
  height: 5px;
  background: var(--bg-2);
  border-radius: 100px;
  overflow: hidden;
}

.reviews-bar-fill {
  height: 100%;
  background: var(--accent-soft);
  border-radius: 100px;
}

.review-list { padding: 0 1.4rem 0.5rem; }

.review-item {
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(216,206,194,0.4);
}

.review-item:last-child { border-bottom: 0; }

.review-item__top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.review-item__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-2);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-item__name { font-size: 13px; font-weight: 500; color: var(--ink); }
.review-item__stars { color: var(--accent); font-size: 11px; margin-left: auto; }
.review-item__date { font-size: 11px; color: var(--ink-mute); }
.review-item__text { font-size: 13px; color: var(--ink-soft); line-height: 1.45; font-style: italic; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-chart-row { grid-template-columns: 1fr 1fr; }
  .dash-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-topbar, .dash-main { grid-column: 1; }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
}
