body.v513-active #portalPage {
  display: none !important;
}
.v513 .welcome-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.v513 .welcome-card {border:1px solid #dce2e5;border-radius:13px;padding:13px;background:#fff}
.v513 .welcome-card strong {display:block;color:#17364f;margin-bottom:4px}
@media(max-width:820px){.v513 .welcome-grid{grid-template-columns:1fr}}
.v513 {
  --navy: #18344d;
  --navy-dark: #102638;
  --blue: #4b9ac8;
  --green: #29966d;
  --orange: #e89b49;
  --red: #d95d5d;
  --background: #f4f7fa;
  --muted: #72808d;
  --border: #e3e8ed;
  --gold: #b9965a;
  color: var(--navy);
  font:
    15px/1.55 Arial,
    Helvetica,
    sans-serif;
  background: var(--background);
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: auto;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
}
.v513 * {
  box-sizing: border-box;
}
.v513 [hidden] {
  display: none !important;
}
.v513 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.v513 aside {
  background: #19394e;
  color: white;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100dvh;
}
.v513 .brand {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 0 15px 20px;
}
.v513 .brand img {
  filter: brightness(0) invert(1);
  width: 30px;
  height: 40px;
  object-fit: contain;
}
.v513.closed-owner {grid-template-columns:1fr;}
.v513.closed-owner > aside {display:none;}
.v513.closed-owner main {max-width:1100px;margin:auto;}
.v513 .card.final-hero {background:linear-gradient(120deg,#19394e,#28546d);color:white;display:flex;justify-content:space-between;gap:24px;padding:24px;}
.v513 .card.final-hero small {color:#c8d9e3;}
.v513 .card.final-hero h2 {margin:8px 0;}
.v513 .card.final-hero p {margin-bottom:0;}
.v513 .final-header-brand {display:flex;align-items:center;gap:18px;}
.v513 .final-header-brand img {width:34px;height:44px;object-fit:contain;}
.v513.closed-owner header label {margin:0;min-width:230px;}
.v513 .stars {display:flex;flex-wrap:wrap;gap:12px;border:0;padding:0;}
.v513 .stars label {color:#a77929;cursor:pointer;}
.v513 .stars input {width:auto;}
.v513 .final-experience {display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.v513 .stars span {font-size:30px;color:#cfd3d5;}
.v513 .stars input:checked + span {color:var(--gold);}
.v513 .stars label:has(~ label input:checked) span {color:var(--gold);}
.v513 .stars input:focus-visible + span {outline:3px solid var(--blue);outline-offset:3px;}
.v513 .stars input {position:absolute;width:1px;height:1px;opacity:0;}
@media(max-width:700px){.v513 .final-experience{grid-template-columns:1fr;}}
@media(max-width:700px){.v513 .card.final-hero{flex-direction:column;}.v513.closed-owner header label{min-width:0;}}
.v513 .report-editor {grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);}
.v513 .analysis-box {width:100%;padding:16px;border:1px solid #c9dce8;border-radius:14px;background:linear-gradient(135deg,#f0f8fc,#fff);margin:12px 0;}
.v513 .analysis-box h4 {margin:4px 0;}
.v513 .analysis-box .row {align-items:flex-start;}
@media(max-width:700px){.v513 .report-editor{grid-template-columns:1fr;}}
.v513 .brand h1 {
  font-size: 20px;
  margin: 0;
}
.v513 aside small {
  color: #c1d1dc;
}
.v513 nav {
  display: grid;
  gap: 5px;
}
.v513 nav button {
  color: #d9e6ee;
  background: transparent;
  text-align: left;
  border: 0;
  padding: 12px;
  border-radius: 10px;
}
.v513 nav button.active {
  background: #254c62;
  color: white;
}
.v513 aside footer {
  margin-top: auto;
  padding: 18px 8px 0;
  border-top: 1px solid #ffffff22;
  font-size: 12px;
}
.v513 header {
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 24px;
}
.v513 h2 {
  font-size: 26px;
  margin: 0;
}
.v513 h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 0 0 5px;
}
.v513 h4 {
  font-size: 16px;
  margin: 0 0 5px;
}
.v513 p {
  margin: 5px 0 14px;
}
.v513 .muted,
.v513 small {
  color: var(--muted);
}
.v513 .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.v513 button,
.v513 .button {
  font:
    700 15px/1.35 Arial,
    sans-serif;
  cursor: pointer;
  background: var(--navy);
  color: white;
  border: 1px solid var(--navy);
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
}
.v513 button.secondary,
.v513 .button.secondary {
  background: white;
  color: var(--navy);
  border-color: #d3dbe1;
}
.v513 button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.v513 button:focus-visible,
.v513 a:focus-visible,
.v513 input:focus-visible,
.v513 select:focus-visible,
.v513 textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.v513 main {
  padding: 24px;
  min-width: 0;
}
.v513 .card {
  border: 1px solid var(--border);
  background: white;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 4px 16px #18344d05;
  min-width: 0;
}
.v513 .section {
  margin: 24px 0;
}
.v513 .section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}
.v513 .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.v513 .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 22px;
}
.v513 .stat label {
  font-size: 11px;
  font-weight: bold;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.v513 .stat strong {
  display: block;
  font-size: 29px;
}
.v513 .row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.v513 .row:last-child {
  border: 0;
}
.v513 .badge {
  display: inline-block;
  background: #eaf4fa;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.v513 .badge.warn {
  background: #fff2e3;
  color: #946017;
}
.v513 .badge.good {
  background: #e5f5ee;
  color: #227452;
}
.v513 .error {
  border: 1px solid #eeb1b1;
  background: #fff0f0;
  padding: 12px;
  border-radius: 10px;
  color: #8a2727;
  white-space: pre-wrap;
}
.v513 .success {
  background: #e5f5ee;
  padding: 12px;
  border-radius: 10px;
}
.v513 label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 12px 0 5px;
}
.v513 input,
.v513 select,
.v513 textarea {
  font: inherit;
  color: inherit;
  background: white;
  border: 1px solid #d3dbe1;
  border-radius: 9px;
  padding: 11px;
  width: 100%;
  min-width: 0;
}
.v513 input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}
.v513 textarea {
  min-height: 105px;
  resize: vertical;
}
.v513 .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.v513 .full {
  grid-column: 1/-1;
}
.v513 .tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.v513 .tabs .active {
  background: var(--navy);
  color: white;
}
.v513 .empty {
  padding: 32px 20px;
  text-align: center;
  background: white;
  border: 1px dashed #d3dbe1;
  border-radius: 14px;
}
.v513 .strip {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.v513 .modal-overlay {
  position: fixed;
  inset: 0;
  background: #10263899;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 5;
}
.v513 .modal {
  background: white;
  border-radius: 18px;
  padding: 22px;
  width: min(760px, 100%);
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 20px 60px #0004;
}
.v513 .modal.wide {
  width: min(1050px, 100%);
}
.v513 .modal-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
}
.v513 .modal-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}
.v513 .stack > * + * {
  margin-top: 12px;
}
.v513 .report-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.v513 a {
  color: #1b6d9e;
}
.v513 .property-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}
.v513 .search {
  max-width: 500px;
  margin: 12px 0;
}
.v513 .owner-columns {
  display: grid;
  gap: 16px;
}
.v513 .mobile-brand {
  display: none;
}
.v513 .check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 15px;
}
.v513 .check-grid label {
  font-weight: 400;
}
.v513 .hint {
  padding: 12px;
  border-radius: 10px;
  background: #eaf4fa;
}
.v513 details {
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}
.v513 summary {
  font-weight: 700;
  cursor: pointer;
}
.v513 .sources {
  overflow-wrap: anywhere;
}
.v513 .notice {
  padding: 10px 24px;
  background: #fff6e5;
  font-size: 13px;
  border-bottom: 1px solid #eedbb5;
}
@media (max-width: 1000px) {
  .v513 {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .v513 aside {
    padding: 18px 12px;
  }
  .v513 .brand {
    gap: 8px;
    padding: 0 0 20px;
  }
  .v513 .brand h1 {
    font-size: 18px;
  }
  .v513 header {
    flex-direction: column;
  }
  .v513 .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v513 .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .v513 {
    display: block;
  }
  .v513 aside {
    position: relative;
    height: auto;
    padding: 12px;
  }
  .v513 .brand {
    padding: 0 5px 10px;
  }
  .v513 aside nav {
    display: flex;
    overflow: auto;
    gap: 6px;
  }
  .v513 nav button {
    flex-shrink: 0;
    font-size: 13px;
    padding: 9px;
  }
  .v513 aside footer {
    display: none;
  }
  .v513 header {
    padding: 16px;
    gap: 12px;
  }
  .v513 h2 {
    font-size: 23px;
  }
  .v513 header .actions button,
  .v513 header .actions a {
    padding: 8px;
    font-size: 12px;
  }
  .v513 main {
    padding: 16px;
  }
  .v513 .row,
  .v513 .section-head,
  .v513 .strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .v513 .form-grid,
  .v513 .check-grid {
    grid-template-columns: 1fr;
  }
  .v513 .modal-overlay {
    padding: 8px;
  }
  .v513 .modal {
    padding: 16px;
    max-height: 96dvh;
  }
  .v513 .tabs {
    gap: 4px;
  }
  .v513 .tabs button {
    font-size: 12px;
    padding: 9px;
  }
  .v513 .card {
    padding: 15px;
  }
}
