@import "./tokens.css";
.pp {
  --pp-primary: #7141d9;
  --pp-accent: #eee7f8;
  --pp-ink: #282530;
  --pp-muted: #6c6875;
  --pp-line: #e3e0e8;
  --pp-bg: color-mix(in srgb, var(--pp-primary) 4%, white);
  --pp-radius: 10px;
  --pp-space: 24px;
  font:
    16px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--pp-ink);
  box-sizing: border-box;
}
.pp *,
.pp *::before,
.pp *::after {
  box-sizing: inherit;
}
.pp-host {
  margin: 0;
  background: #faf9fc;
}
.pp a {
  color: var(--pp-primary);
  text-underline-offset: 3px;
}
.pp button,
.pp input,
.pp select {
  font: inherit;
}
.pp button,
.pp .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--pp-line);
  border-radius: 7px;
  background: linear-gradient(
    135deg,
    #fff,
    color-mix(in srgb, var(--pp-primary) 3%, white)
  );
  color: var(--pp-ink);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.3;
}
.pp button:hover {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--pp-primary) 3%, white),
    color-mix(in srgb, var(--pp-primary) 7%, white)
  );
  border-color: #b5aec3;
}
.pp :is(button, .button).primary {
  background: var(--pp-button-gradient);
  color: var(--pp-on-primary, #fff);
  border-color: var(--pp-primary);
  border-radius: var(--pp-cta-radius, 30px);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--pp-primary) 18%, transparent);
}
.pp :is(button, .button).primary:hover {
  background: var(--pp-button-gradient-hover);
  border-color: color-mix(in srgb, var(--pp-primary) 88%, black);
}
.pp :is(button, .button).primary:active {
  box-shadow: inset 0 1px 3px #00000024;
}
.pp button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.pp .danger {
  color: #b42338;
  border-color: #f0cad0;
}
.pp :focus-visible {
  outline: 3px solid var(--pp-primary);
  outline-offset: 3px;
}
.pp input:not([type="checkbox"]):not([type="file"]),
.pp select {
  width: 100%;
  min-height: 44px;
  background: #fff;
  border: 1px solid #cbc6d4;
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--pp-ink);
}
.pp input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pp-primary);
}
.pp label {
  display: grid;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 550;
}
.pp small,
.pp .muted {
  color: var(--pp-muted);
}
.pp small {
  font-size: 0.8125rem;
}
.pp h1 {
  font-size: 1.85rem;
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 0;
}
.pp h2 {
  font-size: 1.14rem;
  font-weight: 600;
  margin: 0 0 20px;
}
.pp h3 {
  font-size: 1rem;
  margin: 0 0 12px;
}
.pp p {
  margin: 0 0 16px;
}
.pp .shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}
.pp .role-session {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 12px 28px;
  background: color-mix(in srgb, var(--pp-primary) 8%, white);
  border-block: 1px solid color-mix(in srgb, var(--pp-primary) 24%, white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
}
.pp .role-session-identity {
  display: grid;
  gap: 2px;
  flex: 1 1 180px;
  overflow-wrap: anywhere;
}
.pp .role-session-identity strong {
  color: var(--pp-primary);
}
.pp .role-session-identity span {
  color: var(--pp-muted);
}
.pp .role-session label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pp .role-session select {
  width: auto;
  min-height: 36px;
  padding: 7px 10px;
}
.pp .role-session button {
  min-height: 36px;
  padding: 8px 12px;
}
@media (max-width: 720px) {
  .pp .role-session {
    padding: 12px 16px;
    gap: 10px;
  }
  .pp .role-session-identity {
    flex-basis: 100%;
  }
}
.pp .sidebar {
  background: #fff;
  border-right: 1px solid var(--pp-line);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.pp .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}
.pp .brand img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.pp .brand-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: #fff;
  background: var(--pp-primary);
  font-size: 1.3rem;
}
.pp .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pp-muted);
  margin-bottom: 14px;
}
.pp nav {
  display: grid;
  gap: 6px;
}
.pp nav button {
  justify-content: flex-start;
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 0.9375rem;
  padding: 12px;
  gap: 12px;
}
.pp nav button.current {
  background: linear-gradient(
    110deg,
    color-mix(in srgb, var(--pp-primary) 12%, white),
    color-mix(in srgb, var(--pp-primary) 5%, white)
  );
  color: var(--pp-primary);
  font-weight: 600;
}
.pp nav svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.pp .side-footer {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--pp-line);
  font-size: 0.8125rem;
}
.pp .main {
  background: var(--pp-site-background);
  min-width: 0;
}
.pp .topbar {
  height: 80px;
  border-bottom: 1px solid var(--pp-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.65);
}
.pp .topbar select {
  width: auto;
  min-height: 36px;
  font-size: 0.875rem;
}
.pp .topbar .session {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pp .avatar {
  background: var(--pp-accent);
  color: var(--pp-primary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 600;
}
.pp main {
  max-width: 1400px;
  margin: auto;
  padding: 40px;
}
.pp .page-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.pp .page-head p {
  margin: 8px 0 0;
  color: var(--pp-muted);
  font-size: 0.9375rem;
}
.pp .card {
  background: #fff;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  padding: 24px;
}
.pp .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 20px;
}
.pp .app-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pp .app-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pp .app-card h2 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.pp .app-card footer {
  border-top: 1px solid var(--pp-line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.pp .tag {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 550;
  background: #f1eff4;
  color: #615a6d;
}
.pp .tag.active,
.pp .tag.sent,
.pp .tag.completed {
  background: #eaf5ef;
  color: #286247;
}
.pp .tag.suspended,
.pp .tag.failed {
  background: #fff0f1;
  color: #9e3040;
}
.pp .pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pp .stats {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--pp-line);
  padding: 0 0 22px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--pp-muted);
}
.pp .stats strong {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--pp-ink);
  line-height: 1;
}
.pp .toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pp .toolbar label {
  flex: 1;
  min-width: 140px;
}
.pp .toolbar .search {
  flex: 2;
  min-width: 180px;
}
.pp .table-wrap {
  overflow: auto;
  border: 1px solid var(--pp-line);
  border-radius: 8px;
  background: #fff;
}
.pp table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  white-space: nowrap;
}
.pp th {
  text-align: left;
  background: #f8f7fa;
  color: var(--pp-muted);
  font-weight: 500;
  font-size: 0.8125rem;
}
.pp th,
.pp td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--pp-line);
}
.pp tr:last-child td {
  border-bottom: 0;
}
.pp td .secondary {
  display: block;
  color: var(--pp-muted);
  font-size: 0.8125rem;
}
.pp td button {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 0.8125rem;
}
.pp .pagination {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--pp-muted);
}
.pp .form {
  display: grid;
  gap: 18px;
}
.pp .form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pp .form .actions,
.pp .actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pp .form .actions {
  padding-top: 8px;
  justify-content: flex-end;
}
.pp .stack {
  display: grid;
  gap: 24px;
}
.pp .module-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--pp-line);
}
.pp .module-row:first-child {
  padding-top: 0;
}
.pp .module-row:last-child {
  border-bottom: 0;
}
.pp .module-row label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pp .auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(360px, 1.15fr);
}
.pp .auth-brand {
  background: #fff;
  border-right: 1px solid var(--pp-line);
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pp .auth-brand .large-mark {
  width: 86px;
  height: 86px;
  margin-bottom: 28px;
}
.pp .auth-brand h1 {
  font-size: 2.8rem;
  max-width: 400px;
}
.pp .auth-brand .caption {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--pp-muted);
}
.pp .auth-content {
  padding: 36px;
  display: grid;
  place-items: center;
}
.pp .auth-card {
  width: 100%;
  max-width: 420px;
}
.pp .auth-card h2 {
  font-size: 1.65rem;
  margin-bottom: 28px;
}
.pp .auth-card .language {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
}
.pp .auth-card .language select {
  width: auto;
}
.pp .auth-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  margin-top: 20px;
}
.pp .auth-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pp-primary);
  min-height: 26px;
}
.pp .divider {
  height: 1px;
  background: var(--pp-line);
  margin: 24px 0;
}
.pp .full {
  width: 100%;
}
.pp .empty {
  padding: 54px 20px;
  text-align: center;
  color: var(--pp-muted);
}
.pp-loading {
  padding: 80px;
  text-align: center;
}
.pp .notice {
  padding: 14px 16px;
  background: var(--pp-accent);
  border-left: 3px solid var(--pp-primary);
  border-radius: 4px;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.pp .notice.error {
  background: #fff0f1;
  color: #9e3040;
  border-color: #bb3149;
}
.pp-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  padding: 16px 22px;
  background: #292432;
  color: white;
  border-radius: 8px;
  box-shadow: 0 5px 30px #0002;
  z-index: 20;
}
dialog.pp {
  width: min(600px, calc(100vw - 32px));
  max-height: 88vh;
  overflow: auto;
  border: 1px solid var(--pp-line);
  border-radius: 12px;
  padding: 28px;
  background: white;
}
dialog.pp::backdrop {
  background: rgba(28, 19, 44, 0.3);
}
.pp .dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
  margin-bottom: 22px;
}
.pp .dialog-head h2 {
  margin: 0;
}
.pp .dialog-head button {
  min-height: 30px;
  padding: 3px 10px;
}
.pp .result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.pp .result-grid .number {
  padding: 16px 10px;
  border: 1px solid var(--pp-line);
  border-radius: 8px;
  text-align: center;
}
.pp .result-grid strong {
  display: block;
  font-size: 1.75rem;
  color: var(--pp-primary);
  font-weight: 500;
}
.pp details {
  font-size: 0.8125rem;
  color: var(--pp-muted);
  margin-top: 16px;
}
.pp summary {
  cursor: pointer;
}
.pp pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pp .profile-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}
.pp .check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
.pp .technical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pp .code {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}
.pp .mobile-title {
  display: none;
}
@media (max-width: 1000px) {
  .pp .shell {
    grid-template-columns: 195px 1fr;
  }
  .pp .sidebar {
    padding: 24px 14px;
  }
  .pp main {
    padding: 28px;
  }
  .pp .topbar {
    padding: 16px 28px;
  }
  .pp .technical-grid {
    grid-template-columns: 1fr;
  }
  .pp .auth-brand {
    padding: 36px;
  }
  .pp .auth-brand h1 {
    font-size: 2.15rem;
  }
}
@media (max-width: 720px) {
  .pp .shell {
    grid-template-columns: 1fr;
  }
  .pp .sidebar {
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--pp-line);
    gap: 18px;
  }
  .pp nav {
    display: flex;
    overflow: auto;
  }
  .pp nav button {
    width: auto;
    white-space: nowrap;
    padding: 9px;
  }
  .pp .side-footer,
  .pp .sidebar .eyebrow {
    display: none;
  }
  .pp .topbar {
    height: auto;
    min-height: 65px;
    padding: 12px 20px;
  }
  .pp .topbar .session {
    font-size: 0.8125rem;
  }
  .pp main {
    padding: 24px 20px;
  }
  .pp .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .pp h1 {
    font-size: 1.6rem;
  }
  .pp .form-columns {
    grid-template-columns: 1fr;
  }
  .pp .auth-layout {
    grid-template-columns: 1fr;
  }
  .pp .auth-brand {
    padding: 24px;
    gap: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--pp-line);
  }
  .pp .auth-brand .identity,
  .pp .auth-brand footer {
    display: none;
  }
  .pp .auth-content {
    padding: 28px 22px;
  }
  .pp .result-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pp .card {
    padding: 20px;
  }
  .pp-toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .pp .topbar .avatar {
    display: none;
  }
}
.pp .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pp .sidebar {
  min-width: 0;
}
@media (max-width: 720px) {
  .pp .shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .pp .topbar {
    flex-wrap: wrap;
  }
  .pp .topbar .session {
    max-width: 100%;
  }
}
.pp .result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pp .result-grid .number {
  min-width: 0;
}

.pp svg[data-icon-library] {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
