/* ==========================================================================
   TeamTrek — In-frame product mocks (Dashboard, Timeline, Activity, Reports)
   ========================================================================== */

.mock { background: #fff; text-align: left; }
.mock--pad { padding: 1.25rem; }

/* --------------------------------------------------------------------------
   Shared mock atoms
   -------------------------------------------------------------------------- */
.mock__title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--neutral-900); }
.mock__sub { font-size: 13px; color: var(--neutral-500); }
.mock__panel { border-radius: var(--r-md); border: 1px solid var(--neutral-200); padding: 1rem; }
.mock__panel-title { font-size: 13px; font-weight: 600; color: var(--neutral-900); }

.mock-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  font-size: 11px; font-weight: 700; color: #fff;
}
.bg-p200 { background: var(--primary-200); }
.bg-p300 { background: var(--primary-300); }
.bg-p400 { background: var(--primary-400); }
.bg-p600 { background: var(--primary-600); }
.bg-p700 { background: var(--primary-700); }
.bg-n300 { background: var(--neutral-300); }

/* --------------------------------------------------------------------------
   Dashboard mock
   -------------------------------------------------------------------------- */
.dash { display: flex; }

.dash__aside {
  display: none;
  width: 188px; flex-shrink: 0; flex-direction: column;
  border-right: 1px solid var(--neutral-200);
  background: var(--neutral-25);
  padding: 1rem;
}
.dash__brand { margin-bottom: 1.5rem; display: flex; align-items: center; gap: .5rem; }
.dash__brand span { font-size: 15px; font-weight: 700; color: var(--neutral-900); }
.dash__nav { display: flex; flex-direction: column; gap: .25rem; }
.dash__navitem {
  display: flex; align-items: center; gap: .625rem;
  border-radius: var(--r-md); padding: .5rem .75rem;
  font-size: 13px; font-weight: 500; color: var(--neutral-600);
}
.dash__navitem.is-active { background: var(--primary-50); color: var(--primary-800); }
.dash__navitem .icon { width: 16px; height: 16px; }
.dash__settings { margin-top: auto; }

.dash__main { min-width: 0; flex: 1; padding: 1.25rem; }
.dash__head { margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dash__head-right { display: flex; align-items: center; gap: .75rem; }
.dash__head-right .icon { width: 16px; height: 16px; color: var(--neutral-500); }
.dash__me {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-100);
  font-size: .75rem; font-weight: 700; color: var(--primary-800);
}

.dash__stats { margin-bottom: 1.25rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.dash__stat { border-radius: var(--r-md); border: 1px solid var(--neutral-200); padding: .875rem; }
.dash__stat-label { font-size: 11px; font-weight: 500; color: var(--neutral-500); }
.dash__stat-value { margin-top: .25rem; font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; color: var(--neutral-900); }

.dash__chart { margin-bottom: 1.25rem; }
.dash__chart-head { margin-bottom: .75rem; display: flex; align-items: center; justify-content: space-between; }
.dash__chart-tag {
  border-radius: var(--r-pill); background: var(--primary-100);
  padding: .125rem .625rem; font-size: 11px; font-weight: 600; color: var(--primary-800);
}
.dash__bars { display: flex; height: 128px; align-items: flex-end; gap: .625rem; }
.dash__bar-col { display: flex; height: 100%; flex: 1; flex-direction: column; align-items: center; gap: .375rem; }
.dash__bar-track { display: flex; width: 100%; flex: 1; align-items: flex-end; border-radius: 4px; background: var(--neutral-100); }
.dash__bar {
  display: block;
  width: 100%; height: 0;
  border-radius: 4px 4px 0 0;
  background: var(--primary-600);
  transition: height .9s ease-out;
}
.dash__bar-day { font-size: 10px; font-weight: 500; color: var(--neutral-500); }

.dash__team { border-radius: var(--r-md); border: 1px solid var(--neutral-200); }
.dash__member { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; }
.dash__member + .dash__member { border-top: 1px solid var(--neutral-150); }
.dash__member-info { min-width: 0; flex: 1; }
.dash__member-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--neutral-900); }
.dash__member-role { font-size: 11px; color: var(--neutral-500); }
.dash__member-hours { display: none; font-size: 13px; font-weight: 600; color: var(--neutral-800); }
.dash__member .badge-pill { padding: .25rem .625rem; font-size: 11px; }

/* --------------------------------------------------------------------------
   Timeline mock
   -------------------------------------------------------------------------- */
.tl__head { margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.tl__timer { display: flex; align-items: center; gap: 1rem; }
.tl__play {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; background: var(--primary-700);
}
.tl__play .icon { width: 16px; height: 16px; fill: #fff; color: #fff; }
.tl__clock {
  font-family: var(--font-mono);
  font-size: 26px; font-weight: 700; letter-spacing: -.02em;
  color: var(--neutral-900); font-variant-numeric: tabular-nums;
}
.tl__project { font-size: .75rem; color: var(--neutral-500); }

.tl__live { display: inline-flex; align-items: center; gap: .5rem; border-radius: var(--r-pill); background: var(--success-tint); padding: .375rem .75rem; font-size: .75rem; font-weight: 600; color: var(--success-text); }
.tl__ping { position: relative; display: flex; width: 8px; height: 8px; }
.tl__ping::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%; background: var(--success-fill); opacity: .6;
  animation: tt-ping 1.4s cubic-bezier(0,0,.2,1) infinite;
}
.tl__ping::after { content: ""; position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--success-fill); }

.tl__hours { margin-bottom: .5rem; display: grid; grid-template-columns: repeat(10, 1fr); font-size: 10px; font-weight: 500; color: var(--neutral-500); }
.tl__rows { display: flex; flex-direction: column; gap: .75rem; }
.tl__row { display: flex; align-items: center; gap: .75rem; }
.tl__who {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; background: var(--primary-100);
  font-size: 10px; font-weight: 700; color: var(--primary-800);
}
.tl__track { position: relative; height: 28px; flex: 1; overflow: hidden; border-radius: 6px; background: var(--neutral-100); }
.tl__block {
  display: block;
  position: absolute; top: 4px; height: 20px;
  border-radius: 4px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .9s ease-out;
}
.tl__total { width: 48px; flex-shrink: 0; text-align: right; font-size: .75rem; font-weight: 600; color: var(--neutral-800); }

.tl__legend {
  margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  border-top: 1px solid var(--neutral-150); padding-top: .75rem;
  font-size: 11px; font-weight: 500; color: var(--neutral-600);
}
.tl__legend span { display: inline-flex; align-items: center; gap: .375rem; }
.tl__swatch { width: 8px; height: 8px; border-radius: 3px; }

.tl__foot { margin-top: 1rem; display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--neutral-500); }
.tl__foot .icon { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Activity mock
   -------------------------------------------------------------------------- */
.act__people { margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.act__person {
  display: inline-flex; align-items: center; gap: .375rem;
  border-radius: var(--r-pill); padding: .375rem .75rem;
  font-size: .75rem; font-weight: 600;
  background: var(--neutral-100); color: var(--neutral-600);
}
.act__person.is-active { background: var(--primary-700); color: #fff; }

.act__shots { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.act__shot { overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--neutral-200); }
.act__preview {
  position: relative;
  display: flex; height: 112px; align-items: center; justify-content: center;
  background-color: var(--neutral-100);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}
.act__window {
  width: 75%;
  border-radius: var(--r-md); border: 1px solid var(--neutral-200);
  background: #fff; padding: .625rem;
  box-shadow: var(--shadow-01);
}
.act__line { height: 6px; border-radius: 3px; }
.act__line--1 { margin-bottom: .375rem; width: 50%; background: var(--neutral-200); }
.act__line--2 { margin-bottom: .25rem; width: 75%; background: var(--primary-200); }
.act__line--3 { width: 66%; background: var(--neutral-150); }
.act__time {
  position: absolute; right: .5rem; top: .5rem;
  border-radius: var(--r-pill); background: rgba(255,255,255,.9);
  padding: .125rem .5rem; font-size: 10px; font-weight: 600; color: var(--neutral-600);
  box-shadow: var(--shadow-01);
}
.act__meta { padding: .75rem; }
.act__app { margin-bottom: .5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; font-weight: 600; color: var(--neutral-800); }
.act__meta .badge-pill { padding: .25rem .625rem; font-size: 11px; }

.act__apps { margin-top: 1rem; }
.act__applist { display: flex; flex-direction: column; gap: .625rem; }
.act__approw { display: flex; align-items: center; gap: .75rem; }
.act__appname { width: 64px; flex-shrink: 0; font-size: .75rem; font-weight: 500; color: var(--neutral-600); }
.act__apptrack { height: 8px; flex: 1; overflow: hidden; border-radius: var(--r-pill); background: var(--neutral-100); }
.act__appbar { display: block; height: 100%; width: 0; border-radius: var(--r-pill); transition: width .9s ease-out; }
.act__apppct { width: 36px; flex-shrink: 0; text-align: right; font-size: .75rem; font-weight: 600; color: var(--neutral-800); }

/* --------------------------------------------------------------------------
   Reports mock
   -------------------------------------------------------------------------- */
.rep__head { margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.rep__export {
  display: inline-flex; align-items: center; gap: .375rem;
  border-radius: var(--r-md); border: 1px solid var(--neutral-300);
  padding: .5rem .75rem; font-size: .75rem; font-weight: 600; color: var(--neutral-800);
}
.rep__export .icon { width: 14px; height: 14px; }

.rep__grid { display: grid; gap: 1rem; }
.rep__chart-head { margin-bottom: .5rem; display: flex; align-items: baseline; justify-content: space-between; }
.rep__legend { font-size: 11px; font-weight: 500; color: var(--neutral-500); }
.rep__legend .dot { margin-right: .25rem; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-600); vertical-align: middle; }
.rep__svg { width: 100%; }
.rep__area { opacity: 0; transition: opacity .9s ease-out .5s; }
.rep__area.is-in { opacity: .1; }
.rep__line { transition: stroke-dashoffset 1.1s ease-out .2s; }
.rep__pt { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity .3s ease-out, transform .3s ease-out; }
.rep__pt.is-in { opacity: 1; transform: scale(1); }
.rep__days { display: flex; justify-content: space-between; padding-inline: .25rem; font-size: 10px; font-weight: 500; color: var(--neutral-500); }

.rep__budgets { display: flex; flex-direction: column; gap: .875rem; }
.rep__budget-head { margin-bottom: .25rem; display: flex; align-items: center; justify-content: space-between; font-size: .75rem; }
.rep__budget-name { font-weight: 500; color: var(--neutral-700); }
.rep__budget-val { font-weight: 600; color: var(--neutral-900); }
.rep__budget-track { height: 8px; overflow: hidden; border-radius: var(--r-pill); background: var(--neutral-100); }
.rep__budget-bar { display: block; height: 100%; width: 0; border-radius: var(--r-pill); transition: width .9s ease-out; }
.rep__billable { margin-top: 1rem; border-radius: var(--r-md); background: var(--primary-50); padding: .75rem; }
.rep__billable-label { font-size: 11px; font-weight: 500; color: var(--primary-800); }
.rep__billable-value { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; color: var(--primary-900); }
