﻿.sidebar-toggle {
  position: absolute;
  top: 18px;
  right: -24px;
  z-index: 20;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.logo > span {
  flex: 0 0 42px;
}

aside,
main {
  transition: width 0.22s ease, margin-left 0.22s ease, padding 0.22s ease;
}

.sidebar-collapsed aside {
  width: 78px;
  padding-left: 12px;
  padding-right: 12px;
}

.sidebar-collapsed .sidebar-toggle {
  right: -24px;
}

.sidebar-collapsed .logo {
  justify-content: center;
}

.sidebar-collapsed .logo div,
.sidebar-collapsed .concept {
  display: none;
}

.sidebar-collapsed nav {
  margin-top: 64px;
}

.sidebar-collapsed nav button {
  font-size: 0;
  text-align: center;
  padding: 11px 4px;
}

.sidebar-collapsed nav button::before {
  content: attr(data-short);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sidebar-collapsed main {
  margin-left: 78px;
}

.fresh > span {
  font-weight: 700;
}

.fresh small span {
  display: block;
  font-weight: 400;
}

.fresh .fresh-attempt {
  font-size: 10px;
  margin-top: 2px;
}

.fresh.fail .fresh-attempt {
  color: var(--red);
}

@media (max-width: 1000px) {
  .sidebar-toggle {
    display: none;
  }

  nav button::after {
    content: none;
  }

  nav button::before {
    content: attr(data-short);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
}

.logo .logo-mark{
  width:48px;height:48px;border-radius:12px;padding:4px;overflow:visible;
  background:transparent;display:grid;place-items:center;box-shadow:none
}

.logo .logo-mark:hover {
  transform: none;
  box-shadow: none;
}

.logo .logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.clean-header {
  margin-bottom: 18px;
  align-items: center;
}

.clean-header h1 {
  margin: 0;
}

.journey-panel {
  overflow: visible;
  position: relative;
  margin-bottom: 0;
}

.journey-panel .j-step-backlog {
  position: relative;
  z-index: 2;
}

.journey-panel .j-step-backlog i {
  box-shadow: 0 0 0 3px rgba(31, 122, 134, 0.22);
  outline: 2px solid #1f7a86;
  outline-offset: 2px;
}

.journey-panel .j-step-backlog .scrum-drop-arrow {
  position: absolute;
  left: 50%;
  top: calc(100% + 2px);
  width: 2px;
  height: 36px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #1f7a86, #55b7b3);
  border-radius: 2px;
  z-index: 3;
  pointer-events: none;
}

.journey-panel .j-step-backlog .scrum-drop-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 9px;
  height: 9px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid #1f7a86;
  border-bottom: 2px solid #1f7a86;
  background: transparent;
}

.journey-panel .journey {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  overflow: visible;
  padding: 10px 0 4px;
}

.journey-panel .journey .j-step {
  min-width: 0;
  width: auto;
}

.journey-panel .j-step span {
  padding: 0 3px;
  font-size: 9px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.leadtime-overview .panel-head {
  margin-bottom: 14px;
}

.leadtime-overview .leadtime-cards {
  margin-bottom: 0;
}

.leadtime-overview .leadtime-cards article {
  background: #f7fafa;
  padding: 15px 17px;
}

.leadtime-overview .leadtime-cards strong {
  font-size: 24px;
  margin-top: 4px;
}

.active-projects-panel {
  padding-bottom: 14px;
}

.active-projects-panel .panel-head {
  margin-bottom: 12px;
}

.active-projects-panel .source-freshness {
  margin-bottom: 9px;
}

.active-projects-panel .fresh {
  padding: 8px 10px;
}

.active-projects-panel .active-toolbar {
  margin-bottom: 7px;
}

.active-projects-scroll {
  max-height: 335px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.active-projects-scroll thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.active-projects-scroll th,
.active-projects-scroll td {
  padding: 9px 11px;
}

.active-projects-scroll td {
  font-size: 12px;
}

.priority-recommendations-panel .panel-head {
  margin-bottom: 12px;
}

.priority-table-scroll {
  overflow-x: auto;
}

.priority-summary {
  min-width: 900px;
}

.priority-summary th {
  white-space: nowrap;
}

.priority-summary td {
  padding-top: 10px;
  padding-bottom: 10px;
  vertical-align: middle;
}

.priority-summary td:first-child {
  min-width: 210px;
}

.priority-summary td > small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.priority-score {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  padding: 5px 9px;
  border-radius: 20px;
  background: #e8f3f2;
  color: var(--blue);
  font-weight: 800;
}

.economic-input {
  display: flex;
  align-items: center;
  min-width: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.economic-input span {
  padding: 8px 9px;
  color: var(--muted);
  background: #f3f6f6;
  font-size: 11px;
  font-weight: 700;
}

.economic-input input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 8px 9px;
  color: var(--ink);
  background: transparent;
}

.economic-input input::placeholder {
  color: #98a5aa;
}

.economic-input:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 122, 139, 0.1);
}

.economic-input.hours {
  min-width: 135px;
}

.economic-input.hours span {
  order: 2;
}

@media (max-width: 1180px) {
  .journey-panel .journey {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 18px;
  }

  .journey-panel .j-step:nth-child(6)::before,
  .journey-panel .j-step:nth-child(12)::before {
    right: 50%;
  }

  .journey-panel .j-step:nth-child(7)::before {
    left: 50%;
  }
}

@media (max-width: 700px) {
  .journey-panel .journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .leadtime-overview .leadtime-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

