.portal-body {
  margin: 0;
  background: #f4f6f7;
  color: #222f36;
  letter-spacing: 0;
}
.portal-header {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid #dce2e5;
}
.portal-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
}
.portal-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.portal-nav {
  display: flex;
  gap: 8px;
  flex: 1;
}
.portal-nav .nav-item {
  width: auto;
  margin: 0;
  color: #43535c;
}
.portal-nav .nav-item.active {
  background: #e8f4ef;
  color: #176546;
}
.portal-user {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 220px;
}
.portal-user span {
  overflow-wrap: anywhere;
}
.portal-main {
  padding: 20px 24px;
  max-width: 1800px;
  margin: auto;
}
.portal-main > h1 {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 18px;
}
.portal-main .panel {
  border-radius: 0;
  box-shadow: none;
}
.portal-body .pdd-platform-card {
  border-radius: 6px;
}
.portal-body .pdd-platform-hero .panel-subtitle {
  display: none;
}
.portal-body .pdd-upload-task-center {
  z-index: 40;
}
.portal-loading {
  margin: 16px 0;
  color: #627179;
}
.portal-login {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.portal-login-panel {
  width: 100%;
  max-width: 390px;
}
.portal-login-panel .portal-brand {
  margin-bottom: 28px;
}
.portal-login-panel h1 {
  font-size: 24px;
  margin: 0 0 24px;
}
.portal-login-panel .field {
  margin-bottom: 20px;
}
.portal-login-button {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}
.portal-login-qr {
  width: 260px;
  height: 260px;
  display: block;
  margin: 0 auto 20px;
}
.portal-qr-slot {
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  margin: auto;
}
.portal-login-message {
  color: #55646d;
  min-height: 44px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  .portal-header {
    flex-wrap: wrap;
    padding: 12px;
    gap: 10px;
  }
  .portal-brand {
    flex: 1;
    font-size: 16px;
    min-width: 0;
  }
  .portal-user {
    max-width: 135px;
    gap: 6px;
    font-size: 12px;
  }
  .portal-nav {
    flex-basis: 100%;
    order: 3;
    overflow-x: auto;
  }
  .portal-main {
    padding: 16px 12px;
    min-width: 0;
  }
  .portal-main > h1 {
    font-size: 20px;
  }
  .portal-nav .nav-item {
    flex-shrink: 0;
    min-height: 40px;
  }
  .portal-body .pagination-inline,
  .portal-body .pagination-bar {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    white-space: normal;
  }
  .portal-body .pdd-upload-page-actions > .pagination-inline {
    flex: 1 1 100%;
  }
  .portal-body .pagination-controls {
    flex-wrap: wrap;
  }
}
