:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.5;font-weight:400;color:var(--tg-theme-text-color, #1c1e21);background-color:var(--tg-theme-bg-color, #f2f4f8)}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh}#root{min-height:100vh}.app-shell{min-height:100vh;padding:1rem 1rem 2rem;max-width:28rem;margin:0 auto}.intro-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.25rem}.intro-top h1{margin:0}.lang-select-wrap{flex-shrink:0}.lang-select{font:inherit;font-size:.875rem;padding:.375rem .5rem;border-radius:.5rem;border:1px solid var(--tg-theme-secondary-bg-color, #e5e7eb);background:var(--tg-theme-secondary-bg-color, #fff);color:var(--tg-theme-text-color, #111);cursor:pointer}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}h1{font-size:1.5rem;font-weight:700;margin:0 0 .5rem}.subtitle{color:var(--tg-theme-hint-color, #6b7280);font-size:.9375rem;margin-bottom:1rem}.btn-primary{display:inline-block;width:100%;padding:.875rem 1rem;border:none;border-radius:.75rem;font-size:1rem;font-weight:600;cursor:pointer;background:var(--tg-theme-button-color, #2481cc);color:var(--tg-theme-button-text-color, #fff)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{margin-top:.75rem;width:100%;padding:.75rem;border-radius:.75rem;border:1px solid var(--tg-theme-hint-color, #ccc);background:var(--tg-theme-secondary-bg-color, #fff);color:var(--tg-theme-text-color, #111);font-size:.9375rem;cursor:pointer}.progress-wrap{margin-bottom:1rem}.progress-bar{height:6px;border-radius:3px;background:var(--tg-theme-secondary-bg-color, #e5e7eb);overflow:hidden}.progress-fill{height:100%;background:var(--tg-theme-button-color, #2481cc);transition:width .2s ease}.question-title{font-size:1.125rem;font-weight:600;margin-bottom:1rem}.option-list{display:flex;flex-direction:column;gap:.5rem}.option-btn{text-align:left;padding:.75rem 1rem;border-radius:.75rem;border:2px solid var(--tg-theme-secondary-bg-color, #e5e7eb);background:var(--tg-theme-secondary-bg-color, #fff);color:var(--tg-theme-text-color, #111);font-size:.9375rem;cursor:pointer}.option-btn.selected{border-color:var(--tg-theme-button-color, #2481cc);background:#2481cc1f}.nav-row{display:flex;gap:.5rem;margin-top:1.25rem}.nav-row .btn-secondary{margin-top:0;flex:1}.result-eyebrow{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--tg-theme-hint-color, #6b7280);text-align:center;margin-bottom:.25rem}.result-name{font-size:clamp(1.75rem,8vw,2.25rem);font-weight:800;text-align:center;line-height:1.15;margin-bottom:.75rem}.result-slogan{font-size:1rem;font-weight:600;text-align:center;margin-bottom:1.25rem;padding:0 .25rem}.matches-block{background:var(--tg-theme-secondary-bg-color, #fff);border-radius:.75rem;padding:.875rem 1rem;margin-bottom:1rem}.matches-label{font-size:.8125rem;font-weight:600;color:var(--tg-theme-hint-color, #6b7280);margin-bottom:.375rem}.match-line{font-size:.9375rem}.traits-list{list-style:none;padding:0;margin:0}.traits-list li{position:relative;padding-left:1rem;margin-bottom:.375rem;font-size:.9375rem}.traits-list li:before{content:"•";position:absolute;left:0}.copy-block{margin-top:1rem}.copy-block textarea{width:100%;min-height:8rem;padding:.75rem;border-radius:.5rem;border:1px solid var(--tg-theme-secondary-bg-color, #e5e7eb);font-size:.8125rem;font-family:inherit;resize:vertical;background:var(--tg-theme-bg-color, #fafafa);color:var(--tg-theme-text-color, #111)}.hint{font-size:.8125rem;color:var(--tg-theme-hint-color, #6b7280);margin-top:.5rem}
