/* ── ESOP Management — page-specific styles ── */

/* Law reference box (reused from perquisites pattern) */
.law-box {
  background: linear-gradient(135deg, #f0f9ff, #f8f6ff);
  border: 1px solid #bbd6ff;
  border-radius: 10px;
  padding: 14px 18px;
}
.law-box-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.law-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.law-item {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(34,86,232,.12);
  border-radius: 7px;
  padding: 10px 12px;
}
.law-item-hd { font-size: 11.5px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.law-item-body { font-size: 11.5px; color: var(--ink2); line-height: 1.5; }

/* Alert strip */
.alert-strip {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-strip.warn { background: var(--amb2); border: 1px solid rgba(140,81,0,.2); color: var(--amber); }

/* Plan grid */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.plan-kv {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pk { font-size: 11px; color: var(--ink3); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.pv { font-size: 12.5px; font-weight: 500; color: var(--ink); }

/* Progress bar */
.prog-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.prog-fill { height: 100%; border-radius: 3px; transition: width .4s; }
.progress-section { margin-top: 14px; }

/* KV grid */
.kv-grid { display: flex; flex-direction: column; gap: 8px; }
.kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.kv:last-child { border-bottom: none; }
.kv-k { color: var(--ink3); }
.kv-v { font-weight: 500; color: var(--ink); }

/* Timeline chart */
.timeline-chart { display: flex; flex-direction: column; gap: 10px; }
.tc-row { display: flex; align-items: center; gap: 12px; }
.tc-label { font-size: 12px; color: var(--ink3); width: 70px; flex-shrink: 0; font-weight: 500; }
.tc-bar-wrap { flex: 1; display: flex; align-items: center; gap: 12px; }
.tc-bar { height: 22px; border-radius: 4px; min-width: 2px; transition: width .3s; }
.tc-val { font-size: 12px; color: var(--ink2); white-space: nowrap; }

/* Gantt chart */
.gantt-wrap { display: flex; flex-direction: column; gap: 0; }
.gantt-header {
  display: flex;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.gh-emp { width: 220px; flex-shrink: 0; }
.gh-yr { flex: 1; text-align: center; }
.gantt-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  min-height: 38px;
}
.gantt-row:last-child { border-bottom: none; }
.gr-emp { width: 220px; flex-shrink: 0; font-size: 12px; font-weight: 500; color: var(--ink); }
.gr-bars { flex: 1; position: relative; height: 22px; }
.gantt-bar {
  position: absolute;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 6px;
  color: #fff;
}
.gantt-bar.vested { background: var(--green); }
.gantt-bar.pending { background: var(--s3); color: var(--ink3); border: 1px dashed var(--border2); }

/* Computed box */
.computed-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
}
.cb-title {
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink3); margin-bottom: 8px;
}
.cb-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.cb-row:last-child { border-bottom: none; }

/* Form grid */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { display: flex; flex-direction: column; gap: 4px; }
.fl { font-size: 11.5px; font-weight: 600; color: var(--ink2); }
.fi {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  outline: none;
}
.fi:focus { border-color: var(--accent); }

/* Search input */
.search-inp {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

/* Startup badge */
.startup-badge {
  background: linear-gradient(135deg, #e4f5ec, #f0f9ff);
  border: 1px solid rgba(26,120,69,.2);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sb-icon { font-size: 22px; }
.sb-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.sb-sub { font-size: 11.5px; color: var(--ink3); margin-top: 2px; }

/* Report list */
.report-list { display: flex; flex-direction: column; gap: 0; }
.rpt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.rpt-item:last-child { border-bottom: none; }
.rpt-ic { font-size: 18px; flex-shrink: 0; }
.rpt-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.rpt-sub { font-size: 11.5px; color: var(--ink3); margin-top: 1px; }
.rpt-item .btn { margin-left: auto; flex-shrink: 0; }

/* Employee cell */
.emp-cell { display: flex; align-items: center; gap: 8px; }
.emp-av {
  width: 30px; height: 30px; border-radius: 50%;
  color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.emp-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.emp-id { font-size: 11px; color: var(--ink3); }

/* Mono */
.mono { font-family: var(--mono); font-size: 12px; }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th {
  background: var(--surface2);
  padding: 9px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.tbl td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  vertical-align: middle;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--surface2); }
