/* FILE-VERSION: 1.23.1 · стерильная копия, исходник с комментариями — в зеркале */
@font-face{font-family:'PT Serif';font-style:normal;font-weight:400;font-display:swap;
src:url('/fonts/pt-serif-cyrillic-400.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:400;font-display:swap;
src:url('/fonts/pt-serif-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:700;font-display:swap;
src:url('/fonts/pt-serif-cyrillic-700.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:700;font-display:swap;
src:url('/fonts/pt-serif-latin-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;
src:url('/fonts/manrope-cyrillic-400.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;
src:url('/fonts/manrope-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;
src:url('/fonts/manrope-cyrillic-500.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;
src:url('/fonts/manrope-latin-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;
src:url('/fonts/manrope-cyrillic-600.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;
src:url('/fonts/manrope-latin-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;
src:url('/fonts/manrope-cyrillic-700.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;
src:url('/fonts/manrope-latin-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;
src:url('/fonts/ibm-plex-mono-cyrillic-400.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;
src:url('/fonts/ibm-plex-mono-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;
src:url('/fonts/ibm-plex-mono-cyrillic-500.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;
src:url('/fonts/ibm-plex-mono-latin-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Noto Serif JP';font-style:normal;font-weight:500;font-display:swap;
src:url('/fonts/noto-serif-jp-500.woff2') format('woff2');unicode-range:U+3000-303F, U+3040-309F, U+30A0-30FF, U+4E00-9FFF, U+FF00-FFEF;}
@font-face{font-family:'Noto Serif JP';font-style:normal;font-weight:700;font-display:swap;
src:url('/fonts/noto-serif-jp-700.woff2') format('woff2');unicode-range:U+3000-303F, U+3040-309F, U+30A0-30FF, U+4E00-9FFF, U+FF00-FFEF;}
:root{
--paper:#F2EDE1;
--paper-deep:#E9E1CC;
--line:#D3C6A6;
--ink:#211E1A;
--muted:#6E6656;
--indigo:#2B3A5C;
--indigo-deep:#1B2740;
--hanko:#AE342A;
--hanko-deep:#8A2A22;
--gold:#A5822E;
--focus:#1B4B91;
--seal-green:#3F6B4F;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
html{scroll-behavior:auto;}
*{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
}
body{
margin:0;
background:var(--paper);
color:var(--ink);
font-family:'Manrope',sans-serif;
line-height:1.55;
background-image:
radial-gradient(circle at 1px 1px, rgba(43,58,92,0.06) 1px, transparent 0);
background-size:22px 22px;
}
a{color:var(--indigo);}
:focus-visible{outline:3px solid var(--focus); outline-offset:2px;}
.wrap{width:min(100% - var(--content-pad,clamp(16px,4vw,40px))*2, var(--content-max,1400px)); max-width:none; margin-inline:auto; padding:0;}
body.cabinet-mode .wrap, body.filling-mode .wrap, body.ej-draft-cabinet .wrap{
  width:min(100% - var(--content-pad,clamp(16px,4vw,40px))*2, var(--content-max-wide,1680px)); max-width:none;
}
.site-logo{
display:flex;
align-items:center;
gap:12px;
margin-bottom:22px;
}
.site-logo svg{display:block; width:64px; height:64px;}
.site-logo-text{
font-family:'PT Serif',serif;
font-size:34px;
font-weight:700;
color:var(--indigo);
letter-spacing:0.01em;
}
.site-footer{background:var(--paper); border-top:1px solid var(--line); margin-top:60px; padding-top:26px;}
.footer-inner{width:min(100% - var(--content-pad,clamp(16px,4vw,40px))*2, var(--content-max-wide,1680px)); max-width:none; margin-inline:auto; padding-bottom:34px;}
.footer-brand{font-family:'PT Serif',serif; font-weight:700; color:var(--indigo); font-size:15px;}
.footer-tagline{font-size:12.5px; color:var(--muted); margin-top:4px;}
.footer-logo-row{display:flex; align-items:center; gap:10px;}
.footer-flower{width:40px; height:40px; flex-shrink:0; display:block;}
.footer-cols{display:flex; gap:56px; flex-wrap:wrap; margin-top:26px;
justify-content:space-between;}
.footer-col{min-width:170px;}
.footer-col-title{font-size:11px; text-transform:uppercase; letter-spacing:0.07em;
color:var(--muted); font-weight:600; margin:0 0 10px;}
.footer-col ul{list-style:none; margin:0; padding:0;}
.footer-col li{margin-bottom:7px;}
.footer-col a{color:var(--ink); text-decoration:none; font-size:13px;
border-bottom:1px solid transparent;}
.footer-col a:hover{color:var(--indigo); border-bottom-color:var(--line);}
.footer-contacts{font-style:normal; font-size:13px; color:var(--ink); line-height:1.7;}
.footer-contact-item{display:block; margin-top:12px;}
.footer-contact-item a{display:block;}
.footer-hours{display:block; font-size:11.5px; color:var(--muted); margin-top:2px;}
.footer-legal{font-size:11.5px; color:var(--muted); margin:26px 0 0; line-height:1.6;}
@media (max-width:640px){
.footer-cols{gap:28px; flex-direction:column; justify-content:flex-start;}
}
.footer-bottom{background:var(--indigo); padding:14px 24px; margin-top:0;}
.footer-bottom-inner{width:min(100% - var(--content-pad,clamp(16px,4vw,40px))*2, var(--content-max-wide,1680px)); max-width:none; margin-inline:auto; font-size:11px; color:var(--paper); opacity:0.85;}
@media (max-width:480px){
.site-logo svg{width:40px; height:40px;}
.site-logo-text{font-size:22px;}
.site-logo{gap:8px; margin-bottom:16px;}
}
.eyebrow{
font-family:'IBM Plex Mono',monospace;
font-size:12.5px;
letter-spacing:0.14em;
text-transform:uppercase;
color:var(--indigo);
display:flex;
align-items:center;
gap:10px;
}
.eyebrow::before{
content:"";
width:22px; height:1px; background:var(--indigo);
display:inline-block;
}
.jp{
font-family:'Noto Serif JP',serif;
font-weight:600;
}
header.hero{
padding:64px 0 40px;
border-bottom:1px solid var(--line);
}
h1{
font-family:'PT Serif',serif;
font-weight:700;
font-size:clamp(34px,6vw,56px);
line-height:1.08;
margin:14px 0 8px;
letter-spacing:-0.01em;
}
.lede{
font-size:17px;
color:var(--muted);
max-width:56ch;
margin:0 0 8px;
}
.lede-paths{
display:grid; grid-template-columns:1fr 1px 1fr; gap:0 22px;
margin:18px 0 6px; align-items:start;
}
.lede-divider{background:var(--line); height:100%; min-height:130px;}
.lede-ornament{display:block; width:100%; height:20px; margin-bottom:10px;}
.lede-path-title{
margin:0 0 8px; font-family:'IBM Plex Mono',monospace;
font-size:12px; letter-spacing:0.14em; color:var(--indigo); font-weight:600;
}
.lede-path-list{
margin:0; padding-left:1.2em; font-size:15px; line-height:1.85; color:var(--ink);
}
.lede-path-list li{margin:0;}
.lede-mob{display:none;}
@media (max-width:560px){
.lede-paths{grid-template-columns:1fr; gap:16px;}
.lede-divider{height:1px; min-height:0; width:100%;}
.lede-desk{display:none;}
.lede-mob{display:inline;}
}
.passport-head{cursor:pointer; user-select:none;}
.passport.open .passport-head{margin-bottom:12px;}
.passport:not(.open) .passport-head{margin-bottom:0;}
.passport-body{display:none;}
.passport.open .passport-body{display:block;}
.passport-chevron{transition:transform .2s ease; display:inline-block; margin-left:8px;}
.passport.open .passport-chevron{transform:rotate(180deg);}
.passport-head-state{color:var(--indigo); text-transform:none; letter-spacing:0; font-family:'Manrope',sans-serif; font-weight:600;}
.passport.attn{animation:passportAttn .6s ease-in-out 2;}
@keyframes passportAttn{50%{background:rgba(43,58,92,0.10);}}
@media (prefers-reduced-motion:reduce){ .passport.attn{animation:none;} }
.sp-attn{animation:spAttn .6s ease-in-out 2;}
@keyframes spAttn{50%{background:rgba(43,58,92,0.12); box-shadow:0 0 0 3px rgba(43,58,92,0.25);}}
@media (prefers-reduced-motion:reduce){ .sp-attn{animation:none;} }
.mrz-ch{opacity:0; transition:opacity .16s linear;}
.mrz-ch.in{opacity:1;}
@media (prefers-reduced-motion:reduce){ .mrz-ch{transition:none; opacity:1;} }
select:focus{outline:none; border-color:var(--indigo);}
.offer-box.locked{opacity:0.55;}
.required-docs-hint{color:var(--muted); font-size:13px;}
.delivery-block{margin-top:22px; border-top:1px solid var(--line); padding-top:18px;}
.delivery-title{font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); margin:0 0 12px;}
.delivery-option{display:flex; align-items:center; justify-content:space-between; gap:12px;
width:100%; text-align:left; background:var(--paper); border:1px solid var(--line); border-radius:2px;
padding:16px 18px; margin-bottom:10px; cursor:pointer; font-family:'Manrope',sans-serif; font-size:17px; font-weight:600; color:var(--indigo);}
.delivery-option:hover{border-color:var(--indigo);}
.delivery-option .arrow{font-size:20px; color:var(--indigo); flex:none;}
.delivery-option.disabled{opacity:0.5; cursor:default;}
.delivery-option.disabled:hover{border-color:var(--line);}
.delivery-option small{display:block; font-size:13px; font-weight:400; color:var(--muted); margin-top:2px;}
.delivery-pane{margin:14px 0 4px; display:flex; flex-direction:column; gap:12px;}
.delivery-pvz{background:var(--paper-deep); border:1px solid var(--line); border-radius:2px; padding:12px 14px; font-size:14px; line-height:1.55;}
.delivery-pvz b{color:var(--indigo);}
.delivery-note{font-size:13px; color:var(--muted); margin:0;}
.delivery-cost-line{font-size:15px; font-weight:600; color:var(--indigo); margin:0;}
.delivery-btn{align-self:flex-start; background:var(--indigo); color:#fff; border:none; border-radius:2px;
padding:13px 22px; font-family:'Manrope',sans-serif; font-size:15px; font-weight:700; cursor:pointer;}
.delivery-btn:hover{background:var(--indigo-deep);}
.delivery-done{background:rgba(63,107,79,0.10); border:1px solid var(--seal-green); border-radius:2px; padding:12px 14px; font-size:14px; color:var(--seal-green);}
.offer-box{transition:opacity .25s ease;}
.lede-intro{
font-size:17px;
color:var(--muted);
margin:0 0 10px;
}
.lede-list{
list-style:none;
margin:0 0 14px;
padding:0;
display:flex;
flex-direction:column;
gap:7px;
}
.lede-list li{
display:flex;
align-items:baseline;
gap:10px;
font-size:16px;
color:var(--ink);
}
.lede-num{
font-size:19px;
color:var(--hanko);
flex-shrink:0;
line-height:1;
}
.lede-cta{
font-size:17px;
font-weight:700;
color:var(--indigo);
margin:14px 0 8px;
}
.passport{
margin-top:20px;
background:var(--paper-deep);
border:1px solid var(--line);
border-radius:2px;
padding:18px;
position:relative;
overflow:hidden;
}
.passport-head{
display:flex; justify-content:space-between; align-items:flex-start;
font-family:'IBM Plex Mono',monospace;
font-size:11.5px;
letter-spacing:0.08em;
text-transform:uppercase;
color:var(--muted);
margin-bottom:12px;
}
.field-label{
font-family:'IBM Plex Mono',monospace;
font-size:11.5px;
letter-spacing:0.1em;
text-transform:uppercase;
color:var(--muted);
display:block;
margin-bottom:8px;
}
select{
width:100%;
font-family:'Manrope',sans-serif;
font-size:16px;
font-weight:600;
padding:13px 14px;
background:var(--paper);
border:1px solid var(--line);
border-radius:1px;
color:var(--ink);
appearance:none;
background-image: linear-gradient(45deg, transparent 50%, var(--indigo) 50%), linear-gradient(135deg, var(--indigo) 50%, transparent 50%);
background-position: calc(100% - 20px) center, calc(100% - 14px) center;
background-size: 6px 6px, 6px 6px;
background-repeat:no-repeat;
}
select:hover{border-color:var(--indigo);}
.result{
margin-top:14px;
display:grid;
grid-template-columns:76px 1fr;
gap:14px;
align-items:center;
}
@keyframes stampSlam{
0%{transform:rotate(-9deg) scale(2.6); opacity:0;}
45%{transform:rotate(-9deg) scale(0.88); opacity:0.92;}
70%{transform:rotate(-9deg) scale(1.06);}
100%{transform:rotate(-9deg) scale(1); opacity:0.92;}
}
.stamp{
width:76px; height:76px;
border-radius:50%;
border:2.5px solid var(--stamp-color, var(--indigo));
color:var(--stamp-color, var(--indigo));
display:flex; align-items:center; justify-content:center;
text-align:center;
box-shadow:0 3px 10px rgba(43,58,92,0.18);
transform:rotate(-9deg) scale(0.7);
opacity:0;
}
.stamp.show{
opacity:0.92;
transform:rotate(-9deg) scale(1);
animation:stampSlam 0.55s cubic-bezier(.22,.9,.32,1);
}
.stamp-inner{
font-family:'Noto Serif JP',serif;
font-weight:700;
font-size:11px;
line-height:1.2;
}
.result-text{
opacity:0;
transform:translateY(6px);
transition:opacity 0.3s ease 0.08s, transform 0.3s ease 0.08s;
}
.result-text.show{opacity:1; transform:translateY(0);}
.result-text .status{
font-family:'PT Serif',serif;
font-size:17px;
font-weight:700;
margin:0 0 2px;
}
.result-text p{margin:0; color:var(--muted); font-size:13.5px;}
.hint{
margin-top:8px;
font-size:12px;
color:var(--muted);
}
section{padding:56px 0;}
section + section{border-top:1px solid var(--line);}
h2{
font-family:'PT Serif',serif;
font-size:clamp(24px,3.4vw,30px);
margin:0 0 10px;
}
.section-note{
color:var(--muted);
font-size:14.5px;
margin:0 0 28px;
}
.tabs{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
margin-bottom:8px;
}
.tab{
text-align:left;
background:var(--paper-deep);
border:1px solid var(--line);
padding:16px;
cursor:pointer;
font-family:'Manrope',sans-serif;
color:var(--ink);
}
.tab .tag{
font-family:'IBM Plex Mono',monospace;
font-size:10.5px;
letter-spacing:0.08em;
text-transform:uppercase;
color:var(--hanko);
display:block;
margin-bottom:6px;
}
.tab h3{
font-family:'PT Serif',serif;
font-size:16px;
margin:0 0 4px;
}
.tab p{font-size:13px; color:var(--muted); margin:0;}
.tab:hover{border-color:var(--indigo);}
.tab-disabled{
opacity:0.45;
cursor:not-allowed;
pointer-events:none;
}
.tab-disabled:hover{border-color:var(--line);}
.tab-disabled .tag{color:var(--muted) !important;}
.tab.active{
background:var(--indigo);
border-color:var(--indigo);
}
.tab.active .tag{color:#E7B49B;}
.tab.active h3, .tab.active p{color:var(--paper);}
.type-panel{
margin-top:28px;
padding-top:8px;
}
.type-panel .full-desc{
font-size:15px;
color:var(--muted);
margin:0 0 24px;
}
.required-docs-box{
margin:0 0 24px;
padding:14px 16px;
background:var(--paper-deep);
border-left:3px solid var(--gold);
}
.required-docs-title{
font-weight:700;
font-size:13.5px;
color:var(--ink);
margin:0 0 8px;
}
.required-docs-list{
list-style:none;
margin:0;
padding:0;
display:flex;
flex-direction:column;
gap:5px;
}
.required-docs-list li{
display:flex;
align-items:baseline;
gap:8px;
font-size:13px;
color:var(--ink);
max-height:40px;
overflow:hidden;
transition:max-height 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
}
.required-docs-list li.step-done{
max-height:0;
opacity:0;
margin:0;
}
.test-mode-note{
color:var(--hanko);
font-size:12px;
font-weight:600;
line-height:1.4;
margin:0 0 12px;
}
.required-docs-num{
color:var(--hanko);
font-size:15px;
flex-shrink:0;
line-height:1;
}
.required-docs-text{min-width:0;}
@media (max-width:560px){
.required-docs-opt, .required-docs-hint{display:none;}
}
.contact-fields{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:14px;
margin-bottom:20px;
}
.req-star{display:none;}
.fio-box{position:relative;}
.city-suggest-list{
position:absolute;
left:0; right:0; top:calc(100% + 2px);
background:var(--paper);
border:1px solid var(--indigo);
border-radius:1px;
max-height:220px;
overflow-y:auto;
z-index:50;
box-shadow:0 6px 16px rgba(33,30,26,0.18);
}
.city-suggest-item{
padding:8px 12px;
font-family:'Manrope',sans-serif;
font-size:14px;
cursor:pointer;
display:flex;
justify-content:space-between;
align-items:baseline;
gap:10px;
}
.city-suggest-item .city-suggest-name{color:var(--ink); font-weight:600;}
.city-suggest-item .city-suggest-region{color:var(--muted); font-size:12px; white-space:nowrap;}
.city-suggest-item:hover, .city-suggest-item.active{background:var(--paper-deep);}
.city-suggest-item + .city-suggest-item{border-top:1px solid var(--line);}
.edit-pencil-btn{
border:none; background:none; cursor:pointer; padding:4px; line-height:0;
flex-shrink:0; color:var(--muted); opacity:0.6;
border-radius:4px; transition:opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.edit-pencil-btn:hover{ opacity:1; color:var(--indigo); background:var(--paper-deep); }
.editable-field-group{display:inline-flex; align-items:flex-start; gap:2px; flex:1 1 auto; min-width:0;}
.readonly-inline-input{
border:none; background:transparent; font-weight:bold; font-family:inherit;
font-size:14px; color:inherit; padding:2px 4px;
flex:1 1 auto; width:auto; min-width:0;
}
.readonly-inline-input[readonly]{
white-space:normal; overflow-wrap:anywhere; word-break:break-word;
resize:none; overflow:hidden; line-height:1.4; cursor:text;
}
textarea.readonly-inline-input{ display:block; }
.fio-input{
width:100%;
font-family:'Manrope',sans-serif;
font-size:15px;
font-weight:600;
padding:10px 12px;
background:var(--paper-deep);
border:1px solid var(--line);
border-radius:1px;
color:var(--ink);
}
.fio-input:hover{border-color:var(--indigo);}
.fio-input.valid{border-color:var(--indigo); background:rgba(43,58,92,0.05);}
.fio-input.invalid{border-color:var(--hanko);}
select.fio-input{
appearance:none;
cursor:pointer;
background-image: linear-gradient(45deg, transparent 50%, var(--indigo) 50%), linear-gradient(135deg, var(--indigo) 50%, transparent 50%);
background-position: calc(100% - 18px) center, calc(100% - 13px) center;
background-size: 5px 5px, 5px 5px;
background-repeat:no-repeat;
padding-right:34px;
}
.phone-input-wrap{position:relative;}
.phone-flag{
position:absolute;
left:12px;
top:50%;
transform:translateY(-50%);
font-size:18px;
line-height:1;
pointer-events:none;
}
.phone-input{padding-left:38px;}
.fio-msg{
margin:4px 0 0;
font-size:12px;
min-height:14px;
}
.fio-msg.ok{color:var(--indigo);}
.hotel-suggestions{
position:relative;
margin-top:-10px;
margin-bottom:14px;
border:1px solid var(--line);
background:var(--paper);
max-height:220px;
overflow-y:auto;
}
.first-hotel-warning{
margin:10px 0 14px;
padding:10px 14px;
background:#FBEAEA;
border:1px solid rgba(174,52,42,0.18);
border-radius:12px;
color:var(--hanko);
font-size:13px;
font-weight:500;
box-shadow:0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
animation:firstHotelBlink 1.1s ease-in-out;
animation-fill-mode:forwards;
transition:opacity 0.4s ease;
}
.first-hotel-warning.fading-out{
opacity:0;
}
.fio-input.field-attention{
border-color:var(--gold);
box-shadow:0 0 0 3px rgba(165,130,46,0.15);
animation:ejFieldAttention 1.2s ease-in-out 3;
}
@keyframes ejFieldAttention{
0%{box-shadow:0 0 0 3px rgba(165,130,46,0.15);}
50%{box-shadow:0 0 0 6px rgba(165,130,46,0.45);}
100%{box-shadow:0 0 0 3px rgba(165,130,46,0.15);}
}
@keyframes firstHotelBlink{
0%{opacity:0;}
8%{opacity:1;}
20%{opacity:0.15;}
33%{opacity:1;}
46%{opacity:0.15;}
59%{opacity:1;}
72%{opacity:0.15;}
100%{opacity:1;}
}
.hotel-suggestion-item{
padding:10px 14px;
cursor:pointer;
border-bottom:1px solid var(--line);
font-size:13px;
}
.hotel-suggestion-item:last-child{border-bottom:none;}
.hotel-suggestion-item:hover{background:var(--paper-deep);}
.hotel-suggestion-item .hs-name{font-weight:600; color:var(--ink);}
.hotel-suggestion-item .hs-address{color:var(--muted); font-size:12px; margin-top:2px;}
.fio-msg.err{color:var(--hanko);}
.service-mode-section{margin-bottom:28px;}
.service-mode-row{
display:flex;
gap:14px;
}
.service-mode-btn{
flex:1;
position:relative;
overflow:hidden;
min-height:150px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:8px;
padding:22px 20px;
background:var(--paper-deep);
border:1px solid var(--line);
cursor:pointer;
text-align:center;
transition:border-color 0.15s ease, background 0.15s ease;
}
.service-mode-btn:hover{border-color:var(--indigo);}
.service-mode-btn.active{border-color:var(--indigo); border-width:2px; background:rgba(43,58,92,0.06);}
.service-mode-btn.mode-disabled{opacity:0.55; filter:grayscale(0.5); cursor:not-allowed;}
.service-mode-btn.mode-disabled:hover{border-color:var(--line);}
.mode-disabled-badge{
display:inline-block;
padding:3px 10px;
border:1px solid var(--line);
border-radius:2px;
font-size:0.78rem;
letter-spacing:0.04em;
color:var(--muted);
background:var(--paper);
}
.service-mode-bg{
position:absolute;
inset:0;
width:100%;
height:100%;
z-index:0;
}
.service-mode-title{
position:relative;
z-index:1;
font-family:'PT Serif',serif;
font-size:18px;
font-weight:700;
color:var(--ink);
}
.service-mode-sub{
position:relative;
z-index:1;
font-size:12.5px;
color:var(--muted);
max-width:32ch;
line-height:1.4;
}
.service-mode-price{
position:relative;
z-index:1;
display:inline-block;
font-family:'PT Serif',serif;
font-size:19px;
font-weight:700;
color:var(--hanko);
letter-spacing:0.01em;
margin:4px 0 6px;
}
.panel-toggle-row{
display:flex;
gap:10px;
margin-bottom:8px;
}
.panel-toggle-btn{
flex:1;
font-family:'Manrope',sans-serif;
font-size:14.5px;
font-weight:700;
padding:24px 12px;
background:var(--paper-deep);
border:1px solid var(--line);
color:var(--ink);
cursor:pointer;
text-align:center;
line-height:1.3;
transition:background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.panel-toggle-btn:hover{border-color:var(--indigo);}
.panel-toggle-btn.active{background:var(--indigo); border-color:var(--indigo); color:var(--paper);}
.service-steps-scheme{
display:flex;
align-items:flex-start;
justify-content:center;
flex-wrap:nowrap;
gap:0;
margin:8px 0 4px;
width:100%;
position:sticky;
top:var(--ej-rail-h, 0px);
z-index:130;
background:rgba(242,237,225,0.94);
backdrop-filter:blur(8px);
-webkit-backdrop-filter:blur(8px);
padding:6px 0;
}
.service-step{
display:flex;
flex-direction:column;
align-items:center;
gap:6px;
cursor:pointer;
flex:1 1 0;
min-width:0;
max-width:140px;
text-align:center;
}
.service-step-num{
width:34px;
height:34px;
border-radius:50%;
background:var(--paper-deep);
border:2px solid var(--line);
display:flex;
align-items:center;
justify-content:center;
font-family:'PT Serif',serif;
font-size:15px;
font-weight:700;
color:var(--muted);
transition:background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
flex-shrink:0;
}
.service-step:hover .service-step-num{border-color:var(--indigo);}
.service-step.active .service-step-num{background:var(--indigo); border-color:var(--indigo); color:var(--paper);}
.service-step.done .service-step-num{background:var(--hanko); border-color:var(--hanko); color:var(--paper);}
.service-step-label{
font-family:'Manrope',sans-serif;
font-size:11.5px;
line-height:1.25;
color:var(--muted);
word-break:break-word;
padding:0 2px;
}
.service-step.active .service-step-label{color:var(--indigo); font-weight:700;}
.service-step.done .service-step-label{color:var(--hanko);}
.service-step-connector{
flex:0 1 32px;
min-width:8px;
height:2px;
background:var(--line);
margin-top:17px;
}
.service-step-connector.done{background:var(--hanko);}
@media (max-width:600px){
.service-step-num{width:28px; height:28px; font-size:13px;}
.service-step-label{font-size:9.5px;}
.service-step-connector{flex:0 1 14px; min-width:4px; margin-top:14px;}
}
@media (max-width:360px){
.service-step-label{font-size:8.5px;}
.service-step-num{width:24px; height:24px; font-size:12px;}
.service-step-connector{margin-top:12px;}
}
.collapsible-panel{
max-height:0;
overflow:hidden;
opacity:0;
scroll-margin-top:72px;
position:relative;
transition:max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.collapsible-panel.open{
max-height:6000px;
opacity:1;
margin-top:24px;
}
.mrz-scan-box{
margin-top:20px;
margin-bottom:28px;
padding:18px;
background:var(--paper-deep);
border:1px dashed var(--indigo);
}
.mrz-scan-box .section-note{margin-bottom:14px;}
.anketa-section{margin-bottom:26px;}
.anketa-section:last-child{margin-bottom:0;}
.anketa-section-title{
font-family:'PT Serif',serif;
font-size:16px;
font-weight:700;
margin:0 0 14px;
padding-bottom:8px;
border-bottom:1px solid var(--line);
}
.anketa-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:14px 16px;
}
.anketa-wide{grid-column:1 / -1;}
.anketa-save-btn{
width:100%;
justify-content:center;
padding:14px 16px;
margin-top:6px;
font-size:15px;
}
.anketa-save-status{
text-align:center;
margin-top:12px;
min-height:0;
}
.checklist{
list-style:none;
margin:0; padding:0;
display:grid;
gap:0;
border-top:1px solid var(--line);
}
.checklist li{
display:grid;
grid-template-columns:22px 1fr;
gap:8px;
padding:16px 0;
border-bottom:1px solid var(--line);
align-items:start;
}
.checklist .box{
width:18px; height:18px;
border:1.5px solid var(--indigo);
margin-top:2px;
flex-shrink:0;
background:transparent;
padding:0;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
color:var(--paper);
transition:background 0.15s ease, border-color 0.15s ease;
}
.checklist .box:hover{border-color:var(--hanko);}
.checklist .box svg{
width:11px; height:11px;
opacity:0;
transform:scale(0.6);
transition:opacity 0.15s ease, transform 0.15s ease;
}
.checklist li.checked .box{background:var(--indigo); border-color:var(--indigo);}
.checklist li.checked .box svg{opacity:1; transform:scale(1);}
.checklist strong{font-weight:700;}
.checklist span.note{display:block; color:var(--muted); font-size:14px; margin-top:2px;}
.checklist li.extra .box{border-color:var(--gold);}
.checklist li.extra:not(.checked) .box{background:rgba(165,130,46,0.12);}
@keyframes docBlink{
0%, 100%{background:transparent;}
16%, 50%, 83%{background:rgba(43,58,92,0.14);}
33%, 66%{background:transparent;}
}
.checklist li.blink-anim{animation:docBlink 1s ease-in-out;}
.upload-panel{
max-height:0;
opacity:0;
overflow:hidden;
transition:max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
}
.checklist li.checked .upload-panel{
max-height:160px;
opacity:1;
margin-top:14px;
}
.upload-box{
background:var(--paper);
border:1px dashed var(--line);
padding:12px 14px;
}
.upload-label{
font-family:'IBM Plex Mono',monospace;
font-size:11px;
letter-spacing:0.08em;
text-transform:uppercase;
color:var(--muted);
display:block;
margin-bottom:10px;
}
.upload-row{
display:flex;
align-items:center;
gap:10px;
flex-wrap:nowrap;
}
.file-input-btn{
font-family:'Manrope',sans-serif;
font-size:13px;
font-weight:600;
padding:9px 14px;
background:var(--paper-deep);
border:1px solid var(--line);
cursor:pointer;
color:var(--ink);
line-height:1;
display:inline-flex;
align-items:center;
white-space:nowrap;
flex-shrink:0;
}
.file-input-btn:hover{border-color:var(--indigo);}
.upload-box input[type="file"]{ display:none; }
#consentRepBlock:not([hidden]){
display:flex;
flex-direction:column;
gap:16px;
}
.pricing-row-label{
display:block;
width:100%;
padding:10px 0;
margin:-10px 0;
cursor:pointer;
-webkit-user-select:none;
user-select:none;
}
.pricing-item-cb{ -webkit-appearance:none; appearance:none; flex:none; width:22px; height:22px; margin:0; border-radius:6px;
  border:1.5px solid var(--line); background:#fff; cursor:pointer; position:relative; vertical-align:middle;
  transition:background 0.12s ease, border-color 0.12s ease; }
.pricing-item-cb:checked{ background-color:var(--indigo); border-color:var(--indigo);
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5L4.3 8.5L11 1' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center; background-size:13px 11px; }
.pricing-item-cb:focus-visible{ box-shadow:0 0 0 3px rgba(43,58,92,0.18); outline:none; }
.pricing-item-cb:disabled{ opacity:.5; cursor:default; }
#sponsorBlock{ margin-top:16px; }
.sp-box{
border:1px solid var(--line);
border-radius:10px;
padding:20px 18px;
background:var(--paper-raised, var(--paper));
box-shadow:0 1px 3px rgba(60,50,30,.06);
display:flex;
flex-direction:column;
gap:8px;
}
.sp-lead{ font-size:15px; line-height:1.45; margin:0; }
.sp-sub{ font-size:13.5px; line-height:1.45; color:var(--muted); margin:0; }
.sp-price{
margin:0 0 16px;
padding-bottom:14px;
border-bottom:1px solid var(--line-soft, var(--line));
font-size:13px;
color:var(--muted);
display:flex;
align-items:baseline;
gap:9px;
}
.sp-price b{ font-size:30px; font-weight:600; color:var(--ink); letter-spacing:-.01em; }
.sp-buttons{ display:block; }
.sp-yes{
display:block;
width:100%;
background:var(--indigo);
color:#fff;
border:none;
border-radius:8px;
padding:15px;
font-size:16px;
font-weight:600;
cursor:pointer;
box-shadow:0 2px 6px rgba(43,58,92,.28);
}
.sp-yes:hover{ background:var(--indigo-deep); }
.sp-no{
display:block;
margin:14px auto 0;
background:none;
border:none;
border-bottom:1px dotted var(--line);
padding:0 0 1px;
font-size:14px;
color:var(--muted);
cursor:pointer;
}
.sp-no:hover{ color:var(--ink); }
.sp-radio{
display:flex;
align-items:flex-start;
gap:10px;
padding:9px 12px;
background:var(--paper);
border:1px solid var(--line);
cursor:pointer;
font-size:14px;
line-height:1.35;
}
.sp-radio:hover{ border-color:var(--indigo); }
.sp-radio input[type="radio"]{ margin:2px 0 0; flex-shrink:0; accent-color:var(--indigo); }
.sp-fio{ color:var(--muted); }
.sp-note{
font-size:13px;
line-height:1.45;
padding:10px 12px;
border-radius:2px;
background:var(--paper-2, #F1EFE8);
color:var(--ink);
}
.sp-ok{ color:#0F6E56; }
.pricing-note-row td{ padding:0 !important; border:0 !important; }
.pricing-note-wrap{ display:grid; grid-template-rows:0fr; opacity:0; transform:translateY(-4px);
  transition:grid-template-rows .38s ease, opacity .32s ease, transform .32s ease; }
.pricing-note-wrap.open{ grid-template-rows:1fr; opacity:1; transform:none; }
.pricing-note-wrap > div{ overflow:hidden; }
.pricing-note{ margin:0 0 8px; padding:12px 16px; font-size:13.5px; line-height:1.55;
  background:var(--paper-deep); border-left:3px solid var(--gold); color:var(--ink); }
@media (prefers-reduced-motion: reduce){ .pricing-note-wrap{ transition:none; } }
.sp-warn{ color:#854F0B; }
#consentRepChoice{ display:flex; flex-direction:column; gap:8px; }
#consentRepChoice .field-label{ margin-bottom:2px; }
.rep-choice{
display:flex;
align-items:flex-start;
gap:10px;
padding:9px 12px;
background:var(--paper);
border:1px solid var(--line);
cursor:pointer;
font-size:14px;
line-height:1.35;
}
.rep-choice:hover{ border-color:var(--indigo); }
.rep-choice input[type="radio"]{ margin:2px 0 0; flex-shrink:0; accent-color:var(--indigo); }
.rep-choice-fio{ color:var(--muted); }
.checklist input[type="file"]{
position:absolute;
width:1px; height:1px;
overflow:hidden;
clip:rect(0,0,0,0);
}
.file-name{
font-size:13px;
color:var(--muted);
flex:1 1 auto;
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}
.send-btn{
font-family:'Manrope',sans-serif;
font-size:13px;
font-weight:700;
padding:9px 16px;
background:var(--indigo);
color:var(--paper);
border:1px solid var(--indigo);
cursor:pointer;
line-height:1;
display:inline-flex;
align-items:center;
white-space:nowrap;
flex-shrink:0;
}
.send-btn:hover{background:var(--indigo-deep);}
.send-btn:disabled{
background:var(--paper-deep);
color:var(--muted);
border-color:var(--line);
cursor:default;
}
.send-btn[hidden], .file-input-btn[hidden], .panel-toggle-btn[hidden], .service-mode-btn[hidden]{
display:none !important;
}
.upload-status{
font-family:'IBM Plex Mono',monospace;
font-size:12.5px;
color:var(--indigo);
margin-top:10px;
}
.recognition-success{
display:flex; align-items:center; gap:10px;
margin-top:10px;
}
.recognition-success-icon{
flex-shrink:0;
width:22px; height:22px;
border-radius:50%;
border:1.5px solid var(--seal-green);
display:flex; align-items:center; justify-content:center;
}
.recognition-success-text{font-family:'Manrope',sans-serif;}
.recognition-success-text strong{color:var(--seal-green); font-weight:600;}
.recognition-success-text span{display:block; font-size:12px; color:var(--muted); margin-top:2px;}
.timeline{
list-style:none; margin:0; padding:0;
display:grid; gap:0;
}
.timeline li{
display:grid;
grid-template-columns:52px 1fr;
gap:18px;
padding-bottom:30px;
position:relative;
}
.timeline li::before{
content:"";
position:absolute;
left:25px; top:38px; bottom:0;
width:1px;
background:var(--line);
}
.timeline li:last-child::before{display:none;}
.num{
font-family:'IBM Plex Mono',monospace;
font-weight:500;
font-size:14px;
width:52px; height:52px;
border-radius:50%;
background:var(--indigo);
color:var(--paper);
display:flex; align-items:center; justify-content:center;
flex-shrink:0;
}
.timeline h3{
font-family:'PT Serif',serif;
font-size:18px;
margin:6px 0 6px;
}
.timeline p{margin:0; color:var(--muted); font-size:14.5px;}
table{
width:100%;
border-collapse:collapse;
font-size:14.5px;
}
th,td{
text-align:left;
padding:12px 10px;
border-bottom:1px solid var(--line);
}
th{
font-family:'IBM Plex Mono',monospace;
font-size:11px;
letter-spacing:0.06em;
text-transform:uppercase;
color:var(--muted);
font-weight:500;
}
.th-sub{
display:block;
margin-top:3px;
}
td.num-cell{font-family:'IBM Plex Mono',monospace; font-size:14px;}
td.total-cell{font-weight:700;}
.note-box{
margin-top:22px;
padding:16px 18px;
background:var(--paper-deep);
border-left:3px solid var(--gold);
font-size:14px;
color:var(--muted);
}
.success-block{
margin:24px 0;
padding:24px 26px;
background:#E9F5EC;
border:1px solid #8FCB9E;
border-left:4px solid #3C9A5C;
border-radius:4px;
}
.success-block h3{
font-family:'PT Serif',serif;
font-size:18px;
color:#1F6B3A;
margin:0 0 10px;
display:flex;
align-items:center;
gap:8px;
}
.success-block p{
font-size:14.5px;
line-height:1.6;
color:#2E5E3E;
margin:0 0 8px;
}
.success-block p:last-child{margin-bottom:0;}
.services-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:18px;
}
.service-card{
display:flex;
flex-direction:column;
}
.service-card p{margin:0 0 auto;}
.service-price{
margin-top:14px;
font-family:'IBM Plex Mono',monospace;
font-size:15px;
font-weight:500;
color:var(--indigo);
}
.cdek-card{
grid-column:1 / -1;
}
.cdek-btn{
width:100%;
justify-content:center;
margin-top:16px;
padding:12px 16px;
text-decoration:none;
text-align:center;
}
@media (max-width:720px){
.contact-fields{grid-template-columns:1fr;}
.anketa-grid{grid-template-columns:1fr;}
.panel-toggle-btn{padding:18px 8px; font-size:13px;}
.service-mode-row{gap:8px;}
.service-mode-btn{min-height:130px; padding:16px 10px;}
.service-mode-title{font-size:15px;}
.service-mode-sub{font-size:11px;}
.tabs{grid-template-columns:1fr 1fr;}
.result{grid-template-columns:1fr; text-align:center;}
.stamp{margin:0 auto;}
.passport{padding:14px;}
.table-scroll{overflow-x:auto; -webkit-overflow-scrolling:touch;}
table{font-size:12.5px; min-width:0; width:100%;}
th,td{padding:9px 5px;}
td.num-cell{font-size:12px;}
.upload-row{flex-wrap:wrap;}
.file-input-btn, .send-btn{flex:1 1 auto; justify-content:center;}
.file-name{
order:3;
width:100%;
white-space:normal;
overflow-wrap:anywhere;
}
.services-grid{grid-template-columns:1fr;}
}
@media (max-width:480px){
.wrap{padding:0;}
header.hero{padding:44px 0 32px;}
.lede-intro{font-size:16px;}
.lede-list li{font-size:15px;}
.lede-num{font-size:17px;}
.lede-cta{font-size:15px;}
.passport{padding:12px;}
.tabs{gap:6px;}
.tab{padding:10px;}
.tab h3{font-size:14px;}
.tab p{font-size:11.5px;}
section{padding:40px 0;}
.checklist li{grid-template-columns:20px 1fr; gap:6px;}
.upload-box{padding:10px;}
table{font-size:11.5px;}
th,td{padding:8px 4px;}
}
@keyframes onAutoFillStart{ from{} to{} }
input:-webkit-autofill{ animation-name: onAutoFillStart; }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
-webkit-box-shadow: inset 0 0 0 1000px var(--paper-deep) !important;
box-shadow: inset 0 0 0 1000px var(--paper-deep) !important;
-webkit-text-fill-color: var(--ink) !important;
caret-color: var(--ink);
transition: background-color 9999s ease-in-out 0s;
}
input.fio-input.valid:-webkit-autofill{
-webkit-box-shadow: inset 0 0 0 1000px rgba(43,58,92,0.05) !important;
box-shadow: inset 0 0 0 1000px rgba(43,58,92,0.05) !important;
}
.resume-hint{font-size:14px; color:var(--muted); margin:0 0 18px;}
.resume-hint a{color:var(--indigo); font-weight:600; text-decoration:none; border-bottom:1px solid rgba(43,58,92,0.3);}
.resume-hint a:hover{border-bottom-color:var(--indigo);}
.resume-backdrop{position:fixed; inset:0; z-index:9000; display:flex; align-items:center;
justify-content:center; padding:20px; background:rgba(20,20,22,0.34);
-webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px);}
.resume-dialog{background:#fff; border-radius:16px; width:100%; max-width:430px; padding:26px 28px 20px;
box-shadow:0 24px 60px -12px rgba(0,0,0,0.35);}
.resume-dialog h3{margin:0 0 6px; font-size:20px; color:var(--indigo);}
.resume-sub{font-size:14px; color:var(--muted); margin:0 0 20px; line-height:1.5;}
.resume-field{margin-bottom:14px;}
.resume-field label{display:block; font-size:13px; color:var(--muted); margin-bottom:6px;}
.resume-field input{width:100%; box-sizing:border-box; font-family:inherit; font-size:16px;
padding:11px 13px; border:1px solid var(--line); border-radius:10px; background:#fff; outline:none;}
.resume-field input:focus{border-color:var(--indigo); box-shadow:0 0 0 3px rgba(43,58,92,0.12);}
#resumePin{letter-spacing:0.34em; font-family:ui-monospace,"SF Mono",Menlo,monospace;}
.resume-error{font-size:13.5px; color:var(--hanko); margin:0 0 12px;}
.resume-actions{display:flex; justify-content:flex-end; gap:10px; margin-top:18px;}
.resume-actions button{width:auto; margin:0; padding:10px 20px; border-radius:10px; font-size:15px;}
.resume-cancel{background:none; color:var(--ink); border:1px solid var(--line); box-shadow:none;}
.resume-note{font-size:12.5px; color:var(--muted); margin:16px 0 0; line-height:1.45;}
@media (max-width:600px){.resume-actions{flex-direction:column-reverse;} .resume-actions button{width:100%;}}
.pay-loader{margin:28px 0; text-align:center; padding:34px 20px;}
.pay-flower{width:54px; height:54px; margin:0 auto 18px; border-radius:50%;
border:3px solid var(--line); border-top-color:var(--sakura);
animation:paySpin 0.9s linear infinite;}
@keyframes paySpin{to{transform:rotate(360deg);}}
.pay-loader-text{font-size:15px; color:var(--muted); margin:0; transition:opacity 0.25s ease;}
.ej-veil{position:fixed; inset:0; z-index:9600; display:flex; flex-direction:column;
align-items:center; justify-content:center; gap:16px; background:var(--paper, #F2EDE1);
opacity:1; transition:opacity 0.35s ease;}
.ej-veil.fading{opacity:0;}
.ej-veil .pay-flower{margin:0;}
.ej-veil p{font-size:15px; color:var(--muted); margin:0;}
#aOtherNames::placeholder{ text-transform:none; }
@keyframes payRise{ from{ opacity:0; transform:translateY(28px); } to{ opacity:1; transform:none; } }
.pay-block{margin:28px 0; padding:26px 28px; background:#fff; border:1px solid var(--line);
border-radius:16px; box-shadow:0 8px 28px -12px rgba(0,0,0,0.18);
animation:payRise 0.5s cubic-bezier(0.22,1,0.36,1); animation:payRise .55s cubic-bezier(.22,.8,.32,1);}
@keyframes payRise{from{opacity:0; transform:translateY(22px);} to{opacity:1; transform:none;}}
.pay-block h3{margin:0 0 4px; font-size:19px; color:var(--indigo);}
.pay-amount{font-size:30px; font-weight:700; color:var(--ink); margin:0 0 20px;
font-variant-numeric:tabular-nums;}
.pay-grid{display:flex; gap:26px; align-items:flex-start; flex-wrap:wrap;}
.pay-qr-wrap{flex:none; padding:10px; background:#fff; border:1px solid var(--line); border-radius:12px;}
.pay-qr{display:block; width:172px; height:172px; image-rendering:pixelated;}
.pay-side{flex:1; min-width:230px;}
.pay-how{font-size:13.5px; color:var(--muted); margin:0 0 16px; line-height:1.55;}
.pay-link-btn{display:inline-block; width:100%; box-sizing:border-box; text-align:center;
padding:13px 20px; border-radius:11px; background:var(--indigo); color:#fff; font-size:16px;
font-weight:600; text-decoration:none;}
.pay-link-btn:hover{background:#22304d;}
.pay-copy{width:100%; margin-top:10px; padding:11px 20px; border-radius:11px; font-size:14px;
background:#fff; color:var(--ink); border:1px solid var(--line); box-shadow:none;}
.pay-note{font-size:12.5px; color:var(--muted); margin:14px 0 0;}
.pay-deadline{font-size:14px; color:var(--ink); margin:0 0 18px; text-align:center;}
.pay-deadline b{font-weight:700; font-variant-numeric:tabular-nums;}
.pay-countdown{display:block; font-size:12.5px; color:var(--muted); margin-top:3px;
font-variant-numeric:tabular-nums;}
.pay-countdown.pay-soon{color:var(--hanko); font-weight:600;}
.pay-expired{margin-top:8px; padding:18px; border:1px solid var(--line);
border-radius:2px; background:var(--paper-deep); text-align:center;}
.pay-expired-title{font-size:16px; font-weight:700; color:var(--hanko); margin:0 0 8px;}
.pay-expired-text{font-size:13.5px; color:var(--muted); margin:0 0 16px; line-height:1.5;}
@media (max-width:560px){.pay-grid{flex-direction:column;} .pay-qr-wrap{align-self:center;}}
.offer-box{margin:-4px 0 22px;}
.offer-label{display:flex; align-items:flex-start; gap:11px; cursor:pointer;}
.offer-label input{position:absolute; opacity:0; width:0; height:0;}
.offer-check{flex:none; width:20px; height:20px; margin-top:1px; border-radius:6px;
border:1.5px solid var(--line); background:#fff; position:relative;
transition:background 0.12s ease, border-color 0.12s ease;}
.offer-label input:checked + .offer-check{background:var(--indigo); border-color:var(--indigo);}
.offer-label input:focus-visible + .offer-check{box-shadow:0 0 0 3px rgba(43,58,92,0.18);}
.offer-text{font-size:14px; color:var(--ink); line-height:1.5;}
.offer-text a{color:var(--indigo); text-decoration:underline; text-underline-offset:2px;}
.offer-note{font-size:12.5px; color:var(--muted); margin:8px 0 0 31px;}
.offer-note.warn{color:var(--hanko);}
html{ min-height:100%; }
body{
min-height:100vh;
min-height:100dvh;
display:flex;
flex-direction:column;
}
.site-footer{ margin-top:auto; }
body > .wrap{ flex:1 0 auto; }
.data-gate{ }
.site-logo-block{display:flex; flex-direction:column; gap:2px;}
.site-logo-jp{font-family:'Noto Serif JP',serif; font-size:12.5px; font-weight:500;
color:var(--muted); letter-spacing:0.08em; line-height:1.2;}
@media (max-width:480px){
.site-logo-jp{font-size:10.5px; letter-spacing:0.05em;}
}
.extras-head td{font-size:11.5px; text-transform:uppercase; letter-spacing:0.07em;
color:var(--muted); padding-top:16px; padding-bottom:4px; border-bottom:1px solid var(--line);}
.extras-label{display:inline-flex; align-items:center; gap:10px; cursor:pointer;
vertical-align:middle;}
.extras-label input{position:absolute; opacity:0; width:0; height:0;}
.extras-box{flex:none; width:22px; height:22px; border-radius:6px; border:1.5px solid var(--line);
background:#fff; position:relative; transition:background 0.12s ease, border-color 0.12s ease;}
.extras-label input:checked + .extras-box{background:var(--indigo); border-color:var(--indigo);}
.extras-label input:focus-visible + .extras-box{box-shadow:0 0 0 3px rgba(43,58,92,0.18);}
.delivery-box{margin-top:10px; position:relative; max-width:340px;}
.delivery-box input{font-size:14px; padding:8px 11px;}
.delivery-note{font-size:12px; color:var(--muted); margin:6px 0 0; line-height:1.45;}
.delivery-note.err{color:var(--hanko);}
.delivery-note.ok{color:var(--seal-green);}
.suggest-list{position:absolute; left:0; right:0; top:100%; z-index:40; background:#fff;
border:1px solid var(--line); border-radius:10px; margin-top:4px; max-height:220px;
overflow-y:auto; box-shadow:0 8px 24px -8px rgba(0,0,0,0.2);}
.suggest-item{padding:9px 12px; font-size:13.5px; cursor:pointer; border-bottom:1px solid rgba(211,198,166,0.4);}
.suggest-item:last-child{border-bottom:none;}
.suggest-item:hover{background:var(--paper);}
.service-link{color:inherit; text-decoration:none; border-bottom:1px solid var(--line);}
.service-link:hover{color:var(--indigo); border-bottom-color:var(--indigo);}
.terms-box{margin-top:22px; padding:18px 20px; background:var(--paper-deep);
border-left:3px solid var(--gold);}
.terms-title{font-family:'PT Serif',serif; font-size:19px; margin:0 0 12px;
color:var(--indigo); font-weight:700;}
.terms-list{list-style:none; counter-reset:t; margin:0; padding:0;}
.terms-list li{counter-increment:t; display:flex; align-items:baseline; gap:12px;
padding:7px 0; border-bottom:1px solid rgba(211,198,166,0.55);}
.terms-list li:last-child{border-bottom:none;}
.terms-list li::before{content:counter(t); flex:none; width:20px; font-size:12px;
color:var(--muted); font-variant-numeric:tabular-nums;}
.terms-step{flex:1; font-size:14.5px; color:var(--ink);}
.terms-days{font-size:14px; color:var(--indigo); white-space:nowrap; font-weight:600;}
.terms-days.pending{color:var(--muted); font-weight:400; font-style:italic;}
.terms-total{margin:12px 0 0; padding-top:11px; border-top:1px solid var(--line);
font-size:15px; font-weight:600; color:var(--indigo);}
.terms-note{font-size:13px; color:var(--muted); margin:10px 0 0; line-height:1.55;}
@media (max-width:560px){
.terms-list li{flex-wrap:wrap;}
.terms-days{width:100%; padding-left:32px;}
}
.what-btn{width:19px; height:19px; margin-left:8px; padding:0; border-radius:50%;
border:1px solid var(--line); background:transparent; color:var(--muted);
font-family:'Manrope',sans-serif; font-size:12px; font-weight:600; line-height:1;
cursor:pointer; vertical-align:middle;
transition:background 0.15s ease, color 0.15s ease, border-color 0.15s ease;}
.what-btn:hover{background:var(--indigo); border-color:var(--indigo); color:#fff;}
.what-btn[aria-expanded="true"]{background:var(--indigo); border-color:var(--indigo); color:#fff;}
.what-box{position:fixed; z-index:300; width:min(320px, calc(100vw - 32px));
padding:14px 16px; background:#fff; border:1px solid var(--line); border-radius:12px;
box-shadow:0 12px 32px -10px rgba(33,30,26,0.28);
font-size:13.5px; line-height:1.6; color:var(--ink);
animation:whatIn 0.16s ease-out;}
@keyframes whatIn{from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:none;}}
.what-box p{margin:0 0 10px;}
.what-more{font-size:13px; color:var(--indigo); text-decoration:underline;
text-underline-offset:2px;}
.what-box::before{content:''; position:absolute; width:10px; height:10px;
background:#fff; border-left:1px solid var(--line); border-top:1px solid var(--line);
transform:rotate(45deg);}
.what-box.below::before{top:-6px; left:var(--arrow-x, 20px);}
.what-box.above::before{bottom:-6px; left:var(--arrow-x, 20px); border-left:none;
border-top:none; border-right:1px solid var(--line); border-bottom:1px solid var(--line);}
.delivery-leg{display:block; margin-top:2px;}
.delivery-leg b{color:var(--indigo); font-weight:600;}
.suggest-list{position:fixed; z-index:200; left:auto; right:auto; top:auto;}
:root{
--paper-raised:#FAF7EF;
--line-soft:#E0D6BC;
--step:8px;
}
.seal-path{display:flex; align-items:flex-start; gap:0; margin:0 0 32px;
padding:20px 0 4px; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none;}
.seal-path::-webkit-scrollbar{display:none;}
.seal-step{display:flex; flex-direction:column; align-items:center; gap:8px;
flex:0 0 auto; min-width:84px;}
.seal-mark{width:46px; height:46px; border-radius:11px;
border:1.5px solid var(--line); background:var(--paper-raised);
display:flex; align-items:center; justify-content:center;
transition:border-color .35s ease, background .35s ease, transform .35s ease;}
.seal-kanji{font-family:'Noto Serif JP',serif; font-size:20px; font-weight:700;
color:var(--line); transition:color .35s ease;}
.seal-label{font-size:11.5px; letter-spacing:.03em; color:var(--muted);
text-align:center; line-height:1.3; transition:color .35s ease;}
.seal-thread{flex:1 1 auto; height:1.5px; min-width:16px; margin-top:23px;
background:var(--line-soft); position:relative;}
.seal-thread::after{content:''; position:absolute; inset:0; width:0;
background:var(--hanko); transition:width .5s ease;}
.seal-thread.on::after{width:100%;}
.seal-step.done .seal-mark{border-color:var(--hanko); background:var(--hanko);
animation:sealStamp .4s cubic-bezier(.34,1.56,.64,1);}
.seal-step.done .seal-kanji{color:var(--paper);}
.seal-step.done .seal-label{color:var(--ink);}
@keyframes sealStamp{
0%{transform:scale(.86) rotate(-4deg);} 60%{transform:scale(1.06) rotate(1deg);}
100%{transform:none;}
}
.seal-step.now .seal-mark{border-color:var(--indigo); border-style:dashed;}
.seal-step.now .seal-kanji{color:var(--indigo);}
.seal-step.now .seal-label{color:var(--indigo); font-weight:600;}
@media (prefers-reduced-motion:reduce){
.seal-step.done .seal-mark{animation:none;}
.seal-thread::after{transition:none;}
}
@media (max-width:560px){
.seal-path{gap:0; padding:14px 0 2px; margin-bottom:24px;}
.seal-step{min-width:70px;}
.seal-mark{width:40px; height:40px; border-radius:10px;}
.seal-kanji{font-size:17px;}
.seal-label{font-size:10.5px;}
.seal-thread{margin-top:20px; min-width:8px;}
}
.file-input-btn, .send-btn, .panel-toggle-btn, .resume-go, .resume-cancel,
.tab, .service-mode-card, .pay-link-btn, .pay-copy{
min-height:44px;
}
.file-input-btn, .send-btn, .panel-toggle-btn{
padding-top:12px; padding-bottom:12px;
display:inline-flex; align-items:center; justify-content:center;
}
.offer-label{min-height:44px; align-items:center;}
.what-btn{width:24px; height:24px; font-size:13px;}
.edit-pencil-btn, .box{position:relative;}
.edit-pencil-btn::after, .box::after{
content:''; position:absolute; left:50%; top:50%;
width:44px; height:44px; transform:translate(-50%,-50%);
}
@media (max-width:640px){
.file-input-btn, .send-btn, .panel-toggle-btn{min-height:48px;}
}
h2{margin-bottom:calc(var(--step) * 1.5);}
.note-box{margin-top:calc(var(--step) * 3); padding:calc(var(--step) * 2) calc(var(--step) * 2.5);}
.terms-box{margin-top:calc(var(--step) * 3); padding:calc(var(--step) * 2.5) calc(var(--step) * 3);}
.services-grid{gap:calc(var(--step) * 2);}
.service-card{padding:calc(var(--step) * 2.5);}
body{background-size:28px 28px;
background-image:radial-gradient(circle at 1px 1px, rgba(43,58,92,0.045) 1px, transparent 0);}
.card, .service-card{background:var(--paper-raised); border:1px solid var(--line-soft);
box-shadow:0 1px 2px rgba(33,30,26,.04);}
table td, table th{border-color:var(--line-soft);}
.seal-rail{margin:0 0 32px;}
.seal-rail.stuck{position:fixed; top:0; left:0; right:0; z-index:150;
margin:0; padding:0 24px;
background:rgba(242,237,225,0.94); backdrop-filter:blur(8px);
-webkit-backdrop-filter:blur(8px);
border-bottom:1px solid var(--line-soft);
box-shadow:0 2px 12px -6px rgba(33,30,26,0.18);
animation:railDrop .28s cubic-bezier(.22,1,.36,1);}
@keyframes railDrop{from{transform:translateY(-100%);} to{transform:none;}}
.seal-rail.stuck .seal-path{width:min(100% - var(--content-pad,clamp(16px,4vw,40px))*2, var(--content-max-wide,1680px)); max-width:none; margin-inline:auto; padding:7px 0;
gap:0; min-height:52px; align-items:center;}
.seal-rail.stuck .seal-step{min-width:0; flex-direction:row; gap:7px;}
.seal-rail.stuck .seal-mark{width:30px; height:30px; border-radius:8px;}
.seal-rail.stuck .seal-kanji{font-size:14px;}
.seal-rail.stuck .seal-label{display:none; font-size:12px;}
.seal-rail.stuck .seal-step.now .seal-label{display:inline; white-space:nowrap;}
.seal-rail.stuck .seal-thread{margin-top:0; min-width:12px;}
.seal-path{transition:opacity .3s ease, transform .35s cubic-bezier(.4,0,.2,1),
max-height .4s cubic-bezier(.4,0,.2,1);}
.seal-path.collapsing{opacity:0; transform:scale(.9); max-height:0; overflow:hidden;
padding:0; margin:0;}
.seal-step.finished .seal-mark{border-color:var(--seal-green);
background:var(--seal-green); animation:sealStamp .4s cubic-bezier(.34,1.56,.64,1);}
.seal-step.finished .seal-kanji{color:var(--paper);}
.seal-progress{display:flex; align-items:center; gap:14px;
width:min(100% - var(--content-pad,clamp(16px,4vw,40px))*2, var(--content-max-wide,1680px)); max-width:none; margin-inline:auto; padding:9px 0; min-height:52px;
animation:progressIn .35s cubic-bezier(.22,1,.36,1);}
@keyframes progressIn{from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;}}
.seal-mark-lone{flex:none; width:32px; height:32px; border-radius:8px;
border:1.5px solid var(--seal-green); background:var(--seal-green);
display:flex; align-items:center; justify-content:center;}
.seal-mark-lone .seal-kanji{color:var(--paper); font-size:15px;}
.seal-bar-wrap{flex:1; min-width:0;}
.seal-bar-head{display:flex; justify-content:space-between; align-items:baseline;
gap:12px; margin-bottom:5px;}
.seal-bar-label{font-size:12.5px; color:var(--muted); white-space:nowrap;
overflow:hidden; text-overflow:ellipsis;}
.seal-bar-num{font-size:13px; font-weight:700; color:var(--indigo);
font-variant-numeric:tabular-nums; flex:none;}
.seal-bar{height:5px; border-radius:3px; background:var(--line-soft); overflow:hidden;}
.seal-bar-fill{height:100%; width:0; border-radius:3px;
background:linear-gradient(90deg, #5A6E92 0%, var(--indigo) 60%, var(--indigo-deep) 100%);
transition:width .5s cubic-bezier(.22,1,.36,1);}
.seal-bar-fill.full{background:var(--seal-green);}
@media (max-width:640px){
.seal-rail.stuck{padding:0 16px;}
.seal-rail.stuck .seal-path{min-height:46px; padding:5px 0;}
.seal-rail.stuck .seal-mark{width:26px; height:26px; border-radius:7px;}
.seal-rail.stuck .seal-kanji{font-size:12.5px;}
.seal-rail.stuck .seal-label{font-size:11px;}
.seal-progress{min-height:46px; padding:7px 0; gap:10px;}
.seal-mark-lone{width:28px; height:28px;}
.seal-bar-label{font-size:11.5px;}
}
@media (prefers-reduced-motion:reduce){
.seal-rail.stuck{animation:none;}
.seal-path, .seal-bar-fill, .seal-progress{transition:none; animation:none;}
}
.next-applicant{margin:24px 0; padding:20px 22px; background:var(--paper-raised);
border:1px solid var(--line-soft); border-left:3px solid var(--seal-green);
border-radius:0 12px 12px 0;}
.next-applicant-title{font-family:'PT Serif',serif; font-size:18px; color:var(--indigo);
margin:0 0 8px; font-weight:700;}
.next-applicant-text{font-size:14px; color:var(--muted); margin:0 0 16px; line-height:1.6;}
.next-applicant-actions{display:flex; gap:12px; flex-wrap:wrap; align-items:center;}
.next-applicant-skip{background:none; border:none; color:var(--muted); font-size:14px;
text-decoration:underline; text-underline-offset:3px; cursor:pointer; min-height:44px;
padding:0 8px; font-family:inherit;}
.next-applicant-skip:hover{color:var(--ink);}
.applicants-list{margin:16px 0 24px; padding:14px 18px; background:var(--paper-deep);
border-left:3px solid var(--gold);}
.applicants-list-title{font-size:12px; text-transform:uppercase; letter-spacing:.06em;
color:var(--muted); margin:0 0 10px;}
.applicant-row{display:flex; align-items:center; gap:10px; padding:5px 0; font-size:14px;}
.applicant-num{flex:none; width:22px; height:22px; border-radius:50%;
background:var(--seal-green); color:var(--paper); font-size:11px; font-weight:700;
display:flex; align-items:center; justify-content:center;}
.applicant-row-now{color:var(--muted);}
.applicant-row-now .applicant-num{background:transparent; color:var(--muted);
border:1.5px dashed var(--line);}
.program-applicants{margin:0 0 14px; padding:14px 16px; background:var(--paper-deep);
border-left:3px solid var(--gold);}
.program-applicants-title{font-size:12px; text-transform:uppercase; letter-spacing:.06em;
color:var(--muted); margin:0 0 10px;}
.program-applicants-pair{font-size:15px; color:var(--ink); line-height:1.7;}
.program-applicants ul{margin:0; padding-left:20px;}
.program-applicants li{font-size:15px; color:var(--ink); line-height:1.7;}
.program-applicants-note{font-size:12.5px; color:var(--muted); margin:10px 0 0;}
.computed-field{background:var(--paper-deep); color:var(--muted); cursor:default;}
.seal-bar-fill.skipped{background:var(--hanko);}
.seal-bar-label.skipped{color:var(--hanko); font-weight:600;}
.seal-progress.pulse{animation:skipPulse .55s ease-in-out 3;}
@keyframes skipPulse{
0%, 100%{background:transparent;}
50%{background:rgba(174,52,42,0.10);}
}
@media (prefers-reduced-motion:reduce){
.seal-progress.pulse{animation:none; background:rgba(174,52,42,0.08);}
}
.doc-more{color:var(--indigo); font-weight:600; text-decoration:none;
border-bottom:1px solid var(--line); white-space:nowrap;}
.doc-more:hover{border-bottom-color:var(--indigo);}
.what-btn-row{margin-left:6px; vertical-align:baseline;}
.past-visit-answer{display:flex; gap:10px; margin-top:8px; flex-wrap:nowrap;}
.past-visit-btn{flex:1; text-align:center; justify-content:center; max-width:180px;
background:transparent; color:var(--muted); border:1px solid var(--muted);}
.past-visit-btn.active{background:var(--indigo); color:#fff; border-color:var(--indigo);}
.hotel-choice-btn{flex:1; text-align:center; justify-content:center;
background:transparent; color:var(--muted); border:1px solid var(--muted);}
.hotel-choice-btn.active{background:var(--indigo); color:#fff; border-color:var(--indigo);}
.extras-box, .offer-check{display:flex; align-items:center; justify-content:center;}
.extras-box svg, .offer-check svg{width:13px; height:11px; opacity:0;
color:#fff; transition:opacity .12s ease;}
.extras-label input:checked + .extras-box svg,
.offer-label input:checked + .offer-check svg{opacity:1;}
.seal-done-balls{display:flex; align-items:center; gap:6px; flex:none;}
.seal-ball{width:26px; height:26px; border-radius:50%; background:var(--seal-green);
color:var(--paper); font-size:12px; font-weight:700;
display:flex; align-items:center; justify-content:center; flex:none;
animation:ballPop .38s cubic-bezier(.34,1.56,.64,1);}
@keyframes ballPop{
0%{transform:scale(.3); opacity:0;}
70%{transform:scale(1.12);}
100%{transform:none; opacity:1;}
}
.seal-bar-wrap.collapsing{animation:barToball .42s cubic-bezier(.4,0,.2,1) forwards;}
@keyframes barToball{
0%{opacity:1; transform:scaleX(1); transform-origin:left center;}
100%{opacity:0; transform:scaleX(.02); transform-origin:left center;}
}
@media (prefers-reduced-motion:reduce){
.seal-ball{animation:none;}
.seal-bar-wrap.collapsing{animation:none; opacity:0;}
}
@media (max-width:640px){
.seal-ball{width:22px; height:22px; font-size:11px;}
.seal-done-balls{gap:4px;}
}
#typeChecklist > li.uploaded{border-left:3px solid var(--seal-green); padding-left:13px;}
#typeChecklist > li.uploaded strong::after{content:' ✓'; color:var(--seal-green);}
.next-applicant.flash{animation:nextFlash .7s ease-in-out 2;}
@keyframes nextFlash{
0%,100%{background:var(--paper-raised);}
50%{background:rgba(63,107,79,0.12);}
}
@media (prefers-reduced-motion:reduce){ .next-applicant.flash{animation:none;} }
.pay-items{margin:10px 0 14px; padding:10px 0; border-top:1px dashed var(--line); border-bottom:1px dashed var(--line);}
.pay-items-title{margin:0 0 6px; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);}
.pay-item{display:flex; justify-content:space-between; gap:12px; font-size:14px; padding:3px 0;
align-items:baseline;}
.pay-item > span:first-child{min-width:0;}
.pay-item > span:last-child{white-space:nowrap; flex:0 0 auto;}
.pay-items-note{margin:6px 0 0; font-size:12.5px; color:var(--muted);}
.applicant-edit{margin-left:auto; display:inline-flex; align-items:center; gap:4px;
font-size:12.5px; color:var(--indigo); text-decoration:underline; text-underline-offset:3px;
cursor:pointer; white-space:nowrap; opacity:.9;}
.applicant-edit:hover{opacity:1;}
.cab-ready-list{list-style:none; margin:6px 0 0; padding:0;}
.cab-ready-list li{padding:4px 0;}
.cab-ready-link{display:inline-flex; align-items:center; gap:7px; font-size:13.5px;
color:var(--indigo); text-decoration:underline; text-underline-offset:3px;}
.cab-ready-link svg{flex:none; color:var(--hanko);}
.cab-prelim-sum{margin-top:10px; padding-top:10px; border-top:1px dashed var(--line); font-size:14px;}
.cab-prelim-note{display:block; font-size:12.5px; color:var(--muted); margin-top:3px;}
.shared-trip-note{border-left:3px solid var(--indigo); background:rgba(0,0,0,0.02);
padding:12px 14px; margin:0 0 18px; font-size:14px; line-height:1.55; color:var(--ink); border-radius:2px;}
.shared-trip-note.trip-note-split{border-left-color:var(--hanko);}
.trip-note-link{color:var(--indigo); text-decoration:underline; text-underline-offset:3px; cursor:pointer;}
.trip-box-appear{animation:tripBoxIn .38s ease;}
@keyframes tripBoxIn{from{opacity:0; transform:translateY(-6px);} to{opacity:1; transform:none;}}
.session-bar{position:fixed; left:0; right:0; bottom:0; z-index:140;
display:flex; align-items:center; justify-content:space-between; gap:12px;
padding:9px 18px; background:var(--indigo); color:#fff;
font-size:13.5px; box-shadow:0 -2px 12px -6px rgba(33,30,26,.4);}
.session-text{overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.session-text b{font-weight:700;}
.session-exit{flex:none; min-height:34px; padding:6px 16px; border-radius:8px;
border:1px solid rgba(255,255,255,.5); background:transparent; color:#fff;
font-size:13px; font-family:inherit; cursor:pointer; margin:0;}
.session-exit:hover{background:rgba(255,255,255,.15);}
.session-text{display:flex; flex-direction:column; gap:2px; white-space:normal;
overflow:visible; text-overflow:clip; min-width:0;}
#sessionState{white-space:pre-line; overflow-wrap:anywhere;}
.session-remain{font-size:12px; opacity:.82;}
.session-id{font-size:11px; opacity:.6; letter-spacing:.02em;}
.session-steps{display:flex; gap:5px; flex-wrap:wrap; margin-top:5px;}
.session-step{min-height:22px; padding:2px 9px; border-radius:999px;
border:1px solid rgba(255,255,255,.42); background:transparent; color:rgba(255,255,255,.82);
font-size:11px; font-family:inherit; cursor:pointer; margin:0; line-height:1.25;}
.session-step:hover{background:rgba(255,255,255,.14);}
.session-step.active{background:#fff; color:var(--indigo); border-color:#fff;}
.session-step.done::after{content:' ✓'; opacity:.9;}
.session-text #sessionState{transition:opacity .4s ease;}
.session-text.fading #sessionState{opacity:0;}
.session-actions{flex:none; display:flex; align-items:center; gap:8px;}
.session-save{min-height:28px; padding:4px 11px; border-radius:8px;
border:1px solid rgba(255,255,255,.5); background:transparent; color:#fff;
font-size:13px; font-family:inherit; cursor:pointer; margin:0;
display:inline-flex; align-items:center; gap:6px;}
.session-save:hover{background:rgba(255,255,255,.15);}
.session-save:disabled{opacity:.6; cursor:default;}
.session-icon-btn{min-height:28px; width:32px; border-radius:8px;
border:1px solid rgba(255,255,255,.5); background:transparent; color:#fff;
cursor:pointer; margin:0; display:inline-flex; align-items:center; justify-content:center;
font-size:15px; line-height:1;}
.session-icon-btn:hover{background:rgba(255,255,255,.15);}
.choice-locked{opacity:.55; pointer-events:none;}
select:disabled{opacity:.6;}
.sakura-fest{position:fixed; inset:0; z-index:400; pointer-events:none; overflow:hidden;}
.sakura-fest i{position:absolute; top:-24px; display:block; animation:festFall linear forwards;}
.fest-petal{width:12px; height:10px; background:#F2BFCB; border-radius:60% 40% 55% 45%/55% 60% 40% 45%;}
.fest-petal:nth-child(3n){background:#EAA9BA;}
.fest-spark{width:5px; height:5px; background:var(--gold); border-radius:50%;}
.fest-hanko{width:8px; height:8px; background:var(--hanko); border-radius:50%; opacity:.85;}
@keyframes festFall{
0%{transform:translate(0,0) rotate(0deg); opacity:0;}
8%{opacity:1;}
100%{transform:translate(var(--sway,0px), 105vh) rotate(340deg); opacity:.9;}
}
.fest-message{position:absolute; left:50%; top:38%; transform:translate(-50%,-50%);
background:var(--paper); border:1px solid var(--line); padding:18px 28px; text-align:center;
font-family:'PT Serif',serif; font-size:19px; color:var(--indigo);
box-shadow:0 8px 30px -12px rgba(33,30,26,.35);}
.fest-jp{display:block; font-size:13px; letter-spacing:.2em; color:var(--muted); margin-bottom:6px;}
@media (max-width:560px){
.session-bar{padding:8px 12px; font-size:12.5px;}
.session-exit{padding:6px 12px;}
}
.edit-before-pay{margin:24px 0 0; padding:20px 22px; background:var(--paper-deep);
border-left:3px solid var(--gold);}
.edit-before-pay-title{font-family:'PT Serif',serif; font-size:18px; color:var(--indigo);
margin:0 0 8px; font-weight:700;}
.edit-before-pay p{font-size:14.5px; color:var(--muted); margin:0 0 14px; line-height:1.6;}
.edit-before-pay-note{font-size:13px; margin:14px 0 0 !important;}
.cabinet-box{margin:12px 0; padding:8px 0; background:transparent; border:none;}
.cabinet-title{font-family:'PT Serif',serif; font-size:22px; color:var(--indigo);
margin:0 0 8px; font-weight:700;}
.cabinet-sub{font-size:14.5px; color:var(--muted); margin:0 0 20px; line-height:1.6;}
.cabinet-status{margin:0 0 18px; text-align:left;}
.cabinet-status-title{font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); margin:14px 0 6px;}
.cab-head{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:0 0 10px;}
.cab-num{font-family:'PT Serif',serif; font-size:19px; font-weight:700; color:var(--indigo);}
.cab-route-line{font-size:13px; color:var(--muted); margin:2px 0 0;}
.cab-badge{font-size:13px; font-weight:600; padding:5px 14px; border-radius:999px; white-space:nowrap;}
.cab-badge.ok{background:#E7F3EA; color:#1D6B34;}
.cab-badge.warn{background:#FFF4E5; color:#8A5300;}
.cab-badge.bad{background:#FBE9E7; color:#B3261E;}
.cab-badge.muted{background:var(--paper-raised); color:var(--muted); border:1px solid var(--line-soft);}
.cab-path{display:flex; align-items:center; gap:6px; font-size:12px; margin:0 0 16px; flex-wrap:wrap;}
.cab-step{display:flex; align-items:center; gap:5px; color:var(--muted); white-space:nowrap;}
.cab-step.done{color:#1D6B34;}
.cab-step.cur{color:#8A5300; font-weight:600;}
.cab-line{flex:1; min-width:14px; height:1px; background:var(--line-soft);}
.cab-docs-ready{background:#fff; border:1px solid var(--line-soft); padding:16px 18px; margin:0 0 16px;}
.cab-docs-h{font-family:'PT Serif',serif; font-size:18px; font-weight:700; margin:0 0 6px;}
.cab-docs-note{font-size:13.5px; color:var(--muted); margin:0 0 10px;}
.cab-docs-list{list-style:none; margin:0; padding:0;}
.cab-docs-list li{padding:7px 0; border-bottom:1px dashed var(--line-soft);}
.cab-docs-list li:last-child{border-bottom:none;}
.cab-docs-link{color:var(--indigo); font-weight:600; text-decoration:none; border-bottom:1px solid currentColor;}
.cab-docs-link:hover{opacity:.8;}
.cab-note{font-size:12.5px; color:var(--muted); margin:6px 0 0;}
.cab-note-paid{background:#E7F3EA; border:1px solid #BFE0C8; color:#1D6B34; font-size:13.5px; padding:12px 16px; margin:0 0 16px;}
.cab-note-refund{background:#FBE9E7; border:1px solid #F0C4BF; color:#B3261E; font-size:13.5px; padding:12px 16px; margin:0 0 16px;}
.cab-applicant{border:1px solid var(--line-soft); border-left:3px solid var(--indigo); padding:14px 18px; margin:0 0 10px; background:var(--paper-raised);}
.cab-applicant-name{margin:0 0 3px; font-size:14px; font-weight:700; color:var(--ink);}
.cab-applicant-forms{margin:0; font-size:13px; color:var(--muted);}
.cab-upl-btn{margin-top:8px; padding:8px 14px; font-size:13px;}
.cab-doc-cols{display:flex; gap:22px; flex-wrap:wrap; margin:4px 0 0;}
.cab-doc-col{flex:1; min-width:150px;}
.cab-doc-h{margin:0 0 5px; font-size:12px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; color:var(--muted);}
.cab-block-h{margin:16px 0 6px; font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted);}
.cab-block-h:first-of-type{margin-top:0;}
.cab-sep{border-top:1px solid var(--line-soft); margin:16px 0 2px;}
.cab-block-head{display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 6px;}
.cab-block-head:first-of-type .cab-block-h{margin-top:0;}
.cab-view-link{font-size:12.5px; color:var(--indigo); cursor:pointer; text-decoration:none; border-bottom:1px dotted rgba(43,58,92,0.4); padding-bottom:1px; white-space:nowrap; display:inline-flex; align-items:center; gap:4px;}
.cab-view-link:hover{border-bottom-style:solid;}
.cab-warn-box{background:var(--paper-raised, #FBF7EF); border:1px solid var(--line-soft, #EBDFC8); border-radius:10px; padding:14px 16px; font-size:14px; color:var(--ink); line-height:1.6;}
.cab-warn-chips{display:flex; flex-wrap:wrap; gap:6px;}
.cab-warn-chip{font-size:12.5px; border-radius:6px; padding:4px 10px;}
.cab-warn-chip.ok{color:#2F6B39; background:rgba(78,154,92,0.12);}
.cab-warn-chip.todo{color:#8A6A3A; background:rgba(165,130,46,0.10);}
.cab-edit-inline{margin:10px 0 4px; font-size:13px; color:var(--muted);}
.cab-edit-inline .cab-edit-link{color:var(--indigo); cursor:pointer; text-decoration:none; border-bottom:1px dashed rgba(43,58,92,0.4); padding-bottom:1px;}
.cab-edit-inline .cab-edit-link:hover{border-bottom-style:solid;}
.cab-edit-inline .cab-edit-sep{margin:0 6px; color:var(--line);}
.cab-doc-list{margin:0; padding:0; list-style:none; font-size:14px;}
.cab-doc-list li{padding:2px 0 2px 18px; position:relative;}
.cab-doc-list.ok li::before{content:'✓'; position:absolute; left:0; color:#1D6B34; font-weight:700;}
.cab-doc-list.todo li::before{content:''; position:absolute; left:0; top:6px; width:9px; height:9px; box-sizing:border-box; border:1.5px solid var(--muted); border-radius:50%; opacity:.75;}
.cab-doc-empty{margin:0; font-size:13px; color:var(--muted); opacity:.7;}
.cab-doc-sub{display:block; font-size:11.5px; color:var(--muted); font-weight:400; margin-top:1px; line-height:1.35;}
.cab-doc-view{ font-size:12px; color:var(--indigo); text-decoration:underline; text-underline-offset:2px; margin-left:6px; cursor:pointer; white-space:nowrap; }
.cab-upl-replace{ font-size:13px; color:var(--indigo); text-decoration:underline; text-underline-offset:2px; margin-left:10px; cursor:pointer; }
body.ej-edit-focus #requiredDocsBox{ display:none !important; }
body.ej-edit-focus #applicantsCountBox{ display:none !important; }
.cab-upl-row{display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px dashed var(--line); flex-wrap:wrap;}
.cab-upl-row:last-child{border-bottom:none;}
.cab-upl-doc{flex:0 0 180px; font-size:14px; font-weight:600; color:var(--ink);}
.cab-upl-state{font-size:13px; color:var(--muted); flex:1; min-width:160px;}
.cab-upl-done{opacity:.85;}
.cab-upl-ok{font-size:13px; color:#1D6B34; font-weight:600; flex:1; min-width:160px;}
.cabinet-status-list{list-style:none; margin:0; padding:0; font-size:14.5px; line-height:1.7;}
.cabinet-status-list li{padding-left:2px;}
.cabinet-status-empty{font-size:14px; color:var(--muted); margin:0;}
.cabinet-actions{display:flex; gap:14px; flex-wrap:wrap;}
.cabinet-action{flex:1 1 260px; min-height:44px; text-align:left; padding:16px 18px;
background:var(--paper); border:1px solid var(--line); border-radius:12px;
cursor:pointer; font-family:inherit; margin:0;
display:flex; flex-direction:column; gap:5px;
transition:border-color .15s ease, background .15s ease;}
.cabinet-action:hover{border-color:var(--indigo); background:var(--paper-deep);}
.cabinet-action-icon{flex-direction:row; align-items:center; gap:12px;
  padding:12px 14px; background:#FFFDF8; border-radius:14px;
  box-shadow:0 1px 2px rgba(33,30,26,0.04);}
.cabinet-action-icon:hover{background:#FFFFFF; border-color:var(--indigo);
  box-shadow:0 2px 8px rgba(33,30,26,0.08);}
.cabinet-action-ico{flex-shrink:0; color:var(--indigo); display:flex;}
.cabinet-action-icon .cabinet-action-ico{width:44px; height:44px; border-radius:11px;
  align-items:center; justify-content:center;
  background:var(--paper); border:1px solid var(--line);}
.cabinet-action-icon .cabinet-action-ico svg{width:22px; height:22px;}
.cabinet-action-icon:hover .cabinet-action-ico{background:var(--paper-deep);}
.cabinet-action-icon .cabinet-action-body{flex:1 1 auto; min-width:0; gap:3px;}
.cabinet-action-icon .cabinet-action-title{color:var(--ink); font-size:15px;}
.cabinet-action-icon .cabinet-action-note{font-size:12.5px;}
.cabinet-action-icon::after{content:''; flex-shrink:0; width:8px; height:8px; margin:0 4px 0 2px;
  border-right:1.6px solid var(--muted); border-bottom:1.6px solid var(--muted);
  transform:rotate(-45deg);}
.cabinet-action-soon{opacity:0.5; cursor:not-allowed; pointer-events:none;}
.cabinet-action-soon:hover{border-color:var(--line); background:transparent;}
.cab-soon-badge{display:inline-block; font-size:11px; font-weight:700; letter-spacing:0.05em;
  color:var(--gold); background:rgba(165,130,46,0.12); border-radius:4px; padding:2px 8px; margin-left:6px; vertical-align:middle;}
.cabinet-action-pay{border-color:#3C9A5C; background:rgba(60,154,92,0.06);}
.cabinet-action-pay .cabinet-action-ico{color:#3C9A5C;}
.cabinet-action-pay .cabinet-action-title{color:#2E7D4F;}
.cabinet-action-pay:hover{border-color:#3C9A5C; background:rgba(60,154,92,0.12);}
.cabinet-action-body{display:flex; flex-direction:column; gap:5px;}
.cabinet-action-title{font-size:15.5px; font-weight:600; color:var(--indigo);}
.cabinet-action-note{font-size:13px; color:var(--muted); line-height:1.45;}
.cabinet-skip{margin:16px 0 0; padding:0; background:none; border:none;
color:var(--muted); font-size:13.5px; text-decoration:underline;
text-underline-offset:3px; cursor:pointer; font-family:inherit; min-height:44px;}
.cabinet-skip:hover{color:var(--ink);}
@media (max-width:560px){
.cabinet-box{padding:18px 16px;}
.cabinet-actions{flex-direction:column;}
.cabinet-action{flex-basis:auto;}
}
#typeChecklist > li.docs-group-head{list-style:none; padding:18px 0 8px;
border-bottom:1px solid var(--line); margin-bottom:6px;
display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;}
#typeChecklist > li.docs-group-head:first-child{padding-top:0;}
.docs-group-title{font-family:'PT Serif',serif; font-size:17px; font-weight:700;
color:var(--indigo);}
.docs-group-note{font-size:12.5px; color:var(--muted);}
.count-answer{display:flex; gap:10px; margin-top:8px;}
.count-btn{flex:1; max-width:88px; min-height:48px; padding:12px 0;
background:transparent; border:1px solid var(--muted); border-radius:10px;
color:var(--muted); font-family:inherit; font-size:17px; font-weight:600;
cursor:pointer; margin:0;}
.count-btn:hover{border-color:var(--indigo); color:var(--indigo);}
.count-btn.active{background:var(--indigo); border-color:var(--indigo); color:#fff;}
@media (max-width:560px){ .count-btn{max-width:none; font-size:16px;} }
#cabinetTopPanel{ padding-top:12px; }
.cab-card{ background:var(--paper-raised); border:1px solid var(--line-soft); border-left:3px solid var(--indigo); border-radius:0; padding:18px 26px; box-shadow:none; }
.cab-title{ font-family:'PT Serif',serif; font-size:20px; color:var(--indigo); margin:0 0 4px; font-weight:700; }
.cab-sub{ font-size:13.5px; color:var(--muted); margin:0 0 14px; }
.cab-btns{ display:flex; gap:12px; flex-wrap:wrap; }
.cab-btn{ display:inline-flex; align-items:center; gap:9px; padding:12px 20px; border-radius:10px; border:1px solid var(--indigo); background:var(--indigo); color:#fff; font-size:14px; cursor:pointer; font-family:inherit; margin-top:0; transition:filter .15s; }
.cab-btn:hover{ filter:brightness(1.12); }
.cab-btn.cab-secondary{ background:transparent; color:var(--indigo); }
.cab-btn.cab-add-btn{ border:1px solid var(--gold); color:var(--gold); background:rgba(165,130,46,0.07); }
.cab-btn.cab-add-btn:hover{ background:rgba(165,130,46,0.14); filter:none; }
.cab-act-app{display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; padding:8px 0 0; margin:6px 0 0; width:100%; border-top:1px solid var(--line-soft);}
.cab-act-name{font-size:13px; font-weight:700; color:var(--ink); flex:0 0 auto;}
.cab-edit-line{font-size:13px; color:var(--muted); display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap;}
.cab-edit-line svg{opacity:.7;}
.cab-edit-link{color:var(--indigo); cursor:pointer; text-decoration:none; border-bottom:1px dashed rgba(43,58,92,0.4); padding-bottom:1px;}
.cab-edit-link:hover{border-bottom-style:solid;}
.cab-edit-sep{color:var(--line-soft); margin:0 2px;}
.cab-btn svg{ flex-shrink:0; }
.cab-view-backdrop{ position:fixed; inset:0; background:rgba(27,39,64,0.45); z-index:9998; display:flex; align-items:center; justify-content:center; padding:20px; }
.cab-view-dialog{ background:var(--paper); border-radius:14px; width:min(1080px, calc(100vw - 36px)); max-height:88vh; overflow:hidden; padding:0; box-shadow:0 12px 40px rgba(0,0,0,0.25); position:relative; }
.cab-view-scroll{ max-height:88vh; overflow:auto; padding:26px 30px; }
.cab-view-close{ position:absolute; top:12px; right:14px; width:38px; height:38px; border-radius:50%; border:1px solid var(--line-soft); background:var(--paper-raised); color:var(--ink); font-size:19px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:2; }
.cab-view-close:hover{ background:var(--indigo); color:#fff; border-color:var(--indigo); }
.cab-view-dialog h3{ margin:0 0 6px; }
.cab-view-sec{ font-size:13px; letter-spacing:0.06em; text-transform:uppercase; color:var(--gold); margin:20px 0 8px; }
.cab-view-row{ display:flex; gap:14px; padding:6px 0; border-bottom:1px dashed var(--line); font-size:14px; }
.cab-view-row .k{ color:var(--muted); flex:0 0 44%; }
.cab-view-row .v{ color:var(--ink); }
body.cabinet-mode section{ padding:8px 0; }
body.filling-mode section{ padding:8px 0; }
body.filling-mode header.hero{ padding-bottom:6px; }
body.cabinet-mode section + section{ border-top:none; }
body.cabinet-mode header.hero{ padding-bottom:6px; }
body.cabinet-mode #cabinetTopPanel{ padding-top:14px; }
body.cabinet-mode .lede-paths,
body.cabinet-mode .lede-cta,
body.cabinet-mode #passportPanel,
body.cabinet-mode #service-mode-section,
body.cabinet-mode #serviceModeGateNote,
body.cabinet-mode #serviceModeNote,
body.cabinet-mode #timelineHeading,
body.cabinet-mode #timelinePlaceholder,
body.cabinet-mode #timelineAgency,
body.cabinet-mode #timelineSelf,
body.cabinet-mode #types-section > h2,
body.cabinet-mode #types-section > .tabs,
body.cabinet-mode #typeDesc,
body.cabinet-mode #selfPricingBlock,
body.cabinet-mode #agencyPricingSection,
body.cabinet-mode #extra-services,
body.cabinet-mode .contact-fields,
body.cabinet-mode #savedContactNote,
body.cabinet-mode .offer-box,
body.cabinet-mode #submitForBox,
body.cabinet-mode #applicantsCountBox,
body.cabinet-mode #familyBox,
body.cabinet-mode #serviceStepsScheme,
body.cabinet-mode #sealRailSpacer,
body.cabinet-mode #anketaPanel,
body.cabinet-mode #programPanel,
body.cabinet-mode #consentPanel,
body.cabinet-mode #docsPanel,
body.cabinet-mode #btnToggleAnketa,
body.cabinet-mode #btnToggleDocs,
body.cabinet-mode #btnToggleProgram,
body.cabinet-mode #btnToggleConsent,
body.cabinet-mode #resumeHint{ display:none !important; }
body.ej-draft-cabinet #anketaPanel,
body.ej-draft-cabinet #programPanel,
body.ej-draft-cabinet #consentPanel,
body.ej-draft-cabinet #docsPanel,
body.ej-draft-cabinet #btnToggleAnketa,
body.ej-draft-cabinet #btnToggleDocs,
body.ej-draft-cabinet #btnToggleProgram,
body.ej-draft-cabinet #btnToggleConsent{ display:none !important; }
/* ⛔ 1.21.0 (09 Oct 2026) — ЧЕКЛИСТ «ВАМ ПОТРЕБУЮТСЯ» И ПЛАШКА ПРО ГАЛОЧКУ ЛЕЗЛИ В КАБИНЕТ.
   Что было сломано: в режиме заполнения (`body.filling-mode`) поверх разделов Анкета/Программа/
   Согласие висели два блока ВИТРИНЫ — `#requiredDocsBox` («Вам потребуются: ①…⑤») и
   `#serviceModeGateNote` (учебная плашка; она же несла «Поставьте галочку согласия с условиями…»).
   Как выглядело снаружи: владелец открыл заявку и видел их «с самого начала и до конца»;
   переключение разделов их не убирало (два скриншота и вопрос «почему?»).
   Причина НЕ в залипании: замер (Playwright, /ej52/) — у обоих `position: static`, ни sticky, ни fixed.
   Причина в том, что витрину здесь прячут ПЕРЕЧИСЛЕНИЕМ адресов, а этих двух в списке не было
   (соседний `body.cabinet-mode` плашку в списке имеет — в `filling-mode` про неё забыли).
   Что сделано: оба адреса добавлены в список скрываемого для `body.filling-mode`.
   ЧЕГО НЕ ДЕЛАЛИ: `body.cabinet-mode` не трогали — виден ли там `#requiredDocsBox`, НЕ ЗАМЕРЕНО;
   витрину не трогали (там оба блока нужны); разметку `.type-panel` не меняли.
   Вторая половина правки — в `ej5-shell.js` 5.39.0: один ответчик на вопрос «оферта принята?». */
body.filling-mode .lede-paths,
body.filling-mode .lede-cta,
body.filling-mode #passportPanel,
body.filling-mode #service-mode-section > *:not(#sealRail),
body.filling-mode #timelineHeading,
body.filling-mode #timelinePlaceholder,
body.filling-mode #timelineAgency,
body.filling-mode #timelineSelf,
body.filling-mode #types-section > h2,
body.filling-mode #types-section > .tabs,
body.filling-mode #typeDesc,
body.filling-mode #selfPricingBlock,
body.filling-mode #agencyPricingSection,
body.filling-mode #extra-services,
body.filling-mode .contact-fields,
body.filling-mode #savedContactNote,
body.filling-mode #submitForBox,
body.filling-mode #applicantsCountBox,
body.filling-mode #familyBox,
body.filling-mode .offer-box,
body.filling-mode #requiredDocsBox,
body.filling-mode #serviceModeGateNote,
body.filling-mode #resumeHint{ display:none !important; }
body.filling-mode section{ padding:14px 0; }
body.filling-mode section + section{ border-top:none; }
[hidden]{ display:none !important; }
.recognition-success-icon svg{ display:block; }
.ej-draw-ring, .ej-draw-tick{ fill:none; }
.ej-draw-ring.ej-anim{
  stroke-dasharray:126; stroke-dashoffset:126;
  animation:ejDrawRing .45s ease-out forwards;
}
.ej-draw-tick.ej-anim{
  stroke-dasharray:36; stroke-dashoffset:36;
  animation:ejDrawTick .3s ease-out .35s forwards;
}
@keyframes ejDrawRing{ to{ stroke-dashoffset:0; } }
@keyframes ejDrawTick{ to{ stroke-dashoffset:0; } }
.ej-check-warn{ color:var(--hanko); }
@media (prefers-reduced-motion: reduce){
  .ej-draw-ring.ej-anim, .ej-draw-tick.ej-anim{ animation:none; stroke-dashoffset:0; }
}
.session-bar-fading{ opacity:0; transition:opacity .2s ease; }
.session-bar{ transition:opacity .25s ease; }
body.ej-draft-cabinet #requiredDocsBox,
body.ej-draft-cabinet #sealRail,
body.ej-draft-cabinet #sealRailSpacer,
body.ej-draft-cabinet #serviceStepsScheme,
body.ej-draft-cabinet #serviceModeGateNote{ display:none !important; }
.cab-prelim-lines{ margin:2px 0 10px; }
.cab-prelim-line{ display:flex; justify-content:space-between; align-items:baseline;
  gap:12px; padding:5px 0; font-size:15px; line-height:1.4; }
.cab-prelim-line + .cab-prelim-line{ border-top:1px solid rgba(0,0,0,.06); }
.cab-prelim-item + .cab-prelim-item{ border-top:1px solid rgba(0,0,0,.06); }
.cab-prelim-item .cab-prelim-line{ border-top:0; }
.cab-prelim-mult{ font-size:13px; opacity:.6; white-space:nowrap;
  padding-left:14px; margin:-2px 0 5px; }
.cab-prelim-total{ margin-top:4px; padding-top:9px;
  border-top:1px solid rgba(0,0,0,.18) !important; font-weight:600; font-size:17px; }
.max-box{margin:-4px 0 22px;}
.max-ico{display:inline-block; width:20px; height:20px; vertical-align:-4px; margin-left:2px;
  background:url("data:image/png;base64,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") center/contain no-repeat;}
.max-sub{font-size:13px; color:var(--muted); line-height:1.45; margin:6px 0 0 31px;}
#maxConnect{margin:14px 0 0 31px;}
.max-btn{display:flex; align-items:center; justify-content:center; gap:10px; width:100%;
  min-height:52px; padding:12px 20px; border:0; border-radius:16px; box-sizing:border-box;
  color:#fff; font:inherit; font-size:17px; font-weight:600; letter-spacing:.2px;
  text-decoration:none; cursor:pointer;
  background:linear-gradient(135deg,#9500FF 0%,#6E1AFF 32%,#471AFF 55%,#0A7BFF 80%,#00BFFF 100%);
  box-shadow:0 4px 14px rgba(71,26,255,.28);}
.max-btn:hover{filter:brightness(1.06);}
.max-btn:focus-visible{outline:3px solid rgba(71,26,255,.35); outline-offset:2px;}
.max-btn-ico{flex:none; width:24px; height:24px;
  background:url("data:image/png;base64,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") center/contain no-repeat;}
.max-hint{font-size:13px; color:var(--muted); line-height:1.45; margin:8px 0 0; text-align:center;}
.max-hint.warn{color:#B4442C;}
.max-code{font-family:ui-monospace,Menlo,Consolas,monospace; font-weight:600; color:var(--ink);
  word-break:break-all;}
.max-copy{margin-left:6px; padding:2px 10px; font:inherit; font-size:13px; border-radius:8px;
  border:1px solid var(--line, #D6CBB3); background:transparent; color:var(--indigo); cursor:pointer;}
.max-done{font-size:14px; color:#3C9A5C; line-height:1.45; margin:10px 0 0 31px;}
body.filling-mode .max-box:not(.max-pending){display:none !important;}
.max-switch{flex:none; position:relative; width:36px; height:20px; margin-top:1px; border-radius:10px;
  background:#C9C2B3; transition:background .2s ease;}
.max-switch::after{content:''; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%;
  background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25); transition:transform .2s ease;}
.offer-label input:checked + .max-switch{background:var(--indigo);}
.offer-label input:checked + .max-switch::after{transform:translateX(16px);}
.offer-label input:focus-visible + .max-switch{box-shadow:0 0 0 3px rgba(43,58,92,0.18);}
.offer-label input:disabled + .max-switch{opacity:.6;}
.max-box .max-sub, .max-box .max-done, .max-box #maxConnect{margin-left:47px;}
.offer-box .offer-check{margin-right:16px;}
.offer-box .offer-note{margin-left:47px;}
.max-box #maxErr{margin-left:47px;}
.footer-pay{display:flex; flex-wrap:wrap; align-items:center; gap:16px 28px;
  margin-top:22px; padding-top:18px; border-top:1px solid var(--line);}
.fp-logo{display:block; height:22px; width:auto; flex:0 0 auto;}
.fp-sbp{height:30px;}
.fp-nspk{height:18px;}
.fp-cdek{height:18px;}
.fp-cdekpay{height:26px;}
.fp-max{display:flex; align-items:center; gap:6px; height:26px;
  font-size:15px; font-weight:600; color:var(--ink);}
.fp-max img{display:block; width:24px; height:24px;}
header.hero{position:relative;}
.ej-lang{position:absolute; top:12px; right:0; z-index:60;}
.ej-lang-btn{display:inline-flex; align-items:center; gap:3px; background:transparent;
  border:1px solid var(--line); border-radius:6px; padding:3px 6px; cursor:pointer;
  font:600 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.04em; color:var(--ink);}
.ej-lang-btn:focus-visible{outline:2px solid var(--indigo); outline-offset:2px;}
.ej-lang-list{position:absolute; right:0; top:calc(100% + 6px); min-width:170px; overflow:hidden;
  background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,.14);}
.ej-lang-item{display:flex; align-items:center; gap:10px; width:100%; margin:0; padding:11px 14px;
  border:0; border-top:1px solid #f0ebe0; background:#fff; color:var(--ink); text-align:left; cursor:pointer;
  font-family:inherit; font-size:14px; line-height:1.2; font-weight:500;}
.ej-lang-item:first-child{border-top:0;}
.ej-lang-item:hover{background:#faf8f3;}
.ej-lang-item.on{background:#f3f0e8; font-weight:700;}
.ej-lang-code{margin-left:auto; font:600 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace; color:#999;}
html.ej-ver #buildBadge{right:auto; left:10px; text-align:left;}
.ej-hint-pick{display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin:0 0 14px; padding:8px 12px; border:1px solid var(--line); border-radius:12px; background:#fff;}
.ej-hint-pick-label{font-size:13.5px; color:var(--ink);}
.ej-hint-pick-sel{flex:none; width:auto; max-width:50%; padding:5px 8px; border:1px solid var(--line);
  border-radius:8px; background:#faf8f3; font:inherit; font-size:14px; color:var(--ink);}
html[data-ej-lang]:not([data-ej-lang="ru"]) [data-ej-hint]::after{
  content:attr(data-ej-hint); display:block; margin-top:3px; white-space:normal;
  font:400 12.5px/1.45 'PingFang SC','Microsoft YaHei','Hiragino Sans GB','Noto Sans CJK SC','Source Han Sans SC',sans-serif;
  letter-spacing:normal; text-transform:none; color:#8a5a2b;}
html[data-ej-lang]:not([data-ej-lang="ru"]) button[data-ej-hint],
html[data-ej-lang]:not([data-ej-lang="ru"]) label.file-input-btn[data-ej-hint]{flex-direction:column;}
html[data-ej-lang]:not([data-ej-lang="ru"]) button[data-ej-hint]::after,
html[data-ej-lang]:not([data-ej-lang="ru"]) label.file-input-btn[data-ej-hint]::after{
  margin-top:2px; font-size:11px; color:inherit; opacity:.85;}

/* ---------------------------------------------------------------------------
   ЭМА — кнопка «Узнать» (спросить бота). Добавлено 09.10.2026.
   Табличка взята из показа Николаю (вариант 2, эма): висит на гвоздике,
   качается сама, кренится от наклона телефона, порыв ветра переворачивает
   её изнанкой. Цветы — ТЕ ЖЕ, что в логотипе (вставлены кодом логотипа), но
   мельче — его слово «размер цветов должен быть меньше».
   --------------------------------------------------------------------------- */
.lede-path{position:relative}
.ema-block{position:absolute;right:0;top:calc(50% + 26px);transform:translateY(-50%);margin:0;max-width:none;width:clamp(132px,42%,220px);text-align:center}
.ema-hang{position:relative;display:inline-block;line-height:0;perspective:900px;--ema-tilt:0deg;--ema-hand:0deg;--ema-phase:0s;--ema-amp:1.15deg;--ema-period:5.6s}
.ema-hang::after{content:'';position:absolute;inset:6px;border-radius:16px;pointer-events:none;opacity:0;transition:opacity .35s ease;background:radial-gradient(circle at 50% 26%,rgba(255,246,224,.8),rgba(255,246,224,0) 62%)}
.ema-hang:hover::after{opacity:1}
.ema-hang:hover{--ema-hand:-1.7deg}
.ema-tilt{display:block;transform-origin:50% 0;transform:rotate(calc(var(--ema-tilt) + var(--ema-hand)));transition:transform .5s ease}
.ema-swing{display:block;transform-origin:50% 27.6%;animation:emaSwing var(--ema-period) ease-in-out infinite;animation-delay:var(--ema-phase);will-change:transform}
.ema-flip{position:relative;display:block;transform-style:preserve-3d;transform-origin:50% 27.6%;transform:rotateY(0deg);transition:transform 1.45s cubic-bezier(.34,1.45,.64,1)}
.ema-hang.ema-turned .ema-flip{transform:rotateY(180deg)}
.ema-cord{position:absolute;inset:0;transform-origin:50% 5.7%;animation:emaCord var(--ema-period) ease-in-out infinite;animation-delay:var(--ema-phase)}
.ema-shadowwall{position:absolute;left:50%;bottom:-8px;width:58%;height:16px;transform:translateX(-50%);background:radial-gradient(ellipse at center,rgba(43,58,92,.22),rgba(43,58,92,0) 70%);filter:blur(2px);animation:emaShadow var(--ema-period) ease-in-out infinite;animation-delay:var(--ema-phase)}
.ema-face,.ema-back{display:block;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.ema-face{width:148px;height:141px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ema-face .ema-art,.ema-back .ema-art{display:block;width:100%;height:100%}
.ema-back{position:absolute;top:0;left:0;width:148px;height:141px;transform:rotateY(180deg)}
.ema-link{position:absolute;left:50%;top:57%;width:64%;height:26%;transform:translate(-50%,-50%);font-size:0;color:transparent;text-decoration:none;border-radius:8px}
.ema-link:focus-visible{outline:2px solid #B22234;outline-offset:2px}
.ema-sheet{position:fixed;left:0;right:0;top:0;bottom:0;z-index:120;display:flex;align-items:flex-end;justify-content:center}
.ema-sheet[hidden]{display:none}
.ema-sheet-scrim{position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(20,26,44,.42);opacity:0;transition:opacity .28s ease}
.ema-sheet-box{position:relative;width:100%;max-width:640px;max-height:78vh;min-height:240px;background:#FFFCF4;border-radius:18px 18px 0 0;box-shadow:0 -14px 38px rgba(20,26,44,.24);padding:20px 18px calc(20px + env(safe-area-inset-bottom,0px));transform:translateY(100%);transition:transform .34s cubic-bezier(.22,.8,.28,1);display:flex;flex-direction:column}
.ema-sheet.ema-sheet-open .ema-sheet-scrim{opacity:1}
.ema-sheet.ema-sheet-open .ema-sheet-box{transform:translateY(var(--ema-sheet-dy,0px))}
.ema-sheet.ema-sheet-dragging .ema-sheet-box{transition:none}
.ema-sheet-handle{position:absolute;left:50%;top:8px;width:46px;height:4px;margin-left:-23px;border-radius:2px;background:rgba(43,58,92,.22);touch-action:none;cursor:grab}
.ema-sheet-close{position:absolute;right:8px;top:6px;width:38px;height:38px;border:0;background:transparent;font:400 24px/1 'PT Serif',Georgia,serif;color:#6A7080;cursor:pointer}
.ema-sheet-body{flex:1 1 auto;overflow:auto;-webkit-overflow-scrolling:touch}
body.ema-sheet-open{overflow:hidden}
@media (prefers-reduced-motion: reduce){.ema-sheet-scrim,.ema-sheet-box{transition:none}}
.ema-swing.ema-gust{animation:emaGust 1.35s cubic-bezier(.3,.7,.4,1)}
@keyframes emaSwing{0%{transform:rotate(calc(var(--ema-amp) * -1))}50%{transform:rotate(var(--ema-amp))}100%{transform:rotate(calc(var(--ema-amp) * -1))}}
@keyframes emaCord{0%{transform:rotate(-.45deg)}50%{transform:rotate(.45deg)}100%{transform:rotate(-.45deg)}}
@keyframes emaShadow{0%{transform:translateX(-50%) scaleX(.96);opacity:.85}50%{transform:translateX(-50%) scaleX(1.05);opacity:1}100%{transform:translateX(-50%) scaleX(.96);opacity:.85}}
@keyframes emaGust{0%{transform:rotate(0)}14%{transform:rotate(-4.6deg)}34%{transform:rotate(3.3deg)}56%{transform:rotate(-1.9deg)}76%{transform:rotate(.9deg)}100%{transform:rotate(0)}}
@media (prefers-reduced-motion: reduce){.ema-swing,.ema-cord,.ema-shadowwall{animation:none}}
@media (max-width:560px){.ema-face{width:118px;height:113px}.ema-back{width:118px;height:113px}}
