.pn-page,
.pn-dialog {
  --pn-ink: #183530;
  --pn-muted: #536963;
  --pn-line: #dce5df;
  --pn-bg: #f4f7f4;
  --pn-teal: #176d5e;
  --pn-light: #eaf5ed;
  --pn-orange: #8a4b12;
  color: var(--pn-ink);
  font-family: inherit;
  line-height: 1.55;
  font-size: 14px;
}
.pn-page *,
.pn-dialog * {
  box-sizing: border-box;
}
.pn-page {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 16px;
  align-content: start;
}
.pn-page [hidden],
.pn-dialog [hidden] {
  display: none !important;
}
.pn-heading,
.pn-section-head,
.pn-topline,
.pn-row,
.pn-dialog-head,
.pn-dialog-foot,
.pn-row-line,
.pn-actions,
.pn-filters {
  display: flex;
  align-items: center;
}
.pn-heading,
.pn-section-head,
.pn-dialog-head,
.pn-topline {
  justify-content: space-between;
  gap: 12px;
}
.pn-heading {
  align-items: flex-start;
}
.pn-heading h2,
.pn-dialog h2 {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 29px);
  line-height: 1.32;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.pn-heading p,
.pn-row p,
.pn-timeline p,
.pn-body-text,
.pn-note p {
  color: var(--pn-muted);
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
.pn-heading p,
.pn-record-id,
.pn-row small,
.pn-section-head > span,
.pn-timeline time {
  font-variant-numeric: tabular-nums;
}
.pn-heading p {
  font-size: 13px;
}
.pn-card,
.pn-note,
.pn-admin-summary,
.pn-follow {
  min-width: 0;
  margin: 0;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--pn-line);
  border-radius: 13px;
}
.pn-page h3,
.pn-dialog h3 {
  margin: 0;
  color: var(--pn-ink);
  font-size: 16px;
  font-weight: 660;
  letter-spacing: -0.02em;
}
.pn-page h4,
.pn-dialog h4 {
  font-size: 14px;
  font-weight: 620;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: var(--pn-ink);
}
.pn-btn,
.pn-cross,
.pn-filters input,
.pn-filters select,
.pn-field input,
.pn-field select,
.pn-field textarea,
.pn-screen-filters input,
.pn-screen-filters select {
  font: inherit;
}
.pn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  min-height: 37px;
  padding: 7px 12px;
  background: #fff;
  color: var(--pn-ink);
  border: 1px solid #ccdbd3;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 550;
  white-space: normal;
}
.pn-btn.quiet,
.pn-btn.suggest {
  color: var(--pn-teal);
  background: #f4f9f5;
  border-color: #d9e6de;
}
.pn-btn.primary {
  background: var(--pn-teal);
  border-color: var(--pn-teal);
  color: #fff;
}
.pn-btn.warn {
  color: #94481e;
  border-color: #ebcfbb;
  background: #fff7ef;
}
.pn-page button:hover,
.pn-dialog button:hover {
  filter: brightness(0.96);
}
.pn-page :focus-visible,
.pn-dialog :focus-visible {
  outline: 3px solid #218875;
  outline-offset: 3px;
}
.pn-page button:disabled,
.pn-dialog button:disabled {
  opacity: 0.57;
  cursor: progress;
}
.pn-actions {
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.pn-result-label,
.pn-record-id,
.pn-row small,
.pn-section-head > span {
  font-size: 12px;
  font-weight: 550;
  color: var(--pn-muted);
}
.pn-result-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pn-teal);
}
.pn-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--pn-teal);
  border-radius: 50%;
}
.pn-answer > p {
  margin: 10px 0 0;
  color: var(--pn-ink);
  font-size: 16px;
  line-height: 1.8;
}
.pn-answer .assistant-answer-source {
  margin-top: 8px;
  color: var(--pn-muted);
  overflow-wrap: anywhere;
}
.pn-answer .assistant-answer-source a {
  color: var(--pn-teal);
  text-decoration: underline;
}
.pn-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--pn-line);
  padding-top: 14px;
}
.pn-metric {
  flex: 1 0 100px;
  padding: 5px 12px 5px 0;
  display: grid;
  gap: 3px;
}
.pn-metric > span,
.pn-admin-summary section span {
  font-size: 12px;
  color: var(--pn-muted);
}
.pn-metric strong {
  font-size: clamp(19px, 2.1vw, 29px);
  font-weight: 650;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.pn-metric strong small {
  color: var(--pn-muted);
  font-size: 12px;
  margin-left: 4px;
  font-weight: 500;
}
.pn-filters {
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 4px;
}
.pn-filters input,
.pn-filters select,
.pn-field input,
.pn-field select,
.pn-field textarea,
.pn-screen-filters input,
.pn-screen-filters select {
  border: 1px solid #cad8d0;
  background: #fff;
  border-radius: 7px;
  color: var(--pn-ink);
  padding: 8px 10px;
  min-width: 0;
  line-height: 1.45;
  font-size: 14px;
}
.pn-filters input {
  min-width: 100px;
  flex: 1 1 220px;
}
.pn-filters select {
  max-width: 100%;
}
.pn-row {
  gap: 12px;
  justify-content: space-between;
  padding: 15px 0;
  min-width: 0;
  border-bottom: 1px solid var(--pn-line);
}
.pn-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.pn-row-main {
  min-width: 0;
}
.pn-row-main > small {
  display: block;
  margin-top: 5px;
}
.pn-row-line {
  flex-wrap: wrap;
  gap: 7px;
}
.pn-row p {
  font-size: 13px;
}
.pn-row > .pn-actions {
  flex-shrink: 0;
}
.pn-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #edf1ee;
  color: #4d645d;
  border: 1px solid #dee6e0;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 600;
  white-space: nowrap;
}
.pn-chip.warn {
  border-color: #ecd7be;
  color: #864c1b;
  background: #fff2e2;
}
.pn-chip.good {
  border-color: #cfdfd4;
  color: #256349;
  background: #eaf5ed;
}
.pn-details {
  padding-top: 14px;
  padding-bottom: 14px;
}
.pn-details summary {
  cursor: pointer;
  color: var(--pn-muted);
  font-weight: 550;
}
.pn-details[open] > summary {
  margin-bottom: 13px;
}
.pn-note {
  border-color: #e4d9bd;
  background: #fbf7eb;
  color: #74552c;
}
.pn-note p {
  color: #715d3c;
}
.pn-note strong {
  font-size: 13px;
}
.pn-note p,
.pn-note {
  font-size: 13px;
}
.pn-follow h3 + .pn-actions,
.pn-card h3 + .pn-actions {
  margin-top: 12px;
}
.pn-fields {
  margin: 12px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(175px, 100%), 1fr));
  gap: 10px 16px;
}
.pn-fields div {
  min-width: 0;
  border-bottom: 1px solid var(--pn-line);
  padding: 6px 0 9px;
}
.pn-fields dt {
  font-size: 12px;
  color: var(--pn-muted);
}
.pn-fields dd {
  margin: 3px 0 0;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.pn-empty,
.pn-loading {
  padding: 21px 8px;
  color: var(--pn-muted);
  text-align: center;
  font-size: 14px;
}
.pn-alert {
  padding: 12px 14px;
  margin: 8px 0 12px;
  color: #8d361e;
  background: #fff0e8;
  border: 1px solid #efc9b9;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.pn-dialog {
  padding: 0;
  border: 1px solid #cfdad3;
  border-radius: 14px;
  max-width: min(620px, calc(100vw - 24px));
  width: 620px;
  max-height: 87vh;
  max-height: 87dvh;
  box-shadow: 0 24px 80px #152a2852;
  background: #fff;
  overflow: auto;
}
.pn-dialog::backdrop {
  background: #14272190;
}
.pn-dialog-head {
  padding: 16px 20px;
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--pn-line);
  z-index: 1;
}
.pn-dialog-head h2 {
  font-size: 19px;
  line-height: 1.5;
}
.pn-dialog-body {
  padding: 18px 20px 21px;
}
.pn-cross {
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  background: var(--pn-bg);
  color: var(--pn-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pn-dialog-foot {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--pn-line);
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.pn-dialog-foot .pn-btn[hidden] {
  display: none;
}
.pn-event-review {
  margin: 16px 0;
  padding: 13px 14px;
  border: 1px solid var(--pn-line);
  border-radius: 9px;
  background: var(--pn-bg);
}
.pn-event-review .pn-fields {
  margin-bottom: 0;
}
.pn-dialog .pn-body-text {
  line-height: 1.75;
  margin: 9px 0;
}
.pn-media {
  margin: 14px 0;
  padding: 0;
  background: #edf0eb;
  border: 1px solid var(--pn-line);
  border-radius: 9px;
  overflow: hidden;
}
.pn-media img,
.pn-clip video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}
.pn-media figcaption {
  padding: 5px 9px;
  color: var(--pn-muted);
  font-size: 12px;
}
.pn-clip {
  margin: 12px 0;
}
.pn-clip h3 {
  margin-bottom: 7px;
}
.pn-clip video {
  border-radius: 7px;
  background: #17312d;
}
.pn-field {
  display: grid;
  gap: 7px;
  font-weight: 550;
  margin: 14px 0;
  color: var(--pn-ink);
}
.pn-field input,
.pn-field select,
.pn-field textarea {
  width: 100%;
  font-weight: 400;
}
.pn-field textarea {
  resize: vertical;
  line-height: 1.7;
}
.pn-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pn-form-grid .pn-field {
  margin: 0;
}
.pn-timeline {
  list-style: none;
  padding: 0 0 0 14px;
  border-left: 2px solid #d5e3d9;
  margin: 15px 0 12px 4px;
}
.pn-timeline li {
  position: relative;
  margin: 0;
  padding: 0 0 15px;
  overflow-wrap: anywhere;
}
.pn-timeline li::before {
  content: '';
  position: absolute;
  left: -19px;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
  background: #4a8c73;
  border-radius: 50%;
}
.pn-timeline li:last-child {
  padding-bottom: 0;
}
.pn-timeline li > div {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  flex-wrap: wrap;
}
.pn-timeline li strong,
.pn-timeline p {
  font-size: 13px;
}
.pn-timeline time {
  font-size: 12px;
  color: var(--pn-muted);
}
.pn-receipt {
  padding: 12px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 9px;
}
.pn-receipt p {
  margin: 0;
  color: var(--pn-muted);
}
.pn-receipt-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--pn-light);
  color: var(--pn-teal);
  font-size: 24px;
  border-radius: 50%;
}
.pn-admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pn-admin-summary section {
  display: grid;
  gap: 4px;
}
.pn-admin-summary section strong {
  font-size: clamp(16px, 2vw, 22px);
  overflow-wrap: anywhere;
}
.pn-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(200px, 1fr);
  gap: 14px;
}
.pn-admin-grid > div {
  min-width: 0;
}
.pn-admin-grid .pn-card + .pn-card {
  margin-top: 14px;
}
.pn-admin-grid .pn-body-text {
  margin: 8px 0 12px;
}
.pn-flags {
  margin: 12px 0 0;
}
.pn-flags span {
  padding: 3px 7px;
  border: 1px solid var(--pn-line);
  border-radius: 5px;
  font-size: 12px;
  color: var(--pn-muted);
}
.pn-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  padding: 8px 0;
}
.pn-toggle input {
  position: absolute;
  opacity: 0;
  width: 36px;
  height: 24px;
}
.pn-toggle span {
  width: 40px;
  height: 24px;
  border-radius: 16px;
  background: #899b90;
  position: relative;
  display: block;
}
.pn-toggle span:before {
  content: '';
  width: 17px;
  height: 17px;
  position: absolute;
  background: #fff;
  border-radius: 50%;
  top: 3.5px;
  left: 4px;
}
.pn-toggle input:checked + span {
  background: var(--pn-teal);
}
.pn-toggle input:checked + span:before {
  left: 19px;
}
.pn-toggle input:focus-visible + span {
  outline: 3px solid #218875;
  outline-offset: 3px;
}
.pn-screen-filters {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px 12px;
  align-items: end;
}
.pn-screen-filters .pn-field {
  margin: 0;
  font-size: 12px;
}
.pn-screen-filters .pn-actions {
  grid-column: 1/-1;
}
@media (max-width: 920px) {
  .pn-admin-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .pn-page {
    gap: 12px;
  }
  .pn-card,
  .pn-note,
  .pn-admin-summary,
  .pn-follow {
    padding: 15px 14px;
    border-radius: 11px;
  }
  .pn-heading {
    align-items: center;
  }
  .pn-btn,
  .pn-cross,
  .pn-filters input,
  .pn-filters select,
  .pn-field input,
  .pn-field select {
    min-height: 44px;
  }
  .pn-cross {
    width: 44px;
  }
  .pn-row {
    flex-wrap: wrap;
    gap: 9px;
  }
  .pn-row > .pn-btn,
  .pn-row > .pn-actions {
    margin-left: auto;
  }
  .pn-row-main {
    flex: 1 1 165px;
  }
  .pn-metric {
    flex-basis: 94px;
  }
  .pn-dialog-body,
  .pn-dialog-head {
    padding: 14px;
  }
  .pn-admin-summary {
    gap: 8px;
  }
  .pn-filters input {
    flex-basis: 150px;
  }
  .pn-dialog {
    max-height: 90dvh;
  }
}
@media (max-width: 390px) {
  .pn-form-grid {
    grid-template-columns: 1fr;
  }
}
.pn-heading > .pn-actions,
.pn-heading > .pn-btn {
  flex-shrink: 0;
}
.pn-heading .pn-btn {
  white-space: nowrap;
}
.pn-heading > :first-child {
  min-width: 0;
}
