.period-analytics-phase14 {
  --phase14-ink: #17212b;
  --phase14-muted: #66717d;
  --phase14-line: #dce2e8;
  --phase14-panel: #ffffff;
  --phase14-soft: #f5f7f9;
  --phase14-blue: #0077bb;
  --phase14-blue-soft: #e8f4fb;
  --phase14-orange: #d96f12;
  --phase14-orange-soft: #fff2e5;
  --phase14-red: #b73a2f;
  --phase14-red-soft: #fbeceb;
  --phase14-green: #17795a;
  --phase14-green-soft: #e8f5ef;
  display: grid;
  gap: 18px;
  margin-top: 24px;
  min-width: 0;
  color: var(--phase14-ink);
}

.period-phase14-heading,
.period-phase14-panel > header,
.period-phase14-source-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.period-phase14-heading {
  padding-top: 4px;
}

.period-phase14-heading > div,
.period-phase14-panel > header > div,
.period-phase14-source-heading > div {
  min-width: 0;
}

.period-phase14-eyebrow,
.period-phase14-heading span:first-child,
.period-phase14-panel > header span,
.period-phase14-source-heading span {
  display: block;
  margin-bottom: 6px;
  color: var(--phase14-blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.period-phase14-heading h3,
.period-phase14-panel h4,
.period-phase14-source-heading h4 {
  margin: 0;
  color: var(--phase14-ink);
  line-height: 1.25;
}

.period-phase14-heading h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.period-phase14-panel h4,
.period-phase14-source-heading h4 {
  font-size: 18px;
}

.period-phase14-heading p,
.period-phase14-panel > header p,
.period-phase14-source-heading p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--phase14-muted);
  font-size: 13px;
  line-height: 1.7;
}

.period-phase14-release {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--phase14-line);
  border-radius: 999px;
  background: var(--phase14-soft);
  color: var(--phase14-muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
  text-align: center;
}

.period-phase14-release.candidate_ready {
  border-color: #e2a164;
  background: var(--phase14-orange-soft);
  color: #9a4d0b;
}

.period-phase14-release.blocked {
  border-color: #dfaaa5;
  background: var(--phase14-red-soft);
  color: var(--phase14-red);
}

.period-phase14-release.ready {
  border-color: #87bea9;
  background: var(--phase14-green-soft);
  color: var(--phase14-green);
}

.period-phase14-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid var(--phase14-line);
  border-radius: 12px;
  background: var(--phase14-panel);
}

.period-phase14-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.period-phase14-toolbar .secondary-button {
  min-height: 44px;
  padding: 9px 14px;
  white-space: normal;
}

.period-phase14-toolbar > span {
  flex: 0 1 520px;
  min-width: 0;
  color: var(--phase14-muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-align: right;
}

.period-phase14-verdict {
  padding: 18px 20px;
  border: 1px solid #e2a164;
  border-left: 5px solid var(--phase14-orange);
  border-radius: 12px;
  background: var(--phase14-orange-soft);
}

.period-phase14-verdict.blocked {
  border-color: #dfaaa5;
  border-left-color: var(--phase14-red);
  background: var(--phase14-red-soft);
}

.period-phase14-verdict.ready {
  border-color: #87bea9;
  border-left-color: var(--phase14-green);
  background: var(--phase14-green-soft);
}

.period-phase14-verdict > span {
  display: block;
  color: var(--phase14-orange);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.period-phase14-verdict.blocked > span {
  color: var(--phase14-red);
}

.period-phase14-verdict.ready > span {
  color: var(--phase14-green);
}

.period-phase14-verdict strong {
  display: block;
  margin-top: 7px;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.45;
}

.period-phase14-verdict p {
  margin: 7px 0 0;
  color: var(--phase14-muted);
  font-size: 13px;
  line-height: 1.65;
}

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

.period-phase14-summary-grid article,
.period-phase14-mapping-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--phase14-line);
  border-top: 3px solid var(--phase14-blue);
  border-radius: 12px;
  background: var(--phase14-panel);
}

.period-phase14-summary-grid article.blocked {
  border-top-color: var(--phase14-red);
  background: var(--phase14-red-soft);
}

.period-phase14-summary-grid span,
.period-phase14-mapping-grid span {
  display: block;
  color: var(--phase14-muted);
  font-size: 12px;
  font-weight: 680;
}

.period-phase14-summary-grid strong,
.period-phase14-mapping-grid strong {
  display: block;
  margin-top: 7px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
}

.period-phase14-summary-grid small,
.period-phase14-mapping-grid small {
  display: block;
  margin-top: 7px;
  color: var(--phase14-muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.period-phase14-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--phase14-line);
  border-radius: 14px;
  background: var(--phase14-panel);
}

.period-phase14-panel > header > b {
  flex: 0 0 auto;
  color: var(--phase14-blue);
  font-size: 12px;
  line-height: 1.4;
}

.period-phase14-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.period-phase14-progress li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--phase14-line);
  border-radius: 10px;
  background: var(--phase14-soft);
}

.period-phase14-progress li > span {
  display: grid;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--phase14-blue-soft);
  color: var(--phase14-blue);
  font-size: 12px;
  font-weight: 800;
}

.period-phase14-progress li.is-blocked > span {
  background: var(--phase14-orange-soft);
  color: var(--phase14-orange);
}

.period-phase14-progress li > div {
  min-width: 0;
}

.period-phase14-progress strong,
.period-phase14-progress small {
  display: block;
}

.period-phase14-progress strong {
  font-size: 13px;
  line-height: 1.45;
}

.period-phase14-progress small {
  margin-top: 3px;
  color: var(--phase14-muted);
  font-size: 12px;
}

.period-phase14-progress li > div > div {
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e1e7ec;
}

.period-phase14-progress li > div > div i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--phase14-blue);
}

.period-phase14-progress li.is-blocked > div > div i {
  background: var(--phase14-orange);
}

.period-phase14-progress li > b {
  grid-column: 1 / -1;
  color: var(--phase14-green);
  font-size: 12px;
}

.period-phase14-progress li.is-blocked > b {
  color: var(--phase14-orange);
}

.period-phase14-source-heading {
  margin-top: 2px;
}

.period-phase14-source-heading p {
  max-width: 440px;
  text-align: right;
}

.period-phase14-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.period-phase14-source {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--phase14-line);
  border-top: 3px solid var(--phase14-blue);
  border-radius: 12px;
  background: var(--phase14-panel);
}

.period-phase14-source.blocked {
  border-top-color: var(--phase14-red);
}

.period-phase14-source > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.period-phase14-source header span {
  display: block;
  color: var(--phase14-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.period-phase14-source h4 {
  margin: 4px 0 0;
  font-size: 17px;
}

.period-phase14-source header b {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--phase14-blue-soft);
  color: var(--phase14-blue);
  font-size: 12px;
}

.period-phase14-source.blocked header b {
  background: var(--phase14-red-soft);
  color: var(--phase14-red);
}

.period-phase14-file {
  min-height: 40px;
  margin: 12px 0;
  color: var(--phase14-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.period-phase14-source dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.period-phase14-source dl div {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: var(--phase14-soft);
}

.period-phase14-source dt {
  color: var(--phase14-muted);
  font-size: 12px;
}

.period-phase14-source dd {
  margin: 4px 0 0;
  color: var(--phase14-ink);
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.period-phase14-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.period-phase14-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid var(--phase14-line);
  border-radius: 999px;
  background: var(--phase14-soft);
  color: var(--phase14-muted);
  font-size: 12px;
}

.period-phase14-check i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--phase14-green-soft);
  color: var(--phase14-green);
  font-style: normal;
  font-weight: 800;
}

.period-phase14-check.is-blocked i {
  background: var(--phase14-orange-soft);
  color: var(--phase14-orange);
}

.period-phase14-source footer {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--phase14-line);
  color: var(--phase14-muted);
  font-size: 12px;
  line-height: 1.6;
}

.period-phase14-mapping-grid {
  margin-top: 16px;
}

.period-phase14-mapping-panel > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--phase14-line);
  color: var(--phase14-muted);
  font-size: 12px;
  line-height: 1.5;
}

.period-phase14-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.period-phase14-lanes article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--phase14-line);
  border-radius: 12px;
  background: var(--phase14-panel);
}

.period-phase14-lanes article.auto {
  border-top: 3px solid var(--phase14-blue);
}

.period-phase14-lanes article.manual {
  border-top: 3px solid var(--phase14-orange);
}

.period-phase14-lanes article.blocked {
  border-top: 3px solid var(--phase14-red);
}

.period-phase14-lanes header span,
.period-phase14-lanes header small {
  display: block;
}

.period-phase14-lanes header span {
  font-size: 14px;
  font-weight: 760;
}

.period-phase14-lanes header small {
  margin-top: 6px;
  color: var(--phase14-muted);
  font-size: 12px;
  line-height: 1.55;
}

.period-phase14-lanes ul {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding-left: 18px;
}

.period-phase14-lanes li {
  color: var(--phase14-ink);
  font-size: 12px;
  line-height: 1.55;
}

.period-phase14-table-wrap {
  max-width: 100%;
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--phase14-line);
  border-radius: 10px;
}

.period-phase14-table-wrap table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.period-phase14-table-wrap th,
.period-phase14-table-wrap td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--phase14-line);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
}

.period-phase14-table-wrap th {
  background: var(--phase14-soft);
  color: var(--phase14-muted);
  font-weight: 700;
}

.period-phase14-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.period-phase14-table-wrap tr.is-clear {
  color: var(--phase14-muted);
  background: var(--phase14-green-soft);
}

.period-phase14-table-wrap td strong,
.period-phase14-table-wrap td small {
  display: block;
}

.period-phase14-table-wrap td small {
  margin-top: 3px;
  color: var(--phase14-muted);
  font-size: 12px;
}

.period-phase14-priority {
  display: inline-block;
  min-width: 34px;
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--phase14-soft);
  color: var(--phase14-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.period-phase14-priority.p0 {
  background: var(--phase14-red-soft);
  color: var(--phase14-red);
}

.period-phase14-priority.p1 {
  background: var(--phase14-orange-soft);
  color: var(--phase14-orange);
}

.period-phase14-contract {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--phase14-blue);
  background: var(--phase14-blue-soft);
  color: var(--phase14-muted);
  font-size: 12px;
  line-height: 1.7;
}

.period-phase14-empty {
  padding: 24px;
  border: 1px dashed var(--phase14-line);
  border-radius: 12px;
  background: var(--phase14-soft);
  color: var(--phase14-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.period-analytics-phase14 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .period-phase14-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .period-phase14-summary-grid,
  .period-phase14-mapping-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .period-phase14-source-grid,
  .period-phase14-lanes {
    grid-template-columns: 1fr;
  }

  .period-phase14-source-heading p {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .period-phase14-heading,
  .period-phase14-panel > header,
  .period-phase14-source-heading,
  .period-phase14-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .period-phase14-release,
  .period-phase14-panel > header > b {
    align-self: flex-start;
  }

  .period-phase14-toolbar > span {
    flex: 0 1 auto;
    text-align: left;
  }

  .period-phase14-progress {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .period-analytics-phase14 {
    gap: 14px;
    margin-top: 18px;
  }

  .period-phase14-summary-grid,
  .period-phase14-mapping-grid,
  .period-phase14-source dl {
    grid-template-columns: 1fr;
  }

  .period-phase14-panel,
  .period-phase14-source,
  .period-phase14-lanes article,
  .period-phase14-verdict {
    padding: 14px;
  }

  .period-phase14-toolbar > div {
    width: 100%;
  }

  .period-phase14-toolbar .secondary-button {
    width: 100%;
  }

  .period-phase14-mapping-panel > footer {
    display: grid;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .period-analytics-phase14 *,
  .period-analytics-phase14 *::before,
  .period-analytics-phase14 *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
