.pz-body {
  --accent: #a5b6ff;
  --accent-strong: #839cf7;
  --danger: #f5a1a9;
  --warning: #dec088;
  color: #edf0f7;
  background: #111318;
}
.pz-body h1 {
  display: block;
}
.pz-auth,
.pz-loading {
  max-width: none;
  padding: 0;
  margin: 0;
}
.pz-loading {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.pz-loading h1 {
  font-size: 25px;
  letter-spacing: -1px;
}
.pz-loading p,
.pz-muted {
  color: var(--muted);
}
.pz-skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 200;
  background: var(--accent);
  color: #111;
  padding: 12px 20px;
  border-radius: 8px;
}
.pz-skip:focus {
  top: 12px;
}
.pz-layout {
  min-height: 100dvh;
}
.pz-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  background: #101216;
  border-right: 1px solid #252932;
  display: flex;
  flex-direction: column;
  z-index: 30;
  padding: 30px 17px 16px;
  overflow: auto;
}
.pz-sidebar .brand {
  margin: 0 10px 35px;
}
.pz-sidebar .workspace-label {
  margin-bottom: 13px;
}
.pz-nav {
  display: grid;
  gap: 3px;
}
.pz-nav .nav-item {
  font-size: 13px;
  padding: 10px 13px;
}
.pz-sidebar-projects {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.pz-project-shortcut {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 7px;
  width: 100%;
}
.pz-project-shortcut:hover {
  background: #1b1f28;
  color: var(--text);
}
.pz-project-shortcut span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pz-side-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.pz-profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 19px 8px 3px;
}
.pz-profile strong {
  font-size: 12px;
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pz-profile small {
  font-size: 10px;
  color: var(--muted);
}
.pz-avatar {
  width: 33px;
  height: 33px;
  background: #252c40;
  border: 1px solid #394362;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #bdc9ff;
  font-size: 11px;
  flex-shrink: 0;
}
.pz-main-shell {
  margin-left: 236px;
}
.pz-topbar {
  height: 77px;
  border-bottom: 1px solid #24272f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 20px;
}
.pz-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  min-width: 0;
}
.pz-breadcrumb strong {
  font-weight: 500;
  color: #d9deeb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pz-breadcrumb .icon {
  width: 13px;
}
.pz-top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.pz-top-search {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #838ca1;
  font-size: 12px;
  padding: 7px 10px;
  border: 1px solid #2b303d;
  border-radius: 7px;
  min-width: 170px;
  text-align: left;
}
.pz-top-search kbd {
  margin-left: auto;
  font-size: 10px;
  border: 1px solid #373e4d;
  border-radius: 3px;
  padding: 0 4px;
}
.pz-live {
  font-size: 10px;
  color: #8aa799;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.pz-main {
  padding: 35px 40px 25px;
  max-width: 1700px;
  margin: auto;
}
.pz-page {
  animation: pz-arrive 0.22s ease-out;
}
.pz-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 29px;
}
.pz-eyebrow {
  color: #8b98b5;
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 650;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.pz-page-heading h1 {
  font-size: 29px;
  font-weight: 590;
  letter-spacing: -1px;
  line-height: 1.3;
}
.pz-page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
  max-width: 690px;
}
.pz-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  flex-shrink: 0;
}
.pz-page .button {
  font-size: 12px;
  min-height: 38px;
  padding: 9px 14px;
  gap: 8px;
  border-radius: 8px;
}
.pz-page .button .icon {
  width: 16px;
  height: 16px;
}
.pz-button-danger {
  color: var(--danger);
  border: 1px solid #66414a;
  background: #39242c;
}
.pz-button-danger:hover {
  background: #492b33;
}
.pz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pz-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pz-card {
  background: linear-gradient(140deg, #1a1e26, #171a21);
  border: 1px solid #2a2f3a;
  border-radius: 13px;
  padding: 23px;
  min-width: 0;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.pz-card.interactive:hover {
  border-color: #495472;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px #05070b35;
}
.pz-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
}
.pz-card h2,
.pz-card h3 {
  font-size: 15px;
  letter-spacing: -0.2px;
  overflow-wrap: anywhere;
}
.pz-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.pz-project-card {
  display: flex;
  flex-direction: column;
  min-height: 238px;
}
.pz-project-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.pz-project-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pz-project-icon {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: linear-gradient(145deg, #33405e, #202737);
  border: 1px solid #4c5b7b;
  display: grid;
  place-items: center;
  color: #b9c7ff;
  font-size: 20px;
  font-weight: 550;
  box-shadow: 0 0 27px #8b9afc0c;
}
.pz-project-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 11px;
  color: var(--muted);
}
.pz-progress {
  height: 4px;
  background: #2b303d;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 13px;
}
.pz-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7c93dc, #b1bfff);
  transition: width 0.5s;
  border-radius: inherit;
}
.pz-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #343b4c;
  border-radius: 5px;
  padding: 3px 7px;
  color: #aebbdc;
  background: #27304755;
  font-size: 10px;
  white-space: nowrap;
  font-weight: 500;
}
.pz-badge.active,
.pz-badge.progress,
.pz-badge.development {
  color: #b3c4ff;
  border-color: #3c4b73;
  background: #29395955;
}
.pz-badge.done,
.pz-badge.published,
.pz-badge.ready,
.pz-badge.completed,
.pz-badge.accepted {
  color: #9ecdb3;
  border-color: #355443;
  background: #213d3055;
}
.pz-badge.blocked,
.pz-badge.urgent,
.pz-badge.overdue,
.pz-badge.missing {
  color: #e8a5af;
  border-color: #63414b;
  background: #492b3655;
}
.pz-badge.testing,
.pz-badge.high,
.pz-badge.paused,
.pz-badge.preparing {
  color: #debf89;
  border-color: #5d5039;
  background: #493d2755;
}
.pz-badge.archived,
.pz-badge.discarded {
  color: #9aa1b0;
  border-color: #3b404b;
  background: #2c303955;
}
.pz-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
}
.pz-meta .icon {
  width: 13px;
  height: 13px;
}
.pz-empty {
  border: 1px dashed #343c4b;
  border-radius: 12px;
  padding: 48px 25px;
  text-align: center;
  background: #181c2366;
}
.pz-empty > .icon {
  width: 35px;
  height: 35px;
  color: #899bce;
  margin-bottom: 13px;
}
.pz-empty h3 {
  font-size: 16px;
  margin-bottom: 9px;
}
.pz-empty p {
  font-size: 12px;
  color: var(--muted);
  max-width: 430px;
  margin: 0 auto 20px;
  line-height: 1.8;
}
.pz-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 19px;
}
.pz-toolbar input,
.pz-toolbar select {
  background: #181c24;
  border: 1px solid #303644;
  color: var(--text);
  border-radius: 7px;
  font-size: 12px;
  height: 38px;
  padding: 8px 11px;
}
.pz-toolbar input {
  flex: 1;
  min-width: 160px;
  max-width: 380px;
}
.pz-toolbar select {
  max-width: 210px;
}
.pz-count {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
.pz-tabs {
  display: flex;
  gap: 25px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  scrollbar-width: thin;
}
.pz-tab {
  padding: 0 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.pz-tab.active {
  border-color: #a9baff;
  color: #c8d3ff;
}
.pz-tab:hover {
  color: var(--text);
}
.pz-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 26px 0 15px;
}
.pz-section-heading h2 {
  font-size: 14px;
}
.pz-section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.pz-row-list {
  border: 1px solid #2b303b;
  background: #181b22;
  border-radius: 12px;
  overflow: hidden;
}
.pz-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 19px;
  border-bottom: 1px solid #292e38;
  min-width: 0;
}
.pz-row:last-child {
  border: 0;
}
.pz-row:hover {
  background: #1c2029;
}
.pz-row-main {
  flex: 1;
  min-width: 0;
}
.pz-row-title {
  font-size: 12px;
  font-weight: 550;
  text-align: left;
  overflow-wrap: anywhere;
}
.pz-row-title:hover {
  color: var(--accent);
}
.pz-row-main p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.pz-row .pz-meta {
  margin-top: 5px;
  font-size: 10px;
  gap: 7px;
}
.pz-row .icon-button {
  width: 29px;
  height: 29px;
  flex-shrink: 0;
}
.pz-row .icon-button .icon {
  width: 15px;
  height: 15px;
}
.pz-task-check {
  height: 21px;
  width: 21px;
  border: 1px solid #515b70;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pz-task-check .icon {
  width: 13px;
  height: 13px;
  opacity: 0;
}
.pz-task-check[aria-checked="true"] {
  color: #adc8b9;
  background: #293d33;
  border-color: #476653;
}
.pz-task-check[aria-checked="true"] .icon {
  opacity: 1;
}
.pz-row.is-done .pz-row-title {
  color: #8b95a8;
  text-decoration: line-through;
}
.pz-row.subtask {
  padding-left: 47px;
}
.pz-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
  gap: 21px;
}
.pz-hero {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 29px;
}
.pz-hero h2 {
  font-size: 30px;
  font-weight: 540;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 17px 0 13px;
  max-width: 67%;
  position: relative;
  z-index: 1;
}
.pz-hero h2 span {
  color: #b5c5ff;
}
.pz-hero p {
  max-width: 65%;
  position: relative;
  z-index: 1;
}
.pz-hero .button {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}
.pz-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid #6b81b840;
  border-radius: 50%;
  right: -19px;
  top: 32px;
  transform: rotate(-27deg);
  box-shadow:
    inset 0 0 40px #7891e207,
    0 0 80px #8ba9ff0b;
}
.pz-orb:before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid #7b98d533;
  border-radius: 50%;
  transform: rotate(45deg) scaleX(0.73);
  box-shadow: 0 0 45px #8ba9ff0b;
}
.pz-orb:after {
  content: "";
  position: absolute;
  inset: 76px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    #879fd6,
    #40557e 40%,
    #192434 72%
  );
  box-shadow: 0 0 55px #a1bafe21;
}
.pz-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.pz-stat {
  padding: 20px;
}
.pz-stat strong {
  font-size: 25px;
  font-weight: 540;
  display: block;
  margin-top: 8px;
  letter-spacing: -0.5px;
}
.pz-stat span {
  font-size: 11px;
  color: var(--muted);
}
.pz-progress-big {
  font-size: 57px;
  font-weight: 510;
  letter-spacing: -3px;
  line-height: 1.2;
  margin: 23px 0 14px;
}
.pz-progress-big span {
  font-size: 25px;
  color: #7f8cab;
  letter-spacing: 0;
}
.pz-divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.pz-note-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #bec6d8;
  line-height: 1.9;
  margin-top: 15px;
  max-height: 250px;
  overflow: auto;
}
.pz-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 17px;
}
.pz-card-actions .icon-button {
  width: 30px;
  height: 30px;
}
.pz-path {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #343b4b;
  background: #11151d;
  border-radius: 8px;
  padding: 9px 10px;
  margin-top: 10px;
}
.pz-path code {
  font-size: 10px;
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
  color: #b7c4e5;
}
.pz-path .icon-button {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}
.pz-location {
  border-top: 1px solid #303643;
  padding-top: 15px;
  margin-top: 15px;
}
.pz-location-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}
.pz-location-header strong {
  font-size: 11px;
}
.pz-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pz-inline-actions .icon-button {
  height: 26px;
  width: 26px;
}
.pz-inline-actions .icon {
  width: 14px;
  height: 14px;
}
.pz-resource-summary {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 15px 0;
}
.pz-resource-summary .resource-type-icon {
  height: 34px;
  width: 34px;
}
.pz-resource-summary strong {
  font-size: 12px;
  display: block;
}
.pz-resource-summary small {
  color: var(--muted);
  font-size: 10px;
}
.pz-footer {
  margin-top: 37px;
  padding-top: 18px;
  border-top: 1px solid #262c37;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #768197;
  font-size: 10px;
}
.pz-footer span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pz-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 11px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.pz-icon-link .icon {
  width: 12px;
  height: 12px;
}
.pz-warning {
  padding: 14px 16px;
  border: 1px solid #594c34;
  border-radius: 8px;
  background: #342c1e55;
  color: #d4bd91;
  font-size: 12px;
  line-height: 1.8;
}
.pz-notice {
  padding: 14px 16px;
  border: 1px solid #36435c;
  border-radius: 8px;
  background: #202c4555;
  color: #b4c4e9;
  font-size: 12px;
  line-height: 1.8;
}
.pz-error {
  padding: 12px 14px;
  border: 1px solid #653b48;
  border-radius: 8px;
  background: #43232e55;
  color: #efb2bc;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.pz-dialog {
  padding: 0;
  background: #181c24;
  color: var(--text);
  border: 1px solid #3a4355;
  border-radius: 16px;
  width: min(620px, calc(100vw - 32px));
  max-height: 90dvh;
  box-shadow: 0 30px 120px #0009;
}
.pz-dialog::backdrop {
  background: #080b12bc;
  backdrop-filter: blur(7px);
}
.pz-dialog > form,
.pz-dialog > .pz-dialog-content {
  padding: 28px;
}
.pz-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.pz-dialog-heading h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.pz-dialog-heading .icon-button {
  margin: -5px -5px 0 0;
}
.pz-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.pz-field {
  min-width: 0;
}
.pz-field.wide {
  grid-column: 1/-1;
}
.pz-field label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 7px;
  color: #c9d2e5;
}
.pz-field input:not([type="checkbox"]),
.pz-field select,
.pz-field textarea {
  display: block;
  width: 100%;
  background: #12161e;
  border: 1px solid #343d50;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  min-height: 41px;
  font-size: 12px;
  line-height: 1.6;
}
.pz-field textarea {
  resize: vertical;
  min-height: 100px;
}
.pz-field input:focus,
.pz-field select:focus,
.pz-field textarea:focus {
  border-color: #8298df;
  outline: 2px solid #8298df22;
  outline-offset: 1px;
}
.pz-field input[type="color"] {
  padding: 5px 8px;
  height: 41px;
}
.pz-field input[type="checkbox"] {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin: 0 8px 0 0;
}
.pz-field small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}
.pz-field [aria-invalid="true"] {
  border-color: #d87d91 !important;
}
.pz-field-error {
  color: #f1aab7;
  font-size: 11px;
  margin-top: 5px;
}
.pz-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  align-items: center;
  border-top: 1px solid #303644;
  margin-top: 25px;
  padding-top: 19px;
}
.pz-dialog-footer .button {
  font-size: 12px;
  padding: 9px 15px;
}
.pz-body button:disabled {
  opacity: 0.48;
  cursor: wait;
}
.pz-dialog-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  white-space: pre-wrap;
}
.pz-auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(ellipse at 25% 45%, #26314745, transparent 55%), #111318;
}
.pz-auth-story {
  padding: 65px max(45px, 9vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #282d39;
  position: relative;
  overflow: hidden;
}
.pz-auth-story .brand {
  margin: 0 0 60px;
}
.pz-auth-story h1 {
  font-size: clamp(36px, 4vw, 55px);
  font-weight: 520;
  line-height: 1.15;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}
.pz-auth-story h1 span {
  display: block;
  color: #9fb4f8;
}
.pz-auth-story p {
  color: var(--muted);
  font-size: 13px;
  max-width: 330px;
  margin-top: 24px;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}
.pz-auth-story .pz-orb {
  width: 390px;
  height: 390px;
  right: -200px;
  top: auto;
  bottom: -50px;
  opacity: 0.7;
}
.pz-auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 35px;
}
.pz-auth-form {
  width: 100%;
  max-width: 365px;
}
.pz-auth-form h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin-bottom: 10px;
}
.pz-auth-form > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.pz-auth-form .pz-form-grid {
  grid-template-columns: 1fr;
}
.pz-auth-form .button {
  width: 100%;
  justify-content: center;
  margin-top: 23px;
  font-size: 12px;
}
.pz-auth-footnote {
  font-size: 10px !important;
  color: #7d8aa4 !important;
  margin-top: 23px;
  margin-bottom: 0 !important;
}
.pz-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 21px;
}
.pz-settings-card p {
  margin-top: 10px;
}
.pz-settings-card .button {
  margin-top: 20px;
}
.pz-settings-card .pz-badge {
  margin-top: 15px;
}
.pz-settings-card .pz-card-top {
  margin-bottom: 0;
}
.pz-security-codes {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    13px/2 ui-monospace,
    monospace;
  background: #10151f;
  border: 1px solid #343e53;
  border-radius: 8px;
  padding: 15px;
  margin: 16px 0;
  user-select: all;
}
.pz-mobile-menu,
.pz-overlay {
  display: none;
}
.pz-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 15px;
  overflow: auto;
  padding-bottom: 10px;
}
.pz-board-column {
  background: #141820;
  border: 1px solid #282f3c;
  border-radius: 10px;
  padding: 12px;
  min-height: 220px;
}
.pz-board-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 11px;
}
.pz-board-task {
  margin-bottom: 10px;
  padding: 15px;
  background: #1d222d;
  border: 1px solid #343c4d;
  border-radius: 8px;
  width: 100%;
  text-align: left;
}
.pz-board-task strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  display: block;
}
.pz-task-view-toggle {
  display: flex;
  border: 1px solid #343b4a;
  border-radius: 7px;
  padding: 3px;
  margin-left: auto;
}
.pz-task-view-toggle button {
  padding: 5px 9px;
  font-size: 10px;
  color: var(--muted);
  border-radius: 4px;
}
.pz-task-view-toggle button.active {
  background: #323c54;
  color: #d7e0ff;
}
.pz-disks {
  margin-top: 17px;
}
.pz-disk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid #303744;
  font-size: 11px;
}
.pz-disk small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.pz-selectable {
  user-select: all;
}
.pz-results-heading {
  font-size: 10px;
  letter-spacing: 1px;
  color: #8290ad;
  text-transform: uppercase;
  margin: 22px 0 9px;
}
.pz-search-results {
  max-height: 55dvh;
  overflow: auto;
}
.pz-search-result {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 12px 10px;
  border-radius: 6px;
}
.pz-search-result:hover {
  background: #252d3e;
}
.pz-search-result strong {
  display: block;
  font-size: 12px;
}
.pz-search-result small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.pz-search-input {
  display: block;
  width: 100%;
  background: #111722;
  color: var(--text);
  border: 1px solid #435171;
  border-radius: 9px;
  padding: 13px;
  font-size: 14px;
}
.pz-search-empty {
  padding: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.pz-activity {
  padding: 11px 0;
  border-bottom: 1px solid #292f3b;
  display: flex;
  gap: 10px;
  font-size: 11px;
}
.pz-activity:last-child {
  border-bottom: 0;
}
.pz-activity small {
  margin-left: auto;
  color: var(--muted);
  white-space: nowrap;
}
.pz-activity span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.pz-project-title {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}
.pz-project-title .pz-project-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 26px;
  flex-shrink: 0;
}
.pz-project-title h1 {
  overflow-wrap: anywhere;
}
.pz-project-title .pz-badge {
  vertical-align: middle;
  margin-left: 13px;
  letter-spacing: 0;
}
.pz-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.pz-detail-grid dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 3px;
}
.pz-detail-grid dd {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.pz-table-scroll {
  overflow: auto;
}
.pz-session-row {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #303745;
  padding: 14px 0;
}
.pz-session-row strong {
  font-size: 11px;
  display: block;
}
.pz-session-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.pz-session-row > div {
  flex: 1;
  min-width: 0;
}
.pz-timeline-item {
  padding: 0 0 24px 22px;
  border-left: 1px solid #3b4661;
  margin-left: 5px;
  position: relative;
}
.pz-timeline-item:before {
  content: "";
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #95aaf1;
  position: absolute;
  left: -4px;
  top: 6px;
  box-shadow: 0 0 0 4px #1b202b;
}
.pz-timeline-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.pz-timeline-item strong {
  font-size: 12px;
}
.pz-timeline-item p {
  margin-top: 5px;
}
.pz-timeline-item .pz-badge {
  float: right;
}
.pz-noscript {
  padding: 20px;
}
.pz-form-hint {
  grid-column: 1/-1;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  padding: 10px 12px;
  background: #111722;
  border-radius: 6px;
}
.pz-rich-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 50dvh;
  overflow: auto;
  font-size: 13px;
  line-height: 1.9;
  color: #c6d0e5;
}
.pz-focus {
  color: var(--accent);
}
@keyframes pz-arrive {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .pz-main {
    padding-left: 55px;
    padding-right: 55px;
  }
  .pz-topbar {
    padding-left: 55px;
    padding-right: 55px;
  }
  .pz-sidebar {
    width: 250px;
  }
  .pz-main-shell {
    margin-left: 250px;
  }
}
@media (max-width: 1150px) {
  .pz-main {
    padding: 28px;
  }
  .pz-topbar {
    padding: 0 28px;
  }
  .pz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pz-overview-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 1fr);
  }
  .pz-project-title .pz-badge {
    display: table;
    margin: 8px 0 0;
  }
  .pz-page-heading {
    align-items: flex-start;
  }
  .pz-project-title .pz-project-icon {
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 900px) {
  .pz-sidebar {
    width: 206px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .pz-sidebar .brand {
    font-size: 18px;
  }
  .pz-main-shell {
    margin-left: 206px;
  }
  .pz-main {
    padding: 25px;
  }
  .pz-topbar {
    padding: 0 25px;
  }
  .pz-overview-grid,
  .pz-account-grid {
    grid-template-columns: 1fr;
  }
  .pz-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pz-top-search {
    min-width: 0;
  }
  .pz-top-search span,
  .pz-top-search kbd {
    display: none;
  }
  .pz-top-search {
    padding: 7px;
    border: none;
  }
  .pz-hero {
    min-height: 230px;
  }
  .pz-auth-story {
    padding: 45px;
  }
  .pz-page-heading h1 {
    font-size: 25px;
  }
  .pz-page-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 680px) {
  .pz-sidebar {
    width: 245px;
    transform: translateX(-100%);
    transition: transform 0.22s;
  }
  .pz-sidebar.open {
    transform: translateX(0);
  }
  .pz-overlay.visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: #03070bb0;
    backdrop-filter: blur(3px);
  }
  .pz-main-shell {
    margin-left: 0;
  }
  .pz-mobile-menu {
    display: grid;
    flex-shrink: 0;
  }
  .pz-topbar {
    height: 62px;
    padding: 0 18px;
    gap: 12px;
  }
  .pz-breadcrumb {
    flex: 1;
    font-size: 11px;
    gap: 7px;
  }
  .pz-breadcrumb > span:first-child {
    display: none;
  }
  .pz-breadcrumb > .icon {
    display: none;
  }
  .pz-top-actions {
    gap: 4px;
  }
  .pz-live {
    display: none;
  }
  .pz-main {
    padding: 25px 18px;
  }
  .pz-page-heading {
    gap: 17px;
    margin-bottom: 24px;
  }
  .pz-page-heading h1 {
    font-size: 26px;
  }
  .pz-page-heading p {
    font-size: 11px;
  }
  .pz-grid,
  .pz-grid.two {
    grid-template-columns: 1fr;
  }
  .pz-card {
    padding: 20px;
  }
  .pz-project-card {
    min-height: 215px;
  }
  .pz-stat {
    padding: 16px;
  }
  .pz-stat strong {
    font-size: 23px;
  }
  .pz-tabs {
    gap: 23px;
    margin-right: -18px;
    padding-right: 18px;
  }
  .pz-tabs::-webkit-scrollbar {
    height: 3px;
  }
  .pz-toolbar {
    gap: 8px;
  }
  .pz-toolbar input {
    min-width: 100%;
    max-width: none;
  }
  .pz-toolbar select {
    flex: 1;
    max-width: none;
    min-width: 0;
    font-size: 11px;
  }
  .pz-count {
    display: none;
  }
  .pz-task-view-toggle {
    margin-left: 0;
  }
  .pz-row {
    padding: 14px 12px;
    gap: 10px;
  }
  .pz-row.subtask {
    padding-left: 30px;
  }
  .pz-row > .pz-badge {
    display: none;
  }
  .pz-row .pz-row-title {
    font-size: 12px;
  }
  .pz-footer {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .pz-hero {
    padding: 24px;
    min-height: 260px;
  }
  .pz-hero h2 {
    font-size: 28px;
    max-width: 70%;
  }
  .pz-hero p {
    max-width: 65%;
  }
  .pz-orb {
    right: -65px;
    top: 55px;
  }
  .pz-auth {
    grid-template-columns: 1fr;
  }
  .pz-auth-story {
    border-right: 0;
    border-bottom: 1px solid #272e3a;
    padding: 30px 28px;
  }
  .pz-auth-story .brand {
    margin-bottom: 25px;
  }
  .pz-auth-story h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .pz-auth-story h1 span {
    display: block;
  }
  .pz-auth-story p {
    display: none;
  }
  .pz-auth-story .pz-orb {
    width: 170px;
    height: 170px;
    right: -60px;
    bottom: -55px;
  }
  .pz-auth-form-wrap {
    padding: 35px 28px 45px;
    align-items: flex-start;
  }
  .pz-auth-form {
    max-width: 420px;
  }
  .pz-auth-form h2 {
    font-size: 23px;
  }
  .pz-dialog > form,
  .pz-dialog > .pz-dialog-content {
    padding: 22px;
  }
  .pz-form-grid {
    gap: 15px;
  }
  .pz-field {
    grid-column: 1/-1;
  }
  .pz-dialog-heading h2 {
    font-size: 20px;
  }
  .pz-dialog {
    max-height: 94dvh;
    width: calc(100vw - 20px);
  }
  .pz-project-title .pz-project-icon {
    width: 48px;
    height: 48px;
  }
  .pz-board {
    grid-template-columns: repeat(4, 235px);
  }
  .pz-section-heading {
    align-items: flex-start;
  }
  .pz-section-heading .button {
    font-size: 11px;
    padding: 7px 10px;
  }
  .pz-topbar .icon-button {
    width: 31px;
    height: 31px;
  }
  .pz-topbar .icon {
    width: 17px;
    height: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Project lifecycle controls stay visible on both cards and project detail. */
.pz-project-header {
  flex-wrap: wrap;
  align-items: flex-start;
}
.pz-project-header .pz-project-title {
  flex: 1;
  min-width: min(300px, 100%);
}
.pz-project-management {
  justify-content: flex-end;
}
.pz-project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid #2d3441;
  margin-top: 18px;
  padding-top: 14px;
}
.pz-project-card-actions .button {
  flex: 1;
  font-size: 10px;
  padding: 7px 8px;
  min-height: 34px;
  gap: 5px;
}
.pz-project-card-actions .button .icon {
  width: 13px;
  height: 13px;
}
.pz-button-danger-subtle {
  border: 1px solid #4c343d;
  background: #33222b44;
  color: #dca1ac;
}
.pz-button-danger-subtle:hover {
  border-color: #86515e;
  background: #4c2b3655;
  color: #ffc0ca;
}
.pz-project-views {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.pz-project-view {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #303747;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--muted);
  background: #171c25;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.pz-project-view:hover {
  background: #232a39;
  color: var(--text);
}
.pz-project-view.active {
  background: #27334d;
  color: #d0dcff;
  border-color: #52668d;
}
.pz-view-count {
  padding: 1px 6px;
  min-width: 22px;
  text-align: center;
  border-radius: 4px;
  background: #0c111944;
  font-size: 10px;
}
.pz-archive-hint {
  font-size: 12px;
  color: var(--muted);
  margin: -3px 0 22px;
  line-height: 1.8;
}
.pz-archive-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  padding: 14px 16px;
  margin-bottom: 26px;
  border: 1px solid #424958;
  border-radius: 9px;
  background: #202632;
  font-size: 12px;
  color: #bec8dc;
}
.pz-archive-notice .pz-icon-link {
  margin-left: auto;
}
.pz-delete-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  margin: 21px 0;
  padding: 16px;
  background: #10151e;
  border: 1px solid #353d4d;
  border-radius: 9px;
}
.pz-delete-summary dt {
  font-size: 10px;
  color: var(--muted);
}
.pz-delete-summary dd {
  margin: 5px 0 0;
  font-size: 21px;
  color: #dbe3f3;
}
.pz-unsaved-prompt {
  margin-top: 20px;
  padding: 17px;
  border-radius: 9px;
  border: 1px solid #685438;
  background: #352d2055;
}
.pz-unsaved-prompt h3 {
  font-size: 13px;
  color: #ead3aa;
}
.pz-unsaved-prompt p {
  margin: 7px 0 15px;
  font-size: 12px;
  line-height: 1.8;
  color: #c6b89e;
}
.pz-unsaved-prompt .button {
  font-size: 11px;
}
@media (max-width: 680px) {
  .pz-project-management {
    justify-content: flex-start;
    gap: 7px;
    width: 100%;
  }
  .pz-project-management .button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .pz-project-view {
    padding: 8px 10px;
    gap: 8px;
    font-size: 11px;
  }
  .pz-delete-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pz-archive-notice .pz-icon-link {
    margin-left: 30px;
  }
}
.pz-copy-draft {
  display: flex;
  margin-top: 12px;
  color: #ebbbc5;
}
.pz-restored-draft {
  margin-bottom: 18px;
}
.pz-refresh-warning {
  margin-bottom: 24px;
}
.pz-refresh-warning .text-button {
  margin-top: 10px;
}
