
/* Argolee CRM V3 — Shared application styling */

:root {
  --bg: #f4f7fc;
  --panel: #fff;
  --ink: #1b2942;
  --muted: #6d7e96;
  --line: #e2e9f3;
  --brand: #285deb;
  --shadow: 0 3px 16px rgba(23,50,97,.06);
  --boardTop: 310px;
}

body {
  background: var(--bg);
  color: var(--ink);
}

button, input, select, textarea {
  font: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #98bbff;
  outline-offset: 2px;
}

/* Top navigation */

header.v3Topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-left: 244px;
  height: 74px;
  padding: 12px 26px;
  background: white;
  color: #203250;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.v3Topbar .headRow {
  max-width: none;
  height: 100%;
  gap: 18px;
}

.v3Topbar .brand h1 {
  color: #203250;
  font-size: 16px;
}

.v3Topbar .brand p {
  color: #8493a9;
  font-size: 11px;
}

.v3Topbar .headerRight {
  margin-left: auto;
}

.v3Topbar .headerMoney {
  gap: 7px;
}

.v3Topbar .miniMetric {
  min-width: 90px;
  padding: 6px 10px;
  background: #f7f9fd;
  border: 1px solid #e4eaf4;
  border-radius: 9px;
}

.v3Topbar .miniMetric span {
  color: #8090a7;
  font-size: 9px;
}

.v3Topbar .miniMetric b {
  color: #284366;
  font-size: 13px;
}

.v3Topbar .logoutBtn {
  color: #405574;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 11px;
}

.v3Topbar .logoutBtn:hover {
  background: #f4f7fc;
}

.v3TopSearch {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(340px, 30vw);
  min-width: 150px;
  height: 40px;
  padding: 0 12px;
  background: #f5f7fb;
  border: 1px solid #e4eaf3;
  border-radius: 10px;
  color: #7e90a8;
}

.v3TopSearch:focus-within {
  border-color: #98b6f9;
  box-shadow: 0 0 0 3px #e6edfe;
}

.v3TopSearch .search {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
}

.v3MenuBtn {
  display: none;
  background: white;
  color: #273d5e;
  border: 1px solid var(--line);
  border-radius: 10px;
  height: 40px;
  width: 40px;
  cursor: pointer;
}

/* Main content */

.wrap {
  max-width: none;
  min-width: 0;
  margin: 0 0 0 244px;
  padding: 27px 28px 48px;
}

/* Sidebar */

.tabs.v3Sidebar {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  position: fixed;
  z-index: 50;
  left: 0;
  top: 0;
  bottom: 0;
  width: 244px;
  margin: 0;
  padding: 24px 14px 16px;
  overflow-y: auto;
  gap: 5px;
  background: linear-gradient(160deg, #172f5b, #102441);
  box-shadow: 8px 0 25px rgba(25,46,82,.08);
}

.v3SidebarBrand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 8px 29px;
  color: white;
}

.v3Logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #3877f4;
  color: white;
  font-weight: 900;
}

.v3SidebarBrand strong {
  display: block;
  font-size: 16px;
}

.v3SidebarBrand small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  color: #9cb7df;
  letter-spacing: 1.2px;
}

.v3SideCaption {
  color: #8faad4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  margin: 0 12px 7px;
}

.v3Sidebar .tab {
  display: flex;
  align-items: center;
  width: 100%;
  flex: none;
  gap: 11px;
  text-align: left;
  padding: 12px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: #c4d4ee;
  font-size: 13px;
  font-weight: 700;
}

.v3Sidebar .tab:hover {
  background: rgba(255,255,255,.1);
  color: white;
}

.v3Sidebar .tab.active {
  background: #3369e9;
  color: white;
  border: 0;
  box-shadow: 0 5px 14px rgba(16,39,81,.4);
}

.v3Sidebar .tab.hidden {
  display: none !important;
}

.v3NavIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  font-size: 18px;
}

.v3SidebarFooter {
  margin-top: auto;
  padding: 13px 11px;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #ffffff0c;
  color: #b7c9e6;
  font-size: 11px;
}

.v3NavScrim {
  display: none;
}

/* Section headings */

.v3PageHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 23px;
}

.v3PageHead .eyebrow {
  font-size: 10px;
  color: #567bb5;
  font-weight: 850;
  letter-spacing: 1.1px;
}

.v3PageHead h2 {
  margin: 4px 0 6px;
  font-size: 27px;
  letter-spacing: -.7px;
}

.v3PageHead p {
  margin: 0;
  color: #75869c;
  font-size: 13px;
}

/* Hide irrelevant controls */

body[data-crm-view="users"] .v3PageHead,
body[data-crm-view="users"] .toolbar,
body[data-crm-view="users"] .quickAdd,
body[data-crm-view="dashboard"] .quickAdd {
  display: none;
}

body[data-crm-view="dashboard"] #statusFilter,
body[data-crm-view="customers"] #statusFilter {
  display: none;
}

/* Shared view components */

.quickAdd, .panel, .card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow);
}

.quickAdd {
  padding: 12px;
}

.quickAdd input {
  border-radius: 9px;
}

.toolbar {
  margin-bottom: 17px;
}

.toolbar select {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: white;
  color: #344665;
  border-radius: 9px;
}

.toolbar .btn, .btn {
  box-shadow: none;
  border-radius: 9px;
}

.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
}

.panelHead {
  padding: 16px 18px;
}

.panelHead h2 {
  font-size: 16px;
}

.metricCard {
  padding: 20px;
}

.metricCard h3 {
  font-size: 11px;
  color: #72839a;
}

.metric {
  color: #203754;
}

/* Job board */

.lane, .laneHead {
  background: #edf2f8;
  border-color: #e1e8f2;
}

.lane {
  border-radius: 14px;
}

.jobCard {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(26,48,91,.05);
}

.jobCard:hover {
  border-color: #b9ccec;
}

.tableWrap {
  max-height: none;
}

th {
  background: #f8fafd;
  color: #7788a0;
}

td {
  color: #31445f;
}

/* Responsive behavior */

@media (max-width: 1250px) {
  .v3Topbar .headerMoney {
    display: none;
  }

  .v3TopSearch {
    width: min(320px, 35vw);
  }
}

@media (max-width: 960px) {
  header.v3Topbar, .wrap {
    margin-left: 0;
  }

  .v3MenuBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }

  .tabs.v3Sidebar {
    transform: translateX(-105%);
    transition: transform .2s ease;
  }

  body.v3-nav-open .tabs.v3Sidebar {
    transform: translateX(0);
  }

  body.v3-nav-open .v3NavScrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(14,28,53,.5);
    border: 0;
    width: 100%;
  }
}

@media (max-width: 700px) {
  header.v3Topbar {
    padding: 10px 12px;
  }

  /* Hide the subtitle on smaller screens */
  .v3Topbar .brand p {
    display: none;
  }

  /* Always allow switching between PC and Mobile View */
  .v3Topbar #viewToggleBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px;
    font-size: 11px;
  }

  /* Keep header buttons compact */
  .v3Topbar .headerRight {
    gap: 6px;
    flex-shrink: 0;
  }

  .v3TopSearch {
    flex: 1;
    min-width: 0;
    width: auto;
  }

  .v3Topbar .headRow {
    gap: 9px;
  }

  .wrap {
    padding: 18px 12px 30px;
  }

  .v3PageHead h2 {
    font-size: 23px;
  }
}

@media (max-width: 480px) {
  .v3Topbar .brand {
    display: none;
  }

  .v3Topbar #logoutBtn {
    padding: 8px;
    font-size: 11px;
  }
}

/* Preserve existing tablet mode */

body.crm-tablet-mode header.v3Topbar,
body.crm-tablet-mode .wrap {
  margin-left: 0;
}

body.crm-tablet-mode .tabs.v3Sidebar,
body.crm-tablet-mode .v3NavScrim,
body.crm-tablet-mode .v3PageHead,
body.crm-tablet-mode .v3TopSearch,
body.crm-tablet-mode .v3MenuBtn {
  display: none !important;
}

/* ==========================================
   V3 WORKSPACE LAYOUTS
   ========================================== */

/* Replace the long horizontal board with a grid */
#boardView[data-board-section]:not([data-board-section="all"]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding-bottom: 20px;
}

/* Regular stage columns */
#boardView[data-board-section]:not([data-board-section="all"]) .lane {
  min-width: 0;
  width: 100%;
  max-height: none;
  min-height: 260px;
  flex: initial;
  border-radius: 14px;
}

/* Avoid infinitely tall card columns */
#boardView[data-board-section]:not([data-board-section="all"]) .dropZone {
  max-height: 650px;
  overflow-y: auto;
}

/* Schedule becomes a full-width workspace */
#boardView[data-board-section="schedule"] {
  grid-template-columns: minmax(0, 1fr);
}

#boardView[data-board-section="schedule"] .scheduledLane {
  min-width: 0 !important;
  width: 100%;
  flex: initial !important;
  min-height: 560px;
}

#boardView[data-board-section="schedule"] .laneScroll {
  overflow: visible;
}

#boardView[data-board-section="schedule"] #calGrid {
  overflow-x: auto;
}

#boardView[data-board-section="schedule"] #calGrid > div {
  min-width: 700px;
}

/* Scheduling uses the full calendar, not status filtering */
body[data-crm-view="board"][data-board-section="schedule"] #statusFilter {
  display: none;
}

/* Remove unnecessary Quick Add forms from these pages */
body[data-crm-view="board"][data-board-section="schedule"] .quickAdd,
body[data-crm-view="board"][data-board-section="history"] .quickAdd {
  display: none;
}

/* Medium screens: two columns */
@media (max-width: 1100px) {
  #boardView[data-board-section]:not([data-board-section="all"]):not([data-board-section="schedule"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Smaller screens: stack lanes */
@media (max-width: 700px) {
  #boardView[data-board-section]:not([data-board-section="all"]):not([data-board-section="schedule"]) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================
   V3 SCHEDULE WORKSPACE
   ========================================== */

#boardView[data-board-section="schedule"]:not([data-board-section="all"]) {
  display: block;
  grid-template-columns: none;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding: 0;
}

#boardView[data-board-section="schedule"] > .scheduledLane {
  display: block;
  width: 100%;
  min-width: 0 !important;
  max-width: none;
  height: auto;
  max-height: none;
  flex: none !important;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

/* Two-column layout */

.v3ScheduleLayout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.v3ScheduleQueue,
.v3ScheduleCalendar {
  min-width: 0;
  background: white;
  border: 1px solid #e1e8f3;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(24,46,84,.04);
}

.v3ScheduleQueue {
  padding: 15px;
}

.v3ScheduleQueueTitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.v3ScheduleQueue h3,
.v3ScheduleCalendar h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -.2px;
}

.v3ScheduleCount {
  padding: 4px 8px;
  border-radius: 8px;
  background: #e9f0fa;
  color: #4d6f9d;
  font-size: 12px;
  font-weight: 800;
}

.v3ScheduleHelp {
  margin: 6px 0 0;
  font-size: 12px;
  color: #71839d;
  line-height: 1.45;
}

/* Unscheduled job queue */

.v3ScheduleQueueItems {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  max-height: min(600px, 63vh);
  overflow-y: auto;
  padding-right: 2px;
}

.v3ScheduleQueueCard {
  padding: 11px;
  border: 1px solid #dfe7f3;
  background: white;
  border-radius: 10px;
  cursor: grab;
}

.v3ScheduleQueueCard:active {
  cursor: grabbing;
}

.v3ScheduleQueueCard .v3ScheduleId {
  display: block;
  color: #7a8ca8;
  font-size: 11px;
  margin-bottom: 5px;
}

.v3ScheduleQueueCard strong {
  display: block;
  color: #1b2c48;
  font-size: 13px;
  line-height: 1.3;
}

.v3ScheduleQueueCard p {
  margin: 5px 0 11px;
  color: #71829b;
  font-size: 12px;
  line-height: 1.4;
}

.v3ScheduleCardFoot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.v3ScheduleCardFoot b {
  font-size: 12px;
}

.v3ScheduleAssign {
  color: #285de3;
  background: #ecf2ff;
  border-color: #d5e2ff;
  font-size: 11px;
}

.v3ScheduleEmpty {
  color: #71839d;
  font-size: 12px;
  padding: 22px 5px;
  text-align: center;
}

/* Subtle unscheduling zone */

.v3ScheduleUndo {
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid #edf1f7;
}

.v3ScheduleUndo > span {
  display: block;
  margin-bottom: 8px;
  color: #73839b;
  font-size: 11px;
  font-weight: 750;
}

.v3ScheduleUndo .unscheduleZone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 12px 10px;
  border: 1px dashed #aebfd8;
  border-radius: 10px;
  color: #71839d;
  background: #f7f9fc;
  font-size: 11px;
  text-align: center;
  line-height: 1.4;
}

/* Calendar */

.v3ScheduleCalendar {
  padding: 16px;
}

.v3ScheduleCalendarHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.v3ScheduleControls {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.v3ScheduleControls .btn {
  border-radius: 9px;
}

.v3ScheduleViewToggle {
  display: flex;
  gap: 4px;
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid #e4eaf3;
}

.v3ScheduleCalendarScroll {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 3px;
}

#boardView[data-board-section="schedule"] #calGrid {
  width: 100%;
  min-width: 0;
  max-width: none;
  overflow: visible;
  padding: 0;
}

.v3ScheduleWeekSummary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 12px;
  color: #72839c;
}

.v3ScheduleWeekSummary b {
  color: #2a5fd4;
  font-size: 13px;
}

/* Five spacious weekday columns */

.v3ScheduleWeekGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(138px, 1fr));
  gap: 9px;
  min-width: 720px;
}

.v3ScheduleDay {
  border: 1px solid #e1e8f3;
  background: #f7f9fd;
  border-radius: 11px;
  min-height: 290px;
  overflow: hidden;
}

.v3ScheduleDay.isToday {
  background: #eff4ff;
  border-color: #9cbaff;
}

.v3ScheduleDayHead {
  padding: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.v3ScheduleDayHead span {
  display: block;
  color: #657c9d;
  font-size: 10px;
  font-weight: 850;
}

.v3ScheduleDayHead strong {
  display: block;
  margin-top: 3px;
  color: #21334f;
  font-size: 19px;
}

.v3ScheduleDayTotal {
  font-size: 10px;
  font-weight: 800;
  color: #3a61aa;
  text-align: right;
  white-space: nowrap;
}

.v3ScheduleDayTotal small {
  display: block;
  color: #b17931;
  margin-top: 3px;
}

.v3ScheduleDayJobs {
  min-height: 220px;
  padding: 6px 9px 13px;
  display: grid;
  gap: 7px;
  align-content: start;
}

.v3ScheduleDayJobs .calJobCard {
  min-width: 0;
  border-left: 3px solid #2c65ed !important;
  background: white;
  padding: 8px !important;
  box-shadow: 0 1px 4px rgba(20,42,83,.07);
}

.v3ScheduleDayJobs .calJobCard[data-status="Rework"] {
  border-left-color: #d99528 !important;
}

.v3ScheduleDayHint {
  display: block;
  margin-top: 16px;
  color: #9baac0;
  font-size: 11px;
  text-align: center;
  line-height: 1.5;
}

.v3ScheduleFootnote {
  margin: 13px 0 0;
  font-size: 11px;
  color: #8594a8;
  line-height: 1.45;
}

/* Keep the existing month view scrollable */
#boardView[data-board-section="schedule"]
#calGrid > div[style*="grid-template-columns"] {
  min-width: 720px;
}

/* Remove unrelated controls from Schedule */

body[data-crm-view="board"][data-board-section="schedule"] #statusFilter,
body[data-crm-view="board"][data-board-section="schedule"] .quickAdd,
body[data-crm-view="board"][data-board-section="schedule"] #exportBtn,
body[data-crm-view="board"][data-board-section="schedule"] #backupBtn,
body[data-crm-view="board"][data-board-section="schedule"] #importBtn {
  display: none !important;
}

/* Responsive */

@media (max-width: 1100px) {
  .v3ScheduleLayout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .v3ScheduleLayout {
    grid-template-columns: minmax(0, 1fr);
  }

  .v3ScheduleQueueItems {
    max-height: 240px;
  }

  .v3ScheduleCalendar {
    padding: 12px;
  }
}

/* V3 Overview */

.v3Overview {
  display: grid;
  gap: 18px;
  margin: 0 0 18px;
}

.ovTaskGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.ovTask {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  padding: 18px;
  background: white;
  border: 1px solid #e0e8f4;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 3px 14px #182f500d;
}

.ovTask:hover,
.ovTask:focus-visible {
  border-color: #8fb0f8;
  box-shadow: 0 4px 17px #2563eb1a;
}

.ovTask span {
  color: #657b9b;
  font-size: 12px;
  font-weight: 750;
}

.ovTask strong {
  color: #203653;
  font-size: 29px;
  line-height: 1.2;
}

.ovTask small {
  color: #8393a8;
  font-size: 11px;
}

/* Two primary panels */

.ovColumns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.ovPanel {
  min-width: 0;
  background: white;
  border: 1px solid #e0e8f4;
  border-radius: 15px;
  box-shadow: 0 3px 14px #182f500b;
  overflow: hidden;
}

.ovPanelHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 19px 18px 14px;
  border-bottom: 1px solid #edf1f7;
}

.ovPanelHead h2,
.ovStages h2 {
  margin: 0;
  color: #213452;
  font-size: 16px;
}

.ovPanelHead p {
  margin: 4px 0 0;
  color: #8190a5;
  font-size: 12px;
}

.ovTextBtn {
  background: none;
  border: 0;
  color: #245fdf;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 3px;
  white-space: nowrap;
}

/* Attention list */

.ovAttentionList {
  padding: 4px 18px;
}

.ovAttentionItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f7;
}

.ovAttentionItem:last-child {
  border-bottom: 0;
}

.ovAttentionItem strong {
  display: block;
  color: #253855;
  font-size: 13px;
  margin: 4px 0;
}

.ovAttentionItem p {
  color: #7888a0;
  font-size: 11px;
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ovOpenBtn {
  flex: none;
  background: #f2f6ff;
  color: #245de0;
  border: 1px solid #d9e5ff;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

/* Weekly snapshot */

.ovWeekSnapshot {
  padding: 18px;
}

.ovWeekValue {
  display: block;
  font-size: 29px;
  color: #213653;
  margin-bottom: 4px;
}

.ovWeekMeta {
  font-size: 12px;
  color: #8494aa;
}

.ovWeek {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin: 20px 0 13px;
}

.ovWeekDay {
  min-width: 0;
  background: #f5f8fd;
  border: 1px solid #e4ebf5;
  border-radius: 9px;
  padding: 12px 7px;
  text-align: center;
}

.ovWeekDay span {
  display: block;
  font-size: 11px;
  color: #8090a6;
  margin-bottom: 9px;
}

.ovWeekDay strong {
  display: block;
  font-size: 11px;
  color: #304666;
  white-space: nowrap;
}

.ovScheduleLink {
  width: 100%;
  padding: 12px;
  background: #ebf1ff;
  border: 1px solid #d5e2ff;
  border-radius: 9px;
  color: #235bd7;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
}

/* Workflow stages */

.ovStages h2 {
  margin: 4px 0 13px;
}

.ovStageGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ovStageGrid button {
  min-width: 0;
  border: 1px solid #e0e8f4;
  border-radius: 12px;
  padding: 17px;
  text-align: left;
  cursor: pointer;
  background: white;
}

.ovStageGrid strong {
  display: block;
  font-size: 13px;
  color: #233654;
}

.ovStageGrid span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #8594a9;
}

.ovEmpty {
  padding: 25px;
  text-align: center;
  color: #8493a9;
  font-size: 12px;
}

/* Existing reports */

.v3Reports {
  margin-top: 8px;
}

.v3Reports > summary {
  cursor: pointer;
  list-style: none;
  background: white;
  border: 1px solid #e0e8f4;
  border-radius: 12px;
  padding: 17px 18px;
  font-size: 14px;
  font-weight: 800;
  color: #273b5b;
}

.v3Reports > summary::-webkit-details-marker {
  display: none;
}

.v3Reports > summary::after {
  content: '+';
  float: right;
  color: #5674a8;
  font-size: 18px;
  line-height: 1;
}

.v3Reports[open] > summary::after {
  content: '−';
}

.v3Reports > .split {
  margin-top: 12px;
}

/* Responsive */

@media (max-width: 1200px) {
  .ovColumns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .ovTaskGrid,
  .ovStageGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ovWeek {
    overflow-x: auto;
  }

  .ovWeekDay {
    min-width: 85px;
  }

  .ovTask,
  .ovStageGrid button {
    padding: 13px;
  }

  .ovPanelHead {
    flex-wrap: wrap;
  }
}
