.interactive-note {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.6;
}

.interactive-field { display: grid; gap: .45rem; min-width: 0; }
.interactive-field label { color: var(--text-main); font-size: .95rem; font-weight: 700; }
.interactive-field :is(select, textarea) {
    width: 100%;
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1px solid #3c4658;
    border-radius: var(--radius-md);
    color: var(--text-main);
    background: #080c15;
    color-scheme: dark;
    font: inherit;
    font-size: 1rem;
}
.interactive-field textarea { resize: vertical; }
.interactive-field textarea::placeholder { color: var(--text-muted); }
.interactive-field :is(select, textarea):focus-visible {
    outline: 2px solid #ff7666;
    outline-offset: 2px;
}

.interactive-heading { max-width: 64ch; margin-bottom: 1.35rem; }
.interactive-heading h2 {
    font-size: clamp(1.65rem, 3.25vw, 2.65rem);
    letter-spacing: -.04em;
    line-height: 1.15;
}
.interactive-heading p { margin-top: .65rem; color: var(--text-secondary); }

.task-estimate { border-block: 1px solid var(--border-subtle); padding-block: clamp(2rem, 4vw, 3rem); }
.task-estimate__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
    border: 1px solid #293044;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #0c111c;
}
.task-estimate__controls, .task-estimate__result {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: clamp(1.25rem, 4vw, 3rem);
}
.task-estimate__controls { gap: clamp(1.5rem, 3vw, 2.25rem); }
.task-estimate__result { background: #18141e; border-inline-start: 1px solid #3f2633; }
.task-estimate__result h3 { font-size: 1.05rem; color: var(--text-secondary); }
.task-estimate__time {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .1rem .75rem;
    margin-block: .8rem;
    color: #ff9387;
}
.task-estimate__time > span {
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -.055em;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.task-estimate__time > small { color: var(--text-secondary); font-size: 1rem; white-space: nowrap; }
.task-estimate__monthly { margin-bottom: .3rem; color: var(--text-secondary); }
.task-estimate__monthly strong { color: var(--text-main); font-variant-numeric: tabular-nums; }
.task-estimate__result .page-text-link { justify-self: start; }
.time-range__label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .65rem;
    font-weight: 700;
}
.time-range__label > span { flex-shrink: 0; color: #ff9387; font-variant-numeric: tabular-nums; }
.time-range input {
    display: block;
    width: 100%;
    min-height: 44px;
    accent-color: #ff6f5e;
    color-scheme: dark;
    cursor: pointer;
}
.time-range input:focus-visible { outline: 2px solid #ff9387; outline-offset: 3px; border-radius: .5rem; }
.time-range__bounds {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: .85rem;
}

.quote-builder {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: start;
}
.quote-fields, .quote-preview { display: grid; min-width: 0; gap: 1rem; }
.quote-fields h2, .quote-preview h2 { line-height: 1.2; }
.quote-preview__message {
    border: 1px solid #293044;
    border-radius: var(--radius-md);
    background: #080c15;
    color: var(--text-secondary);
    min-height: 7.5rem;
    padding: 1rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.quote-preview .btn { justify-self: start; }
[data-quote-builder][hidden], [data-task-estimate][hidden] { display: none; }

@media (max-width: 768px) {
    .task-estimate__grid, .quote-builder { grid-template-columns: 1fr; }
    .task-estimate__grid { border-radius: var(--radius-lg); }
    .task-estimate__result { border-inline-start: 0; border-top: 1px solid #3f2633; }
}
