/* The Property owners page (index/property_owners.html, 9 November 2026): the figures at the top,
   the fee tables, the earnings simulator, and a print layout that makes it the Presentation of
   Services as a PDF. Reading column, sections and tables are guide.css's. */
.owners-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin: 0 0 48px;
    padding: 0;
    list-style: none;
}

.owners-facts li {
    padding: 18px 16px;
    border: 1px solid var(--secondary-color-soft-dark);
    border-radius: 12px;
    background: #fff;
    font-family: var(--primary-font);
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgb(90, 90, 90);
}

.owners-facts strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--secondary-font);
    font-size: 1.7rem;
    color: var(--primary-color);
}

.owners-note {
    margin: 10px 0 0;
    font-family: var(--primary-font);
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgb(110, 110, 110);
}

.article-page .guide-section p.owners-note {
    font-size: 0.85rem;
}

.owners-table td:first-of-type {
    white-space: nowrap;
}

.guide-section h3 {
    margin: 28px 0 12px;
    font-size: 1.2rem;
}

.owners-list {
    margin: 0 0 16px;
    padding-left: 20px;
    line-height: 1.75;
    font-family: var(--primary-font);
    color: rgb(80, 80, 80);
}

.owners-inventory {
    border: 1px solid var(--secondary-color-soft-dark);
    border-radius: 12px;
    padding: 14px 18px;
    background: #fff;
}

.owners-inventory summary {
    cursor: pointer;
    font-family: var(--secondary-font);
    font-weight: 600;
    color: var(--secondary-color);
}

/* Flowing columns, not a grid (9 November 2026, per Thomas): a grid row was as tall as its longest
   list, Kitchen, and left the rest of that row empty. Here the short groups stack beneath each
   other, and a group never splits across two columns. */
.owners-inventory-columns {
    columns: 3 200px;
    column-gap: 28px;
    margin-top: 4px;
}

.owners-inventory-columns > div {
    break-inside: avoid;
    padding: 12px 0 6px;
}

/* No top margin: a column keeps the first group's margin in one column and drops it in the others,
   which set the first column lower. The groups' own padding spaces them instead. */
.owners-inventory h4 {
    margin: 0 0 6px;
    font-family: var(--secondary-font);
    font-size: 0.95rem;
    color: rgb(60, 60, 60);
}

.owners-inventory ul {
    margin: 0;
    padding-left: 18px;
    font-family: var(--primary-font);
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgb(80, 80, 80);
}

/* The simulator: three rows of choices, then the answer. */
.owners-simulator {
    display: grid;
    gap: 16px;
    margin: 8px 0 20px;
}

.owners-simulator fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.owners-simulator legend {
    width: 100%;
    margin-bottom: 8px;
    padding: 0;
    font-family: var(--secondary-font);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(110, 110, 110);
}

.owners-simulator label {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--secondary-color-soft-dark);
    border-radius: 999px;
    background: #fff;
    color: var(--secondary-color);
    font-family: var(--secondary-font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

/* The radio itself stays in the page for keyboards and screen readers, out of sight. */
.owners-simulator input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.owners-simulator label:has(input:checked) {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: #fff;
}

.owners-simulator label:has(input:focus-visible) {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.owners-simulator-submit {
    justify-self: start;
    padding: 10px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--secondary-font);
    font-weight: 700;
    cursor: pointer;
}

.owners-results {
    padding: 22px 24px;
    border-radius: 14px;
    background: var(--secondary-color-soft);
}

.owners-results + .owners-note {
    margin-top: 14px;
}

.article-page .owners-result p {
    margin: 0 0 10px;
}

.article-page .owners-result p:last-child {
    margin-bottom: 0;
}

.article-page .owners-result p.owners-result-figure {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    color: rgb(60, 60, 60);
}

.owners-result-figure strong {
    font-size: 1.9rem;
    color: var(--primary-color);
}

.owners-print-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

@media print {
    header,
    .site-footer,
    .page-breadcrumb,
    .guide-contents,
    .owners-simulator,
    .owners-print,
    .article-cta {
        display: none !important;
    }

    .guide-page {
        max-width: none;
        padding: 0;
    }

    .guide-section {
        margin-bottom: 28px;
        break-inside: avoid-page;
    }

    .compare-table tr {
        break-inside: avoid;
    }

    .owners-inventory {
        border: 0;
        padding: 0;
    }

    .owners-inventory summary {
        display: none;
    }
}

/* The section pills (9 November 2026, per Thomas): the six sit three to a row, or two on a phone,
   instead of five and one. The opening paragraph is centred by guide.css, as on every article page. */
.owners-page .guide-contents {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
}

.owners-page .guide-contents a {
    text-align: center;
}

@media (max-width: 560px) {
    .owners-page .guide-contents {
        grid-template-columns: repeat(2, max-content);
    }
}

/* The enquiry form (9 November 2026): its choices are pills like the simulator's, then the
   contact details in two columns, the message across both. */
.owners-enquiry {
    display: grid;
    gap: 18px;
    margin: 8px 0 24px;
}

.owners-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.owners-pills legend {
    width: 100%;
    margin-bottom: 8px;
    padding: 0;
    font-family: var(--secondary-font);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(110, 110, 110);
}

.owners-pills label {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--secondary-color-soft-dark);
    border-radius: 999px;
    background: #fff;
    color: var(--secondary-color);
    font-family: var(--secondary-font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.owners-pills input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.owners-pills label:has(input:checked) {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: #fff;
}

.owners-pills label:has(input:focus-visible) {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.owners-enquiry-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 18px;
}

.owners-field {
    display: grid;
    align-content: start;
    gap: 6px;
    font-family: var(--secondary-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgb(80, 80, 80);
}

.owners-field-wide {
    grid-column: 1 / -1;
}

.owners-field input,
.owners-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    font-family: var(--primary-font);
    font-size: 1rem;
    font-weight: 400;
}

.owners-field input:focus,
.owners-field textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 1px;
}

.owners-field-error,
.article-page .guide-section p.owners-field-error {
    width: 100%;
    margin: 0;
    color: rgb(190, 40, 40);
    font-family: var(--secondary-font);
    font-size: 0.85rem;
    font-weight: 600;
}

.owners-form-error {
    padding: 12px 16px;
    border-radius: 10px;
    background: rgb(253, 236, 236);
    color: rgb(150, 30, 30);
    font-family: var(--secondary-font);
    font-weight: 600;
}

/* Out of sight and out of reach: only a robot fills it in. */
.owners-enquiry-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.owners-enquiry-submit {
    justify-self: start;
    padding: 12px 28px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--secondary-font);
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.owners-enquiry-submit:hover {
    opacity: 0.9;
}

.owners-sent {
    padding: 20px 24px;
    border-radius: 14px;
    background: var(--secondary-color-soft);
}

.article-page .owners-sent p {
    margin: 0 0 8px;
}

.article-page .owners-sent p:last-child {
    margin-bottom: 0;
}

@media print {
    .owners-enquiry {
        display: none !important;
    }
}
