.hsj-app-calc input[type="range"] {
    width: 100%;
    accent-color: #3678EA;
}

.hsj-app-figure {
    font-variant-numeric: tabular-nums;
    min-height: 1.6em;
}

.hsj-app-results {
    min-height: 9.5rem;
}

#agency-partner-form input[type="text"],
#agency-partner-form input[type="email"],
#agency-partner-form input[type="tel"],
#agency-partner-form input[type="url"],
#agency-partner-form select,
#agency-partner-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #fff;
    padding: 0.75rem 1rem;
    color: #374151;
    font: inherit;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
}

#agency-partner-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23334155' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
}

#agency-partner-form textarea {
    min-height: 7rem;
    resize: vertical;
}

#agency-partner-form input:focus,
#agency-partner-form select:focus,
#agency-partner-form textarea:focus {
    outline: 2px solid rgb(54 120 234 / 0.25);
    outline-offset: 1px;
    border-color: #3678EA;
}

#agency-partner-form input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    accent-color: #3678EA;
}

.hsj-app-field:focus-visible,
.hsj-app-check input:focus-visible,
.hsj-app summary:focus-visible,
.hsj-app a:focus-visible,
.hsj-app button:focus-visible {
    outline: 2px solid #3678EA;
    outline-offset: 2px;
}

.hsj-app-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#platform .hsj-brand-line-gold {
    border-top-color: #f2BE47;
}

@media (prefers-reduced-motion: reduce) {
    .hsj-app * {
        scroll-behavior: auto !important;
    }
}
