/* AI Tools MVP: isolated planner and lead-capture interface. */
:root {
    --ssm-gold: #f5c542;
    --ssm-gold-soft: rgba(245, 197, 66, 0.14);
    --ssm-panel: #2a261a;
    --ssm-panel-soft: #332e20;
    --ssm-copy: #ded6c4;
    --ssm-energy: #22c55e;
    --ssm-energy-cyan: #38bdf8;
    --ssm-energy-soft: rgba(34, 197, 94, 0.1);
    --ssm-energy-line: rgba(56, 189, 248, 0.26);
    --ssm-property: #4f8cff;
    --ssm-property-soft: rgba(79, 140, 255, 0.11);
    --ssm-property-line: rgba(79, 140, 255, 0.3);
    --ssm-warm-white: #f5f1e8;
}

.ai-tools {
    padding: clamp(54px, 7vw, 84px) 0;
    scroll-margin-top: 76px;
    background:
        radial-gradient(circle at 18% 18%, rgba(34, 197, 94, 0.07), transparent 28%),
        radial-gradient(circle at 92% 24%, rgba(79, 140, 255, 0.075), transparent 28%),
        #232118;
    border-top: 1px solid rgba(245, 197, 66, 0.12);
    border-bottom: 1px solid rgba(245, 197, 66, 0.12);
}

.ai-tools-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.ai-tools-heading h2 {
    margin: 10px 0 12px;
    color: var(--ssm-warm-white);
    font-size: clamp(28px, 3.5vw, 38px);
}

.ai-tools-heading p {
    color: var(--ssm-copy);
    line-height: 1.7;
}

.ai-tools-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.78fr);
    gap: 18px;
    align-items: start;
}

.energy-planner,
.tool-placeholder {
    padding: clamp(18px, 3vw, 28px);
    background: var(--ssm-panel);
    border: 1px solid rgba(245, 197, 66, 0.2);
    border-radius: 8px;
}

.energy-planner {
    background:
        linear-gradient(145deg, var(--ssm-energy-soft), transparent 42%),
        var(--ssm-panel);
    border-color: var(--ssm-energy-line);
    box-shadow: inset 0 1px 0 rgba(56, 189, 248, 0.08);
}

.tool-title {
    margin-bottom: 18px;
}

.tool-title h3 {
    margin: 8px 0;
    color: var(--ssm-energy);
    font-size: 24px;
}

.tool-title p,
.tool-placeholder p {
    color: var(--ssm-copy);
    line-height: 1.65;
}

.planner-form {
    display: grid;
    gap: 14px;
}

.planner-loads {
    display: grid;
    gap: 9px;
    padding: 14px;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.1), #332e20 46%);
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 6px;
}

.planner-loads h4 {
    margin: 0;
    color: var(--ssm-warm-white);
    font-size: 15px;
}

.planner-loads > p:not(.planner-load-summary) {
    margin: 0 0 5px;
    color: #bdb49f;
    font-size: 12px;
    line-height: 1.55;
}

.planner-load-header,
.planner-load-row {
    display: grid;
    grid-template-columns: minmax(122px, 1fr) 72px 116px;
    gap: 8px;
    align-items: center;
}

.planner-load-header {
    color: #9e9684;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.planner-load-row label {
    color: #eee4ca;
    font-size: 13px;
    font-weight: 700;
}

.planner-load-row input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 9px;
    color: #f2ead5;
    background: #332e20;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 6px;
}

.planner-load-row input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.66);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.planner-load-row.custom-load-row .load-name {
    font-size: 13px;
}

.planner-load-summary {
    margin: 5px 0 0;
    padding-top: 10px;
    color: #86efac;
    font-size: 12px;
    line-height: 1.6;
    border-top: 1px solid rgba(34, 197, 94, 0.18);
}

.planner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.planner-field {
    display: grid;
    gap: 6px;
}

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

.planner-field label {
    color: #eee4ca;
    font-size: 13px;
    font-weight: 700;
}

.planner-field input,
.planner-field select,
.planner-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    color: #f2ead5;
    background: #332e20;
    border: 1px solid rgba(245, 197, 66, 0.18);
    border-radius: 6px;
}

.energy-planner .planner-field input,
.energy-planner .planner-field select,
.energy-planner .planner-field textarea {
    border-color: rgba(56, 189, 248, 0.2);
}

.property-finder .planner-field input,
.property-finder .planner-field select,
.property-finder .planner-field textarea,
.owner-form-shell .planner-field input,
.owner-form-shell .planner-field select,
.owner-form-shell .planner-field textarea {
    border-color: rgba(79, 140, 255, 0.2);
}

.planner-field textarea {
    padding-top: 11px;
    padding-bottom: 11px;
}

.planner-field input:focus,
.planner-field select:focus,
.planner-field textarea:focus {
    outline: none;
    border-color: rgba(245, 197, 66, 0.62);
    box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.09);
}

.energy-planner .planner-field input:focus,
.energy-planner .planner-field select:focus,
.energy-planner .planner-field textarea:focus {
    border-color: rgba(56, 189, 248, 0.66);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.property-finder .planner-field input:focus,
.property-finder .planner-field select:focus,
.property-finder .planner-field textarea:focus,
.owner-form-shell .planner-field input:focus,
.owner-form-shell .planner-field select:focus,
.owner-form-shell .planner-field textarea:focus {
    border-color: rgba(79, 140, 255, 0.66);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.1);
}

.planner-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 20px;
    color: #0a0a09;
    font-weight: 800;
    background: linear-gradient(135deg, #f5c542, #c28a22);
    border: 1px solid rgba(245, 197, 66, 0.55);
    border-radius: 6px;
}

.planner-submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.planner-disclaimer {
    margin: 16px 0 0;
    padding: 12px 13px;
    color: #bdb49f;
    font-size: 12px;
    line-height: 1.65;
    background: rgba(245, 197, 66, 0.045);
    border-left: 2px solid rgba(245, 197, 66, 0.42);
}

.planner-result-disclaimer {
    margin: 0 0 18px;
}

.planner-result {
    display: none;
    scroll-margin-top: 88px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(34, 197, 94, 0.22);
}

.planner-result.active {
    display: block;
}

.planner-result h4 {
    margin: 0 0 14px;
    color: var(--ssm-energy);
    font-size: 18px;
}

.planner-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 13px;
}

.planner-tier-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.planner-tier {
    padding: 15px;
    background: #121512;
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 6px;
}

.planner-tier.recommended {
    border-color: rgba(56, 189, 248, 0.46);
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.09), rgba(34, 197, 94, 0.055));
}

.planner-tier-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.planner-tier-heading h5 {
    margin: 0;
    color: var(--ssm-energy);
    font-size: 18px;
}

.planner-tier-heading span {
    padding: 5px 8px;
    color: #cfc7b5;
    font-size: 11px;
    background: rgba(245, 197, 66, 0.06);
    border-radius: 5px;
}

.planner-tier .planner-result-grid {
    margin-bottom: 12px;
}

.planner-tier-usage {
    margin: 0 0 12px;
    color: #d8d0be;
    font-size: 13px;
    line-height: 1.55;
}

.planner-output {
    min-height: 76px;
    padding: 10px;
    background: rgba(56, 189, 248, 0.045);
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 6px;
}

.planner-output strong {
    display: block;
    margin-bottom: 6px;
    color: #cfc7b5;
    font-size: 11px;
    text-transform: uppercase;
}

.planner-output span {
    color: #f2ead5;
    font-size: 14px;
    line-height: 1.45;
}

.planner-advice {
    margin: 0 0 18px;
    padding: 13px;
    color: #ddd3bc;
    line-height: 1.65;
    background: #332e20;
    border-radius: 6px;
}

.planner-products {
    margin: 0 0 18px;
}

.planner-products h5 {
    margin: 0 0 12px;
    color: var(--ssm-energy-cyan);
    font-size: 16px;
}

.planner-product-grid {
    display: grid;
    gap: 10px;
}

.planner-product-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    background: #332e20;
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 6px;
}

.planner-product-card[hidden] {
    display: none;
}

.planner-product-card.no-image {
    grid-template-columns: 1fr;
}

.planner-product-card img {
    width: 108px;
    height: 108px;
    object-fit: cover;
    background: #0b0b09;
    border-radius: 5px;
}

.planner-product-card small {
    display: block;
    margin-bottom: 4px;
    color: var(--ssm-energy-cyan);
    font-weight: 700;
}

.planner-product-card h6 {
    margin: 0 0 6px;
    color: #f2ead5;
    font-size: 15px;
}

.planner-product-card p {
    margin: 0 0 5px;
    color: #cfc7b5;
    font-size: 12px;
    line-height: 1.5;
}

.planner-product-card .planner-product-spec {
    color: #f2ead5;
}

.planner-product-card .planner-product-contact {
    margin: 7px 0 0;
    color: #86efac;
}

.planner-no-match {
    margin: 0;
    padding: 12px;
    color: #cfc7b5;
    background: rgba(245, 197, 66, 0.045);
    border-radius: 6px;
}

.planner-followup {
    padding: 16px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 6px;
}

.planner-followup h5 {
    margin: 0 0 5px;
    color: var(--ssm-energy);
    font-size: 16px;
}

.planner-followup > p {
    margin: 0 0 14px;
    color: #cfc7b5;
    font-size: 13px;
    line-height: 1.55;
}

.planner-lead-form {
    display: grid;
    gap: 12px;
}

.planner-lead-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.planner-status {
    min-height: 21px;
    margin: 0;
    color: #cfc7b5;
    font-size: 13px;
    line-height: 1.55;
}

.planner-status.success {
    color: #83d39d;
}

.planner-status.error {
    color: #ff998f;
}

.tool-placeholder {
    min-height: 236px;
}

.tool-placeholder .tool-badge {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 6px 10px;
    color: #f5c542;
    font-size: 12px;
    font-weight: 700;
    background: rgba(245, 197, 66, 0.07);
    border: 1px solid rgba(245, 197, 66, 0.18);
    border-radius: 5px;
}

.property-finder .tool-badge {
    color: #dbeafe;
    background: var(--ssm-property-soft);
    border-color: var(--ssm-property-line);
}

.tool-placeholder h3 {
    margin: 0 0 12px;
    color: #f2ead5;
    font-size: 22px;
}

.property-finder {
    display: grid;
    gap: 14px;
    background:
        linear-gradient(145deg, var(--ssm-property-soft), transparent 42%),
        var(--ssm-panel);
    border-color: var(--ssm-property-line);
}

.property-finder h3 {
    margin-bottom: 4px;
    color: var(--ssm-property);
}

.property-form {
    display: grid;
    gap: 12px;
    margin-top: 2px;
}

.property-owner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 42px;
    padding: 10px 14px;
    color: #12100a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #f5c542, #4f8cff);
    border: 0;
    border-radius: 6px;
    box-shadow: 0 14px 28px rgba(79, 140, 255, 0.16);
    cursor: pointer;
}

.property-owner-modal[hidden] {
    display: none;
}

body.modal-open {
    overflow: hidden;
}

.property-owner-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(8px);
}

.property-owner-dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: min(88vh, 920px);
    padding: 26px;
    overflow-y: auto;
    background: #050505;
    border: 1px solid rgba(79, 140, 255, 0.28);
    border-radius: 10px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
}

.property-owner-close {
    position: sticky;
    top: 0;
    z-index: 5;
    float: right;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 0 8px 14px;
    color: #17130c;
    background: rgba(255, 250, 240, 0.96);
    border: 2px solid rgba(23, 19, 12, 0.74);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(78, 61, 27, 0.22);
    cursor: pointer;
}

.property-owner-close:hover,
.property-owner-close:focus-visible {
    color: #080808;
    background: linear-gradient(135deg, #f2c23c, #d79a22);
    outline: none;
}

.owner-form-shell {
    padding: 24px;
    background:
        linear-gradient(145deg, rgba(79, 140, 255, 0.07), transparent 40%),
        #0d0d0b;
    border: 1px solid rgba(79, 140, 255, 0.2);
    border-radius: 8px;
}

.owner-listing-form {
    display: grid;
    gap: 14px;
}

.owner-listing-form textarea {
    min-height: 120px;
    resize: vertical;
}

.owner-listing-form small {
    display: block;
    margin-top: 7px;
    color: #a99f8a;
    font-size: 12px;
    line-height: 1.45;
}

.owner-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.owner-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    width: 100%;
    padding: 12px 14px;
    color: #16120a;
    background: linear-gradient(135deg, #f2c23c, #d79a22);
    border: 1px solid rgba(138, 90, 18, 0.38);
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}

.owner-file-button:hover,
.owner-file-button:focus-visible {
    filter: brightness(1.03);
    outline: 2px solid rgba(138, 90, 18, 0.38);
    outline-offset: 2px;
}

.owner-file-status {
    display: block;
    margin-top: 8px;
    color: #3f3628;
    font-size: 13px;
    font-weight: 700;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.property-result {
    display: none;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(79, 140, 255, 0.2);
}

.property-result.active {
    display: block;
}

.property-result h4 {
    margin: 0 0 12px;
    color: var(--ssm-property);
    font-size: 18px;
}

.property-tier-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.property-tier {
    padding: 13px;
    background: #302c20;
    border: 1px solid rgba(79, 140, 255, 0.17);
    border-radius: 6px;
}

.property-tier.recommended {
    background: rgba(79, 140, 255, 0.07);
    border-color: rgba(79, 140, 255, 0.44);
}

.property-tier h5 {
    margin: 0 0 8px;
    color: var(--ssm-property);
    font-size: 16px;
}

.property-tier p {
    margin: 0 0 8px;
    color: #d8d0be;
    font-size: 13px;
    line-height: 1.55;
}

.property-tier ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
    color: #cfc7b5;
    font-size: 12px;
    line-height: 1.5;
}

.property-listing-matches {
    margin: 16px 0;
}

.property-listing-matches h5 {
    margin: 0 0 10px;
    color: var(--ssm-property);
    font-size: 16px;
}

.property-listing-grid {
    display: grid;
    gap: 12px;
}

.property-listing-card {
    display: grid;
    gap: 12px;
    padding: 13px;
    background: #302c20;
    border: 1px solid rgba(79, 140, 255, 0.18);
    border-radius: 6px;
}

.property-listing-card img,
.property-listing-card video {
    width: 100%;
    max-height: 230px;
    object-fit: cover;
    background: #070706;
    border-radius: 5px;
    border: 1px solid rgba(79, 140, 255, 0.16);
}

.property-listing-card h6 {
    margin: 0;
    color: #f2ead5;
    font-size: 15px;
}

.property-listing-card p {
    margin: 0;
    color: #d8d0be;
    font-size: 13px;
    line-height: 1.55;
}

.property-listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.property-listing-meta span {
    padding: 5px 8px;
    color: #dbeafe;
    font-size: 11px;
    font-weight: 700;
    background: rgba(79, 140, 255, 0.1);
    border: 1px solid rgba(79, 140, 255, 0.22);
    border-radius: 999px;
}

html[lang="my"] .planner-field label,
html[lang="my"] .planner-submit,
html[lang="my"] .planner-followup h5,
html[lang="my"] .property-tier h5,
html[lang="my"] .property-owner-link {
    line-height: 1.6;
}

@media (min-width: 1101px) {
    .site-nav {
        gap: 11px;
        padding-right: max(182px, calc((100vw - 1160px) / 2));
    }

    .site-nav .nav-links {
        margin-left: auto;
        gap: 9px;
    }

    .site-nav .nav-links a {
        font-size: 11px;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    body {
        padding-top: 62px;
    }

    .site-nav {
        min-height: 62px;
        padding: 7px 16px;
    }

    .nav-brand span {
        display: none;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
        margin-right: 132px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(5, 5, 5, 0.94);
        border: 1px solid rgba(245, 197, 66, 0.18);
        border-radius: 8px;
        box-shadow: 0 22px 52px rgba(0, 0, 0, 0.44);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 11px 12px;
    }
}

@media (max-width: 900px) {
    .ai-tools-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ai-tools {
        padding: 46px 0;
        scroll-margin-top: 116px;
    }

    .property-owner-modal {
        align-items: flex-start;
        padding: 10px;
    }

    .property-owner-dialog {
        max-height: calc(100vh - 20px);
        padding: 16px;
        border-radius: 8px;
    }

    .planner-result {
        scroll-margin-top: 126px;
    }

    .energy-planner,
    .tool-placeholder {
        padding: 16px;
    }

    .planner-grid,
    .planner-result-grid,
    .planner-lead-grid,
    .owner-listing-form .property-grid,
    .property-grid {
        grid-template-columns: 1fr;
    }

    .owner-form-shell {
        padding: 16px;
    }

    .planner-loads {
        padding: 12px;
    }

    .planner-load-header,
    .planner-load-row {
        grid-template-columns: minmax(94px, 1fr) 62px 108px;
        gap: 6px;
    }

    .planner-load-header {
        font-size: 10px;
    }

    .planner-product-card {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .planner-product-card img {
        width: 86px;
        height: 86px;
    }

    .planner-tier-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .tool-title h3 {
        font-size: 21px;
    }
}

/* Light gold-gray business theme overrides. */
:root {
    --ssm-panel: #fffaf0;
    --ssm-panel-soft: #f7efdf;
    --ssm-copy: #4b4334;
    --ssm-energy-soft: rgba(34, 197, 94, 0.12);
    --ssm-energy-line: rgba(22, 163, 74, 0.28);
    --ssm-property-soft: rgba(79, 140, 255, 0.12);
    --ssm-property-line: rgba(37, 99, 235, 0.28);
    --ssm-warm-white: #2b2519;
}

.ai-tools {
    background:
        radial-gradient(circle at 18% 18%, rgba(34, 197, 94, 0.12), transparent 30%),
        radial-gradient(circle at 92% 24%, rgba(79, 140, 255, 0.12), transparent 30%),
        linear-gradient(180deg, #f6f0e3, #eee4d2);
    border-color: rgba(169, 119, 28, 0.2);
}

.energy-planner,
.tool-placeholder,
.property-finder,
.planner-loads,
.planner-tier,
.planner-product-card,
.planner-followup,
.property-tier,
.property-listing-card,
.owner-form-shell,
.property-owner-dialog {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(245, 197, 66, 0.08)),
        #fffaf0;
    box-shadow: 0 16px 38px rgba(78, 61, 27, 0.12);
}

.energy-planner {
    border-color: var(--ssm-energy-line);
}

.property-finder,
.property-owner-dialog,
.owner-form-shell {
    border-color: var(--ssm-property-line);
}

.tool-title p,
.tool-placeholder p,
.planner-loads > p:not(.planner-load-summary),
.planner-tier-usage,
.planner-advice,
.planner-followup > p,
.property-tier p,
.property-tier ul,
.property-listing-card p,
.planner-product-card p {
    color: #4b4334;
}

.planner-loads h4,
.planner-load-row label,
.planner-field label,
.planner-output span,
.planner-product-card h6,
.property-listing-card h6,
.tool-placeholder h3 {
    color: #2b2519;
}

.planner-load-row input,
.planner-field input,
.planner-field select,
.planner-field textarea,
.planner-advice {
    color: #231f17;
    background: rgba(255, 255, 255, 0.78);
}

.planner-output {
    background: rgba(255, 255, 255, 0.68);
}

.planner-tier.recommended {
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.14), rgba(34, 197, 94, 0.1));
}

.property-tier.recommended {
    background: rgba(79, 140, 255, 0.12);
}

.planner-no-match {
    color: #4b4334;
    background: rgba(255, 255, 255, 0.66);
}

/* Light theme contrast fix: avoid pale green/gold copy on the new bright background. */
.ai-tools-heading h2,
.tool-title h3,
.planner-loads h4,
.planner-load-row label,
.planner-field label,
.planner-output span,
.planner-product-card h6,
.property-listing-card h6,
.tool-placeholder h3,
.planner-result h4,
.property-result h4,
.planner-followup h5,
.owner-form-shell h3 {
    color: #241f17;
    text-shadow: none;
}

.ai-tools-heading p,
.tool-title p,
.tool-placeholder p,
.planner-loads > p:not(.planner-load-summary),
.planner-tier-usage,
.planner-advice,
.planner-followup > p,
.property-tier p,
.property-tier ul,
.property-listing-card p,
.planner-product-card p,
.planner-disclaimer,
.planner-no-match,
.owner-form-note {
    color: #3f3628;
}

.tool-badge,
.planner-load-summary,
.planner-tier-heading h5,
.planner-product-card .planner-product-contact,
.planner-status.success {
    color: #166534;
}

.planner-products h5,
.planner-product-card small {
    color: #0369a1;
}

.property-finder .tool-badge,
.property-result h4,
.property-tier h5,
.property-listing-matches h5,
.property-listing-card small {
    color: #1d4ed8;
}

.planner-load-row input,
.planner-field input,
.planner-field select,
.planner-field textarea {
    color: #231f17;
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(138, 90, 18, 0.26);
}

.planner-load-row input::placeholder,
.planner-field input::placeholder,
.planner-field textarea::placeholder {
    color: #766b58;
    opacity: 1;
}

.planner-submit,
.property-owner-link,
.owner-submit {
    color: #16120a;
}

/* Bright business theme readability pass: keep forms and result cards clear on mobile. */
.planner-load-header,
.planner-field small,
.owner-listing-form small,
.owner-file-status,
.planner-status {
    color: #5f523f;
}

.planner-load-summary {
    color: #0f6b3a;
    font-weight: 800;
    background: rgba(22, 101, 52, 0.08);
    border-top-color: rgba(22, 101, 52, 0.22);
}

.planner-disclaimer,
.planner-result-disclaimer,
.owner-form-note {
    color: #3d3426;
    background: rgba(255, 248, 226, 0.88);
    border-left-color: #c18a1b;
}

.planner-status.error {
    color: #9f1d16;
    font-weight: 800;
}

.owner-file-button {
    color: #20180d;
    background: linear-gradient(135deg, #f7cf58, #d69a21);
    border-color: rgba(138, 90, 18, 0.34);
}

.property-listing-meta span {
    color: #17315e;
    background: rgba(79, 140, 255, 0.13);
    border-color: rgba(79, 140, 255, 0.24);
}

.property-owner-close {
    color: #241f17;
    background: rgba(255, 252, 244, 0.98);
}

@media (max-width: 760px) {
    .planner-load-header,
    .planner-load-row {
        grid-template-columns: minmax(96px, 1fr) minmax(70px, 0.78fr) minmax(110px, 1fr);
    }

    .planner-load-row label,
    .planner-field label {
        font-size: 14px;
        line-height: 1.55;
    }

    .planner-load-row input,
    .planner-field input,
    .planner-field select,
    .planner-field textarea {
        font-size: 16px;
    }

    .planner-load-summary,
    .planner-disclaimer,
    .planner-result-disclaimer,
    .owner-form-note {
        font-size: 13px;
        line-height: 1.75;
    }
}
