.pt-portal,
.pt-auth {
  --pt-ink: #132d50;
  --pt-blue: #193e74;
  --pt-muted: #52677d;
  --pt-border: #d8e2eb;
  --pt-soft: #edf4f9;
  --pt-teal: #14655f;
  color: var(--pt-ink);
  background: #f4f7fa;
  padding: 48px 0 74px;
  min-height: 65vh;
}
.pt-layout,
.pt-auth-grid {
  display: grid;
  align-items: start;
  gap: 32px;
}
.pt-layout {
  grid-template-columns: 226px minmax(0, 1fr);
}
.pt-portal h1,
.pt-auth h1 {
  margin: 0;
  letter-spacing: -0.045em;
  font-size: clamp(2.05rem, 4.1vw, 3.3rem);
  line-height: 1.07;
  color: var(--pt-ink);
}
.pt-portal h2,
.pt-auth h2 {
  font-size: 1.18rem;
  letter-spacing: -0.018em;
  margin: 0 0 15px;
  color: var(--pt-ink);
  line-height: 1.25;
}
.pt-lead,
.pt-box > p,
.pt-login-choice p,
.pt-foot {
  color: var(--pt-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.pt-lead {
  margin: 12px 0 25px;
}
.pt-auth .btn,
.pt-portal .btn {
  cursor: pointer;
  min-height: 44px;
  font: inherit;
  font-weight: 650;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: normal;
}
.pt-auth button,
.pt-portal button,
.pt-auth select,
.pt-portal select {
  font-family: inherit;
}
.pt-auth a:focus-visible,
.pt-portal a:focus-visible,
.pt-auth button:focus-visible,
.pt-portal button:focus-visible,
.pt-auth input:focus-visible,
.pt-portal input:focus-visible,
.pt-auth select:focus-visible,
.pt-portal select:focus-visible,
.pt-portal textarea:focus-visible,
.pt-auth textarea:focus-visible,
.pt-proof summary:focus-visible {
  outline: 3px solid #227cb0;
  outline-offset: 2px;
}
.pt-sidebar,
.pt-box,
.pt-auth-form,
.pt-login-choice {
  border: 1px solid var(--pt-border);
  background: #fff;
  border-radius: 15px;
}
.pt-sidebar {
  padding: 14px;
  position: sticky;
  top: 90px;
}
.pt-org {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px 18px;
  border-bottom: 1px solid var(--pt-border);
  margin-bottom: 10px;
  min-width: 0;
}
.pt-org > div {
  min-width: 0;
}
.pt-org strong,
.pt-org small,
.pt-row strong,
.pt-row small {
  display: block;
  overflow-wrap: anywhere;
}
.pt-org small,
.pt-row small {
  color: var(--pt-muted);
  font-size: 0.84rem;
  margin-top: 3px;
  line-height: 1.5;
}
.pt-monogram {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  color: var(--pt-blue);
  background: #e6effb;
  border-radius: 13px;
  font-size: 0.85rem;
  font-weight: 780;
}
.pt-sidebar nav {
  display: grid;
  gap: 3px;
}
.pt-sidebar nav a,
.pt-exit {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #405671;
  padding: 6px 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 570;
  border-radius: 7px;
  box-sizing: border-box;
}
.pt-sidebar nav a[aria-current] {
  color: var(--pt-blue);
  font-weight: 720;
  background: #e8f0fa;
}
.pt-sidebar nav a:hover,
.pt-exit:hover {
  background: #f0f4f8;
}
.pt-portal svg,
.pt-auth svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}
.pt-exit {
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-top: 14px;
  width: 100%;
}
.pt-main,
.pt-auth-form,
.pt-row > div,
.pt-metrics a {
  min-width: 0;
}
.pt-crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--pt-muted);
  font-size: 0.87rem;
  margin: 4px 0 17px;
}
.pt-crumb a,
.pt-foot a {
  color: var(--pt-blue);
}
.pt-box {
  padding: 24px;
  margin: 16px 0;
}
.pt-box h2 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}
.pt-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--pt-border);
}
.pt-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.pt-row-action,
.pt-actions,
.pt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pt-row-action:empty {
  display: none;
}
.pt-row-action .btn {
  font-size: 0.88rem;
}
.pt-actions {
  margin-top: 16px;
}
.pt-feature {
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 14px;
  background: #123667;
  color: white;
}
.pt-feature h2 {
  font-size: 1.8rem;
  color: white;
  margin: 0 0 5px;
}
.pt-feature p {
  margin: 0;
  color: #d5e2f2;
}
.pt-feature .pt-overline {
  margin: 0 0 14px;
  color: #c7deef;
}
.pt-overline {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: var(--pt-teal);
  margin: 0 0 13px;
}
.pt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 20px;
  background: #e5eef6;
  color: #284361;
  font-size: 0.77rem;
  font-weight: 700;
  white-space: normal;
}
.pt-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: currentColor;
  display: inline-block;
  border-radius: 100%;
  flex: 0 0 auto;
}
.pt-active,
.pt-verified {
  background: #daefe8;
  color: #11574a;
}
.pt-review,
.pt-inactive {
  background: #fcf0ce;
  color: #775006;
}
.pt-suspended,
.pt-expired,
.pt-revision {
  background: #f9e6e3;
  color: #8a3728;
}
.pt-note,
.pt-success {
  border-radius: 8px;
  font-size: 0.93rem;
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--pt-soft);
  color: var(--pt-muted);
  margin: 12px 0 0;
}
.pt-success {
  background: #ddf1e8;
  color: #174f3e;
  margin: 0 0 16px;
  border-left: 3px solid #398374;
}
.pt-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pt-form-fields .pt-field:has(textarea),
.pt-form-fields .pt-check {
  grid-column: 1/-1;
}
.pt-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  align-content: start;
}
.pt-field > span,
.pt-check {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--pt-ink);
}
.pt-field input,
.pt-field select,
.pt-field textarea {
  box-sizing: border-box;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--pt-ink);
  background: white;
  border: 1px solid #9facbc;
  border-radius: 7px;
  min-height: 45px;
  width: 100%;
  padding: 10px 12px;
}
.pt-field textarea {
  resize: vertical;
}
.pt-check {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
  padding: 8px 0;
  min-height: 44px;
}
.pt-check input {
  accent-color: var(--pt-blue);
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.pt-details {
  margin: 12px 0 20px;
}
.pt-details > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--pt-border);
}
.pt-details dt {
  color: var(--pt-muted);
  font-size: 0.9rem;
}
.pt-details dd {
  margin: 0;
  text-align: right;
  font-weight: 630;
  overflow-wrap: anywhere;
}
.pt-auth {
  padding: 56px 0 75px;
}
.pt-auth-grid {
  grid-template-columns: minmax(245px, 0.78fr) minmax(0, 1.25fr);
  max-width: 960px;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  align-items: stretch;
  border: 1px solid var(--pt-border);
  padding: 0;
  background: #fff;
}
.pt-auth-form {
  border: 0;
  border-radius: 0;
  padding: 40px;
}
.pt-auth-art {
  background: #123667;
  color: white;
  padding: 42px 30px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.pt-auth-art::after,
.pt-member-card::after {
  content: '';
  pointer-events: none;
  position: absolute;
  border: 1px solid #a8d1c94d;
  width: 240px;
  height: 240px;
  border-radius: 100%;
  right: -126px;
  bottom: -92px;
  box-shadow:
    0 0 0 18px #a8d1c918,
    0 0 0 42px #a8d1c91c,
    0 0 0 70px #a8d1c914;
}
.pt-auth-art > p {
  font-size: 0.8rem;
  color: #d5e1ee;
  margin: 25px 0 9px;
}
.pt-auth-art > h2 {
  color: white;
  font-size: 2.5rem;
  line-height: 1.07;
  max-width: 8em;
  margin: 0;
}
.pt-auth-rule {
  width: 45px;
  height: 3px;
  background: #e8ac56;
  margin: 24px 0;
}
.pt-auth-art ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
  font-size: 0.87rem;
  color: #e3ebf7;
}
.pt-auth-art li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pt-mark {
  width: 54px;
  height: 54px;
  background: #dcece7;
  color: #14524e;
  border-radius: 13px;
  display: grid;
  place-items: center;
}
.pt-mark svg {
  width: 28px;
  height: 28px;
}
.pt-login-choice {
  padding: 18px;
  margin: 13px 0;
}
.pt-login-choice h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pt-login-choice p {
  margin: 0 0 12px;
}
.pt-login-choice .pt-field {
  margin-bottom: 12px;
}
.pt-foot {
  margin: 20px 0 0;
  font-size: 0.93rem;
}
.pt-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pt-metrics a {
  background: white;
  border: 1px solid var(--pt-border);
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: var(--pt-ink);
}
.pt-metrics span,
.pt-metrics strong {
  display: block;
}
.pt-metrics span {
  font-size: 0.85rem;
  color: var(--pt-muted);
}
.pt-metrics strong {
  margin-top: 6px;
  font-size: 1.85rem;
  line-height: 1;
}
.pt-member-card {
  position: relative;
  overflow: hidden;
  max-width: 395px;
  padding: 25px;
  border-radius: 15px;
  background: #173c70;
  color: #fff;
  min-height: 170px;
  box-sizing: border-box;
}
.pt-member-card div {
  display: flex;
  gap: 9px;
  align-items: center;
}
.pt-member-card b {
  font-size: 1.65rem;
}
.pt-member-card small {
  max-width: 110px;
  font-size: 0.66rem;
  line-height: 1.3;
  color: #d8e7f7;
}
.pt-member-card h3 {
  margin: 20px 0 2px;
  font-size: 1.3rem;
  color: #fff;
  position: relative;
  z-index: 1;
}
.pt-member-card p,
.pt-member-card span {
  margin: 0;
  color: #deebf4;
  font-size: 0.85rem;
}
.pt-member-card span {
  display: block;
  font-size: 0.72rem;
  margin-top: 10px;
}
.pt-card-teal {
  background: #155957;
}
.pt-chips span {
  background: var(--pt-soft);
  color: var(--pt-blue);
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
}
.pt-inline {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 18px 0 0;
}
.pt-inline label {
  flex: 1 1 195px;
}
.pt-decision {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.pt-decision form,
.pt-proof {
  width: 100%;
}
.pt-decision form + .pt-decision form {
  border-top: 1px solid var(--pt-border);
}
.pt-decision .pt-field {
  margin-bottom: 10px;
}
.pt-proof summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  color: var(--pt-blue);
  font-weight: 650;
}
.pt-proof > div {
  padding: 15px;
  background: var(--pt-soft);
  border-left: 3px solid #33837b;
}
.pt-proof p {
  margin: 4px 0;
  color: var(--pt-muted);
}
@media (max-width: 900px) {
  .pt-layout {
    grid-template-columns: 186px minmax(0, 1fr);
    gap: 18px;
  }
  .pt-auth-grid {
    max-width: calc(100% - 32px);
  }
  .pt-auth-form {
    padding: 28px;
  }
  .pt-row {
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  .pt-portal,
  .pt-auth {
    padding: 22px 0 40px;
  }
  .pt-layout,
  .pt-auth-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pt-sidebar {
    position: static;
    padding: 10px;
  }
  .pt-org {
    padding: 0 6px 9px;
    margin-bottom: 5px;
  }
  .pt-monogram {
    height: 35px;
    flex-basis: 35px;
  }
  .pt-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
  }
  .pt-sidebar nav a {
    font-size: 0.82rem;
    gap: 6px;
  }
  .pt-sidebar nav svg {
    width: 15px;
  }
  .pt-exit {
    margin: 3px 0 0;
  }
  .pt-auth-art {
    min-height: 0;
    padding: 20px 24px;
  }
  .pt-auth-art > p {
    margin: 0 0 6px;
  }
  .pt-auth-art > h2 {
    font-size: 1.8rem;
    max-width: none;
  }
  .pt-mark,
  .pt-auth-rule,
  .pt-auth-art ul {
    display: none;
  }
  .pt-auth-form {
    padding: 24px;
  }
  .pt-box,
  .pt-feature {
    padding: 18px;
  }
  .pt-metrics {
    gap: 6px;
  }
  .pt-metrics a {
    padding: 12px;
  }
  .pt-feature {
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .pt-form-fields {
    grid-template-columns: 1fr;
  }
  .pt-auth-grid {
    max-width: calc(100% - 24px);
  }
  .pt-auth-form {
    padding: 20px;
  }
  .pt-row-action {
    width: 100%;
  }
  .pt-metrics span {
    font-size: 0.76rem;
    line-height: 1.24;
  }
}
.pt-stop {
  min-width: 0;
  margin: 14px 0;
  border: 1px solid var(--pt-border);
  border-radius: 10px;
  padding: 14px;
}
.pt-stop legend {
  padding: 0 6px;
  color: var(--pt-blue);
  font-size: 0.88rem;
  font-weight: 700;
}
.pt-small-action {
  color: var(--pt-blue);
  background: none;
  border: 0;
  font-size: 0.86rem;
  font-weight: 650;
  min-height: 44px;
  padding: 5px 0;
  cursor: pointer;
}
.pt-small-action:hover {
  color: var(--pt-ink);
}
.pt-photo-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 10px;
}
.pt-photo-options label {
  overflow: hidden;
  border: 1px solid var(--pt-border);
  border-radius: 8px;
  cursor: pointer;
}
.pt-photo-options label:has(:checked) {
  border-color: var(--pt-blue);
  box-shadow: 0 0 0 1px var(--pt-blue);
}
.pt-photo-options img {
  display: block;
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
}
.pt-photo-options span {
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  padding: 5px 8px;
  color: var(--pt-ink);
  font-size: 0.86rem;
  font-weight: 600;
}
.pt-photo-options input {
  accent-color: var(--pt-blue);
}
.pt-box .pt-proof + .pt-actions,
.pt-box .pt-actions + .pt-decision {
  margin: 12px 0;
}
