/* RECATOOLS — Pet Insurance Premium Estimator */

.pi-inputs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}
@media (max-width: 880px) { .pi-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .pi-inputs { grid-template-columns: minmax(0, 1fr); } }

.pi-inputs .input-row label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    color: #6b6760;
    margin-bottom: .25rem;
}

.pi-inputs .input-prefix-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    min-width: 0;
}

.pi-inputs .ipx-label {
    padding: .5rem .65rem;
    background: #f0ede9;
    font-size: .8rem;
    font-weight: 600;
    color: #6b6760;
    border-right: 1px solid #ebebeb;
    white-space: nowrap;
}

.pi-inputs .ipx-label.ipx-suffix {
    border-left: 1px solid #ebebeb;
    border-right: none;
}

.pi-inputs input[type="number"],
.pi-inputs select {
    flex: 1;
    min-width: 0;
    border: none;
    padding: .5rem .65rem;
    font-size: .9rem;
    font-family: inherit;
    background: transparent;
    color: #1a1814;
    box-sizing: border-box;
    width: 100%;
}

.pi-inputs input:focus,
.pi-inputs select:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px #E8472F;
}

.calc-btn {
    width: 100%;
    margin: 1rem 0;
    padding: .75rem 1.25rem;
    background: #E8472F;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.calc-btn:hover { background: #c8391f; }

#error-box {
    display: none;
    margin: .5rem 0 1rem;
    padding: .5rem .75rem;
    background: #fef2f2;
    border-left: 3px solid #dc2626;
    border-radius: 0 6px 6px 0;
    font-size: .85rem;
    color: #7f1d1d;
}

.pi-headline {
    margin-top: 1rem;
    padding: 1.25rem;
    background: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 12px;
    text-align: center;
}

.pi-headline-label {
    font-size: .72rem;
    font-weight: 700;
    color: #6b6760;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pi-headline-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'IBM Plex Serif', 'DM Serif Display', serif;
    color: #1a1814;
    margin: .35rem 0 .25rem;
}

.pi-headline-sub {
    font-size: .82rem;
    color: #475569;
    margin: 0;
}

.pi-range {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}
@media (max-width: 600px) {
    .pi-range { grid-template-columns: minmax(0, 1fr); }
}

.pi-range .pi-band {
    padding: 1rem;
    background: #fafaf9;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    min-width: 0;
    text-align: center;
}

.pi-range .pi-band--low { background: #f0fdf4; border-color: #bbf7d0; }
.pi-range .pi-band--high { background: #fff7ed; border-color: #fed7aa; }

.pi-band-label {
    font-size: .7rem;
    font-weight: 700;
    color: #6b6760;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pi-band-monthly {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: 'IBM Plex Serif', 'DM Serif Display', serif;
    color: #1a1814;
    margin: .3rem 0 .15rem;
}

.pi-band-annual {
    font-size: .82rem;
    color: #475569;
}

.pi-factors {
    margin-top: 1rem;
    padding: .75rem 1rem;
    background: #fafaf9;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    font-size: .82rem;
    color: #475569;
}

.pi-factors-title {
    font-weight: 700;
    color: #1a1814;
    margin-bottom: .35rem;
    font-size: .85rem;
}

.pi-factors-formula {
    font-family: 'IBM Plex Mono', 'Menlo', monospace;
    font-size: .76rem;
    color: #6b6760;
    word-break: break-all;
    line-height: 1.8;
}

.pi-factors-formula code {
    background: #fff;
    padding: .15rem .35rem;
    border-radius: 4px;
    border: 1px solid #ebebeb;
    color: #1a1814;
    font-family: inherit;
    margin: 0 .15rem;
}

.pi-quote-cta {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #ebebeb;
    border-left: 3px solid #E8472F;
    border-radius: 0 8px 8px 0;
    font-size: .88rem;
    color: #475569;
    line-height: 1.55;
}

.pi-quote-cta strong { color: #1a1814; }

/* cache-buster: 2026-05-28T00:00:00Z */
