.jakevo-page,
.jakevo-detail-page {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.jakevo-page > *,
.jakevo-detail-page > * {
  min-width: 0;
}

.jakevo-page {
  overflow: hidden;
}

.jakevo-hero,
.jakevo-detail-hero,
.jakevo-panel {
  background:
    radial-gradient(circle at top right, rgba(16, 87, 187, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(247, 249, 252, 0.96), #fff);
}

.jakevo-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-2, #1057bb);
}

.jakevo-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jakevo-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.jakevo-summary-card {
  padding: 16px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.jakevo-summary-label {
  color: var(--text-soft, #5c677d);
  font-size: 0.82rem;
  font-weight: 700;
}

.jakevo-summary-value {
  margin-top: 10px;
  color: var(--text, #14213d);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.jakevo-filter-panel {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.jakevo-request-form {
  display: grid;
  gap: 18px;
}

.jakevo-request-form-layout {
  display: grid;
  gap: 18px;
}

.jakevo-form-section {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 33, 61, 0.10);
}

.jakevo-form-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.jakevo-extra-fields {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 33, 61, 0.10);
}

.jakevo-extra-fields summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid rgba(20, 33, 61, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text, #14213d);
  cursor: pointer;
  list-style: none;
}

.jakevo-extra-fields summary::-webkit-details-marker {
  display: none;
}

.jakevo-extra-fields summary:focus-visible {
  outline: none;
  border-color: rgba(37, 68, 143, 0.34);
  box-shadow: 0 0 0 4px rgba(37, 68, 143, 0.08);
}

.jakevo-extra-fields .jakevo-form-section {
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}

.jakevo-extra-summary-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.jakevo-extra-summary-copy strong {
  font-size: 0.94rem;
  line-height: 1.25;
}

.jakevo-extra-summary-copy small {
  color: var(--text-soft, #5c677d);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.jakevo-extra-summary-icon {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.jakevo-extra-fields[open] .jakevo-extra-summary-icon {
  transform: rotate(-135deg);
}

.jakevo-form-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.jakevo-form-section-title {
  margin: 0;
  color: var(--text, #14213d);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.jakevo-form-section-note {
  margin: 0;
  color: var(--text-soft, #5c677d);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.jakevo-form-grid {
  align-items: start;
}

.jakevo-form-grid .field--full {
  grid-column: 1 / -1;
}

.jakevo-request-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.jakevo-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
}

.jakevo-status-badge.status-baru-masuk {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
}

.jakevo-status-badge.status-lanjut-ke-tim-teknis {
  background: rgba(242, 169, 0, 0.16);
  border-color: rgba(194, 120, 3, 0.22);
  color: #9a6700;
}

.jakevo-status-badge.status-butuh-perbaikan,
.jakevo-status-badge.status-ditolak,
.jakevo-status-badge.status-dibatalkan {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(185, 28, 28, 0.16);
  color: #991b1b;
}

.jakevo-status-badge.status-selesai {
  background: rgba(21, 128, 61, 0.12);
  border-color: rgba(22, 101, 52, 0.16);
  color: #166534;
}

.jakevo-table-actions {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px;
}

.jakevo-detail-statuses {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.jakevo-detail-badges,
.jakevo-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.jakevo-detail-actions {
  justify-content: flex-end;
}

.jakevo-detail-actions .btn {
  min-width: 112px;
  justify-content: center;
}

.jakevo-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.jakevo-info-item {
  padding: 12px 14px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 14px;
  background: #fff;
}

.jakevo-info-label,
.jakevo-timeline-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft, #5c677d);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jakevo-info-value {
  color: var(--text, #14213d);
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
}

.jakevo-timeline {
  display: grid;
  gap: 12px;
}

.jakevo-timeline-item {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px 18px;
  border-left: 4px solid rgba(16, 87, 187, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94), #fff);
  border-top: 1px solid rgba(20, 33, 61, 0.08);
  border-right: 1px solid rgba(20, 33, 61, 0.08);
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.jakevo-timeline-item--initial {
  border-left-color: rgba(100, 116, 139, 0.24);
}

.jakevo-timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.jakevo-timeline-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.jakevo-timeline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.jakevo-timeline-time {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--text, #14213d);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.jakevo-timeline-meta {
  margin-top: 4px;
  color: var(--text-soft, #5c677d);
  font-size: 0.9rem;
}

.jakevo-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  min-width: 0;
}

.jakevo-timeline-fact {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.jakevo-timeline-value {
  display: block;
  color: var(--text, #14213d);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.jakevo-timeline-note {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.72);
}

.jakevo-timeline-copy {
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
  color: var(--text, #14213d);
  font-size: 0.98rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.jakevo-timeline-copy::-webkit-scrollbar {
  width: 8px;
}

.jakevo-timeline-copy::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(92, 103, 125, 0.28);
}

@media (max-width: 900px) {
  .jakevo-info-grid,
  .jakevo-timeline-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .jakevo-timeline-head {
    flex-direction: column;
    align-items: stretch;
  }

  .jakevo-toolbar-actions,
  .jakevo-detail-statuses,
  .jakevo-table-actions,
  .jakevo-timeline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jakevo-timeline-actions {
    width: 100%;
    margin-left: 0;
  }

  .jakevo-toolbar-actions .btn,
  .jakevo-detail-statuses .jakevo-status-badge,
  .jakevo-table-actions .btn,
  .jakevo-timeline-actions .btn {
    width: 100%;
  }

  .jakevo-timeline-time {
    justify-content: flex-start;
    width: 100%;
  }

  .jakevo-request-form .form-actions {
    flex-direction: column;
  }

  .jakevo-request-form .form-actions .btn {
    width: 100%;
  }
}

.jakevo-page table {
  min-width: 1400px;
}

.jakevo-info-item--full {
  grid-column: 1 / -1;
}

.jakevo-status-badge.status-didaftarkan {
  background: rgba(100, 116, 139, 0.12);
  border-color: rgba(71, 85, 105, 0.16);
  color: #334155;
}
