:root {
    --tvsi-primary: #1a5be8;
    --tvsi-primary-strong: #0e47c5;
    --tvsi-primary-soft: #eaf2ff;
    --tvsi-gold: #d6b067;
    --tvsi-gold-deep: #8a6a2e;
    --tvsi-gold-soft: #f8eac8;
    --tvsi-accent: #16aa70;
    --tvsi-accent-soft: #e8f8f1;
    --tvsi-alert: #f2a332;
    --tvsi-alert-soft: #fff4dd;
    --tvsi-bg: #f3f7fd;
    --tvsi-surface: #ffffff;
    --tvsi-border: #d9e4f4;
    --tvsi-text: #0f1f3a;
    --tvsi-muted: #5f7292;
    --tvsi-shadow: 0 18px 45px rgba(18, 44, 84, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

.tvsi-body {
    margin: 0;
    color: var(--tvsi-text);
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(42rem 25rem at -8% 2%, rgba(214, 176, 103, 0.2), transparent 60%),
        radial-gradient(34rem 22rem at 108% 8%, rgba(36, 117, 255, 0.13), transparent 52%),
        linear-gradient(180deg, #f7f9fd 0%, #eff4fb 58%, #ebf2fb 100%);
    position: relative;
}

.tvsi-body::before,
.tvsi-body::after {
    content: '';
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

.tvsi-body::before {
    width: 360px;
    height: 360px;
    border-radius: 999px;
    right: -140px;
    top: 28%;
    background: radial-gradient(circle, rgba(214, 176, 103, 0.2), transparent 72%);
}

.tvsi-body::after {
    width: 440px;
    height: 440px;
    border-radius: 999px;
    left: -170px;
    bottom: -190px;
    background: radial-gradient(circle, rgba(26, 91, 232, 0.14), transparent 72%);
}

@keyframes tvsiFadeDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tvsiFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tvsiGlow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(26, 91, 232, 0.16);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(26, 91, 232, 0);
    }
}

@keyframes tvsiPulseSelect {
    0% {
        transform: translateY(0) scale(0.995);
    }
    55% {
        transform: translateY(-1px) scale(1.01);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes tvsiSoftSweep {
    0% {
        transform: translateX(-130%);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translateX(140%);
        opacity: 0;
    }
}

.tvsi-shell {
    width: min(1460px, calc(100% - 44px));
    margin: 0 auto;
}

.tvsi-card {
    border: 1px solid var(--tvsi-border);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 20px 44px rgba(14, 31, 57, 0.08);
}

.tvsi-topbar {
    margin: 12px auto 16px;
    border-radius: 18px;
    border: 1px solid #2a2f3b;
    background:
        linear-gradient(130deg, rgba(12, 15, 24, 0.95) 0%, rgba(17, 22, 34, 0.94) 68%, rgba(30, 24, 14, 0.92) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(8, 12, 20, 0.32);
    position: sticky;
    top: 10px;
    z-index: 1030;
    animation: tvsiFadeDown 0.55s ease both;
}

.tvsi-topbar .tvsi-shell {
    min-height: 84px;
    padding-inline: 4px;
}

.tvsi-brand {
    color: #f7f8fb;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.tvsi-brand:hover {
    color: #fff;
}

.tvsi-brand-mark {
    width: 86px;
    height: 56px;
    border-radius: 10px;
    border: 1px solid rgba(219, 183, 110, 0.38);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(16, 17, 22, 0.9) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 224, 154, 0.08), 0 10px 24px rgba(0, 0, 0, 0.34);
}

.tvsi-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(214, 176, 103, 0.25));
}

.tvsi-main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(196, 210, 236, 0.2);
    border-radius: 999px;
    padding: 4px;
}

.tvsi-nav-link {
    color: #d7e2f5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.93rem;
    padding: 10px 14px;
    border-radius: 999px;
    transition: all 0.22s ease;
}

.tvsi-nav-link i {
    font-size: 0.9rem;
    color: #bdcbe4;
}

.tvsi-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.tvsi-nav-link.is-active {
    color: #1a1710;
    background: linear-gradient(140deg, #f3ddb3 0%, #d4ae63 100%);
    box-shadow: 0 10px 20px rgba(214, 176, 103, 0.28);
}

.tvsi-nav-link.is-active i {
    color: #3f3115;
}

.tvsi-cta-btn {
    min-height: 50px;
    border-radius: 12px;
    border: 1px solid #c39b51;
    background: linear-gradient(140deg, #f6e0b5 0%, #d1a95e 100%);
    color: #271e10;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    font-weight: 700;
    padding: 0 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tvsi-cta-btn:hover {
    color: #1f190f;
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(214, 176, 103, 0.32);
}

.tvsi-page-wrap {
    padding-bottom: 26px;
}

.tvsi-home-hero,
.tvsi-how-section,
.tvsi-step-sidebar,
.tvsi-section-card,
.tvsi-side-card,
.tvsi-size-strip,
.tvsi-next-actions {
    animation: tvsiFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tvsi-home-hero {
    overflow: hidden;
    position: relative;
    padding: 34px;
    background:
        linear-gradient(130deg, #0f1626 0%, #141e32 58%, #231f16 100%);
    border-color: #2f374a;
}

.tvsi-home-hero::before {
    content: '';
    position: absolute;
    inset: auto auto -140px -100px;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(214, 176, 103, 0.2), transparent 70%);
    pointer-events: none;
}

.tvsi-home-hero::after {
    content: '';
    position: absolute;
    inset: -120px -120px auto auto;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(61, 125, 255, 0.2), transparent 70%);
    pointer-events: none;
}

.tvsi-home-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.1rem, 2.8vw, 3.25rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #f8fbff;
}

.tvsi-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    border: 1px solid rgba(214, 176, 103, 0.45);
    background: rgba(214, 176, 103, 0.1);
    color: #f3dba8;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tvsi-home-subtitle {
    max-width: 620px;
    color: #c9d5ec;
    font-size: 1.03rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.tvsi-home-points {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tvsi-point-item {
    border: 1px solid rgba(203, 218, 242, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    padding: 14px 8px 12px;
    backdrop-filter: blur(3px);
}

.tvsi-point-item span {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, #f4ddb0 0%, #d4ae62 100%);
    color: #3f3114;
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.tvsi-point-item p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #f1f5fd;
    line-height: 1.35;
}

.tvsi-hero-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(208, 220, 241, 0.38);
    box-shadow: 0 22px 40px rgba(6, 10, 20, 0.32);
}

.tvsi-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 11, 20, 0.08), rgba(8, 11, 20, 0.32));
    pointer-events: none;
}

.tvsi-hero-media-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

.tvsi-hero-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.78);
    border: 1px solid rgba(222, 195, 139, 0.6);
    color: #f7e5be;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 14px;
    backdrop-filter: blur(4px);
}

.tvsi-hero-chip.top {
    left: 16px;
    top: 16px;
}

.tvsi-hero-chip.bottom {
    right: 16px;
    bottom: 16px;
}

.tvsi-home-btn {
    min-height: 52px;
    min-width: 230px;
    border-radius: 12px;
    border: 1px solid #c39b51;
    background: linear-gradient(140deg, #f6e0b5 0%, #d1a95e 100%);
    color: #271e10;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tvsi-home-btn:hover {
    color: #1f190f;
    transform: translateY(-1px);
    box-shadow: 0 13px 24px rgba(214, 176, 103, 0.32);
}

.tvsi-inline-link {
    color: var(--tvsi-primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tvsi-inline-link:hover {
    color: #0b44bf;
}

.tvsi-home-hero .tvsi-inline-link {
    color: #f6d898;
}

.tvsi-home-hero .tvsi-inline-link:hover {
    color: #ffe8ba;
}

.tvsi-home-signature .tvsi-signature-card {
    padding: 22px;
}

.tvsi-signature-head h2 {
    margin: 0 0 6px;
    font-family: 'Sora', sans-serif;
    font-size: 1.65rem;
    color: #172b4d;
}

.tvsi-signature-head p {
    margin: 0;
    color: #596f92;
    font-size: 0.96rem;
}

.tvsi-illustration {
    border: 1px solid #d7e3f4;
    border-radius: 18px;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(160deg, #f7faff 0%, #eef4ff 70%, #e9f1fe 100%);
}

.tvsi-illustration::before {
    content: '';
    position: absolute;
    inset: 10% 6% 10% 6%;
    border: 1px dashed rgba(26, 91, 232, 0.25);
    border-radius: 12px;
}

.tvsi-illustration.small {
    min-height: 280px;
}

.tvsi-illu-tv {
    position: absolute;
    left: 28%;
    top: 20%;
    width: 44%;
    height: 36%;
    border-radius: 8px;
    border: 2px solid #6f82a3;
    background: linear-gradient(135deg, #2a3448 0%, #131b2b 55%, #13397a 100%);
    box-shadow: 0 14px 24px rgba(16, 33, 61, 0.22);
}

.tvsi-illu-console {
    position: absolute;
    left: 25%;
    top: 62%;
    width: 50%;
    height: 13%;
    border: 2px solid #adc0da;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f6fe 100%);
}

.tvsi-illu-chair {
    width: 22%;
    height: 17%;
    border: 2px solid #b8c8df;
    border-radius: 20px 20px 0 0;
    position: absolute;
    bottom: -5%;
    background: rgba(246, 250, 255, 0.9);
}

.tvsi-illu-chair.left {
    left: 11%;
    transform: rotate(-6deg);
}

.tvsi-illu-chair.right {
    right: 11%;
    transform: rotate(6deg);
}

.tvsi-illu-label {
    position: absolute;
    color: #1a5be8;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tvsi-illu-label.top {
    top: 8%;
    left: 43%;
}

.tvsi-illu-label.right {
    top: 41%;
    right: 8%;
}

.tvsi-illu-label.bottom {
    bottom: 21%;
    left: 41%;
}

.tvsi-how-section {
    padding: 24px;
    margin-top: 18px;
    background: linear-gradient(180deg, #f7faff 0%, #f2f7ff 100%);
}

.tvsi-section-title {
    font-family: 'Sora', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.tvsi-how-grid {
    display: grid;
    grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr 26px 1fr;
    gap: 8px;
    align-items: center;
}

.tvsi-how-card {
    border: 1px solid #d6e3f4;
    border-radius: 16px;
    padding: 16px 14px;
    min-height: 210px;
    background: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tvsi-how-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 91, 232, 0.07), transparent 45%);
    pointer-events: none;
}

.tvsi-how-step {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tvsi-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.tvsi-how-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    margin: 18px auto 14px;
    background: linear-gradient(140deg, #edf3ff 0%, #e5efff 100%);
    color: var(--tvsi-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.tvsi-how-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tvsi-how-card p {
    margin: 0;
    color: #536786;
    font-size: 0.94rem;
    line-height: 1.5;
}

.tvsi-how-arrow {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid #ccd9eb;
    color: #7f90ac;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: #fff;
}

.tvsi-benefit-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tvsi-benefit-card {
    border: 1px solid #d7e2f3;
    border-radius: 16px;
    padding: 16px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.tvsi-benefit-card span {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tvsi-benefit-card strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.tvsi-benefit-card p {
    margin: 0;
    color: #4f6487;
    font-size: 0.93rem;
    line-height: 1.45;
}

.tvsi-benefit-card.is-green {
    background: linear-gradient(180deg, #f2fbf6 0%, #ecf8f1 100%);
}

.tvsi-benefit-card.is-green span {
    background: #def4e8;
    color: #14895a;
}

.tvsi-benefit-card.is-blue {
    background: linear-gradient(180deg, #f1f6ff 0%, #ebf2ff 100%);
}

.tvsi-benefit-card.is-blue span {
    background: #e2ecff;
    color: #1a5be8;
}

.tvsi-benefit-card.is-yellow {
    background: linear-gradient(180deg, #fffaf0 0%, #fff6e8 100%);
}

.tvsi-benefit-card.is-yellow span {
    background: #ffefcf;
    color: #d99322;
}

.tvsi-flow-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 400px;
    gap: 16px;
    align-items: start;
}

.tvsi-flow-main {
    min-width: 0;
}

.tvsi-sticky-summary {
    position: sticky;
    top: 106px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px;
    border: 1px solid rgba(206, 220, 241, 0.94);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 249, 255, 0.93) 100%);
    backdrop-filter: blur(9px);
    box-shadow: 0 10px 24px rgba(19, 42, 77, 0.08);
}

.tvsi-sticky-item {
    min-width: 0;
    border: 1px solid #dce7f6;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 7px 10px;
}

.tvsi-sticky-item span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
    color: #6b7f9f;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 800;
}

.tvsi-sticky-item span i {
    color: #5079c6;
    font-size: 0.74rem;
}

.tvsi-sticky-item strong {
    display: block;
    color: #1c3154;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tvsi-step-sidebar {
    padding: 22px 16px;
    position: sticky;
    top: 106px;
}

.tvsi-sidebar-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tvsi-step-list {
    position: relative;
}

.tvsi-step-list::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 8px;
    bottom: 8px;
    border-left: 2px dashed #ccd9ea;
}

.tvsi-step-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 6px;
    position: relative;
    transition: background 0.2s ease;
}

.tvsi-step-item.is-active,
.tvsi-step-item.is-current-completed {
    background: linear-gradient(140deg, #eff4ff 0%, #eaf1ff 100%);
}

.tvsi-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 2px solid #b8c8de;
    background: #fff;
    color: #607390;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.84rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.tvsi-step-item.is-active .tvsi-step-dot,
.tvsi-step-item.is-current-completed .tvsi-step-dot {
    border-color: var(--tvsi-primary);
    background: var(--tvsi-primary);
    color: #fff;
}

.tvsi-step-item.is-completed .tvsi-step-dot {
    border-color: var(--tvsi-accent);
    background: var(--tvsi-accent);
    color: #fff;
}

.tvsi-step-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1d3153;
}

.tvsi-step-meta {
    color: #617492;
    font-size: 0.86rem;
}

.tvsi-no-visit {
    margin-top: 14px;
    border: 1px solid #d7e3f3;
    border-radius: 14px;
    background: linear-gradient(180deg, #f6f9ff 0%, #f1f6ff 100%);
    padding: 14px;
    text-align: center;
}

.tvsi-no-visit-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #e4edff;
    color: var(--tvsi-primary);
    margin: 0 auto 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tvsi-no-visit strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.96rem;
    margin-bottom: 5px;
    color: #1f3966;
}

.tvsi-no-visit p {
    margin: 0;
    font-size: 0.87rem;
    color: #4d6487;
    line-height: 1.5;
}

.tvsi-section-card {
    padding: 22px 22px 20px;
}

.tvsi-step-top {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--tvsi-primary);
    font-size: 0.96rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tvsi-page-title {
    margin-top: 9px;
    margin-bottom: 8px;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.72rem, 1.72vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.16;
}

.tvsi-page-subtitle {
    margin-bottom: 15px;
    color: #516688;
    font-size: 0.95rem;
    line-height: 1.62;
    max-width: 64ch;
}

.tvsi-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--tvsi-primary);
    font-weight: 700;
}

.tvsi-back-link:hover {
    color: #0d47c4;
}

.tvsi-section-card hr {
    margin: 16px 0 18px;
    border-color: #dfe8f6;
    opacity: 1;
}

.form-label {
    font-weight: 700;
    color: #1c3052;
    margin-bottom: 7px;
}

.tvsi-input-group,
.tvsi-unit-input,
.tvsi-select {
    border-radius: 12px;
}

.tvsi-input-group {
    border: 1px solid #cfdced;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tvsi-input-group .input-group-text,
.tvsi-input-group .form-control {
    border: 0;
    min-height: 50px;
}

.tvsi-input-group .input-group-text {
    background: #f7faff;
    color: #60748f;
}

.tvsi-input-group .form-control {
    font-weight: 600;
    color: #1f3151;
}

.tvsi-input-group:focus-within,
.tvsi-unit-input:focus-within {
    border-color: #85a8f4;
    box-shadow: 0 0 0 4px rgba(26, 91, 232, 0.12);
}

.tvsi-note-box {
    border: 1px solid #d6e2f2;
    background: linear-gradient(180deg, #f3f7ff 0%, #eef4ff 100%);
    border-radius: 12px;
    padding: 14px 16px;
}

.tvsi-note-box h5 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    margin: 0 0 6px;
}

.tvsi-note-box p {
    color: #445a7e;
    font-size: 0.95rem;
}

.tvsi-note-box i {
    color: var(--tvsi-primary);
    margin-right: 6px;
}

.tvsi-next-btn,
.tvsi-nav-btn {
    min-width: 144px;
    min-height: 46px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tvsi-nav-btn.btn-primary,
.tvsi-next-btn {
    border-color: #0f49cd;
    background: linear-gradient(140deg, #1a5be8 0%, #0f46c2 100%);
}

.tvsi-nav-btn.btn-primary:hover,
.tvsi-next-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 73, 205, 0.23);
}

.tvsi-nav-btn.btn-outline-primary {
    border-color: #8fabe3;
    color: #244d9f;
    background: #fff;
}

.tvsi-nav-btn.btn-outline-primary:hover {
    border-color: var(--tvsi-primary);
    color: var(--tvsi-primary);
    background: #eef4ff;
}

.tvsi-subsection-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tvsi-subsection-title small {
    font-size: 0.86rem;
    color: #697d9c;
    font-weight: 600;
}

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

.tvsi-install-option {
    border: 1px solid #cfddf0;
    border-radius: 16px;
    background: #fff;
    display: grid;
    grid-template-columns: 24px 84px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tvsi-install-option.is-large {
    min-height: 220px;
}

.tvsi-install-option:hover {
    border-color: #9eb7e6;
    transform: translateY(-1px);
}

.tvsi-install-option.is-selected {
    border-color: #2f73ff;
    background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
    box-shadow: 0 10px 20px rgba(26, 91, 232, 0.12);
}

.tvsi-radio-dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid #97aac8;
    position: relative;
}

.tvsi-install-option.is-selected .tvsi-radio-dot {
    border-color: #1a5be8;
}

.tvsi-install-option.is-selected .tvsi-radio-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #1a5be8;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.tvsi-install-visual {
    width: 80px;
    height: 68px;
    border-radius: 12px;
    border: 1px solid #cbdbef;
    background: linear-gradient(145deg, #f9fbff 0%, #eef4ff 100%);
    color: #1a5be8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
}

.tvsi-install-option h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.tvsi-install-option p {
    margin: 0;
    font-size: 1rem;
    color: #4f6485;
    line-height: 1.5;
}

.tvsi-step2-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tvsi-choice-card {
    border: 1px solid #d0ddf0;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 15px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.tvsi-choice-card:hover {
    border-color: #adc2e8;
    transform: translateY(-1px);
}

.tvsi-choice-card.is-selected {
    border-color: #2f73ff;
    background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
    box-shadow: 0 12px 24px rgba(26, 91, 232, 0.13);
    animation: tvsiPulseSelect 0.36s cubic-bezier(0.24, 1, 0.34, 1);
}

.tvsi-choice-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tvsi-choice-radio {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid #94a9cc;
    background: #fff;
    position: relative;
}

.tvsi-choice-card.is-selected .tvsi-choice-radio {
    border-color: #1a5be8;
}

.tvsi-choice-card.is-selected .tvsi-choice-radio::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #1a5be8;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.tvsi-choice-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #ccdbf2;
    background: #eaf2ff;
    color: #2759b3;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 11px;
}

.tvsi-choice-icon {
    width: 88px;
    height: 72px;
    border-radius: 14px;
    border: 1px solid #c9d8ee;
    background: linear-gradient(145deg, #f9fcff 0%, #edf3ff 100%);
    color: #1a5be8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.tvsi-choice-title {
    margin: 0 0 6px;
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: #142a4f;
}

.tvsi-choice-desc {
    margin: 0 0 9px;
    color: #4d6385;
    font-size: 0.9rem;
    line-height: 1.46;
}

.tvsi-choice-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tvsi-choice-list li {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    color: #375176;
    font-size: 0.78rem;
    font-weight: 700;
}

.tvsi-choice-list i {
    color: #178f5c;
    margin-top: 1px;
}

.tvsi-step2-note {
    background: linear-gradient(180deg, #f6f9ff 0%, #eff4ff 100%);
}

.tvsi-success-box {
    border: 1px solid #cce8d7;
    background: #eef9f2;
    color: #1f6d4d;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-weight: 700;
}

.tvsi-success-soft {
    border: 1px solid #cde6d8;
    background: linear-gradient(180deg, #f2faf6 0%, #ebf8f1 100%);
    border-radius: 14px;
    padding: 16px;
}

.tvsi-success-soft h4,
.tvsi-warning-soft h4 {
    margin: 0 0 8px;
    font-family: 'Sora', sans-serif;
    font-size: 1.16rem;
    font-weight: 700;
}

.tvsi-success-soft p,
.tvsi-success-soft ul,
.tvsi-success-soft li {
    color: #2e5a46;
    font-size: 0.95rem;
}

.tvsi-success-soft ul {
    margin: 0;
    padding-left: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tvsi-side-card {
    padding: 18px;
}

.tvsi-step1-focus-card {
    border-color: #d8e4f3;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.tvsi-step-focus-card {
    border-color: #d8e4f3;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

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

.tvsi-dimension-item {
    min-width: 0;
}

.tvsi-dimension-item .form-label {
    display: block;
    margin-bottom: 6px;
    white-space: normal;
    line-height: 1.35;
}

.tvsi-time-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #d5e1f3;
    background: #f3f7ff;
    color: #305688;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.tvsi-mini-caption {
    color: #5c7192;
    font-size: 0.87rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tvsi-quick-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tvsi-quick-path-item {
    border: 1px solid #d8e4f3;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 12px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.tvsi-quick-path-item span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(140deg, #f4ddb0 0%, #d3ac61 100%);
    color: #3f3014;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.tvsi-quick-path-item strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.98rem;
    color: #20355a;
    margin-bottom: 3px;
}

.tvsi-quick-path-item p {
    margin: 0;
    color: #5a7092;
    font-size: 0.86rem;
    line-height: 1.45;
}

.tvsi-install-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1f4fb3;
    border: 1px solid #cfe0ff;
    padding: 3px 9px;
    font-size: 0.73rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.tvsi-step1-preview-card {
    border-color: rgba(214, 176, 103, 0.42);
    background: linear-gradient(180deg, #fffdf7 0%, #fff9ed 100%);
}

.tvsi-step-preview-panel {
    border-color: rgba(214, 176, 103, 0.42);
    background: linear-gradient(180deg, #fffdf7 0%, #fff9ed 100%);
}

.tvsi-help-mini {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.tvsi-help-mini-item {
    border: 1px solid #dfd8c8;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.tvsi-help-mini-item span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(140deg, #f4ddb0 0%, #d3ac61 100%);
    color: #3f3014;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
}

.tvsi-help-mini-item strong {
    display: block;
    font-family: 'Sora', sans-serif;
    color: #24395f;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.tvsi-help-mini-item p {
    margin: 0;
    color: #5a7092;
    font-size: 0.82rem;
    line-height: 1.4;
}

.tvsi-side-media-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ddd8cb;
    position: relative;
    margin-top: 10px;
}

.tvsi-side-media-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.tvsi-side-media-chip {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border-radius: 999px;
    border: 1px solid rgba(214, 176, 103, 0.7);
    background: rgba(14, 18, 28, 0.78);
    color: #f5ddb0;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tvsi-side-points {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tvsi-side-points li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    color: #3e5477;
    font-size: 0.9rem;
    font-weight: 600;
}

.tvsi-side-points i {
    color: #188e5b;
    margin-top: 2px;
}

.tvsi-compact-help {
    border-color: #d8e3f3;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.tvsi-side-title {
    margin: 0 0 10px;
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tvsi-side-card p,
.tvsi-side-card li,
.tvsi-side-card small {
    color: #4f6384;
    font-size: 0.93rem;
}

.tvsi-mini-btn {
    min-height: 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tvsi-table {
    border: 1px solid #d7e3f3;
    margin-bottom: 0;
}

.tvsi-table th,
.tvsi-table td {
    border: 1px solid #d7e3f3;
    padding: 8px 10px;
    text-align: left;
}

.tvsi-table th {
    background: #eef4ff;
    color: #1f355a;
    font-size: 0.86rem;
    font-weight: 700;
}

.tvsi-table td {
    font-size: 0.9rem;
    color: #334b6f;
}

.tvsi-condition-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tvsi-condition-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2eaf5;
}

.tvsi-condition-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.tvsi-condition-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.tvsi-condition-icon.ok {
    background: #e0f5e8;
    color: #128452;
}

.tvsi-condition-icon.warn {
    background: #ffefd1;
    color: #cc8414;
}

.tvsi-condition-icon.info {
    background: #e6efff;
    color: #1a5be8;
}

.tvsi-condition-row strong {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
    color: #203355;
}

.tvsi-condition-row p {
    margin: 0;
    font-size: 0.9rem;
    color: #4d6384;
    line-height: 1.45;
}

.tvsi-help-block {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e3ebf6;
}

.tvsi-help-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.tvsi-help-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #ebf2ff;
    color: #1a5be8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.tvsi-help-block strong {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.tvsi-help-block ul {
    margin: 8px 0 0;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tvsi-help-block li {
    font-size: 0.9rem;
    color: #4e6385;
}

.tvsi-select,
.tvsi-unit-input .form-control,
.tvsi-unit-input .form-select {
    border-color: #cfdbec;
    min-height: 48px;
    font-weight: 600;
    color: #1e3355;
    box-shadow: none;
}

.tvsi-select:focus,
.tvsi-unit-input .form-control:focus,
.tvsi-unit-input .form-select:focus {
    border-color: #88a9f0;
    box-shadow: 0 0 0 4px rgba(26, 91, 232, 0.12);
}

.tvsi-unit-input .form-control {
    border-right: 0;
    border-radius: 12px 0 0 12px;
}

.tvsi-unit-input .form-select {
    border-radius: 0 12px 12px 0;
    max-width: 86px;
}

.tvsi-socket-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.tvsi-socket-card {
    border: 1px solid #d3deef;
    border-radius: 12px;
    background: #f7faff;
    text-align: center;
    padding: 8px 8px 10px;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.tvsi-socket-card:hover {
    border-color: #adc2e8;
}

.tvsi-socket-card.is-selected {
    border-color: #1a5be8;
    background: #eff4ff;
    box-shadow: inset 0 0 0 1px #1a5be8;
    animation: tvsiPulseSelect 0.34s cubic-bezier(0.24, 1, 0.34, 1);
}

.tvsi-socket-card.is-selected::after {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #1a5be8;
    border: 2px solid #fff;
    position: absolute;
    margin-left: 30px;
    margin-top: -4px;
}

.tvsi-socket-card span {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e355a;
}

.tvsi-socket-screen {
    width: 50px;
    height: 34px;
    margin: 3px auto 8px;
    border: 2px solid #8a9ebb;
    border-radius: 4px;
    background: #fff;
    position: relative;
}

.tvsi-socket-screen::before {
    content: '';
    width: 10px;
    height: 3px;
    border-radius: 2px;
    background: #7f93b3;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
}

.tvsi-socket-screen.left::after,
.tvsi-socket-screen.right::after,
.tvsi-socket-screen.bottom::after,
.tvsi-socket-screen.top::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #1a5be8;
    position: absolute;
}

.tvsi-socket-screen.left::after {
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
}

.tvsi-socket-screen.right::after {
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
}

.tvsi-socket-screen.bottom::after {
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

.tvsi-socket-screen.top::after {
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
}

.tvsi-support-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    background: linear-gradient(180deg, #f5f8ff 0%, #edf3ff 100%);
}

.tvsi-support-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #dfe9ff;
    color: #1a5be8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    animation: tvsiGlow 2.4s ease infinite;
}

.tvsi-summary-card h4 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.tvsi-summary-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tvsi-summary-grid > div {
    display: grid;
    grid-template-columns: 1.2fr minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 7px;
    border-bottom: 1px solid #e4ebf6;
}

.tvsi-summary-grid > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.tvsi-summary-grid span {
    color: #5d7192;
    font-size: 0.9rem;
}

.tvsi-summary-grid strong {
    text-align: right;
    font-size: 0.94rem;
    color: #23395e;
}

.tvsi-prelim-card {
    border-color: #cce6d7;
    background: linear-gradient(180deg, #f0faf5 0%, #ecf8f1 100%);
}

.tvsi-prelim-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #dcf1e4;
    color: #15905d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.tvsi-prelim-size,
.tvsi-prelim-install {
    margin-top: 10px;
}

.tvsi-prelim-size span,
.tvsi-prelim-install span {
    display: block;
    color: #4e6784;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.tvsi-prelim-size strong {
    display: block;
    font-family: 'Sora', sans-serif;
    color: #16915c;
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.tvsi-prelim-install strong {
    display: block;
    font-family: 'Sora', sans-serif;
    color: #217e56;
    font-size: 1.26rem;
    line-height: 1.3;
}

.tvsi-note-strip {
    border: 1px solid #d6e2f1;
    background: #eef4ff;
    border-radius: 14px;
    color: #3f5c82;
    padding: 12px 14px;
    font-size: 0.94rem;
    font-weight: 700;
}

.tvsi-review-block {
    border: 1px solid #d9e5f4;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    margin-bottom: 11px;
}

.tvsi-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tvsi-review-head h3 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.tvsi-review-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px 14px;
    align-items: baseline;
}

.tvsi-review-row-4 {
    grid-template-columns: auto auto auto auto auto auto auto auto;
}

.tvsi-review-row span {
    color: #607495;
    font-size: 0.9rem;
}

.tvsi-review-row strong {
    color: #1f3357;
    font-size: 0.94rem;
}

.tvsi-size-strip {
    padding: 16px;
}

.tvsi-size-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border: 1px solid #d9e5f4;
    border-radius: 14px;
    overflow: hidden;
}

.tvsi-size-cell {
    position: relative;
    padding: 12px 8px;
    text-align: center;
    border-right: 1px solid #dce7f4;
    background: #fff;
}

.tvsi-size-cell:last-child {
    border-right: 0;
}

.tvsi-size-cell strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.tvsi-size-cell small {
    font-size: 0.85rem;
    color: #5c7091;
}

.tvsi-size-cell.is-recommended {
    background: linear-gradient(180deg, #effaf4 0%, #eaf7f0 100%);
}

.tvsi-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    border-radius: 999px;
    background: #17a565;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
}

.tvsi-success-banner {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 88px;
    gap: 12px;
    align-items: center;
    border-color: rgba(214, 180, 103, 0.34);
    background:
        radial-gradient(circle at 88% 8%, rgba(214, 180, 103, 0.22), transparent 34%),
        linear-gradient(135deg, #101827 0%, #172237 58%, #f4fbf7 58.2%, #edf9f2 100%);
    box-shadow: 0 18px 54px rgba(15, 23, 42, 0.12);
}

.tvsi-success-icon-big {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(180deg, #e8c56e 0%, #b98222 100%);
    color: #101827;
    box-shadow: 0 14px 32px rgba(185, 130, 34, 0.26);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.tvsi-success-banner h1 {
    margin: 0 0 5px;
    font-family: 'Sora', sans-serif;
    font-size: 1.34rem;
    font-weight: 700;
    color: #fff8e7;
}

.tvsi-success-banner p {
    margin: 0;
    color: #d7e0ee;
    font-size: 0.86rem;
}

.tvsi-success-tv {
    width: 88px;
    height: 68px;
    border-radius: 12px;
    border: 3px solid rgba(23, 160, 98, 0.78);
    color: #17a062;
    background: rgba(255, 255, 255, 0.76);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    position: relative;
}

.tvsi-success-tv::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: #16a060;
    bottom: -8px;
}

.tvsi-result-grid {
    border: 1px solid rgba(216, 199, 158, 0.74);
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.tvsi-result-block {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
    border-right: 1px solid rgba(221, 231, 244, 0.94);
    background:
        radial-gradient(circle at 92% 12%, rgba(213, 172, 83, 0.14), transparent 32%),
        #fff;
}

.tvsi-result-block:last-child {
    border-right: 0;
}

.tvsi-result-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    border: 1px solid rgba(213, 172, 83, 0.38);
    background: linear-gradient(180deg, #fff8e9 0%, #f3dfad 100%);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tvsi-result-block h3 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.42rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.16;
}

.tvsi-result-block .tvsi-install-text {
    font-size: 1rem;
    line-height: 1.35;
}

[data-install-choice]:focus-visible,
[data-socket-option]:focus-visible {
    outline: 2px solid #8db1fb;
    outline-offset: 2px;
}

.tvsi-select-pop {
    animation: tvsiPulseSelect 0.36s cubic-bezier(0.24, 1, 0.34, 1);
}

.tvsi-submit-action {
    position: relative;
    overflow: hidden;
}

.tvsi-submit-action::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.34) 48%, transparent 100%);
    transform: translateX(-130%);
    pointer-events: none;
}

.tvsi-submit-action:hover::after,
.tvsi-submit-action.is-confirming::after {
    animation: tvsiSoftSweep 0.72s ease;
}

.tvsi-submit-action.is-confirming {
    animation: tvsiPulseSelect 0.42s cubic-bezier(0.24, 1, 0.34, 1);
}

.tvsi-result-block p {
    margin-bottom: 2px;
    font-weight: 700;
    color: #8a651b;
    font-size: 0.78rem;
}

.tvsi-result-block small {
    font-size: 0.74rem;
    color: #556b8d;
}

.tvsi-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e8f7ee;
    color: #087344;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
}

.tvsi-warning-soft {
    border: 1px solid #f3dfb8;
    background: linear-gradient(180deg, #fff9ed 0%, #fff5e4 100%);
    border-radius: 16px;
    padding: 16px 18px;
}

.tvsi-warning-soft p {
    margin: 0;
    color: #695435;
    font-size: 0.93rem;
}

.tvsi-download-row {
    border: 1px solid #dbe6f4;
    border-radius: 14px;
    padding: 12px;
    background: #f6f9ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tvsi-download-text {
    color: #1f4fb1;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tvsi-download-text small {
    display: block;
    margin-top: 2px;
    color: #5d7395;
    font-size: 0.84rem;
    font-weight: 600;
}

.tvsi-next-actions {
    border-radius: 18px;
    padding-bottom: 10px;
}

.tvsi-next-actions h3 {
    margin-bottom: 12px;
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

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

.tvsi-next-card {
    border-radius: 18px;
    text-decoration: none;
    color: #1f3558;
    padding: 18px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(216, 199, 158, 0.78);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.96) 100%);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tvsi-next-card i {
    color: #b98222;
    font-size: 1.3rem;
}

.tvsi-next-card strong {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.tvsi-next-card small {
    color: #5f7394;
    font-size: 0.86rem;
}

.tvsi-next-card:hover {
    color: #1f3558;
    border-color: #d5ac53;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.11);
}

.tvsi-footer-copy {
    margin-top: 14px;
    text-align: center;
    color: #7183a0;
    font-size: 0.9rem;
    font-weight: 600;
}

.tvsi-single-form-wrap {
    width: min(1240px, 100%);
    margin: 0 auto 30px;
}

.tvsi-form-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 7px;
    color: #d7b76f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tvsi-form-command {
    min-height: 112px;
    margin-bottom: 0;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(214, 176, 103, 0.45);
    border-radius: 18px 18px 0 0;
    background:
        linear-gradient(135deg, rgba(10, 14, 23, 0.96) 0%, rgba(22, 28, 40, 0.96) 58%, rgba(34, 27, 14, 0.94) 100%),
        linear-gradient(90deg, rgba(214, 176, 103, 0.16), transparent 52%);
    box-shadow: 0 22px 42px rgba(13, 20, 34, 0.18);
}

.tvsi-form-command h1 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.55rem, 2vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0;
    color: #ffffff;
}

.tvsi-form-command-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.tvsi-form-command-meta span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(229, 207, 162, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #f3dfb4;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0 12px;
}

.tvsi-unified-form {
    border: 1px solid #d2dbe9;
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: #ffffff;
    box-shadow: 0 26px 54px rgba(16, 32, 57, 0.1);
    overflow: hidden;
}

.tvsi-executive-form {
    position: relative;
}

.tvsi-form-section {
    padding: 24px 28px 26px;
    border-bottom: 1px solid #e7edf5;
    background:
        linear-gradient(90deg, rgba(248, 250, 253, 0.96) 0%, #ffffff 22%, #ffffff 100%);
}

.tvsi-form-section:nth-child(odd) {
    background:
        linear-gradient(90deg, rgba(251, 247, 238, 0.74) 0%, #ffffff 22%, #ffffff 100%);
}

.tvsi-form-section-head {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
}

.tvsi-section-index {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #8b6828;
    background: #fbf4e6;
    border: 1px solid #ead8b5;
    font-size: 0.76rem;
    font-weight: 900;
}

.tvsi-form-section-head > i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #151b28;
    background: linear-gradient(140deg, #f3d995 0%, #c99b3d 100%);
    border: 1px solid #bd9035;
    font-size: 0.98rem;
}

.tvsi-form-section-head h2 {
    margin: 0 0 1px;
    font-family: 'Sora', sans-serif;
    font-size: 1.04rem;
    font-weight: 700;
    letter-spacing: 0;
    color: #111827;
}

.tvsi-form-section-head p {
    margin: 0;
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.45;
}

.tvsi-unified-form .form-label {
    margin-bottom: 7px;
    color: #2d3748;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.tvsi-unified-form .form-label span {
    color: #c93333;
}

.tvsi-pro-control {
    min-height: 44px;
    border-radius: 8px;
    border-color: #cbd6e5;
    background-color: #fbfcfe;
    color: #111827;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.tvsi-pro-control:focus {
    border-color: #b78a34;
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(214, 176, 103, 0.16), 0 8px 18px rgba(17, 24, 39, 0.05);
}

.tvsi-pro-unit .form-control {
    border-radius: 9px 0 0 9px;
}

.tvsi-pro-unit .form-select {
    max-width: 82px;
    border-radius: 0 9px 9px 0;
    background-color: #f4f7fb;
}

.tvsi-field-error {
    margin-top: 5px;
    color: #c93333;
    font-size: 0.76rem;
    font-weight: 700;
}

#wallTypeField.is-soft-optional .form-label span {
    color: #77869c;
    font-size: 0.74rem;
    font-weight: 700;
}

.tvsi-submit-btn {
    min-height: 48px;
    min-width: 230px;
    border-radius: 9px;
    border: 1px solid #b99144;
    background: linear-gradient(140deg, #f0d18b 0%, #c9993d 100%);
    color: #15110a;
    font-size: 0.9rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 14px 28px rgba(145, 103, 31, 0.22);
}

.tvsi-submit-btn:hover {
    color: #15110a;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(145, 103, 31, 0.28);
}

.tvsi-form-action-bar {
    position: sticky;
    bottom: 0;
    z-index: 10;
    min-height: 78px;
    padding: 14px 18px 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid #d9e0eb;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
}

.tvsi-form-action-bar strong,
.tvsi-form-action-bar span {
    display: block;
}

.tvsi-form-action-bar strong {
    color: #111827;
    font-size: 0.92rem;
    font-weight: 900;
}

.tvsi-form-action-bar span {
    margin-top: 2px;
    color: #68758a;
    font-size: 0.8rem;
    font-weight: 700;
}

.tvsi-submit-btn:disabled {
    border-color: #1f2937;
    background: #1f2937;
    color: #fff;
    box-shadow: none;
}

.tvsi-result-page {
    width: min(1220px, 100%);
    margin: 0 auto;
}

.tvsi-result-main {
    width: 100%;
}

.tvsi-result-command {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(220, 228, 240, 0.92);
}

.tvsi-result-kicker {
    display: inline-flex;
    align-items: center;
    color: #b98222;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tvsi-result-command h2 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    color: #101827;
    font-size: clamp(1.45rem, 2.8vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.tvsi-result-command h2 i {
    color: #d5ac53;
}

.tvsi-result-command p {
    margin: 8px 0 0;
    color: #60718d;
    font-size: 0.95rem;
    font-weight: 600;
}

.tvsi-result-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tvsi-result-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.tvsi-result-summary-strip > div {
    border: 1px solid rgba(216, 199, 158, 0.76);
    border-radius: 16px;
    padding: 14px 15px;
    background:
        radial-gradient(circle at 88% 10%, rgba(213, 172, 83, 0.16), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.tvsi-result-summary-strip span,
.tvsi-detail-grid span {
    display: block;
    color: #7a8aa5;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tvsi-result-summary-strip strong {
    display: block;
    margin-top: 5px;
    color: #101827;
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tvsi-result-detail-panel {
    border: 1px solid rgba(216, 199, 158, 0.7);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
    padding: 18px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.tvsi-detail-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.tvsi-detail-title > span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #101827;
    color: #f2cc84;
    font-size: 1.2rem;
}

.tvsi-detail-title h3 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    color: #101827;
    font-size: 1.18rem;
    font-weight: 800;
}

.tvsi-detail-title p {
    margin: 3px 0 0;
    color: #667792;
    font-size: 0.88rem;
    font-weight: 600;
}

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

.tvsi-detail-grid > div {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    min-height: 74px;
}

.tvsi-detail-grid strong {
    display: block;
    margin-top: 6px;
    color: #1e293b;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tvsi-detail-wide {
    grid-column: span 2;
}

.tvsi-studio {
    width: min(1260px, 100%);
    margin: 0 auto 34px;
}

.tvsi-studio-hero {
    min-height: 148px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 34px;
    border-radius: 22px 22px 0 0;
    border: 1px solid rgba(229, 197, 128, 0.5);
    background:
        linear-gradient(90deg, rgba(9, 12, 18, 0.12) 0 1px, transparent 1px 64px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 44px),
        radial-gradient(42rem 18rem at 84% -20%, rgba(214, 176, 103, 0.28), transparent 62%),
        linear-gradient(135deg, #090d15 0%, #171d28 58%, #2a2112 100%);
    color: #fff;
    box-shadow: 0 28px 58px rgba(9, 14, 23, 0.22);
}

.tvsi-studio-hero-copy span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #f0d38d;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tvsi-studio-hero-copy h1 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 2.5vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.tvsi-studio-status {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-width: min(520px, 48%);
}

.tvsi-studio-status div {
    min-height: 70px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(231, 205, 151, 0.3);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.tvsi-studio-status i {
    display: block;
    color: #f0d38d;
    font-size: 1rem;
    margin-bottom: 8px;
}

.tvsi-studio-status strong {
    display: block;
    color: #f7f1e5;
    font-size: 0.78rem;
    font-weight: 900;
}

.tvsi-studio-form {
    border: 1px solid #d7dfeb;
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 30px 70px rgba(16, 32, 57, 0.1);
    overflow: visible;
}

.tvsi-form-row {
    position: relative;
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    min-height: 128px;
    border-bottom: 1px solid #e6ecf5;
}

.tvsi-form-row:has(.tvsi-custom-select.is-open),
.tvsi-form-row.is-select-open {
    z-index: 80;
}

.tvsi-form-row:last-of-type {
    border-bottom: 0;
}

.tvsi-form-rail {
    padding: 26px 24px;
    border-right: 1px solid #e2e8f2;
    background:
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.tvsi-form-rail span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid #dcc38d;
    background: #fff7e8;
    color: #8a621c;
    font-size: 0.78rem;
    font-weight: 900;
}

.tvsi-form-rail strong {
    display: block;
    color: #111827;
    font-family: 'Sora', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
}

.tvsi-field-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 26px;
    align-items: start;
}

.tvsi-field-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tvsi-field-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tvsi-span-2 {
    grid-column: span 2;
}

.tvsi-span-full {
    grid-column: 1 / -1;
}

.tvsi-field,
.tvsi-metric-field {
    display: block;
    min-width: 0;
}

.tvsi-field > span,
.tvsi-metric-field > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 20px;
    margin-bottom: 8px;
    color: #263448;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tvsi-field em,
.tvsi-metric-field em {
    color: #be2f2f;
    font-style: normal;
}

.tvsi-control-shell {
    min-height: 50px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    border: 1px solid #cbd7e6;
    border-radius: 14px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 24px rgba(18, 32, 52, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tvsi-control-shell:focus-within {
    border-color: #caa052;
    box-shadow: 0 0 0 3px rgba(214, 176, 103, 0.16), 0 14px 28px rgba(18, 32, 52, 0.07);
    transform: translateY(-1px);
}

.tvsi-control-shell > i {
    color: #9b7a38;
    text-align: center;
    font-size: 1rem;
}

.tvsi-control-shell input,
.tvsi-control-shell select {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 700;
}

.tvsi-control-shell select {
    padding-right: 14px;
    cursor: pointer;
}

.tvsi-select-shell {
    position: relative;
}

.tvsi-select-shell::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9b7a38;
    font-size: 0.78rem;
    pointer-events: none;
}

.tvsi-select-shell.is-custom::after {
    display: none;
}

.tvsi-select-shell select,
.tvsi-metric-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.tvsi-select-shell select {
    padding-right: 42px;
}

.tvsi-control-shell input::placeholder,
.tvsi-metric-field input::placeholder {
    color: #9aa7b8;
    font-weight: 600;
}

.tvsi-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 26px;
}

.tvsi-metric-field > div {
    min-height: 50px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #cbd7e6;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 28px rgba(18, 32, 52, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tvsi-metric-field > div:focus-within {
    border-color: #caa052;
    box-shadow: 0 0 0 3px rgba(214, 176, 103, 0.16), 0 16px 30px rgba(18, 32, 52, 0.08);
    transform: translateY(-1px);
}

.tvsi-metric-field input,
.tvsi-metric-field select {
    border: 0;
    outline: 0;
    min-width: 0;
}

.tvsi-metric-field input {
    width: 100%;
    padding: 0 16px;
    color: #111827;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0;
}

.tvsi-metric-field select {
    border-left: 1px solid #dce4ee;
    background:
        linear-gradient(180deg, #fbfcff 0%, #edf2f8 100%);
    color: #35435a;
    font-size: 0.88rem;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
    padding: 0 26px 0 10px;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.72);
}

.tvsi-metric-field > div {
    position: relative;
}

.tvsi-metric-field > div::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #9b7a38;
    font-size: 0.68rem;
    pointer-events: none;
}

.tvsi-metric-field > div:has(.tvsi-custom-select)::after {
    display: none;
}

.tvsi-select-shell:hover,
.tvsi-metric-field > div:hover {
    border-color: #b8c5d8;
}

.tvsi-select-shell option,
.tvsi-metric-field option {
    color: #111827;
    background: #ffffff;
    font-weight: 700;
}

.tvsi-native-select-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    left: -9999px;
    top: auto;
}

.tvsi-custom-select {
    position: relative;
    min-width: 0;
    z-index: 2;
}

.tvsi-custom-select.is-open {
    z-index: 3000;
}

.tvsi-custom-select-trigger {
    width: 100%;
    min-height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    align-items: center;
    gap: 8px;
    padding: 0 14px 0 0;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
}

.tvsi-custom-select-trigger span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tvsi-custom-select-trigger i {
    color: #9b7a38;
    font-size: 0.8rem;
    transition: transform 0.18s ease;
}

.tvsi-custom-select.is-open .tvsi-custom-select-trigger i {
    transform: rotate(180deg);
}

.tvsi-custom-select-menu {
    position: absolute;
    left: -42px;
    right: 0;
    top: calc(100% + 10px);
    z-index: 3001;
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid rgba(203, 167, 94, 0.5);
    border-radius: 14px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.tvsi-custom-select.is-open .tvsi-custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.tvsi-custom-select-option {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    border-radius: 10px;
    color: #182236;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.tvsi-custom-select-option:hover,
.tvsi-custom-select-option.is-active {
    background: linear-gradient(135deg, #fff5df 0%, #f0d38d 100%);
    color: #1d1608;
}

.tvsi-custom-select-option:hover {
    transform: translateX(2px);
}

.tvsi-custom-select-option.is-active::after {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    color: #8a621c;
    font-size: 0.86rem;
}

.tvsi-custom-select-menu::-webkit-scrollbar {
    width: 8px;
}

.tvsi-custom-select-menu::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}

.tvsi-custom-select-menu::-webkit-scrollbar-thumb {
    background: #cfb172;
    border-radius: 999px;
}

.tvsi-metric-field .tvsi-custom-select {
    height: 100%;
    border-left: 1px solid #dce4ee;
    background: linear-gradient(180deg, #fbfcff 0%, #edf2f8 100%);
    pointer-events: auto;
    overflow: visible;
}

.tvsi-metric-field .tvsi-custom-select-trigger {
    height: 100%;
    min-height: 48px;
    padding: 0 26px 0 14px;
    text-align: center;
    font-size: 0.88rem;
    justify-items: center;
}

.tvsi-metric-field .tvsi-custom-select-trigger span {
    text-align: center;
}

.tvsi-metric-field .tvsi-custom-select-menu {
    left: auto;
    right: -1px;
    min-width: 112px;
    top: calc(100% + 8px);
}

.tvsi-metric-field > div:has(.tvsi-custom-select.is-open),
.tvsi-metric-field > div.is-select-open {
    overflow: visible;
    z-index: 3000;
}

.tvsi-field small,
.tvsi-metric-field small {
    display: block;
    margin-top: 7px;
    color: #b42323;
    font-size: 0.74rem;
    font-weight: 800;
}

.tvsi-field.is-soft-optional em {
    color: #6b778c;
    font-size: 0.7rem;
    text-transform: none;
}

.tvsi-studio-actions {
    position: sticky;
    bottom: 0;
    z-index: 12;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px 18px 192px;
    border-top: 1px solid rgba(213, 224, 237, 0.88);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
}

.tvsi-studio-actions span,
.tvsi-studio-actions strong {
    display: block;
}

.tvsi-studio-actions span {
    margin-bottom: 2px;
    color: #8a621c;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tvsi-studio-actions strong {
    color: #111827;
    font-size: 0.93rem;
    font-weight: 900;
}

.tvsi-studio-submit {
    min-width: 248px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid #b58d3d;
    background: linear-gradient(135deg, #f4d892 0%, #c79433 100%);
    color: #181307;
    box-shadow: 0 18px 34px rgba(139, 99, 27, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tvsi-studio-submit span {
    margin: 0;
    color: inherit;
    font-size: 0.9rem;
    letter-spacing: 0;
    text-transform: none;
}

.tvsi-studio-submit:hover {
    color: #181307;
    transform: translateY(-1px);
    box-shadow: 0 22px 40px rgba(139, 99, 27, 0.34);
}

.tvsi-studio-submit:disabled {
    border-color: #1f2937;
    background: #1f2937;
    color: #ffffff;
    box-shadow: none;
}

.tvsi-diagram-canvas {
    width: 100%;
    height: 310px;
    border-radius: 12px;
    border: 1px solid #d6e2f4;
    display: block;
    background: #f4f8ff;
}

.tvsi-diagram-canvas-large {
    height: 360px;
}

.tvsi-choice-card {
    min-height: 210px;
}

.tvsi-choice-desc {
    font-size: 0.9rem;
}

.tvsi-step2-preview-media .tvsi-side-media-img {
    height: 260px;
}

.tvsi-dimension-item .form-label {
    min-height: 0;
}

.tvsi-live-scene-card {
    border-color: rgba(214, 176, 103, 0.42);
    background: linear-gradient(180deg, #fffdf7 0%, #fff9ed 100%);
}

.tvsi-live-scene-wrap {
    border-color: #cfd9ec;
    background: #101829;
}

.tvsi-scene-composer {
    --tvsi-wall-width: 34%;
    --tvsi-wall-height: 26%;
    --tvsi-tv-width: 44%;
    --tvsi-distance-width: 24%;
    --tvsi-wall-left: 50%;
    --tvsi-wall-top: 46%;
    --tvsi-distance-left: 52%;
    --tvsi-distance-bottom: 21%;
    --tvsi-distance-angle: 76deg;
    position: relative;
    min-height: 320px;
    height: 320px;
    overflow: hidden;
}

.tvsi-scene-base-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.03) contrast(1.01);
}

.tvsi-scene-wall-frame {
    position: absolute;
    left: var(--tvsi-wall-left);
    top: var(--tvsi-wall-top);
    width: var(--tvsi-wall-width);
    height: var(--tvsi-wall-height);
    transform: translateX(-50%);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(248, 251, 255, 0.34);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 6px 14px rgba(8, 14, 28, 0.12);
}

.tvsi-scene-wall-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(12, 20, 34, 0.08) 0%, rgba(12, 20, 34, 0.02) 36%, rgba(6, 12, 24, 0.12) 100%);
    pointer-events: none;
}

.tvsi-scene-wall-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0) 48%),
        radial-gradient(circle at 78% 64%, rgba(0, 0, 0, 0.12) 0, rgba(0, 0, 0, 0) 42%);
    mix-blend-mode: soft-light;
}

.tvsi-scene-wall-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    filter: saturate(0.9) contrast(1.01);
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.tvsi-scene-wall-overlay-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.1;
    mix-blend-mode: overlay;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.tvsi-scene-wall-frame.material-default::after {
    opacity: 0.06;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0) 48%),
        radial-gradient(circle at 78% 64%, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0) 44%);
}

.tvsi-scene-wall-frame.material-concrete::after {
    opacity: 0.09;
    background-image:
        radial-gradient(circle at 10% 25%, rgba(0, 0, 0, 0.18) 0, rgba(0, 0, 0, 0) 38%),
        radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0) 45%),
        repeating-linear-gradient(135deg, rgba(44, 52, 72, 0.08) 0 2px, rgba(205, 214, 228, 0) 2px 9px);
    mix-blend-mode: multiply;
}

.tvsi-scene-wall-frame.material-brick::after {
    opacity: 0.1;
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
        repeating-linear-gradient(0deg, rgba(58, 34, 18, 0.22) 0 1px, rgba(0, 0, 0, 0) 1px 22px),
        repeating-linear-gradient(90deg, rgba(58, 34, 18, 0.2) 0 1px, rgba(0, 0, 0, 0) 1px 54px);
    mix-blend-mode: multiply;
}

.tvsi-scene-wall-frame.material-gypsum::after {
    opacity: 0.06;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)),
        repeating-linear-gradient(0deg, rgba(198, 208, 224, 0.08) 0 1px, rgba(0, 0, 0, 0) 1px 18px);
    mix-blend-mode: screen;
}

.tvsi-scene-wall-frame.material-plywood::after {
    opacity: 0.08;
    background-image:
        linear-gradient(180deg, rgba(63, 40, 20, 0.2), rgba(37, 22, 11, 0.1)),
        repeating-linear-gradient(12deg, rgba(97, 63, 31, 0.22) 0 2px, rgba(0, 0, 0, 0) 2px 14px);
    mix-blend-mode: multiply;
}

.tvsi-scene-wall-frame.material-glass::after {
    opacity: 0.05;
    background-image:
        linear-gradient(180deg, rgba(187, 223, 255, 0.28), rgba(124, 164, 204, 0.1)),
        linear-gradient(130deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.05) 38%, rgba(255, 255, 255, 0) 72%);
    mix-blend-mode: screen;
}

.tvsi-scene-wall-frame.material-marble::after {
    opacity: 0.09;
    background-image:
        linear-gradient(125deg, rgba(220, 227, 236, 0.24), rgba(71, 79, 96, 0.08)),
        repeating-linear-gradient(148deg, rgba(86, 98, 121, 0.22) 0 1px, rgba(0, 0, 0, 0) 1px 24px);
    mix-blend-mode: overlay;
}

.tvsi-scene-tv-unit {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: var(--tvsi-tv-width);
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -54%);
    border-radius: 7px;
    border: 1px solid rgba(228, 236, 250, 0.88);
    background: linear-gradient(155deg, #1d2639 0%, #0d1320 60%, #0f264f 100%);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

.tvsi-scene-tv-gloss {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 44%);
}

.tvsi-scene-tv-size {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #f4f8ff;
    font-family: 'Sora', sans-serif;
    font-size: clamp(0.98rem, 1.9vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(5, 11, 20, 0.66);
    pointer-events: none;
}

.tvsi-scene-tv-stand {
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 38%;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, #e8edf8 0%, #c0cbdd 100%);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tvsi-scene-tv-unit.is-table-top .tvsi-scene-tv-stand {
    opacity: 1;
}

.tvsi-scene-tv-unit.is-wall-mount::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    width: 11px;
    height: 8px;
    border-radius: 3px;
    background: rgba(235, 243, 255, 0.9);
    transform: translateY(-50%);
}

.tvsi-scene-socket-dot {
    position: absolute;
    z-index: 4;
    width: 13px;
    height: 13px;
    border-radius: 3px;
    border: 2px solid #fff;
    background: #1958dd;
    box-shadow: 0 3px 8px rgba(25, 88, 221, 0.32);
    transition: inset 0.2s ease, transform 0.2s ease;
}

.tvsi-scene-socket-dot.socket-left {
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
}

.tvsi-scene-socket-dot.socket-right {
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
}

.tvsi-scene-socket-dot.socket-top {
    left: 50%;
    top: 9px;
    transform: translateX(-50%);
}

.tvsi-scene-socket-dot.socket-bottom {
    left: 50%;
    bottom: 9px;
    transform: translateX(-50%);
}

.tvsi-scene-dim-h,
.tvsi-scene-dim-v {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(221, 195, 139, 0.92);
    background: rgba(13, 20, 34, 0.82);
    color: #f5dfb5;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 4px 9px;
    white-space: nowrap;
}

.tvsi-scene-dim-h {
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
}

.tvsi-scene-dim-v {
    right: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
}

.tvsi-scene-distance-line {
    position: absolute;
    z-index: 4;
    left: var(--tvsi-distance-left);
    bottom: var(--tvsi-distance-bottom);
    width: var(--tvsi-distance-width);
    border-top: 2px dashed rgba(99, 157, 255, 0.85);
    transform: rotate(var(--tvsi-distance-angle));
    transform-origin: left center;
    filter: drop-shadow(0 2px 4px rgba(7, 18, 40, 0.34));
}

.tvsi-scene-distance-tag {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(170, 195, 239, 0.78);
    background: rgba(250, 253, 255, 0.94);
    color: #264c8c;
    font-size: 0.69rem;
    font-weight: 700;
    padding: 6px 10px;
}

.tvsi-scene-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 22, 0.03), rgba(8, 12, 22, 0.1));
    pointer-events: none;
}

.tvsi-scene-composer .tvsi-scene-overlay {
    position: absolute;
    inset: auto 10px 10px 10px;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.tvsi-scene-overlay {
    position: absolute;
    inset: auto 10px 10px 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.tvsi-scene-overlay span {
    border-radius: 8px;
    border: 1px solid rgba(174, 198, 236, 0.72);
    background: rgba(247, 251, 255, 0.9);
    color: #22406f;
    font-size: 0.69rem;
    font-weight: 700;
    padding: 6px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tvsi-scene-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.tvsi-scene-meta > div {
    border: 1px solid #dfd6c6;
    border-radius: 10px;
    background: #fff;
    padding: 8px 9px;
}

.tvsi-scene-meta small {
    display: block;
    color: #6c7f9d;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.tvsi-scene-meta strong {
    color: #283f66;
    font-size: 0.88rem;
    font-weight: 700;
}

.tvsi-final-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #d6caa9;
    background: #0f1626;
    padding: 0;
}

.tvsi-final-static-visual {
    min-height: 420px;
    height: 420px;
}

.tvsi-final-static-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.tvsi-scene-composer-xl {
    min-height: 420px;
    height: 420px;
    --tvsi-wall-width: 34%;
    --tvsi-wall-height: 26%;
    --tvsi-tv-width: 42%;
    --tvsi-distance-width: 24%;
}

.tvsi-scene-composer-xl .tvsi-scene-distance-tag {
    font-size: 0.74rem;
    padding: 6px 12px;
}

.tvsi-final-visual-overlay {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.tvsi-final-visual-overlay span {
    border-radius: 9px;
    border: 1px solid rgba(222, 195, 139, 0.66);
    background: rgba(11, 18, 32, 0.78);
    color: #f8e3ba;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 7px 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tvsi-final-visual-overlay i {
    color: #f2cc84;
}

#finalVisualPanel:fullscreen,
#finalVisualPanel:-webkit-full-screen,
#finalVisualPanel:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    background: #060a12;
    padding: 22px;
    box-sizing: border-box;
}

#finalVisualPanel:fullscreen .tvsi-final-static-img,
#finalVisualPanel:-webkit-full-screen .tvsi-final-static-img,
#finalVisualPanel:-ms-fullscreen .tvsi-final-static-img {
    height: calc(100vh - 44px);
    border-radius: 18px;
}

@media (max-width: 1500px) {
    .tvsi-flow-grid {
        grid-template-columns: 280px minmax(0, 1fr) 360px;
    }

    .tvsi-main-nav {
        gap: 6px;
    }

    .tvsi-nav-link {
        padding-inline: 11px;
        font-size: 0.86rem;
    }
}

@media (max-width: 1260px) {
    .tvsi-main-nav {
        display: none;
    }

    .tvsi-flow-grid {
        grid-template-columns: 1fr;
    }

    .tvsi-step-sidebar {
        position: static;
    }

    .tvsi-sticky-summary {
        top: 98px;
    }

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

    .tvsi-how-arrow {
        display: none;
    }
}

@media (max-width: 992px) {
    .tvsi-shell {
        width: min(1460px, calc(100% - 24px));
    }

    .tvsi-home-hero,
    .tvsi-section-card,
    .tvsi-side-card,
    .tvsi-size-strip {
        padding: 16px;
    }

    .tvsi-home-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tvsi-hero-media-img {
        height: 320px;
    }

    .tvsi-home-title {
        font-size: clamp(1.7rem, 8vw, 2.4rem);
    }

    .tvsi-benefit-grid,
    .tvsi-install-grid,
    .tvsi-step2-choice-grid,
    .tvsi-next-grid,
    .tvsi-result-grid {
        grid-template-columns: 1fr;
    }

    .tvsi-choice-card {
        min-height: 0;
    }

    .tvsi-choice-title {
        font-size: 1.14rem;
    }

    .tvsi-dimension-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tvsi-sticky-summary {
        position: static;
        top: auto;
        grid-template-columns: repeat(3, minmax(170px, 1fr));
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .tvsi-quick-path {
        grid-template-columns: 1fr;
    }

    .tvsi-result-block {
        border-right: 0;
        border-bottom: 1px solid #dde7f4;
    }

    .tvsi-result-block:last-child {
        border-bottom: 0;
    }

    .tvsi-scene-composer-xl {
        height: 320px;
        min-height: 320px;
    }

    .tvsi-diagram-canvas,
    .tvsi-diagram-canvas-large {
        height: 280px;
    }

    .tvsi-final-visual-overlay,
    .tvsi-scene-overlay {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tvsi-size-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tvsi-review-row,
    .tvsi-review-row-4 {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tvsi-form-command {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .tvsi-form-command-meta {
        justify-content: flex-start;
    }

    .tvsi-form-section {
        padding: 20px;
    }

    .tvsi-form-action-bar {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }

    .tvsi-submit-btn {
        width: 100%;
    }

    .tvsi-studio-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .tvsi-studio-status {
        width: 100%;
        min-width: 0;
    }

    .tvsi-form-row {
        grid-template-columns: 1fr;
    }

    .tvsi-form-rail {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        border-right: 0;
        border-bottom: 1px solid #e2e8f2;
    }

    .tvsi-form-rail span {
        margin: 0;
    }

    .tvsi-field-grid,
    .tvsi-field-grid-three,
    .tvsi-field-grid-two,
    .tvsi-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 20px;
    }

    .tvsi-span-2,
    .tvsi-span-full {
        grid-column: 1 / -1;
    }

    .tvsi-studio-actions {
        align-items: stretch;
        flex-direction: column;
        padding: 16px 20px;
    }

    .tvsi-studio-submit {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .tvsi-body {
        background:
            linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
    }

    .tvsi-topbar {
        top: 0;
        margin: 0 0 12px;
        border-radius: 0 0 22px 22px;
        border-inline: 0;
        border-top: 0;
    }

    .tvsi-topbar .tvsi-shell {
        min-height: 72px;
    }

    .tvsi-brand-mark {
        width: 72px;
        height: 48px;
    }

    .tvsi-cta-btn {
        min-height: 42px;
        padding: 0 12px;
        font-size: 0;
        border-radius: 999px;
    }

    .tvsi-cta-btn i {
        margin: 0;
        font-size: 1.1rem;
    }

    .tvsi-page-wrap {
        padding-bottom: 104px;
    }

    .tvsi-shell {
        width: min(1460px, calc(100% - 18px));
    }

    .tvsi-dimension-grid {
        grid-template-columns: 1fr;
    }

    .tvsi-sticky-summary {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }

    .tvsi-final-visual-overlay,
    .tvsi-scene-overlay {
        grid-template-columns: 1fr;
    }

    .tvsi-scene-meta {
        grid-template-columns: 1fr;
    }

    .tvsi-diagram-canvas,
    .tvsi-diagram-canvas-large {
        height: 248px;
    }

    .tvsi-form-command {
        border-radius: 14px 14px 0 0;
    }

    .tvsi-form-command h1 {
        font-size: 1.42rem;
    }

    .tvsi-form-command-meta span {
        width: 100%;
        justify-content: center;
    }

    .tvsi-form-section-head {
        gap: 8px;
    }

    .tvsi-form-section-head > i {
        display: none;
    }

    .tvsi-section-index {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .tvsi-pro-unit .form-select {
        max-width: 76px;
    }

    .tvsi-studio-hero {
        min-height: 0;
        padding: 18px 18px 16px;
        border-radius: 16px 16px 0 0;
        gap: 14px;
        box-shadow: 0 18px 36px rgba(9, 14, 23, 0.2);
    }

    .tvsi-studio-hero-copy h1 {
        font-size: 1.5rem;
        line-height: 1.12;
    }

    .tvsi-studio-hero-copy span {
        margin-bottom: 6px;
        font-size: 0.66rem;
    }

    .tvsi-studio-status,
    .tvsi-field-grid,
    .tvsi-field-grid-three,
    .tvsi-field-grid-two,
    .tvsi-metric-grid {
        grid-template-columns: 1fr;
    }

    .tvsi-studio-status div {
        min-height: 48px;
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        border-radius: 12px;
    }

    .tvsi-studio-status i {
        margin: 0;
    }

    .tvsi-studio-status strong {
        font-size: 0.75rem;
    }

    .tvsi-studio-form {
        border-radius: 0 0 18px 18px;
        box-shadow: 0 18px 38px rgba(16, 32, 57, 0.08);
    }

    .tvsi-form-row {
        min-height: 0;
    }

    .tvsi-form-rail {
        position: sticky;
        top: 84px;
        z-index: 40;
        padding: 11px 14px;
        background: rgba(248, 250, 252, 0.92);
        backdrop-filter: blur(12px);
    }

    .tvsi-form-rail span {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-size: 0.72rem;
    }

    .tvsi-form-rail strong {
        font-size: 0.88rem;
    }

    .tvsi-field-grid,
    .tvsi-field-grid-three,
    .tvsi-field-grid-two,
    .tvsi-metric-grid {
        gap: 14px;
        padding: 16px 14px 18px;
    }

    .tvsi-field > span,
    .tvsi-metric-field > span {
        margin-bottom: 7px;
        font-size: 0.7rem;
        letter-spacing: 0.04em;
    }

    .tvsi-control-shell {
        min-height: 54px;
        grid-template-columns: 38px minmax(0, 1fr);
        border-radius: 15px;
        background: #ffffff;
    }

    .tvsi-control-shell input,
    .tvsi-control-shell select,
    .tvsi-custom-select-trigger {
        min-height: 52px;
        height: 52px;
        font-size: 0.95rem;
    }

    .tvsi-metric-field > div {
        min-height: 54px;
        grid-template-columns: minmax(0, 1fr) 82px;
        border-radius: 16px;
    }

    .tvsi-metric-field input {
        font-size: 0.95rem;
    }

    .tvsi-metric-field .tvsi-custom-select-trigger {
        min-height: 52px;
        height: 52px;
        padding-inline: 12px 22px;
    }

    .tvsi-custom-select-menu {
        left: -38px;
        right: -1px;
        top: calc(100% + 8px);
        max-height: min(300px, 46vh);
        border-radius: 16px;
        padding: 8px;
    }

    .tvsi-metric-field .tvsi-custom-select-menu {
        min-width: 108px;
        max-height: 210px;
    }

    .tvsi-custom-select-option {
        min-height: 44px;
        font-size: 0.9rem;
    }

    .tvsi-studio-actions {
        position: fixed;
        left: 9px;
        right: 9px;
        bottom: 10px;
        z-index: 1050;
        min-height: 76px;
        padding: 10px;
        border: 1px solid rgba(209, 219, 232, 0.9);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
    }

    .tvsi-studio-actions > div {
        display: none;
    }

    .tvsi-studio-submit {
        min-height: 56px;
        border-radius: 16px;
        font-size: 0.95rem;
    }

    .tvsi-footer-copy {
        display: none;
    }
}
