/* template_7 — calculator form styling (editorial violet/slate) */

.t7-theme .t7-calc-v3__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    margin-bottom: clamp(28px, 4vw, 48px);
}
.t7-theme .t7-calc-v3__hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--t7-ink);
    margin: 12px 0 14px;
}
.t7-theme .t7-calc-v3__hero p { color: var(--t7-muted); line-height: 1.6; }
.t7-theme .t7-calc-v3__hero-points {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.t7-theme .t7-calc-v3__hero-points li {
    position: relative;
    padding-left: 26px;
    color: var(--t7-ink);
    font-size: 15px;
}
.t7-theme .t7-calc-v3__hero-points li::before {
    content: "\2197";
    position: absolute;
    left: 0;
    color: var(--t7-accent);
    font-family: "DM Mono", monospace;
}
.t7-theme .t7-calc-v3__hero-side {
    background: var(--t7-surface);
    border: 1px solid var(--t7-border);
    border-radius: 6px;
    padding: 24px;
}
.t7-theme .t7-calc-v3__hero-side h3 { font-family: "Space Grotesk", sans-serif; font-size: 18px; margin: 0 0 10px; color: var(--t7-ink); }
.t7-theme .t7-calc-v3__hero-side p { font-size: 14px; }

.t7-theme .t7-calc-card {
    background: var(--t7-surface);
    border: 1px solid var(--t7-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 70px -50px rgba(23, 21, 34, 0.55);
}
.t7-theme .t7-calc-card__head {
    padding: 26px clamp(20px, 3vw, 36px);
    border-bottom: 1px solid var(--t7-border);
    background: var(--t7-bg);
}
.t7-theme .t7-calc-card__head .title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    color: var(--t7-ink);
    margin: 0 0 6px;
}
.t7-theme .t7-calc-card__head p { color: var(--t7-muted); margin: 0; font-size: 14px; }
.t7-theme .t7-calc-card__body { padding: clamp(20px, 3vw, 36px); }

.t7-theme .t7-calc-v3__input-head,
.t7-theme .t7-calc-v3__result-head { margin-bottom: 24px; }
.t7-theme .t7-calc-v3__state {
    display: inline-block;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--t7-accent);
    margin-bottom: 8px;
}
.t7-theme .t7-calc-v3__input-head h3,
.t7-theme .t7-calc-v3__result-head h3 { font-family: "Space Grotesk", sans-serif; font-size: 20px; color: var(--t7-ink); margin: 0 0 6px; }
.t7-theme .t7-calc-v3__input-head p,
.t7-theme .t7-calc-v3__result-head p { color: var(--t7-muted); font-size: 14px; margin: 0; }

.t7-theme .t7-calc-form label {
    display: block;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--t7-slate);
    margin-bottom: 8px;
}
.t7-theme .t7-calc-form .form-control,
.t7-theme .t7-calc-form select.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--t7-border);
    border-radius: 4px;
    background: #fff;
    color: var(--t7-ink);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.4;
}
.t7-theme .t7-calc-form .form-control:focus {
    outline: none;
    border-color: var(--t7-accent);
    box-shadow: 0 0 0 3px var(--t7-ring);
}
.t7-theme .t7-calc-form .form-control:disabled { background: var(--t7-bg); color: var(--t7-muted); }
.t7-theme .t7-calc-form .form-control::placeholder { color: #9b98ad; }

.t7-theme .t7-calc-form .input-group { display: flex; }
.t7-theme .t7-calc-form .input-group-text {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--t7-border);
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: var(--t7-bg);
    color: var(--t7-slate);
    font-family: "DM Mono", monospace;
    font-size: 12px;
}
.t7-theme .t7-calc-form .input-group .form-control { border-radius: 0 4px 4px 0; }

.t7-theme .t7-calc-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}
.t7-theme .t7-calc-form .form-group { flex: 1 1 180px; }
.t7-theme .t7-calc-form .form-group.col-md-6 { flex: 1 1 320px; }

.t7-theme .t7-calc-form ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.t7-theme .t7-calc-form .radio { display: flex; align-items: center; gap: 8px; }
.t7-theme .t7-calc-form .radio label { margin: 0; text-transform: none; letter-spacing: 0; font-family: "DM Sans", sans-serif; font-size: 14px; color: var(--t7-ink); }

.t7-theme .t7-calc-form__actions { margin-top: 10px; }

.t7-theme .t7-calc-v3__notes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: clamp(28px, 4vw, 48px);
}
.t7-theme .t7-calc-v3__notes article {
    border-top: 2px solid var(--t7-accent);
    padding-top: 16px;
}
.t7-theme .t7-calc-v3__notes h4 { font-family: "Space Grotesk", sans-serif; font-size: 16px; color: var(--t7-ink); margin: 0 0 8px; }
.t7-theme .t7-calc-v3__notes p { color: var(--t7-muted); font-size: 14px; margin: 0; }

@media (max-width: 820px) {
    .t7-theme .t7-calc-v3__hero,
    .t7-theme .t7-calc-v3__notes { grid-template-columns: 1fr; }
}
