/* The public lease audit uses the approved landlord reading scale while
   preserving its standalone shell and every existing finding and upload. */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/webfonts/owners-properties/open-sans-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/webfonts/owners-properties/poppins-latin-600.woff2") format("woff2");
}
.ow-lease-audit {
  background: var(--surface-canvas);
  color: var(--text);
  font: 400 14px/22px "Open Sans", Arial, sans-serif;
}
.ow-lease-audit *, .ow-lease-audit *::before, .ow-lease-audit *::after {
  box-sizing: border-box;
}
.ow-lease-audit [hidden] {
  display: none !important;
}
.ow-lease-audit .ow-public {
  max-width: 1120px;
  padding: 24px 24px 56px;
}
.ow-lease-audit .ow-public-top {
  padding-bottom: 24px;
}
.ow-lease-audit .pt-hero {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
}
.ow-lease-audit .pt-wrap {
  max-width: none;
  padding: 0;
}
.ow-lease-audit .pt-hero h1 {
  max-width: 800px;
  margin: 0 0 20px;
  color: var(--text);
  font: 600 24px/34px "Poppins", "Open Sans", sans-serif;
  overflow-wrap: anywhere;
}
.ow-lease-audit .pt-eyebrow {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 600;
  opacity: 1;
}
.ow-lease-audit .pt-accent, .ow-lease-audit .pt-spark {
  color: var(--ai);
}
.ow-lease-audit .pt-good {
  color: var(--success);
}
.ow-lease-audit .pt-bad {
  color: var(--danger);
}
.ow-lease-audit .pt-checks {
  max-width: 850px;
  margin-bottom: 24px;
  gap: 14px 24px;
  font-size: 14px;
  line-height: 22px;
}
.ow-lease-audit .pt-checks li::before {
  background: var(--action-soft);
  color: var(--action-ink);
}
.ow-lease-audit #audit-form,
.ow-lease-audit .pt-scan,
.ow-lease-audit .pt-cat {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.ow-lease-audit #audit-form {
  max-width: 850px;
  padding: 24px;
}
.ow-lease-audit .pt-label {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 22px;
}
.ow-lease-audit .pt-select {
  min-height: 44px;
  max-width: 240px;
  padding: 9px 12px;
  border: 1px solid var(--brand-purple);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: 400 15px/22px "Open Sans", Arial, sans-serif;
}
.ow-lease-audit .pt-drop {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  row-gap: 10px;
  padding: 20px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-canvas);
  text-align: left;
}
.ow-lease-audit .pt-drop-art {
  grid-row: 1 / 3;
  width: 176px;
  max-width: 100%;
  height: auto;
}
.ow-lease-audit .pt-drop-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.ow-lease-audit .pt-drop.is-over {
  border-color: var(--action-ink);
  background: var(--action-soft);
}
.ow-lease-audit .pt-drop input {
  position: static;
  opacity: 1;
  grid-column: 2;
  width: 100%;
  max-width: 330px;
  height: auto;
  min-height: 44px;
  margin: 0;
  color: var(--text-secondary);
  font: inherit;
}
.ow-lease-audit .pt-drop input::file-selector-button {
  min-height: 44px;
  margin-right: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.ow-lease-audit .pt-drop b {
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
}
.ow-lease-audit .pt-drop small {
  max-width: 100%;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
.ow-lease-audit .pt-secure,
.ow-lease-audit .pt-fine,
.ow-lease-audit .pt-lede,
.ow-lease-audit .pt-cat-blurb {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 22px;
  opacity: 1;
}
.ow-lease-audit .pt-fine {
  max-width: 80ch;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 21px;
}
.ow-lease-audit .pt-submit-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ow-lease-audit .pt-submit-row .ow-info-i {
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0;
  color: var(--text-muted);
}
.ow-lease-audit .pt-btn,
.ow-lease-audit .pt-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--btn-action-bg);
  color: var(--btn-action-fg);
  font: 600 14px/22px "Open Sans", Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  text-align: center;
  text-decoration: none;
}
.ow-lease-audit .pt-btn:hover {
  background: var(--btn-action-hover);
}
.ow-lease-audit .pt-btn-ghost,
.ow-lease-audit .pt-share {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
}
.ow-lease-audit .pt-btn-ghost:hover,
.ow-lease-audit .pt-share:hover {
  border-color: var(--action-ink);
  background: var(--action-soft);
}
.ow-lease-audit :is(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--btn-action-ring);
  outline-offset: 3px;
}
.ow-lease-audit .pt-drop:has(input:focus-visible) {
  outline: 2px solid var(--btn-action-ring);
  outline-offset: 3px;
}
.ow-lease-audit .pt-alert {
  padding: 14px 16px;
  border: 1px solid var(--danger-border);
  border-radius: var(--radius-md);
  background: var(--danger-bg);
  color: var(--danger);
  overflow-wrap: anywhere;
}
.ow-lease-audit .pt-scan {
  max-width: 850px;
  padding: 40px 24px;
}
.ow-lease-audit .pt-scan h2,
.ow-lease-audit .pt-side-card h3 {
  margin: 12px 0;
  color: var(--text);
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
}
.ow-lease-audit .pt-scan-ico {
  font-size: 32px;
}
.ow-lease-audit .pt-bar {
  background: var(--surface-alt);
}
.ow-lease-audit .pt-bar span {
  background: var(--btn-action-bg);
}
.ow-lease-audit .pt-topbar {
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 20px;
}
.ow-lease-audit .pt-topbar .pt-eyebrow {
  margin: 0;
}
.ow-lease-audit .pt-body {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
}
.ow-lease-audit .pt-cats,
.ow-lease-audit .pt-side,
.ow-lease-audit .pt-check > div {
  min-width: 0;
}
.ow-lease-audit .pt-note,
.ow-lease-audit .pt-side-card {
  padding: 20px;
  border: 1px solid var(--ai-border);
  border-radius: var(--radius-card);
  background: var(--ai-bg);
  color: var(--text-secondary);
}
.ow-lease-audit .pt-side-card {
  text-align: left;
}
/* A card title is never under 18px (DESIGN.md). The 26px line keeps the card's height. */
.ow-lease-audit .pt-side-card h3 {
  margin-top: 0;
  font-size: 18px;
}
.ow-lease-audit .pt-cat summary {
  min-height: 64px;
  gap: 10px;
  padding: 18px 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ow-lease-audit .pt-cat-count {
  flex: none;
  color: var(--text-muted);
  font-size: 13px;
  opacity: 1;
  font-variant-numeric: tabular-nums;
}
.ow-lease-audit .pt-glyph.ok {
  background: var(--success-bg);
  color: var(--success);
}
.ow-lease-audit .pt-glyph.incomplete {
  background: var(--warning-bg);
  color:var(--warning-ink);
}
.ow-lease-audit .pt-glyph.missing {
  background: var(--danger-bg);
  color: var(--danger);
}
.ow-lease-audit .pt-check {
  padding: 14px 0;
  border-top: 1px solid var(--border-hairline);
}
.ow-lease-audit .pt-check b {
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}
.ow-lease-audit .pt-check p {
  line-height: 23px;
  color: var(--text-secondary);
  opacity: 1;
  overflow-wrap: anywhere;
}
.ow-lease-audit .pt-cta {
  color: var(--ai);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}
.ow-lease-audit .pt-share {
  display: flex;
  width: 100%;
  margin: 16px 0 8px;
}
.ow-lease-audit .pt-share-status {
  margin: 0 0 4px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 22px;
}
.ow-lease-audit .pt-share-link {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--brand-purple);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: 400 16px/24px "Open Sans", Arial, sans-serif;
  text-overflow: ellipsis;
}
@container ow-layout (max-width: 850px) {
  .ow-lease-audit .pt-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .ow-lease-audit .pt-side {
    position: static;
  }
}
@container ow-layout (max-width: 600px) {
  .ow-lease-audit .ow-public {
    padding: 18px 16px 40px;
  }
  .ow-lease-audit #audit-form {
    padding: 20px 16px;
  }
  .ow-lease-audit .pt-checks {
    grid-template-columns: minmax(0, 1fr);
  }
  .ow-lease-audit .pt-select {
    font-size: 16px;
  }
  .ow-lease-audit .pt-drop {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding: 18px 14px;
    text-align: center;
  }
  .ow-lease-audit .pt-drop-art {
    grid-row: auto;
    width: 160px;
  }
  .ow-lease-audit .pt-drop input {
    grid-column: 1;
  }
  .ow-lease-audit .pt-cat {
    padding: 0 16px;
  }
  .ow-lease-audit .pt-cat summary {
    flex-wrap: wrap;
  }
  .ow-lease-audit .pt-cat-count {
    margin-left: 32px;
    flex-basis: calc(100% - 32px);
  }
  .ow-lease-audit .pt-btn {
    width: 100%;
  }
  .ow-lease-audit .pt-submit-row .pt-btn {
    width: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ow-lease-audit .pt-bar span {
    transition: none;
  }
}
