.pt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.pt-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.pt-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pt-head__ten {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.pt-head__mo-ta {
  margin: 4px 0 0;
  color: #475569;
  font-size: 14px;
}

.pt-head__mo {
  flex-shrink: 0;
}

.pt-huy-hieu {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #dc2626;
  border-radius: 999px;
  padding: 2px 9px;
}

.pt-mark {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 30%;
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.35);
}

.pt-mark--logo {
  background: none;
  box-shadow: none;
}

.pt-mark--logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pt-sec {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
}

.pt-sec__so {
  font-weight: 600;
  color: #94a3b8;
}

.pt-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}

.pt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.pt-row:hover {
  border-color: color-mix(in srgb, var(--m, #2563eb) 45%, #e2e8f0);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.pt-row__icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  color: var(--m, #2563eb);
  background: color-mix(in srgb, var(--m, #2563eb) 12%, #fff);
  font-size: 16px;
}

.pt-row__than {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.pt-row__ten {
  font-weight: 600;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.25;
}

.pt-row__mo-ta {
  color: #64748b;
  font-size: 12px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pt-row__kieu {
  color: #94a3b8;
  font-size: 13px;
  flex-shrink: 0;
}

.pt-row__kieu--nhung {
  color: #0ea5e9;
}

.pt-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 28px 16px;
  color: #475569;
}

.pt-empty b {
  color: #0f172a;
  font-size: 16px;
}

.pt-empty__icon {
  font-size: 30px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.hcmut-base-page.pt-embed-page .hcmut-base-page__body > div {
  padding-bottom: 0 !important;
}

.pt-embed {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.pt-embed__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
}

.pt-embed__ten {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-embed__phan-he {
  color: #64748b;
  font-weight: 500;
}

.pt-embed__khung {
  flex: 1;
  min-height: 0;
  background: #fff;
}

.pt-embed__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.pt-embed__trang-thai {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: #475569;
}

.pt-embed__trang-thai b {
  color: #0f172a;
  font-size: 16px;
}

.pt-embed__canh {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b45309;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .pt {
    gap: 8px;
  }
  .pt-card {
    padding: 12px;
    border-radius: 14px;
  }
  .pt-head {
    gap: 12px;
    flex-wrap: wrap;
  }
  .pt-head__ten {
    font-size: 18px;
  }
  .pt-head__mo {
    width: 100%;
  }
  .pt-list {
    grid-template-columns: 1fr;
  }
}
.pt-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}

.pt-index__o {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.pt-index__o:hover {
  border-color: color-mix(in srgb, var(--m, #2563eb) 45%, #e2e8f0);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.pt-index__o--cho {
  background: rgba(255, 255, 255, 0.6);
}

.pt-index__o--cho .pt-index__ten {
  color: #64748b;
}

.pt-index__than {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.pt-index__ten {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
}

.pt-index__mo-ta {
  color: #64748b;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pt-index__mui {
  color: #94a3b8;
}

.pt-menu-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: inherit;
  vertical-align: -0.125em;
}

.pt-menu-mark .pt-mark {
  border-radius: 5px;
}

@media (max-width: 767px) {
  .pt-index {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.pt-menu-head {
  display: flex;
  align-items: center;
  gap: 9px;
  width: calc(100% - 12px);
  margin: 4px 6px 2px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hd-ink, #17232b);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.pt-menu-head:disabled {
  cursor: default;
}

.pt-menu-head:not(:disabled):hover {
  background: var(--hd-line-2, #eef2f5);
}

.pt-menu-head .truncate {
  flex: 1;
  min-width: 0;
}

.pt-menu-head .pt-menu-mark {
  font-size: 17px;
}

.pt-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 48px;
  flex-shrink: 0;
  height: 100%;
  padding: 8px 0;
  overflow-y: auto;
  border-right: 1px solid var(--hd-line-2, #eef2f5);
  background: color-mix(in srgb, var(--hd-surface, #fff) 55%, transparent);
}

.pt-strip::-webkit-scrollbar {
  width: 0;
}

.pt-strip__o {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
}

.pt-strip__o:hover {
  background: var(--hd-line-2, #eef2f5);
}

.pt-strip__o--on {
  background: var(--hd-accent-soft, #eaf1fd);
  box-shadow: inset 0 0 0 1.5px var(--hd-accent, #2563eb);
}

.pt-strip__o--dim .pt-mark {
  opacity: 0.55;
  filter: saturate(0.6);
}

.pt-strip__o .pt-mark {
  border-radius: 8px;
}

.pt-strip__hc {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-size: 14px;
}

.pt-strip__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e5322d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}