/* Adentia Project Operations – ljus dashboard-landning */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --po-bg: #f3f5f4;
  --po-bg-2: #e9eeeb;
  --po-card: #ffffff;
  --po-ink: #1b201e;
  --po-ink-2: #3a4340;
  --po-muted: #6b7571;
  --po-line: #e1e6e3;
  --po-line-2: #cfd6d2;
  --po-green: #30ac68;
  --po-green-hover: #269656;
  --po-green-soft: #e7f6ee;
  --po-green-ink: #0d4a2c;
  --po-graphite: #252b29;
  --po-risk: #c45c3a;
  --po-risk-soft: #f8ece8;
  --po-wait: #b5892a;
  --po-wait-soft: #f7f1e2;
  --po-ok: #30ac68;
  --po-shadow: 0 1px 2px rgba(22, 28, 26, 0.04), 0 10px 28px rgba(22, 28, 26, 0.05);
  --po-shadow-sm: 0 1px 2px rgba(22, 28, 26, 0.05);
  --po-radius: 12px;
  --po-radius-sm: 8px;
  --po-pad: 32px;
  --po-font: 'DM Sans', system-ui, sans-serif;
  --po-display: 'Space Grotesk', system-ui, sans-serif;
  --po-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --po-nav-h: 58px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body.po {
  margin: 0;
  font-family: var(--po-font);
  background: var(--po-bg);
  color: var(--po-ink);
  font-size: 15px;
  line-height: 1.5;
  color-scheme: light;
  accent-color: var(--po-green);
  -webkit-font-smoothing: antialiased;
}

.po-main {
  overflow-x: hidden;
}

.po-pad {
  padding-left: var(--po-pad);
  padding-right: var(--po-pad);
}

.po-section {
  padding: 72px var(--po-pad);
}

.po-section--tight {
  padding-top: 48px;
  padding-bottom: 48px;
}

.po-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--po-green-ink);
}

.po-h2 {
  margin: 0 0 12px;
  font-family: var(--po-display);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 28ch;
}

.po-lead {
  margin: 0;
  color: var(--po-muted);
  max-width: 52ch;
  font-size: 0.98rem;
}

.po-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

/* Buttons */
.po-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 9px;
  font: 600 13.5px/1 var(--po-font);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s var(--po-ease), border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.po-btn:hover {
  transform: translateY(-1px);
}

.po-btn--primary {
  background: var(--po-green);
  color: #06100a;
}

.po-btn--primary:hover {
  background: var(--po-green-hover);
}

.po-btn--ghost {
  background: transparent;
  color: var(--po-ink);
  border-color: var(--po-line-2);
}

.po-btn--ghost:hover {
  background: #fff;
  border-color: #b8c2bd;
}

.po-btn--dark {
  background: #fff;
  color: var(--po-graphite);
  border-color: transparent;
}

.po-btn--dark:hover {
  background: var(--po-green);
}

.po-btn--light {
  background: transparent;
  color: #eef3ef;
  border-color: rgba(255, 255, 255, 0.22);
}

.po-btn--light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Badges */
.po-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}

.po-badge--ok {
  background: var(--po-green-soft);
  color: var(--po-green-ink);
}

.po-badge--run {
  background: #e8eef6;
  color: #1d3a63;
}

.po-badge--risk {
  background: var(--po-risk-soft);
  color: #8a331c;
}

.po-badge--wait {
  background: var(--po-wait-soft);
  color: #6d5410;
}

.po-badge--blocked {
  background: #f3e8ea;
  color: #8a2436;
}

.po-badge--neutral {
  background: #eef1ef;
  color: var(--po-ink-2);
}

/* Cards / metrics */
.po-card {
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: var(--po-radius);
  box-shadow: var(--po-shadow-sm);
}

.po-metric {
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: var(--po-radius-sm);
  padding: 14px 16px;
  min-width: 0;
}

.po-metric__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--po-muted);
}

.po-metric__value {
  display: block;
  margin-top: 6px;
  font-family: var(--po-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.po-progress {
  height: 6px;
  background: #eef1ef;
  border-radius: 999px;
  overflow: hidden;
}

.po-progress > span {
  display: block;
  height: 100%;
  background: var(--po-green);
  border-radius: inherit;
}

.po-progress--warn > span {
  background: var(--po-wait);
}

.po-progress--risk > span {
  background: var(--po-risk);
}

/* ========== NAV ========== */
.po-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--po-nav-h);
  background: rgba(243, 245, 244, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--po-line);
}

.po-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 var(--po-pad);
}

.po-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  line-height: 1.1;
  flex-shrink: 0;
}

.po-brand__name {
  font-family: var(--po-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.po-brand__sub {
  font-size: 11px;
  color: var(--po-muted);
  font-weight: 500;
}

.po-nav__links {
  display: none;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.po-nav__links a {
  color: var(--po-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 7px;
}

.po-nav__links a:hover,
.po-nav__links a.is-active {
  color: var(--po-ink);
  background: rgba(255, 255, 255, 0.7);
}

.po-nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.po-nav__cta {
  margin-left: auto;
  flex-shrink: 0;
}

.po-nav__menu {
  display: flex;
  margin-left: 8px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--po-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.po-nav__menu span {
  width: 16px;
  height: 1.5px;
  background: var(--po-ink);
}

.po-nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--po-pad) 16px;
  background: #fff;
  border-bottom: 1px solid var(--po-line);
}

.po-nav__mobile a,
.po-nav__mobile button {
  padding: 10px 0;
  color: var(--po-ink);
  text-decoration: none;
  font: 500 15px/1.4 var(--po-font);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--po-line);
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.po-nav.is-open .po-nav__mobile {
  display: flex;
}

@media (min-width: 1100px) {
  .po-nav__links {
    display: flex;
  }
  .po-nav__menu {
    display: none;
  }
  .po-nav__actions,
  .po-nav__cta {
    margin-left: auto;
  }
}

/* ========== HERO ========== */
.po-hero {
  min-height: calc(100vh - var(--po-nav-h));
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 28px var(--po-pad) 40px;
  align-items: center;
}

.po-hero__copy {
  max-width: 36rem;
}

.po-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--po-line);
  background: #fff;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--po-ink-2);
}

.po-hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--po-green);
}

.po-hero h1 {
  margin: 18px 0 14px;
  font-family: var(--po-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.po-hero__text {
  margin: 0 0 22px;
  color: var(--po-ink-2);
  max-width: 46ch;
  font-size: 1.02rem;
}

.po-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.po-hero__sectors {
  margin: 22px 0 0;
  color: var(--po-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.po-dash {
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: 14px;
  box-shadow: var(--po-shadow);
  overflow: hidden;
  min-width: 0;
}

.po-dash__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fbfcfb;
  border-bottom: 1px solid var(--po-line);
}

.po-dash__dots {
  display: flex;
  gap: 5px;
}

.po-dash__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7ddd9;
}

.po-dash__title {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.po-dash__meta {
  margin-left: auto;
  font-size: 12px;
  color: var(--po-muted);
}

.po-dash__body {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.po-kpi-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.po-bars {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  background: #f8faf9;
  border: 1px solid var(--po-line);
  border-radius: var(--po-radius-sm);
}

.po-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
}

.po-bar-row span:last-child {
  text-align: right;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.po-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.po-table th {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--po-muted);
  font-weight: 650;
  padding: 0 8px 8px;
}

.po-table td {
  padding: 9px 8px;
  border-top: 1px solid var(--po-line);
}

.po-table tr:hover td {
  background: #f8faf9;
}

@media (min-width: 1100px) {
  .po-hero {
    grid-template-columns: 42fr 58fr;
    gap: 36px;
    min-height: calc(100vh - var(--po-nav-h));
  }
}

@media (max-width: 1099px) {
  .po-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== PROBLEM ========== */
.po-day {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.po-day__col {
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: var(--po-radius);
  padding: 18px 18px 16px;
}

.po-day__col h3 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.po-day__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.po-day__col li {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f6f8f7;
  font-size: 13.5px;
}

.po-day__col--ops {
  border-color: var(--po-green);
  box-shadow: 0 0 0 3px var(--po-green-soft);
}

.po-day__col--ops li {
  background: var(--po-green-soft);
}

.po-problem-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.po-problem-note p {
  margin: 0;
  font-size: 1.05rem;
}

.po-takeover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 13px;
  color: var(--po-green-ink);
  text-decoration: none;
}

@media (min-width: 900px) {
  .po-day {
    grid-template-columns: 1fr 1fr 1.35fr;
  }
}

/* ========== FLOW ========== */
.po-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.po-flow__step {
  position: relative;
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: var(--po-radius-sm);
  padding: 14px 14px 16px;
  min-width: 0;
}

.po-flow__n {
  font-size: 10px;
  color: var(--po-muted);
  letter-spacing: 0.08em;
}

.po-flow__step h3 {
  margin: 4px 0 6px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.po-flow__step p {
  margin: 0;
  font-size: 12.5px;
  color: var(--po-muted);
}

@media (min-width: 1200px) {
  .po-flow {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .po-flow__step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -7px;
    top: 22px;
    z-index: 1;
    color: var(--po-muted);
    font-size: 12px;
  }
}

@media (min-width: 800px) and (max-width: 1199px) {
  .po-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ========== MODULES ========== */
.po-modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.po-module {
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: var(--po-radius);
  padding: 18px 18px 16px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.po-module:hover {
  border-color: #c5d0cb;
  box-shadow: var(--po-shadow);
  transform: translateY(-2px);
}

.po-module__n {
  font-family: var(--po-display);
  font-size: 12px;
  color: var(--po-muted);
}

.po-module h3 {
  margin: 8px 0 14px;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.po-module ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.po-module li {
  font-size: 13px;
  color: var(--po-ink-2);
  padding-left: 12px;
  position: relative;
}

.po-module li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--po-green);
}

@media (min-width: 800px) {
  .po-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .po-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ========== TIMELINE ========== */
.po-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.po-tl-step {
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: var(--po-radius);
  padding: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.po-tl-step.is-active {
  border-color: var(--po-green);
  box-shadow: 0 0 0 3px var(--po-green-soft);
}

.po-tl-step__name {
  font-family: var(--po-display);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.po-tl-step ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--po-muted);
  font-size: 13px;
  display: grid;
  gap: 4px;
}

@media (min-width: 1100px) {
  .po-timeline {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

/* ========== KIT ========== */
.po-kit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.po-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.po-tabs button {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--po-line);
  background: #fff;
  font: 600 12.5px/1 var(--po-font);
  cursor: pointer;
  color: var(--po-ink-2);
}

.po-tabs button.is-active,
.po-tabs button:hover {
  background: var(--po-graphite);
  color: #fff;
  border-color: var(--po-graphite);
}

.po-kit__board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.po-kit__box {
  padding: 18px;
}

.po-kit__box h3 {
  margin: 0 0 4px;
  font-family: var(--po-display);
  letter-spacing: -0.02em;
}

.po-kit__box .po-muted {
  margin: 0 0 14px;
  color: var(--po-muted);
  font-size: 13px;
}

.po-check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.po-check li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.po-check li::before {
  content: '✓';
  color: var(--po-green);
  font-weight: 700;
}

.po-kit__path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
}

.po-kit__node {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  border: 1px dashed var(--po-line-2);
  border-radius: 10px;
  font-weight: 650;
  font-size: 13px;
}

.po-kit__node--done {
  border-style: solid;
  background: var(--po-green-soft);
  border-color: #b7e0c6;
}

.po-kit__arrow {
  color: var(--po-muted);
}

.po-kit-quote {
  margin: 18px 0 0;
  font-family: var(--po-display);
  font-size: 1.2rem;
}

@media (min-width: 1000px) {
  .po-kit {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .po-kit__board {
    grid-template-columns: 1.3fr 0.9fr;
  }
}

/* ========== HUB ========== */
.po-hub {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 640px;
  box-shadow: var(--po-shadow);
}

.po-hub__side {
  background: #f8faf9;
  border-bottom: 1px solid var(--po-line);
  padding: 10px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.po-hub__side button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  font: 600 12.5px/1 var(--po-font);
  color: var(--po-muted);
  cursor: pointer;
  white-space: nowrap;
}

.po-hub__side button.is-active {
  background: #fff;
  color: var(--po-ink);
  box-shadow: var(--po-shadow-sm);
}

.po-hub__main {
  padding: 18px;
  min-width: 0;
}

.po-hub-panel {
  display: none;
  animation: poFade 0.22s var(--po-ease);
}

.po-hub-panel.is-active {
  display: block;
}

.po-hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.po-hub__block {
  padding: 14px;
}

.po-hub__block h3 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--po-muted);
}

.po-risk {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--po-line);
  font-size: 13px;
}

.po-risk:first-of-type {
  border-top: 0;
}

@media (min-width: 900px) {
  .po-hub {
    grid-template-columns: 220px 1fr;
  }
  .po-hub__side {
    display: flex;
    flex-direction: column;
    overflow: visible;
    border-bottom: 0;
    border-right: 1px solid var(--po-line);
    padding: 14px 10px;
  }
  .po-hub__side button {
    width: 100%;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    height: 38px;
  }
  .po-hub__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .po-hub__block--wide {
    grid-column: span 2;
  }
}

@media (max-width: 899px) {
  .po-hub__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== READINESS ========== */
.po-ready {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.po-ready-card {
  padding: 18px;
}

.po-ready-card h3 {
  margin: 0 0 4px;
  font-family: var(--po-display);
}

.po-ready-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.po-ready-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #f6f8f7;
  border-radius: 8px;
  font-size: 13.5px;
}

.po-ready-status {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.po-ready-status--ok {
  background: var(--po-green-soft);
  color: var(--po-green-ink);
}

.po-ready-status--blocked {
  background: var(--po-risk-soft);
  color: #8a331c;
}

.po-note-warn {
  margin: 0 0 12px;
  font-size: 13px;
  color: #8a331c;
}

@media (min-width: 900px) {
  .po-ready {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== LOOKAHEAD ========== */
.po-weeks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.po-week {
  padding: 14px;
  cursor: pointer;
}

.po-week.is-active {
  border-color: var(--po-green);
}

.po-week h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.po-week-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--po-line);
  font-size: 13px;
}

.po-week-item:first-of-type {
  border-top: 0;
}

@media (min-width: 900px) {
  .po-weeks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ========== ÄTA ========== */
.po-ata {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.po-ata__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.po-ata__item {
  padding: 16px;
}

.po-ata__item h3 {
  margin: 0 0 4px;
  font-family: var(--po-display);
}

.po-ata-rows {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.po-ata-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 8px 0;
  border-top: 1px solid var(--po-line);
}

@media (min-width: 1000px) {
  .po-ata {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

/* ========== DOCS ========== */
.po-docs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.po-doc-bars {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.po-missing {
  padding: 16px;
}

.po-missing ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.po-missing li {
  padding: 8px 0;
  border-top: 1px solid var(--po-line);
  font-size: 13.5px;
}

.po-missing li:first-child {
  border-top: 0;
}

.po-missing[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .po-docs {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

/* ========== AI ========== */
.po-ai {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.po-ai__col {
  padding: 18px;
}

.po-ai__col h3 {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.po-ai-row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--po-line);
  font-size: 14px;
}

.po-ai-row:first-of-type {
  border-top: 0;
}

.po-ai-row small {
  color: var(--po-muted);
}

.po-ai__col--human {
  background: var(--po-graphite);
  color: #eef3ef;
  border-color: var(--po-graphite);
}

.po-ai__col--human h3 {
  color: #b7c4bc;
}

.po-ai__col--human .po-ai-row {
  border-top-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 900px) {
  .po-ai {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* ========== PACKAGES ========== */
.po-packs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.po-pack {
  padding: 22px 20px 20px;
  position: relative;
}

.po-pack.is-rec {
  border-color: var(--po-green);
  box-shadow: 0 0 0 3px var(--po-green-soft);
}

.po-pack__rec {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--po-green-ink);
  background: var(--po-green-soft);
  padding: 4px 8px;
  border-radius: 999px;
}

.po-pack h3 {
  margin: 0 0 6px;
  font-family: var(--po-display);
  font-size: 1.2rem;
}

.po-pack p {
  margin: 0 0 16px;
  color: var(--po-muted);
  font-size: 13.5px;
}

.po-pack ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.po-pack li {
  font-size: 13.5px;
  padding-left: 14px;
  position: relative;
}

.po-pack li::before {
  content: '→';
  position: absolute;
  margin-left: -14px;
  color: var(--po-green);
  font-size: 12px;
}

@media (min-width: 1000px) {
  .po-packs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ========== INDUSTRIES ========== */
.po-industries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.po-industry {
  padding: 18px;
  min-height: 150px;
}

.po-industry h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.po-industry ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.po-industry li {
  font-size: 12.5px;
  padding: 5px 8px;
  background: #f3f6f4;
  border-radius: 6px;
}

@media (min-width: 800px) {
  .po-industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .po-industries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ========== PILOT ========== */
.po-pilot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.po-pilot-step {
  padding: 16px;
  cursor: pointer;
}

.po-pilot-step.is-active {
  border-color: var(--po-green);
}

.po-pilot-step b {
  display: block;
  font-size: 11px;
  color: var(--po-muted);
  letter-spacing: 0.08em;
}

.po-pilot-step strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.po-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.po-metrics span {
  font-size: 12.5px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--po-line);
  border-radius: 999px;
}

@media (min-width: 900px) {
  .po-pilot {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ========== CLOSE ========== */
.po-close {
  background: var(--po-graphite);
  color: #eef3ef;
  padding: 88px var(--po-pad);
}

.po-close h2 {
  margin: 0 0 12px;
  font-family: var(--po-display);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 16ch;
}

.po-close p {
  margin: 0 0 24px;
  color: #9aa8a0;
}

.po-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.po-foot {
  padding: 18px var(--po-pad);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--po-muted);
  border-top: 1px solid var(--po-line);
}

.po-foot a {
  color: var(--po-muted);
  text-decoration: none;
}

/* ========== MODAL ========== */
.po-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(18, 22, 21, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.po-modal[hidden] {
  display: none;
}

.po-modal__box {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--po-shadow);
}

.po-modal__box h2 {
  margin: 0 0 6px;
  font-family: var(--po-display);
}

.po-modal__box p {
  margin: 0 0 16px;
  color: var(--po-muted);
  font-size: 13.5px;
}

.po-form {
  display: grid;
  gap: 10px;
}

.po-form label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

.po-form input,
.po-form select,
.po-form textarea {
  height: 40px;
  border: 1px solid var(--po-line);
  border-radius: 8px;
  padding: 0 10px;
  font: 400 14px/1 var(--po-font);
  background: #fff;
}

.po-form textarea {
  height: 84px;
  padding: 10px;
  resize: vertical;
}

[hidden] {
  display: none !important;
}

.po-form__actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.po-form__ok {
  margin: 0;
  color: var(--po-green-ink);
  font-size: 13.5px;
}

.po-form__error {
  margin: 0;
  color: #8a2436;
  font-size: 13px;
  font-weight: 500;
}

.po-login__links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  font-size: 13px;
}

.po-login__links a {
  color: var(--po-ink-2);
}

.po-text-btn {
  border: 0;
  background: none;
  padding: 0;
  font: 500 13px/1 var(--po-font);
  color: var(--po-ink-2);
  cursor: pointer;
}

.po-text-btn:hover,
.po-login__links a:hover {
  color: var(--po-ink);
}

.po-btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

@keyframes poFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 699px) {
  .po-nav__login {
    display: none;
  }
}

@media (max-width: 699px) {
  :root {
    --po-pad: 18px;
  }
  .po-section {
    padding: 48px var(--po-pad);
  }
  .po-kpi-row,
  .po-hub__grid,
  .po-ata__summary,
  .po-check {
    grid-template-columns: 1fr;
  }
  .po-bar-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ========== PROJECT HUB APP ========== */
body.po-app {
  height: 100dvh;
  overflow: hidden;
  background: var(--po-bg);
}

.po-gate {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.po-gate[hidden],
.po-app-root[hidden] {
  display: none !important;
}

.po-gate__card {
  width: min(440px, 100%);
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: 14px;
  box-shadow: var(--po-shadow);
  padding: 28px 26px 24px;
}

.po-gate__card h1 {
  margin: 8px 0 8px;
  font-family: var(--po-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.po-gate__card > p {
  margin: 0 0 22px;
  color: var(--po-muted);
  font-size: 14px;
}

.po-gate__wait {
  color: var(--po-muted);
  font-size: 14px;
}

.po-app-root {
  display: grid;
  grid-template-rows: 56px 1fr;
  height: 100dvh;
}

.po-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px 0 18px;
  background: var(--po-card);
  border-bottom: 1px solid var(--po-line);
}

.po-appbar__left,
.po-appbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.po-appbar__project-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.po-appbar__create {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  flex-shrink: 0;
}

.po-appbar__project {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--po-line);
}

.po-appbar__project span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--po-muted);
  font-weight: 650;
}

.po-appbar__project select {
  appearance: none;
  border: 0;
  background: transparent;
  font: 650 14px/1.3 var(--po-font);
  color: var(--po-ink);
  padding: 0 18px 0 0;
  max-width: min(320px, 42vw);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7571' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}

.po-appbar__health {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--po-muted);
}

.po-appbar__health b {
  color: var(--po-green-ink);
  font-size: 13px;
}

.po-appbar__user {
  font-size: 13px;
  color: var(--po-ink-2);
  white-space: nowrap;
}

.po-appbar__logout {
  height: 34px;
  padding: 0 12px;
}

.po-shell {
  display: grid;
  grid-template-columns: 228px 1fr;
  min-height: 0;
}

.po-side {
  background: var(--po-card);
  border-right: 1px solid var(--po-line);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: auto;
}

.po-side__label {
  margin: 10px 10px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--po-muted);
}

.po-side__label:first-child {
  margin-top: 2px;
}

.po-side button {
  display: flex;
  align-items: center;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: 600 13px/1 var(--po-font);
  color: var(--po-muted);
  cursor: pointer;
  text-align: left;
}

.po-side button:hover {
  background: var(--po-bg);
  color: var(--po-ink);
}

.po-side button.is-active {
  background: var(--po-green-soft);
  color: var(--po-green-ink);
}

.po-workspace {
  min-width: 0;
  overflow: auto;
  padding: 22px 24px 32px;
}

.po-workspace__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.po-workspace__head h1 {
  margin: 0;
  font-family: var(--po-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.po-workspace__head p {
  margin: 4px 0 0;
  color: var(--po-muted);
  font-size: 13.5px;
}

.po-empty {
  background: var(--po-card);
  border: 1px solid var(--po-line);
  border-radius: var(--po-radius);
  padding: 28px 24px;
  max-width: 640px;
}

.po-empty h2 {
  margin: 0 0 8px;
  font-family: var(--po-display);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.po-empty p {
  margin: 0 0 18px;
  color: var(--po-muted);
}

.po-live-note {
  margin-top: 12px;
}

.po-live-note p {
  margin: 0;
  color: var(--po-ink-2);
  font-size: 14px;
}

.po-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.po-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.po-field .po-text-btn {
  align-self: flex-start;
  padding: 0;
}

.po-modal--nested {
  z-index: 140;
}

.po-app-panel {
  display: none;
}

.po-app-panel.is-active {
  display: block;
  animation: poFade 0.2s var(--po-ease);
}

.po-kpi-row--app {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

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

.po-app-grid .po-card {
  padding: 16px;
}

.po-span-2 {
  grid-column: span 2;
}

.po-span-4 {
  grid-column: span 4;
}

.po-app .po-table {
  width: 100%;
}

.po-app-panel > .po-card,
.po-app-grid .po-card {
  padding: 16px;
}

.po-app-grid .po-card > h3,
.po-app-panel > .po-card > h3 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--po-muted);
}

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

.po-app .po-ready {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.po-app .po-ata {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px;
}

.po-app .po-docs {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 12px;
}

.po-app .po-kit {
  display: grid;
  grid-template-columns: 1fr;
}

@media (max-width: 1100px) {
  .po-kpi-row--app,
  .po-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .po-span-2,
  .po-span-4 {
    grid-column: span 2;
  }
  .po-app .po-weeks,
  .po-app .po-ready,
  .po-app .po-ata,
  .po-app .po-docs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .po-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .po-side {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--po-line);
    padding: 8px;
  }
  .po-side__label {
    display: none;
  }
  .po-side button {
    width: auto;
    flex: 0 0 auto;
    height: 34px;
  }
  .po-appbar__health,
  .po-appbar__user {
    display: none;
  }
  .po-form__row {
    grid-template-columns: 1fr;
  }
  .po-kpi-row--app,
  .po-app-grid,
  .po-app .po-weeks,
  .po-app .po-ready,
  .po-app .po-ata,
  .po-app .po-docs {
    grid-template-columns: 1fr;
  }
  .po-span-2,
  .po-span-4 {
    grid-column: span 1;
  }
  .po-workspace {
    padding: 16px 16px 28px;
  }
}
