/* ============================================================
   ouiasso : dashboard mockup styles (v2, modern neutral)
   ============================================================ */

.dashmock {
  width: 100%;
  --mock-scale: 1;
  font-family: var(--font-sans);
  color: var(--ink);
}
.dashmock-window {
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -20px rgba(20,20,30,0.18),
    0 12px 24px -16px rgba(20,20,30,0.12);
}
.dashmock-titlebar {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.dashmock-dots { display: flex; gap: 6px; }
.dashmock-dots i { width: 11px; height: 11px; border-radius: 999px; display: inline-block; }
.dashmock-url {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--muted);
}
.dashmock-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 560px;
  background: var(--paper);
}

.dashmock-sidebar {
  background: var(--paper-2);
  border-right: 1px solid var(--line);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dashmock-org {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
}
.dashmock-org-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.dashmock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}
.dashmock-search kbd {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--paper-3);
  border-radius: 4px;
  padding: 2px 5px;
  color: var(--ink-2);
}
.dashmock-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dashmock-nav-section {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 12px 8px 6px;
}
.dashmock-nav a {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
}
.dashmock-nav a:hover { background: var(--paper-3); }
.dashmock-nav a.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.dashmock-badge {
  margin-left: auto;
  background: var(--paper-3);
  font-size: 10px;
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--ink-2);
  font-weight: 700;
}
.dashmock-badge-warn { background: var(--c-yellow-bg); color: var(--c-yellow-fg); }

.dashmock-main {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
.dashmock-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dashmock-btn {
  height: 34px; padding: 0 14px; border-radius: 8px; font-size: 13px;
  border: 1px solid var(--line); background: var(--paper); font-weight: 600;
}
.dashmock-btn-primary { background: var(--ink); color: white; border-color: transparent; }

.dashmock-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.dashmock-kpi {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.dashmock-kpi-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.dashmock-kpi-value { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.025em; margin-top: 4px; line-height: 1.1; }
.dashmock-kpi-delta {
  font-size: 11.5px;
  margin-top: 4px;
  font-weight: 600;
}
.dashmock-kpi-delta.tone-up { color: var(--c-green-fg); }
.dashmock-kpi-delta.tone-warn { color: var(--c-yellow-fg); }
.dashmock-kpi-delta.tone-neutral { color: var(--muted); }

.dashmock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dashmock-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dashmock-card-wide { grid-column: 1 / -1; }
.dashmock-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dashmock-card-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.dashmock-card-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.dashmock-card-pills { display: flex; gap: 4px; }
.dashmock-pill { font-size: 11px; padding: 4px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.dashmock-pill.is-active { background: var(--ink); color: white; border-color: transparent; }
.dashmock-link { font-size: 12px; color: var(--primary); font-weight: 700; }

.dashmock-chart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  height: 140px;
  padding-top: 8px;
}
.dashmock-chart-col { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.dashmock-chart-bar {
  display: flex;
  flex-direction: column-reverse;
  height: 100%;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  background: var(--paper-3);
}
.dashmock-chart-bar > div { width: 100%; }
.dashmock-chart-x { text-align: center; font-size: 10px; color: var(--muted); }
.dashmock-legend {
  display: flex; gap: 14px; font-size: 11px; color: var(--muted); font-weight: 600;
}
.dashmock-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dashmock-legend i { width: 10px; height: 10px; border-radius: 3px; }

.dashmock-list, .dashmock-todos, .dashmock-events {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.dashmock-list li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; }
.dashmock-avatar {
  width: 28px; height: 28px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: white;
}
.dashmock-avatar[data-c="rouge"]    { background: var(--c-pink-fg); }
.dashmock-avatar[data-c="cobalt"]   { background: var(--c-blue-fg); }
.dashmock-avatar[data-c="moutarde"] { background: var(--c-yellow-fg); }
.dashmock-avatar[data-c="olive"]    { background: var(--c-green-fg); }
.dashmock-avatar[data-c="rose"]     { background: var(--c-purple-fg); }
.dashmock-tag { font-size: 10px; background: var(--paper); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; color: var(--muted); font-weight: 600; }

.dashmock-todos li { display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 10px; font-size: 13px; }
.dashmock-check { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; background: var(--paper); }
.dashmock-check.is-done { background: var(--c-green-fg); border-color: transparent; }
.dashmock-check.is-warn { border-color: var(--c-yellow-fg); background: var(--c-yellow-bg); }

.dashmock-events li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; }
.dashmock-evt-date {
  display: flex; flex-direction: column; align-items: center;
  border-radius: 8px;
  padding: 4px 0;
}
.dashmock-evt-date[data-c="rouge"]  { background: var(--c-pink-bg); color: var(--c-pink-fg); }
.dashmock-evt-date[data-c="cobalt"] { background: var(--c-blue-bg); color: var(--c-blue-fg); }
.dashmock-evt-date[data-c="olive"]  { background: var(--c-green-bg); color: var(--c-green-fg); }
.dashmock-evt-date b { font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1; }
.dashmock-evt-date i { font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: 0.06em; }

@media (max-width: 900px) {
  .dashmock-body { grid-template-columns: 1fr; }
  .dashmock-sidebar { display: none; }
  .dashmock-kpis { grid-template-columns: 1fr 1fr; }
  .dashmock-cards { grid-template-columns: 1fr; }
}
