:root{--bg: #FDFBF7;--bg-soft: #F5F0E8;--bg-dark: #2D2A26;--text: #2D2A26;--text-soft: #7A7468;--text-mute: #A89E8E;--accent: #B8860B;--accent-soft: rgba(184, 134, 11, .12);--accent-strong: rgba(184, 134, 11, .6);--line: #E8E2D9;--line-strong: #D4C9B8;--error: #B43A3A;--white: #FFFFFF;--shadow-card: 0 4px 16px rgba(45, 42, 38, .06);--shadow-card-active: 0 8px 24px rgba(184, 134, 11, .18);--radius: 4px;--radius-lg: 6px;--font-serif: "Playfair Display", Georgia, "Times New Roman", serif;--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}*,*:before,*:after{box-sizing:border-box}html,body,#root,#form-app{height:100%}body{margin:0;font-family:var(--font-sans);font-size:16px;line-height:1.55;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button{font:inherit;cursor:pointer}input,textarea{font:inherit;color:inherit}img{max-width:100%;height:auto;display:block}#form-app{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.welcome{flex:1;display:flex;align-items:center;justify-content:center;padding:48px 24px calc(48px + env(safe-area-inset-bottom,0));background:radial-gradient(ellipse 80% 60% at 50% 0%,var(--accent-soft) 0%,transparent 60%),var(--bg)}.welcome__inner{width:100%;max-width:460px;text-align:center}.welcome__inner--restore{max-width:380px}.welcome__eyebrow{font-size:11px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--accent);margin:0 0 24px}.welcome__title{font-family:var(--font-serif);font-weight:500;font-size:34px;line-height:1.1;letter-spacing:-.02em;margin:0 0 24px;color:var(--text)}.welcome__rule{display:block;width:48px;height:1px;background:var(--accent);margin:0 auto 24px;border:0}.welcome__subtitle{font-size:16px;line-height:1.55;color:var(--text-soft);margin:0 0 32px}.welcome__steps{list-style:none;padding:0;margin:0 0 32px;display:grid;gap:18px;text-align:left}.welcome__step{display:flex;align-items:flex-start;gap:16px}.welcome__step-icon{flex-shrink:0;width:42px;height:42px;border:1px solid var(--line-strong);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--accent);background:var(--white)}.welcome__step-icon svg{width:22px;height:22px}.welcome__step-body{display:flex;flex-direction:column;gap:2px}.welcome__step-title{font-family:var(--font-serif);font-weight:500;font-size:17px;line-height:1.3;color:var(--text)}.welcome__step-text{font-size:13px;color:var(--text-soft);letter-spacing:.01em}.welcome__trust{font-size:13px;color:var(--text-soft);background:var(--bg-soft);border-left:2px solid var(--accent);padding:14px 16px;margin:0 0 24px;text-align:left;line-height:1.5}.welcome__fineprint{font-size:11px;color:var(--text-mute);letter-spacing:.18em;text-transform:uppercase;margin:16px 0 0}.welcome__textlink{display:inline-block;background:none;border:0;color:var(--text-soft);font-size:14px;text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:4px;margin-top:16px;padding:8px 12px}.welcome__textlink:hover{color:var(--accent)}@media(min-width:768px){.welcome__title{font-size:44px}.welcome__steps{gap:22px}}.form-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:16px 32px;font-family:var(--font-sans);font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;border:0;border-radius:var(--radius);background:var(--bg-dark);color:#fff;transition:background-color .2s ease,opacity .2s ease}.form-btn--block{width:100%}.form-btn--primary{background:var(--bg-dark);color:#fff}.form-btn--primary:hover:not(:disabled),.form-btn--primary:focus-visible:not(:disabled){background:var(--accent)}.form-btn--ghost{background:transparent;color:var(--text);border:1px solid var(--line-strong)}.form-btn:disabled{opacity:.4;cursor:not-allowed}.form-btn:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.step{flex:1;display:flex;flex-direction:column;padding:16px 20px calc(20px + env(safe-area-inset-bottom,0));max-width:560px;margin:0 auto;width:100%}.step__header{display:flex;align-items:center;gap:12px;margin-bottom:24px}.step__back,.step__skip{background:none;border:0;padding:8px;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius);color:var(--text-soft);font-size:13px;letter-spacing:.04em;transition:color .2s ease,background-color .2s ease}.step__back svg{width:18px;height:18px}.step__back:hover,.step__skip:hover{color:var(--accent);background:var(--accent-soft)}.step__back--placeholder,.step__skip--placeholder{visibility:hidden}.step__body{flex:1;display:flex;flex-direction:column}.step__title{font-family:var(--font-serif);font-weight:500;font-size:26px;line-height:1.2;letter-spacing:-.01em;margin:8px 0;color:var(--text)}.step__hint{font-size:14px;color:var(--text-soft);margin:0 0 24px}.step__content{display:flex;flex-direction:column;gap:16px}.step__footer{margin-top:24px;padding-top:16px}.step__footer .contact__consent{margin:16px 0 0}.step__textlink{background:none;border:0;color:var(--text-soft);font-size:14px;text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:4px;align-self:center;padding:12px 16px;margin-top:4px}.step__textlink:hover{color:var(--accent)}@media(min-width:768px){.step{padding:32px 24px;max-width:640px}.step__title{font-size:32px}}.progress{flex:1;display:flex;flex-direction:column;gap:6px}.progress__label{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-mute);font-weight:500;text-align:center}.progress__track{height:2px;background:var(--line);position:relative;overflow:hidden}.progress__fill{height:100%;background:var(--accent);transition:width .3s ease}.grid{display:grid;gap:12px}.grid--2,.grid--3{grid-template-columns:1fr 1fr}.grid--list{grid-template-columns:1fr}@media(min-width:480px){.grid--3{grid-template-columns:repeat(3,1fr)}}.card{position:relative;display:flex;align-items:flex-start;gap:14px;padding:18px 16px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);text-align:left;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;min-height:88px;width:100%}.card:hover{border-color:var(--accent-strong);box-shadow:var(--shadow-card)}.card.is-selected{border-color:var(--accent);box-shadow:var(--shadow-card-active);background:linear-gradient(0deg,var(--accent-soft),var(--accent-soft)),var(--white)}.card__icon{flex-shrink:0;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:var(--text)}.card__icon svg{width:100%;height:100%}.card__body{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.card__title{font-family:var(--font-serif);font-weight:500;font-size:17px;line-height:1.25;color:var(--text);letter-spacing:-.01em}.card__hint{font-size:13px;color:var(--text-soft);line-height:1.4}.card__meta{font-size:11px;color:var(--text-mute);letter-spacing:.04em;margin-top:4px}.card__badge{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:2px}.card__check{position:absolute;top:12px;right:12px;width:22px;height:22px;border-radius:50%;border:1px solid var(--line-strong);background:var(--white);display:inline-flex;align-items:center;justify-content:center;color:transparent;transition:all .2s ease}.card__check svg{width:12px;height:12px}.card.is-selected .card__check{background:var(--accent);border-color:var(--accent);color:#fff}.card--visual{flex-direction:column;align-items:center;text-align:center;padding:22px 14px;min-height:140px}.card--visual .card__icon{width:56px;height:56px;margin-bottom:4px}.card--row{align-items:center}.card--row .card__icon{width:40px;height:40px}.card--compact{flex-direction:column;align-items:center;text-align:center;padding:16px 8px;min-height:100px;gap:8px}.card--compact .card__icon{width:36px;height:36px}.card--compact .card__title{font-size:14px;font-family:var(--font-sans);font-weight:500}.style-card{position:relative;display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;padding:0;text-align:left;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;width:100%}.style-card:hover{border-color:var(--accent-strong);box-shadow:var(--shadow-card)}.style-card.is-selected{border-color:var(--accent);box-shadow:var(--shadow-card-active)}.style-card__media{position:relative;width:100%;aspect-ratio:4 / 3;background:var(--bg-soft);overflow:hidden}.style-card__img{width:100%;height:100%;object-fit:cover;display:block}.style-card__check{position:absolute;top:10px;right:10px;width:28px;height:28px;border-radius:50%;background:#ffffffe6;border:1px solid rgba(255,255,255,.6);display:inline-flex;align-items:center;justify-content:center;color:transparent;transition:all .2s ease}.style-card__check svg{width:14px;height:14px}.style-card.is-selected .style-card__check{background:var(--accent);border-color:var(--accent);color:#fff}.style-card__label{font-family:var(--font-serif);font-weight:500;font-size:17px;letter-spacing:-.01em;padding:14px 16px;color:var(--text)}.checkbox{display:inline-flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);cursor:pointer;transition:border-color .2s ease,background .2s ease;font-size:15px}.checkbox:hover{border-color:var(--accent-strong)}.checkbox.is-checked{border-color:var(--accent);background:linear-gradient(0deg,var(--accent-soft),var(--accent-soft)),var(--white)}.checkbox input{position:absolute;opacity:0;pointer-events:none}.checkbox__box{width:20px;height:20px;border:1px solid var(--line-strong);border-radius:3px;display:inline-flex;align-items:center;justify-content:center;background:var(--white);color:transparent;transition:all .2s ease;flex-shrink:0}.checkbox__box svg{width:12px;height:12px}.checkbox.is-checked .checkbox__box{background:var(--accent);border-color:var(--accent);color:#fff}.checkbox__label{color:var(--text)}.refs{display:flex;flex-direction:column;gap:16px}.refs__photos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ref-photo{position:relative;aspect-ratio:1 / 1;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:var(--bg-soft)}.ref-photo img{width:100%;height:100%;object-fit:cover}.ref-photo__remove{position:absolute;top:6px;right:6px;width:28px;height:28px;border:0;border-radius:50%;background:#0009;color:#fff;display:inline-flex;align-items:center;justify-content:center}.ref-photo__remove svg{width:14px;height:14px}.ref-photo--add{border:1px dashed var(--line-strong);background:var(--white);color:var(--text-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;letter-spacing:.04em;text-align:center;padding:4px;transition:border-color .2s ease,color .2s ease}.ref-photo--add:hover{border-color:var(--accent);color:var(--accent)}.ref-photo--add svg{width:18px;height:18px}.refs__hint{font-size:12px;color:var(--text-mute);letter-spacing:.04em;margin:0}.refs__link-label{display:block;font-size:11px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--text-soft);margin:8px 0}.refs__link-row{display:flex;gap:8px}.refs__link-add{flex-shrink:0;width:48px;height:48px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--white);color:var(--text);display:inline-flex;align-items:center;justify-content:center}.refs__link-add:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.refs__link-add:disabled{opacity:.4;cursor:not-allowed}.refs__link-add svg{width:16px;height:16px}.refs__link-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.refs__link-item{display:flex;align-items:center;gap:8px;padding:10px 12px;background:var(--bg-soft);border-radius:var(--radius);font-size:13px;color:var(--text-soft)}.refs__link-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.refs__link-item button{background:none;border:0;color:var(--text-mute);display:inline-flex;align-items:center;justify-content:center;padding:4px}.refs__link-item button:hover{color:var(--error)}.refs__link-item button svg{width:14px;height:14px}.text-input{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--white);font-size:16px;color:var(--text);transition:border-color .2s ease,box-shadow .2s ease}.text-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.text-input.is-invalid{border-color:var(--error)}.contact{display:flex;flex-direction:column;gap:20px}.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--line-strong);border-radius:var(--radius);overflow:hidden;padding:0;background:var(--white)}.tabs__tab{background:var(--white);border:0;padding:14px 8px;font-size:13px;font-weight:500;letter-spacing:.04em;color:var(--text-soft);border-right:1px solid var(--line);transition:background .2s ease,color .2s ease}.tabs__tab:last-child{border-right:0}.tabs__tab.is-active{background:var(--bg-dark);color:#fff}.field{display:flex;flex-direction:column;gap:6px}.field__label{font-size:11px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--text-soft)}.field__error{font-size:12px;color:var(--error);letter-spacing:.02em;margin-top:2px}.contact__consent{font-size:11px;color:var(--text-mute);letter-spacing:.02em;text-align:center;margin:0;line-height:1.5}.contact__consent a{color:var(--text-soft);text-decoration:underline;text-underline-offset:2px}.contact__consent a:hover{color:var(--accent)}.contact__error{font-size:13px;color:var(--error);background:#b43a3a14;border-left:2px solid var(--error);padding:10px 14px;margin:0}.confirm{flex:1;display:flex;align-items:center;justify-content:center;padding:48px 24px calc(48px + env(safe-area-inset-bottom,0));background:radial-gradient(ellipse 80% 60% at 50% 0%,var(--accent-soft) 0%,transparent 60%),var(--bg)}.confirm__inner{width:100%;max-width:480px;text-align:center}.confirm__check{width:72px;height:72px;margin:0 auto 24px;color:var(--accent)}.confirm__check svg{width:100%;height:100%}.confirm__eyebrow{font-size:11px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--accent);margin:0 0 16px}.confirm__title{font-family:var(--font-serif);font-weight:500;font-size:36px;line-height:1.1;letter-spacing:-.02em;margin:0 0 24px;color:var(--text)}.confirm__rule{display:block;width:48px;height:1px;background:var(--accent);margin:0 auto 24px;border:0}.confirm__subtitle{font-size:16px;color:var(--text-soft);margin:0 0 32px;line-height:1.55}.confirm__summary{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:20px;text-align:left;margin:0 0 24px}.confirm__summary-title{font-family:var(--font-serif);font-weight:500;font-size:16px;margin:0 0 12px;color:var(--text);letter-spacing:-.01em}.confirm__list{margin:0;padding:0}.confirm__row{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}.confirm__row:last-child{border-bottom:0}.confirm__row dt{color:var(--text-soft);font-weight:400;flex-shrink:0}.confirm__row dd{margin:0;color:var(--text);text-align:right;font-weight:500}.confirm__share{background:none;border:1px solid var(--line-strong);color:var(--text);padding:14px 24px;border-radius:var(--radius);font-size:13px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;transition:border-color .2s ease,color .2s ease}.confirm__share:hover{border-color:var(--accent);color:var(--accent)}@media(min-width:768px){.confirm__title{font-size:44px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
