/* Property Check (P1). Own file: styles.css can be served a day stale. */
.pc-main { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
.pc-head h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 8px 0 12px; }
.pc-intro { font-size: 16px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 20px; }
.pc-step { margin: 18px 0; }
.pc-step-label { display: block; font-size: 15px; font-weight: 600; margin: 0 0 8px; color: var(--text-color, inherit); }
.pc-sub-label { margin-top: 14px; }
.pc-main input[type="text"], .pc-main input[type="email"], .pc-main select {
  font-size: 16px; min-height: 44px; padding: 10px 12px; width: 100%; box-sizing: border-box;
  border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card, transparent); color: inherit; }
.pc-search { position: relative; }
.pc-suggest { list-style: none; margin: 4px 0 0; padding: 4px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card, #0f1626); }
.pc-suggest button { display: block; width: 100%; text-align: left; min-height: 44px; padding: 8px 10px; font-size: 16px; background: none; border: 0; color: inherit; cursor: pointer; border-radius: 6px; }
.pc-suggest button:hover, .pc-suggest button:focus { background: var(--bg-card-hover, rgba(0,200,200,.08)); }
.pc-suggest button span { color: var(--text-muted); font-size: 14px; }
.pc-suggest .pc-none { padding: 10px; color: var(--text-muted); font-size: 14px; }
.pc-group { flex-wrap: wrap; }
.pc-group .toggle-btn { min-height: 44px; min-width: 44px; font-size: 15px; }

.pc-result { margin: 20px 0; padding: 20px; border-radius: 14px; background: var(--bg-card, #0f1626); border: 1px solid var(--border); }
.pc-eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-source, var(--teal)); margin: 0; }
.pc-total-row { margin: 4px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.pc-total { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(40px, 11vw, 56px); line-height: 1.05; }
.pc-weekly { font-size: 17px; color: var(--text-secondary); }
.pc-where { margin: 6px 0 14px; color: var(--text-secondary); font-size: 15px; }
.pc-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.pc-line { border-bottom: 1px solid var(--border); }
.pc-line summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; cursor: pointer; list-style: none; font-size: 16px; }
.pc-line summary::-webkit-details-marker { display: none; }
.pc-line-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.pc-line-amt { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.pc-working { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
.pc-note { margin: 14px 0 0; font-size: 15px; line-height: 1.55; }
.pc-fine { margin: 14px 0 0; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.pc-help { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 8px 0 0; }
.pc-help a, .pc-about a, .pc-email a { color: var(--teal); }
.pc-work { margin-top: 12px; }
.pc-actions { margin-top: 28px; padding-top: 8px; border-top: 1px solid var(--border); }
.pc-email-row { display: flex; gap: 8px; }
.pc-email-row input { flex: 1; }
.pc-email-row button { min-height: 44px; }
/* The site's lead-submit-btn goes full width on phones, which crushed the
   email field beside it to 25px. Here the button keeps its own width. */
.pc-email-row .lead-submit-btn { width: auto; flex: none; padding: 0 18px; }
.pc-email-row input { min-width: 0; }
.pc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pc-error { color: #ff8a8a; font-size: 14px; margin: 6px 0 0; min-height: 1em; }
.pc-done { font-size: 15px; color: var(--text-source, var(--teal)); }
.pc-share-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.pc-btn { min-height: 44px; padding: 10px 16px; font-size: 15px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: inherit; cursor: pointer; }
.pc-btn:hover { border-color: var(--teal); }
.pc-about { margin-top: 40px; font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); }
.pc-about h2 { font-size: 22px; color: var(--text-color, inherit); }

/* The optional value: a disclosure for a rateable value, plain otherwise. */
.pc-more > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--teal); list-style: none; }
.pc-more > summary::-webkit-details-marker { display: none; }
.pc-more > summary::before { content: '+'; display: inline-grid; place-items: center; width: 22px; height: 22px;
  border: 1px solid currentColor; border-radius: 50%; font-size: 15px; line-height: 1; }
.pc-more[open] > summary::before { content: '\2212'; }
.pc-more[open] > summary { margin-bottom: 8px; }
.pc-more.pc-plain > summary { display: none; }

/* Two columns on wider screens, so the inputs fit in less height: house or
   unit beside people, the commute beside how and how often, then the value
   and the actions across the full width. Phones keep one column. */
.pc-steps[hidden] { display: none; }
@media (min-width: 820px) {
  .pc-main { max-width: 960px; }
  .pc-steps { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .pc-steps > .pc-step { margin: 12px 0; }
  .pc-wide { grid-column: 1 / -1; }
  .pc-actions { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .pc-actions .pc-share-row { margin-top: 30px; }
}

/* Sticky result bar on phones while the inputs below change. */
.pc-sticky { display: none; }
@media (max-width: 760px) {
  .pc-sticky { display: block; position: sticky; bottom: 0; margin: 0 -16px; padding: 10px 16px; text-align: center;
    font-weight: 600; font-size: 17px; background: var(--bg, #0a0f1c); border-top: 1px solid var(--border); z-index: 5; }
  .pc-sticky:empty { display: none; }
}

/* The printed statement: the result only. */
@media print {
  body { background: #fff !important; color: #000 !important; }
  .nav, .site-footer, .pc-step-suburb, .pc-steps, .pc-sticky, .pc-about, .pc-intro { display: none !important; }
  .pc-result { border: 1px solid #999; background: #fff; color: #000; }
  .pc-line details > *:not(summary) { display: block; }
  .pc-working, .pc-weekly, .pc-where, .pc-fine, .pc-note { color: #333; }
  .pc-result::after { content: "SuburbCost Property Check, suburbcost.com.au/property-check. General information, not financial advice."; display: block; margin-top: 12px; font-size: 11px; color: #555; }
}

/* The paid statement offer (lib/statement-config.js). */
.pc-offer[hidden] { display: none; }
.pc-offer { margin: 28px 0 8px; padding: 20px; border: 1px solid var(--teal); border-radius: 12px; }
.pc-offer h2 { margin: 0 0 6px; font-size: 21px; }
.pc-offer-lede { margin: 0 0 10px; color: var(--muted, #9aa4b2); }
.pc-offer-list { margin: 0 0 12px; padding-left: 20px; line-height: 1.55; }
.pc-offer-sample a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--teal); }
.pc-offer .lead-submit-btn { min-height: 48px; }
@media print { .pc-offer { display: none !important; } }

.pc-offer form[hidden], .pc-offer p[hidden], .pc-offer button[hidden] { display: none; }
.pc-offer .pc-email { margin-top: 14px; }
