/*
  =========================================================
  ACROV CONTROL

  FILE:
  dashboards/investor/investor.css

  SYSTEM:
  INVESTOR DASHBOARD

  PURPOSE:
  - Styles the Investor Dashboard
  - Provides investment visibility surfaces
  - Provides portfolio and company performance surfaces
  - Provides investment activity visibility
  - Preserves shared Dashboard Host geometry

  IMPORTANT:
  - This dashboard does NOT own financial transactions
  - This dashboard does NOT own accounting
  - This dashboard does NOT own investor permissions
  - Protected financial data remains server-controlled
  =========================================================
*/


/* =========================================================
   INVESTOR DASHBOARD
========================================================= */

.acrov-investor-dashboard {

  width:
    100%;

  min-width:
    0;

}


/* =========================================================
   INVESTOR HEADER
========================================================= */

.acrov-investor-header {

  width:
    100%;

  min-width:
    0;

  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    24px;

}


/* =========================================================
   HEADER COPY
========================================================= */

.acrov-investor-header-copy {

  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    5px;

}


/* =========================================================
   EYEBROW
========================================================= */

.acrov-investor-eyebrow {

  margin:
    0;

  color:
    var(--acrov-blue);

  font-size:
    8px;

  font-weight:
    850;

  line-height:
    1;

  letter-spacing:
    1.35px;

  text-transform:
    uppercase;

}


/* =========================================================
   TITLE
========================================================= */

.acrov-investor-title {

  margin:
    0;

  color:
    var(--acrov-text);

  font-size:
    30px;

  font-weight:
    800;

  line-height:
    1.1;

  letter-spacing:
    -0.8px;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.acrov-investor-description {

  max-width:
    760px;

  margin:
    0;

  color:
    var(--acrov-text-muted);

  font-size:
    12px;

  line-height:
    1.55;

}


/* =========================================================
   AUTHORITY BADGE
========================================================= */

.acrov-investor-authority {

  height:
    30px;

  flex:
    0 0 auto;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 11px;

  border:
    1px solid
    #bfdbfe;

  border-radius:
    6px;

  background:
    var(--acrov-blue-soft);

  color:
    var(--acrov-blue-hover);

  font-size:
    8px;

  font-weight:
    850;

  line-height:
    1;

  letter-spacing:
    0.55px;

  white-space:
    nowrap;

  text-transform:
    uppercase;

}


/* =========================================================
   SUMMARY GRID
========================================================= */

.acrov-investor-summary-grid {

  width:
    100%;

  min-width:
    0;

  display:
    grid;

  grid-template-columns:
    repeat(
      4,
      minmax(
        0,
        1fr
      )
    );

  gap:
    14px;

}


/* =========================================================
   SUMMARY CARD
========================================================= */

.acrov-investor-summary-card {

  min-width:
    0;

  padding:
    16px;

  border:
    1px solid
    var(--acrov-border);

  border-radius:
    var(--acrov-radius);

  background:
    var(--acrov-white);

  box-shadow:
    var(--acrov-shadow-small);

}


/* =========================================================
   SUMMARY LABEL
========================================================= */

.acrov-investor-summary-label {

  margin:
    0;

  color:
    var(--acrov-text-muted);

  font-size:
    8px;

  font-weight:
    800;

  line-height:
    1;

  letter-spacing:
    0.75px;

  text-transform:
    uppercase;

}


/* =========================================================
   SUMMARY VALUE
========================================================= */

.acrov-investor-summary-value {

  margin:
    8px 0 0;

  color:
    var(--acrov-text);

  font-size:
    24px;

  font-weight:
    800;

  line-height:
    1;

  letter-spacing:
    -0.6px;

}


/* =========================================================
   SUMMARY SIGNAL
========================================================= */

.acrov-investor-summary-signal {

  margin:
    7px 0 0;

  color:
    var(--acrov-text-muted);

  font-size:
    9px;

  line-height:
    1.35;

}


/* =========================================================
   SECTION
========================================================= */

.acrov-investor-section {

  width:
    100%;

  min-width:
    0;

}


/* =========================================================
   SECTION HEADER
========================================================= */

.acrov-investor-section-header {

  width:
    100%;

  min-width:
    0;

  display:
    flex;

  align-items:
    flex-end;

  justify-content:
    space-between;

  gap:
    16px;

  margin-bottom:
    11px;

}


.acrov-investor-section-copy {

  min-width:
    0;

}


.acrov-investor-section-title {

  margin:
    0;

  color:
    var(--acrov-text);

  font-size:
    14px;

  font-weight:
    800;

  line-height:
    1.2;

}


.acrov-investor-section-description {

  margin:
    4px 0 0;

  color:
    var(--acrov-text-muted);

  font-size:
    10px;

  line-height:
    1.4;

}


/* =========================================================
   ACTION GRID
========================================================= */

.acrov-investor-action-grid {

  width:
    100%;

  min-width:
    0;

  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(
        0,
        1fr
      )
    );

  gap:
    12px;

}


/* =========================================================
   ACTION CARD
========================================================= */

.acrov-investor-action-card {

  min-width:
    0;

  min-height:
    142px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    14px;

  padding:
    16px;

  border:
    1px solid
    var(--acrov-border);

  border-radius:
    var(--acrov-radius);

  background:
    var(--acrov-white);

  box-shadow:
    var(--acrov-shadow-small);

}


.acrov-investor-action-icon {

  width:
    31px;

  height:
    31px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    7px;

  background:
    var(--acrov-blue-soft);

  color:
    var(--acrov-blue);

  font-size:
    9px;

  font-weight:
    850;

}


.acrov-investor-action-title {

  margin:
    0;

  color:
    var(--acrov-text);

  font-size:
    12px;

  font-weight:
    800;

  line-height:
    1.2;

}


.acrov-investor-action-description {

  margin:
    5px 0 0;

  color:
    var(--acrov-text-muted);

  font-size:
    9px;

  line-height:
    1.45;

}


/* =========================================================
   ACTION BUTTON
========================================================= */

.acrov-investor-action-button {

  min-height:
    29px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 10px;

  border:
    1px solid
    var(--acrov-border-strong);

  border-radius:
    5px;

  background:
    var(--acrov-white);

  color:
    var(--acrov-text-secondary);

  font-family:
    inherit;

  font-size:
    8px;

  font-weight:
    750;

  cursor:
    pointer;

  transition:
    border-color 120ms ease,
    background 120ms ease,
    color 120ms ease;

}


.acrov-investor-action-button:hover {

  border-color:
    #bfdbfe;

  background:
    var(--acrov-blue-soft);

  color:
    var(--acrov-blue-hover);

}


.acrov-investor-action-button:focus-visible {

  outline:
    2px solid
    var(--acrov-blue);

  outline-offset:
    2px;

}


/* =========================================================
   QUEUE GRID
========================================================= */

.acrov-investor-queue-grid {

  width:
    100%;

  min-width:
    0;

  display:
    grid;

  grid-template-columns:
    minmax(
      0,
      2fr
    )
    minmax(
      280px,
      1fr
    );

  gap:
    12px;

}


/* =========================================================
   PANEL
========================================================= */

.acrov-investor-panel {

  min-width:
    0;

  padding:
    17px;

  border:
    1px solid
    var(--acrov-border);

  border-radius:
    var(--acrov-radius);

  background:
    var(--acrov-white);

  box-shadow:
    var(--acrov-shadow-small);

}


.acrov-investor-panel-header {

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    12px;

  margin-bottom:
    13px;

}


.acrov-investor-panel-title {

  margin:
    0;

  color:
    var(--acrov-text);

  font-size:
    12px;

  font-weight:
    800;

}


.acrov-investor-panel-count {

  min-width:
    24px;

  height:
    22px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 7px;

  border-radius:
    var(--acrov-radius-pill);

  background:
    var(--acrov-surface-soft);

  color:
    var(--acrov-text-secondary);

  font-size:
    8px;

  font-weight:
    800;

}


/* =========================================================
   TABLE
========================================================= */

.acrov-investor-table-wrap {

  width:
    100%;

  min-width:
    0;

  overflow-x:
    auto;

}


.acrov-investor-table {

  width:
    100%;

  min-width:
    620px;

  border-collapse:
    collapse;

}


.acrov-investor-table th {

  padding:
    9px 8px;

  border-bottom:
    1px solid
    var(--acrov-border);

  color:
    var(--acrov-text-muted);

  font-size:
    7px;

  font-weight:
    800;

  line-height:
    1;

  letter-spacing:
    0.6px;

  text-align:
    left;

  text-transform:
    uppercase;

}


.acrov-investor-table td {

  padding:
    11px 8px;

  border-bottom:
    1px solid
    var(--acrov-border);

  color:
    var(--acrov-text-secondary);

  font-size:
    9px;

  line-height:
    1.35;

  vertical-align:
    middle;

}


.acrov-investor-table tbody
tr:last-child td {

  border-bottom:
    0;

}


.acrov-investor-company-name {

  color:
    var(--acrov-text);

  font-weight:
    750;

}


/* =========================================================
   STATUS
========================================================= */

.acrov-investor-status {

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  min-height:
    22px;

  padding:
    0 8px;

  border-radius:
    var(--acrov-radius-pill);

  font-size:
    7px;

  font-weight:
    800;

  line-height:
    1;

  text-transform:
    uppercase;

}


.acrov-investor-status[
  data-status="active"
] {

  background:
    #f0fdf4;

  color:
    #15803d;

}


.acrov-investor-status[
  data-status="pending"
] {

  background:
    #fffbeb;

  color:
    #a16207;

}


.acrov-investor-status[
  data-status="review"
] {

  background:
    #eff6ff;

  color:
    #1d4ed8;

}


.acrov-investor-status[
  data-status="closed"
] {

  background:
    #f3f4f6;

  color:
    #4b5563;

}


/* =========================================================
   ACTIVITY
========================================================= */

.acrov-investor-activity-list {

  width:
    100%;

  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    0;

  margin:
    0;

  padding:
    0;

  list-style:
    none;

}


.acrov-investor-activity-item {

  display:
    flex;

  align-items:
    flex-start;

  gap:
    9px;

  padding:
    10px 0;

  border-bottom:
    1px solid
    var(--acrov-border);

}


.acrov-investor-activity-item:last-child {

  border-bottom:
    0;

}


.acrov-investor-activity-dot {

  width:
    7px;

  height:
    7px;

  flex:
    0 0 7px;

  margin-top:
    3px;

  border-radius:
    50%;

  background:
    var(--acrov-blue);

}


.acrov-investor-activity-copy {

  min-width:
    0;

  color:
    var(--acrov-text-secondary);

  font-size:
    9px;

  line-height:
    1.4;

}


/* =========================================================
   EMPTY
========================================================= */

.acrov-investor-empty {

  min-height:
    130px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    20px;

  border:
    1px dashed
    var(--acrov-border-strong);

  border-radius:
    7px;

  background:
    var(--acrov-surface-soft);

  color:
    var(--acrov-text-muted);

  font-size:
    9px;

  line-height:
    1.4;

  text-align:
    center;

}


/* =========================================================
   MASTER OVERRIDE
========================================================= */

.acrov-investor-master-override {

  display:
    inline-flex;

  align-items:
    center;

  gap:
    6px;

  min-height:
    26px;

  padding:
    0 9px;

  border:
    1px solid
    #fde68a;

  border-radius:
    5px;

  background:
    #fffbeb;

  color:
    #92400e;

  font-size:
    7px;

  font-weight:
    800;

  letter-spacing:
    0.4px;

  text-transform:
    uppercase;

}


/* =========================================================
   TABLET
========================================================= */

@media (
  max-width: 1100px
) {

  .acrov-investor-summary-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(
          0,
          1fr
        )
      );

  }


  .acrov-investor-action-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(
          0,
          1fr
        )
      );

  }


  .acrov-investor-queue-grid {

    grid-template-columns:
      minmax(
        0,
        1fr
      );

  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
  max-width: 600px
) {

  .acrov-investor-header {

    flex-direction:
      column;

    gap:
      12px;

  }


  .acrov-investor-title {

    font-size:
      24px;

  }


  .acrov-investor-summary-grid,
  .acrov-investor-action-grid {

    grid-template-columns:
      minmax(
        0,
        1fr
      );

  }


  .acrov-investor-action-card {

    min-height:
      128px;

  }


  .acrov-investor-panel {

    padding:
      14px;

  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
  prefers-reduced-motion: reduce
) {

  .acrov-investor-action-button {

    transition:
      none;

  }

}