/* Shared questionnaire styling, scoped to an open live form. */
body.rg-questionnaire-active{min-height:100dvh;background:var(--adm-bg,#f5f8fb);color:var(--adm-ink,#243443)}.rg-demo-shell{max-width:1280px;margin:0 auto;padding:28px 32px 60px}.rg-demo-bar{display:flex;align-items:center;gap:18px;margin-bottom:32px;padding-bottom:22px;border-bottom:1px solid var(--adm-line,#dce6ef)}.rg-demo-bar img{width:40px;height:48px}.rg-demo-bar strong{font-size:18px}.rg-demo-bar p{font-size:13px;color:var(--adm-muted,#657b8d);margin:5px 0 0}.rg-demo-bar>.btn{margin-left:auto;white-space:nowrap}.rg-demo-finish{padding:32px}.rg-demo-finish p{max-width:650px;margin:18px 0;line-height:1.7}.rg-questionnaire-active .rg-wizard-page{margin-top:0}@media(max-width:600px){.rg-demo-shell{padding:18px 16px 40px}.rg-demo-bar{gap:12px;flex-wrap:wrap;margin-bottom:22px}.rg-demo-bar strong{font-size:16px}.rg-demo-bar>div{flex:1;min-width:200px}.rg-demo-bar>.btn{margin:0;font-size:12px;min-height:36px;padding:8px 14px}.rg-demo-bar p{font-size:12px}}
.rg-questionnaire-active .rg-premise-note{display:block;padding:20px;border:1px solid #9cdbbc;border-radius:18px;background:#edf9f2;font-size:15px;line-height:1.65;color:#286948}.rg-questionnaire-active .demo-egrn-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;padding:12px 18px;min-height:46px;border-radius:13px;background:#278fe8;color:#fff!important;text-decoration:none;font-weight:600}.demo-selected-person{background:#eaf6ef;color:#2d6b50;padding:16px;border-radius:14px;font-size:16px;line-height:1.5}
/* Shared local Lucide icons: the same optical size and baseline in every control. */
.demo-icon{display:inline-block!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0!important;vertical-align:middle;background:currentColor!important;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat;border:0!important;border-radius:0!important;pointer-events:none}
.rg-questionnaire-active .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px}.rg-questionnaire-active .rg-field-help{display:grid;place-items:center;border:0;background:transparent;color:#88a8bb}.rg-field-help .demo-icon{width:19px!important;height:19px!important;flex-basis:19px!important}.rg-questionnaire-active .rg-wizard-nav i{display:grid;place-items:center}.rg-questionnaire-active [hidden]{display:none!important}
.demo-person-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #dce6ef;border-radius:18px;background:#fff;margin:12px 0}.demo-person-card>div{flex:1;min-width:0}.demo-person-card b{font-size:17px;line-height:1.4}.demo-person-card small{display:block;margin-top:5px;color:#657e8f;font-size:14px}.demo-person-avatar{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:14px;background:#e8f6ee;color:#288960}.demo-person-remove{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f2f5f8;color:#758997}
/* Override the inherited inset:16px rule: height follows the active step. */
body.rg-questionnaire-active .demo-person-dialog[open]{position:fixed!important;inset:auto!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;display:flex!important;flex-direction:column;width:min(820px,calc(100vw - 40px))!important;max-width:820px!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 40px)!important;padding:0!important;overflow:hidden!important;border:1px solid #dce6ed!important;border-radius:24px!important;background:#f8fafc;color:#263947;box-shadow:0 24px 90px #19374d33;font-size:16px}
.demo-person-dialog::backdrop{background:#17344770;backdrop-filter:blur(5px)}.demo-person-dialog>header{display:flex;align-items:center;justify-content:space-between;flex:none;gap:20px;padding:22px 26px;border-bottom:1px solid #e0e8ee}.demo-person-dialog header small{font-size:13px;color:#698292}.demo-person-dialog h2{font-size:24px;line-height:1.35;overflow-wrap:anywhere;margin:5px 0 0}.demo-person-dialog [data-close]{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;background:#eaf0f4;color:#587285}.demo-person-dialog [data-close]:hover{background:#dce7ee}
.demo-person-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:none;gap:8px;padding:18px 26px 0}.demo-person-steps button{display:flex;align-items:center;gap:8px;min-width:0;padding:11px 8px;border-radius:13px;background:#edf2f6;color:#6b8191;font:inherit;font-size:13px;line-height:1.35;text-align:left}.demo-person-steps button.active{background:#e2f4eb;color:#24835d}.demo-mini-progress{display:grid;place-items:center;position:relative;isolation:isolate;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:conic-gradient(#2cc787 var(--filled),#d4e1e9 0);color:#24835d}.demo-mini-progress:before{content:'';position:absolute;inset:3px;border-radius:50%;background:#fff;z-index:-1}.demo-mini-progress .demo-icon{width:15px!important;height:15px!important;flex-basis:15px!important}
body.rg-questionnaire-active .demo-person-dialog .demo-person-fields.form{display:block!important;flex:0 1 auto;height:auto!important;min-height:0!important;max-height:none!important;overflow:auto!important;overscroll-behavior:contain;padding:24px 26px!important;margin:0!important}
.demo-person-fields>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-items:start;grid-auto-rows:min-content;gap:20px 22px!important;height:auto!important;min-height:0!important}.demo-person-fields>div[data-page="0"]{grid-template-columns:repeat(3,minmax(0,1fr))}
body.rg-questionnaire-active .demo-person-dialog .rg-form-field{position:relative;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;min-width:0;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;font-size:16px!important;line-height:1.5;align-self:start}
body.rg-questionnaire-active .demo-person-dialog .rg-form-field[hidden]{display:none!important}.demo-person-dialog .rg-form-field>span:first-child{display:block;min-height:0!important;padding:0 26px 0 0!important;margin:0!important;font-size:15px!important;line-height:1.5}.demo-person-dialog .rg-field-help{position:absolute;top:1px;right:0;width:21px;height:21px}.demo-person-dialog .rg-field-help:before,.demo-person-dialog .rg-field-help:after{pointer-events:none}
body.rg-questionnaire-active .demo-person-dialog .rg-form-field input:not([type=file]),body.rg-questionnaire-active .demo-person-dialog .rg-form-field textarea,.rg-questionnaire-active .demo-select-trigger{font:inherit;font-size:16px!important;line-height:1.45!important;width:100%;height:50px!important;min-height:50px!important;max-height:none!important;padding:12px 14px!important;margin:0!important;box-sizing:border-box;border:1px solid #ccdce6;border-radius:13px;background:#fff;color:#263947}
body.rg-questionnaire-active .demo-person-dialog .rg-form-field textarea{height:84px!important;min-height:84px!important;max-height:140px!important;resize:vertical}.demo-person-fields .demo-field-file,.demo-person-fields .demo-field-address,.demo-person-fields .demo-field-wide{grid-column:1/-1}
.demo-person-dialog footer{display:flex;justify-content:flex-end;align-items:center;flex:none;gap:10px;padding:16px 26px;border-top:1px solid #e0e8ee;background:#fff}.demo-person-dialog footer .btn{min-height:46px;font-size:16px!important;padding:12px 18px}.demo-person-error{margin-right:auto;font-size:14px;color:#b7433d}.demo-person-dialog footer .demo-person-error[hidden]{display:none!important}
/* Popovers are in the top layer and do not add height to the grid. */
.demo-select{position:relative;min-width:0;width:100%}.demo-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}.demo-select-trigger>span:first-child{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-select-trigger>.demo-icon{color:#6f8797;transition:transform .15s}.demo-select-trigger[aria-expanded=true]>.demo-icon{transform:rotate(180deg)}
.demo-select-options,.demo-address-results{box-sizing:border-box;position:fixed;border:1px solid #d4e2eb;border-radius:15px;padding:6px;background:#fff;color:#263947;box-shadow:0 12px 36px #1e3f5726;overflow:auto;overscroll-behavior:contain;max-width:calc(100vw - 16px);font:16px/1.45 Lab,Arial,sans-serif}
.demo-select-options button,.demo-address-results button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;text-align:left;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;cursor:pointer}.demo-select-options button:hover,.demo-select-options button:focus-visible,.demo-select-options button[aria-selected=true],.demo-address-results button:hover,.demo-address-results button:focus-visible{background:#eaf6ef;color:#23835c}.demo-address-results button{justify-content:flex-start}.demo-address-results .demo-icon{color:#649c84}.demo-address-results p{margin:8px 10px;font-size:14px;line-height:1.5;color:#607b8e}.demo-address-credit{display:block;text-align:right;font-size:11px;color:#7a909d;padding:6px 10px 2px}.demo-address:empty{display:none}.demo-address{height:0;min-height:0}
.rg-questionnaire-active .rg-file{display:flex;align-items:center;gap:14px;width:100%;box-sizing:border-box;text-align:left;border:1px solid #dce7ed;border-radius:14px;background:#fff;padding:14px 16px;margin:0 0 8px;min-width:0}.rg-questionnaire-active .rg-file>span:first-child{flex:1;min-width:0}.rg-questionnaire-active .rg-file b{display:block;font-size:15px;line-height:1.5;overflow-wrap:anywhere;white-space:normal}.rg-questionnaire-active .rg-file small{display:block;font-size:13px;color:#718594;margin-top:4px}.rg-file>.demo-icon,.rg-file>span:last-child{flex-shrink:0;color:#547589}
.rg-questionnaire-active .demo-file-upload{position:relative;display:flex!important;flex-direction:row!important;align-items:center;gap:12px;border:1px dashed #92bfdd;border-radius:14px;padding:15px!important;background:#eef6fc;cursor:pointer;min-height:74px;box-sizing:border-box;margin:0!important}.demo-file-upload-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:11px;background:#dcebfb;color:#2588d4}.demo-file-upload b{font-size:15px;color:#247fbc}.demo-file-upload small{display:block;font-size:12px!important;line-height:1.5;margin-top:4px;color:#6a8495}.rg-questionnaire-active .demo-file-upload input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;opacity:0!important;padding:0!important;cursor:pointer}.demo-file-upload:focus-within{outline:2px solid #3197df;outline-offset:3px}
.rg-questionnaire-active .rg-field-label{font-size:16px}.rg-questionnaire-active .rg-wizard-section-heading p,.rg-questionnaire-active .rg-caption{font-size:16px}.rg-questionnaire-active .rg-wizard-nav button{font-size:16px}.rg-questionnaire-active .rg-wizard-safe{display:none}.rg-questionnaire-active button:focus-visible,.rg-questionnaire-active input:focus-visible{outline:3px solid #9dcefa;outline-offset:2px}
@media(max-width:650px){body.rg-questionnaire-active .demo-person-dialog[open]{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom))!important;border-radius:21px!important}.demo-person-dialog>header{padding:18px;gap:12px}.demo-person-dialog h2{font-size:21px}.demo-person-dialog header small{font-size:12px}.demo-person-steps{padding:14px 16px 0;gap:5px}.demo-person-steps button{flex-direction:column;align-items:center;text-align:center;font-size:12px;padding:9px 3px;gap:7px}.demo-person-fields>div,.demo-person-fields>div[data-page="0"]{grid-template-columns:minmax(0,1fr)!important;gap:17px!important}body.rg-questionnaire-active .demo-person-dialog .demo-person-fields.form{padding:20px 18px!important}.demo-person-dialog footer{padding:13px 18px;gap:10px}.demo-person-dialog footer>.btn{flex:1;min-width:0;padding:12px 10px}.demo-person-card{gap:10px;padding:15px;flex-wrap:wrap}.demo-person-card>div{min-width:140px}.demo-person-card .btn{font-size:15px;min-height:42px}.rg-questionnaire-active .rg-wizard-body{padding:20px 16px!important}.rg-questionnaire-active .rg-demo-shell{padding:18px 14px 40px}.rg-demo-bar strong{font-size:17px}.rg-questionnaire-active .demo-egrn-link{width:100%;box-sizing:border-box}.demo-person-error{flex-basis:100%;margin:0}.demo-person-dialog .rg-form-field>span:first-child{font-size:15px!important}}
.demo-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0!important}
/* One OKVED directory and one persistent selection basket. */
.demo-okved-workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:24px}.demo-okved-browser{min-width:0}.rg-questionnaire-active .demo-okved-search{position:relative;display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important;border:1px solid #bfd4e3;border-radius:15px;padding:0 14px!important;background:#fff;margin:0!important;box-shadow:0 2px 6px #173e5510}.demo-okved-search>.demo-icon{color:#6b8596}.rg-questionnaire-active .form .demo-okved-search input{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;min-height:54px!important;margin:0!important;padding:12px 0!important;font-size:16px!important;flex:1;min-width:0;border-radius:0}.demo-okved-search button{display:grid;place-items:center;width:32px;height:32px;background:#edf3f7;border-radius:50%;flex:none;color:#698596}.demo-okved-search:focus-within{border-color:#409de9;box-shadow:0 0 0 3px #3198e518}
.demo-okved-popular{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:12px 0 26px;font-size:12px;color:#708695}.demo-okved-popular button{padding:7px 10px;border:1px solid #dce6ed;background:#f7fafc;border-radius:9px;color:#456173;font:inherit;font-size:12px}.demo-okved-popular button:hover{background:#eaf5fe;border-color:#97c7e9}.demo-okved h4{font-size:17px!important;line-height:1.4;margin:0!important}.demo-okved-catalog-head{margin:0 0 14px}.demo-okved-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.demo-okved-categories>button{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;min-height:106px;border:1px solid #dce6ee;border-radius:15px;background:#fff;text-align:left;padding:17px 32px 17px 15px;color:#263e50;font:inherit}.demo-okved-categories b{font-size:15px;line-height:1.35;font-weight:600}.demo-okved-categories span:not(.demo-icon){font-size:12px;line-height:1.5;color:#718696}.demo-okved-categories .demo-icon{position:absolute;right:10px;top:18px;color:#83a1b4;width:16px!important;height:16px!important}.demo-okved-categories>button:hover{border-color:#91c4b0;background:#f2faf6}.demo-okved-all,.demo-okved-more{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px;margin-top:13px;border-radius:12px;background:#eff5f8;color:#3a6e88;font:inherit;font-size:14px}.demo-okved-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.demo-okved-results-head>div>button{display:flex;gap:7px;align-items:center;padding:0;background:none;color:#4a849d;font:inherit;font-size:13px;margin-bottom:12px}.demo-okved-results-head>div>span{display:block;margin-top:5px;font-size:12px;color:#718695}
.demo-okved-list{display:grid;gap:8px}.demo-okved-row{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid #dce6ee;border-radius:14px;padding:15px}.demo-okved-row-content{flex:1;min-width:0;display:grid;grid-template-columns:60px minmax(0,1fr);column-gap:10px;row-gap:8px}.demo-okved-row-content>b{font-size:15px;line-height:1.5;color:#2885c2;font-variant-numeric:tabular-nums}.demo-okved-row-content>span{font-size:14px;line-height:1.55;overflow-wrap:anywhere}.demo-okved-refine{display:flex;align-items:center;gap:5px;grid-column:2;background:none;padding:0;justify-self:start;color:#6e8798;font:inherit;font-size:12px}.demo-okved-refine .demo-icon{width:14px!important;height:14px!important}.demo-okved-refine[aria-expanded=true] .demo-icon{transform:rotate(180deg)}.demo-okved-add{display:flex;align-items:center;justify-content:center;gap:5px;min-width:34px;min-height:34px;flex-shrink:0;border-radius:10px;background:#e9f6ef;color:#25845b;font:inherit;font-size:12px;padding:7px}.demo-okved-add>.demo-icon{width:17px!important;height:17px!important}.demo-okved-add>span{display:none}.demo-okved-add:hover{background:#d5efdf}.demo-okved-add:disabled{opacity:1;background:transparent;color:#2a9c6e;cursor:default}.demo-okved-row.is-child{margin-left:22px;background:#f8fafb;border-style:dashed}.demo-okved-row.is-chosen{border-color:#b5deca}.demo-okved-no-results{padding:25px 16px;text-align:center;background:#f5f8fa;border-radius:15px}.demo-okved-no-results p{font-size:14px;line-height:1.5;color:#748997;margin:9px 0 0}
.demo-okved-basket{position:sticky;top:20px;background:#f6f9fb;border:1px solid #dce7ee;border-radius:18px;padding:18px;min-width:0}.demo-okved-basket-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px}.demo-okved-basket-head h4{font-size:16px!important}.demo-okved-basket-head>span{display:grid;place-items:center;min-width:25px;height:25px;border-radius:8px;background:#e5edf2;color:#5d7c8e;font-size:12px}.demo-okved-selected{padding:14px;background:#fff;border:1px solid #dce7ee;border-radius:13px;margin:0 0 9px;min-width:0}.demo-okved-selected.is-main{border-color:#aadac2;background:#eaf7f0}.demo-okved-selected-top{display:flex;align-items:center;gap:8px}.demo-okved-selected-top>b{font-size:16px;color:#256b4f}.demo-okved-selected-top>span{font-size:10px;color:#5f8472}.demo-okved-selected-top>button{display:grid;place-items:center;flex:none;margin-left:auto;width:28px;height:28px;background:transparent;color:#718e80}.demo-okved-selected-top .demo-icon{width:16px!important;height:16px!important}.demo-okved-selected>p{font-size:13px;line-height:1.5;margin:9px 0 0;color:#3f5b69;overflow-wrap:anywhere}.demo-okved-make-main{background:none;color:#247fae;padding:0;margin-top:10px;font:inherit;font-size:12px;text-align:left}.demo-okved-note{font-size:12px;line-height:1.6;color:#6b8393;margin:16px 0 0}.demo-okved-empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:8px 0;color:#7d95a4}.demo-okved-empty b{font-size:14px;color:#435f70}.demo-okved-empty p{font-size:13px;line-height:1.6;margin:0}.demo-okved-empty>.demo-icon{width:26px!important;height:26px!important}.demo-okved [data-okved-save-state]{font-size:13px;color:#b7433c;line-height:1.5}
/* Rates are the primary visual anchor, reporting uses aligned rows. */
.demo-tax-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.rg-questionnaire-active .demo-tax-card{display:flex;flex-direction:column;align-items:stretch;gap:0;text-align:left;border:1px solid #d7e4ec;border-radius:20px;padding:24px;background:#fff;color:#263947;font:inherit;transition:border-color .15s,box-shadow .15s,background .15s;min-width:0}.demo-tax-card:hover{border-color:#80bb9e;box-shadow:0 4px 18px #1f75480a}.rg-questionnaire-active .demo-tax-card.selected{border-color:#30c38a;background:#f0faf5;box-shadow:inset 0 0 0 1px #30c38a}.demo-tax-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.demo-tax-card-top h4{font-size:17px!important;line-height:1.4;margin:0!important;color:#294352}.demo-tax-radio{display:grid;place-items:center;width:23px;height:23px;border:1px solid #c9d9e3;border-radius:50%;flex:none;color:white;background:white}.selected .demo-tax-radio{border-color:#28b67d;background:#28b67d}.demo-tax-radio>.demo-icon{width:16px!important;height:16px!important}.demo-tax-rate{display:flex;align-items:center;gap:16px;margin:22px 0}.demo-tax-rate>strong{font-size:56px;line-height:1;letter-spacing:-2px;font-weight:600;color:#239568;white-space:nowrap}.demo-tax-rate>strong>span{font-size:30px;letter-spacing:-1px;margin-left:3px}.demo-tax-rate>div{display:grid;gap:7px;max-width:175px;font-size:13px;line-height:1.45;color:#6d8493}.demo-tax-rate>div>b{justify-self:start;color:#3486bc;background:#eaf4fb;padding:4px 8px;border-radius:7px;font-size:12px;font-weight:500}.demo-tax-card dl{margin:0;border-top:1px solid #e0e9ee}.demo-tax-card dl>div{display:grid;grid-template-columns:128px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid #e0e9ee;font-size:13px;line-height:1.5}.demo-tax-card dt{color:#788e9d}.demo-tax-card dd{margin:0;color:#344f60}.demo-tax-card>p{font-size:12px;line-height:1.55;color:#7a8f9d;margin:13px 0 18px;flex:1}.demo-tax-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:500;color:#4b7d95}.selected .demo-tax-choice{color:#21885d}.demo-tax-footnote{font-size:13px;color:#78909f;line-height:1.7;margin:2px 0 0}.demo-tax-footnote>a{color:#3c88ae;white-space:normal}.demo-tax-footnote .demo-icon{width:13px!important;height:13px!important;margin-left:4px!important}
@media(max-width:1080px){.demo-okved-workspace{grid-template-columns:minmax(0,1fr)}.demo-okved-basket{position:relative;top:0;order:-1}.demo-okved-empty{padding:0}.demo-okved-empty>.demo-icon{display:none!important}.demo-okved-empty{gap:5px}.demo-okved-empty p{font-size:13px}.demo-okved-basket [data-okved-selected]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.demo-okved-basket [data-okved-selected]>.demo-okved-empty{grid-column:1/-1}.demo-okved-selected{margin:0}.demo-tax-card dl>div{grid-template-columns:1fr;gap:3px}}
@media(max-width:650px){.demo-tax-options{grid-template-columns:minmax(0,1fr);gap:14px}.rg-questionnaire-active .demo-tax-card{padding:20px;border-radius:18px}.demo-tax-card-top h4{font-size:18px!important}.demo-tax-rate{margin:20px 0;gap:18px}.demo-tax-rate>strong{font-size:56px}.demo-tax-rate>div{font-size:14px}.demo-tax-card dl>div{grid-template-columns:1fr;gap:4px;font-size:14px;padding:10px 0}.demo-tax-card>p{font-size:13px}.demo-tax-choice{font-size:14px}.demo-okved-workspace{gap:18px}.demo-okved-basket{padding:15px;border-radius:15px}.demo-okved-basket [data-okved-selected]{grid-template-columns:1fr}.demo-okved-basket-head h4{font-size:16px!important}.demo-okved-note{font-size:12px;margin-top:12px}.demo-okved-popular{gap:6px;margin-bottom:22px}.demo-okved-popular>span{flex-basis:100%;font-size:12px}.demo-okved-popular button{font-size:13px;padding:8px 10px}.demo-okved-categories{gap:9px}.demo-okved-categories>button{min-height:115px;padding:14px 25px 14px 12px}.demo-okved-categories b{font-size:14px}.demo-okved-categories span:not(.demo-icon){font-size:12px}.demo-okved-row{padding:13px 12px;gap:8px}.demo-okved-row-content{grid-template-columns:minmax(0,1fr);gap:5px}.demo-okved-row-content>b{font-size:15px}.demo-okved-row-content>span{font-size:14px}.demo-okved-refine{grid-column:1;font-size:12px}.demo-okved-row.is-child{margin-left:12px}.demo-okved-search input::placeholder{font-size:14px}.demo-okved-all{font-size:14px}.demo-okved-no-results{padding:22px 14px}}
@media(prefers-reduced-motion:reduce){.demo-select-trigger>.demo-icon,.demo-tax-card{transition:none!important}}
.demo-person-fields>div[data-page="0"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.demo-person-dialog .demo-person-fields .demo-field-wide{grid-column:1/-1}
.demo-okved-extra-list{min-width:0}.demo-okved-extra-list>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;font-size:12px;color:#5b7b8e;padding:11px 0;cursor:pointer}.demo-okved-extra-list>summary::-webkit-details-marker{display:none}.demo-okved-extra-list[open]>summary>.demo-icon{transform:rotate(180deg)}.demo-okved-extra-list .demo-okved-selected{margin-bottom:8px}
@media(max-width:1080px){.demo-okved-workspace{display:flex;flex-direction:column;gap:0}.demo-okved-browser{display:contents}.demo-okved-search{order:0;width:100%}.demo-okved-popular{order:1}.demo-okved-basket{order:2;width:100%;margin-bottom:22px}.demo-okved-browser>[data-okved-catalog],.demo-okved-browser>[data-okved-found]{order:3;width:100%}.demo-okved-basket [data-okved-selected]{display:block}.demo-okved-extra-list{margin-top:4px}.demo-okved-extra-list>summary{font-size:14px}.demo-okved-basket .demo-okved-note{display:none}.demo-okved-selected>p{font-size:14px}}
.rg-questionnaire-active .rg-wizard-nav>.demo-mobile-section-trigger{display:none}
body.rg-questionnaire-active .demo-section-dialog[open]{position:fixed!important;inset:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%);margin:0!important;display:block!important;width:min(430px,calc(100vw - 24px))!important;max-width:430px!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 40px)!important;padding:20px!important;border:1px solid #d9e6ed!important;border-radius:22px!important;overflow:auto!important;background:#fff;color:#263947;box-shadow:0 22px 80px #19394d30}
.demo-section-dialog::backdrop{background:#17344770;backdrop-filter:blur(4px)}.demo-section-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.demo-section-dialog h3{font-size:21px;margin:0}.demo-section-dialog [data-sections-close]{display:grid;place-items:center;width:36px;height:36px;background:#edf3f7;border-radius:50%;color:#657e90}.demo-section-dialog>div{display:grid;gap:6px}.demo-section-dialog [data-jump-section]{display:flex;align-items:center;gap:12px;min-height:54px;background:#f5f8fa;border-radius:13px;padding:10px 12px;color:#506d80;font:inherit;text-align:left}.demo-section-dialog [data-jump-section].active{background:#e5f5ec;color:#27835f}.demo-section-dialog [data-jump-section]>b{font-weight:500;font-size:16px}.demo-section-dialog [data-jump-section]>small{margin-left:auto;font-size:12px;color:#7c95a2}.demo-section-dialog [data-jump-section]>.demo-icon{width:16px!important;height:16px!important}.demo-section-dot{display:grid;place-items:center;position:relative;isolation:isolate;width:27px;height:27px;flex:none;border-radius:50%;background:conic-gradient(#2ac585 var(--progress),#d8e5ed 0);color:#27835f}.demo-section-dot:before{content:'';position:absolute;inset:3px;border-radius:50%;background:#fff;z-index:-1}.demo-section-dot .demo-icon{width:17px!important;height:17px!important}
@media(max-width:650px){.rg-questionnaire-active .rg-wizard-nav{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:0 5px!important;position:static!important;overflow:visible!important;width:100%!important;padding:0!important;margin:0!important;white-space:normal!important}.rg-questionnaire-active .rg-wizard-nav>.demo-mobile-section-trigger{display:flex!important;grid-column:1/-1;align-items:center;justify-content:space-between;gap:12px;padding:0 0 7px!important;min-height:31px;border-radius:0;background:transparent;color:#6c8595;font-size:12px}.demo-mobile-section-trigger>span{display:inline!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px!important;white-space:nowrap}.demo-mobile-section-trigger>b{display:flex!important;align-items:center;gap:5px;font-size:12px!important;font-weight:500;color:#3e839f}.demo-mobile-section-trigger .demo-icon{width:15px!important;height:15px!important}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]{display:flex!important;align-items:center;justify-content:center;min-width:0!important;width:100%!important;height:24px!important;min-height:24px!important;flex:none!important;padding:6px 0!important;margin:0!important;border:0!important;border-radius:4px!important;background:transparent!important}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]>span.rg-step-progress{display:block!important;width:100%!important;height:5px!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:99px!important;background:linear-gradient(to right,#30c68c var(--progress),#dce7ed var(--progress))!important;box-shadow:none!important;padding:0!important;margin:0!important}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step].active>span{box-shadow:0 0 0 2px #a8dbc4!important}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]>span:before,.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]>span:after,.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]>span>.demo-icon,.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]>b,.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]>i,.rg-questionnaire-active .rg-wizard-nav>p{display:none!important}.rg-questionnaire-active .rg-wizard-header{flex-wrap:nowrap!important;align-items:center!important;gap:14px;margin-bottom:16px}.rg-questionnaire-active .rg-wizard-header>div{min-width:0;flex:1}.rg-questionnaire-active .rg-wizard-header .rg-eyebrow{font-size:10px;line-height:1.4}.rg-questionnaire-active .rg-wizard-header h2{font-size:27px;margin:7px 0}.rg-questionnaire-active .rg-wizard-header .rg-overall-progress{flex:0 0 46px;width:46px;height:46px}.rg-questionnaire-active .rg-wizard-section-heading>.rg-eyebrow{display:none}.rg-questionnaire-active .rg-wizard-layout{gap:14px!important}}
.rg-questionnaire-active .rg-wizard-nav .rg-step-progress.is-complete,.rg-questionnaire-active .demo-mini-progress.is-complete,.rg-questionnaire-active .demo-section-dot.is-complete{background:#2bc486!important;color:#fff!important;border-color:#2bc486!important;box-shadow:none!important}.rg-questionnaire-active .rg-wizard-nav .rg-step-progress.is-complete:before,.rg-questionnaire-active .rg-wizard-nav .rg-step-progress.is-complete:after,.demo-mini-progress.is-complete:before,.demo-section-dot.is-complete:before{display:none!important}.rg-step-progress.is-complete>.demo-icon{width:18px!important;height:18px!important}
.demo-okved-search input[type=search]::-webkit-search-cancel-button,.demo-okved-search input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}
.rg-questionnaire-active .rg-wizard-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:22px;margin-bottom:24px}.demo-section-title-group{min-width:0;flex:1}.demo-section-title-group h3{font-size:24px;margin:8px 0 10px}.demo-section-title-group>p:not(.rg-save-state){margin:0;font-size:15px;line-height:1.6}.demo-section-title-group>.rg-save-state{font-size:12px!important;line-height:1.5;margin:12px 0 0}.rg-questionnaire-active .rg-wizard-section-heading>.rg-overall-progress{flex:0 0 58px;width:58px;height:58px;font-size:13px;margin:0}.rg-questionnaire-active .rg-wizard-layout{margin-top:0}.rg-questionnaire-active .rg-demo-bar{margin-bottom:24px}
@media(max-width:650px){.rg-questionnaire-active .rg-wizard-section-heading{gap:14px;margin-bottom:20px;padding-bottom:19px}.demo-section-title-group h3{font-size:22px!important;margin:0 0 9px;line-height:1.3}.demo-section-title-group>.rg-eyebrow{display:none}.demo-section-title-group>p:not(.rg-save-state){font-size:14px!important;line-height:1.6}.rg-questionnaire-active .rg-wizard-section-heading>.rg-overall-progress{width:46px;height:46px;flex-basis:46px;font-size:11px}.rg-questionnaire-active .rg-demo-bar{margin-bottom:18px}.demo-section-title-group>.rg-save-state{font-size:11px!important;margin-top:10px}}
.demo-file-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:8px;margin-bottom:8px;min-width:0}.rg-questionnaire-active .demo-file-row>.rg-file{margin-bottom:0}.demo-file-remove{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eef2f5;color:#7d929e;border:1px solid transparent;cursor:pointer}.demo-file-remove:hover,.demo-file-remove:focus-visible{background:#fff0ed;color:#c65e4f;border-color:#f1c6bd}.demo-file-remove:disabled{opacity:.5;cursor:wait}.demo-file-row:has(.rg-file):not(:has(.demo-file-remove)){grid-template-columns:minmax(0,1fr)}
/* Motion is local to the questionnaire. Never fade or reintroduce the whole page on updates. */
@property --progress{syntax:'<percentage>';inherits:false;initial-value:0%}
@property --filled{syntax:'<percentage>';inherits:false;initial-value:0%}
.rg-questionnaire-active .rg-wizard-page,.rg-questionnaire-active .rg-wizard-body,.rg-questionnaire-active .rg-wizard-nav{animation:none!important;opacity:1!important;transform:none!important}
.rg-questionnaire-active dialog[open]{animation:demo-dialog-open 260ms cubic-bezier(.22,1,.36,1)!important}
@keyframes demo-dialog-open{from{scale:.985;opacity:.97}to{scale:1;opacity:1}}
.rg-questionnaire-active .rg-overall-progress,.rg-questionnaire-active .rg-step-progress,.rg-questionnaire-active .demo-mini-progress,.rg-questionnaire-active .demo-section-dot{transition:--progress 420ms cubic-bezier(.22,1,.36,1),--filled 420ms cubic-bezier(.22,1,.36,1),background-color 220ms,color 180ms}
.rg-questionnaire-active button{transition:background-color 180ms,color 180ms,border-color 180ms,box-shadow 220ms;touch-action:manipulation}
.rg-questionnaire-active .demo-tax-card{transition:background-color 260ms,border-color 240ms,box-shadow 260ms!important}.demo-tax-radio{transition:background-color 220ms,border-color 220ms}.demo-tax-choice{transition:color 220ms}.demo-person-steps button{transition:background-color 220ms,color 200ms}.demo-select-options:popover-open,.demo-address-results:popover-open{animation:demo-menu-open 180ms cubic-bezier(.22,1,.36,1)}
@keyframes demo-menu-open{from{translate:0 -4px;scale:.99;opacity:.98}to{translate:0 0;scale:1;opacity:1}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.rg-questionnaire-active .demo-okved-categories>button:hover{box-shadow:0 5px 16px #276c4e0d}.rg-questionnaire-active .demo-file-upload:hover{background:#e3f1fc;border-color:#63a8dc}}
@media(prefers-reduced-motion:reduce){.rg-questionnaire-active *,.rg-questionnaire-active *:before,.rg-questionnaire-active *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Current location stays green; hover is a separate blue navigation preview. */
.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]{position:relative;transition:background-color 220ms,color 220ms,box-shadow 240ms;isolation:isolate}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]>b{transition:translate 240ms cubic-bezier(.22,1,.36,1)}.rg-questionnaire-active .rg-wizard-nav .demo-nav-arrow{display:flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;margin-left:auto;opacity:0;translate:-7px 0;color:#3b8fbd;transition:opacity 180ms,translate 260ms cubic-bezier(.22,1,.36,1)}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step].active{background:#e9f7ef;color:#258760;box-shadow:inset 3px 0 0 #2bc486}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step].active .demo-nav-arrow{opacity:1;translate:0 0;color:#278c64}
@media(hover:hover) and (min-width:651px){.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]:not(.active):hover{background:#eaf4fc;color:#327fa7;box-shadow:inset 0 0 0 1px #d3e8f7}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]:hover .demo-nav-arrow{opacity:1;translate:0 0}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]:not(.active):hover>b{translate:2px 0}.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step].active:hover .demo-nav-arrow{translate:3px 0}}
.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step]:focus-visible .demo-nav-arrow{opacity:1;translate:0 0}
@media(max-width:650px){.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step].active{box-shadow:none!important}}
.rg-questionnaire-active .rg-wizard-nav>[data-wizard-step].active{box-shadow:none}
.demo-completion-guide{padding:16px 18px;border:1px solid #eddbad;border-radius:15px;background:#fffaf0;color:#785b28;margin:0 0 20px;grid-column:1/-1}.demo-completion-heading{display:flex;gap:10px;align-items:flex-start}.demo-completion-heading>.demo-icon{color:#bd954d;margin-top:2px!important}.demo-completion-heading b{font-size:15px;font-weight:500}.demo-completion-heading p{font-size:13px;line-height:1.5;margin:5px 0 0;color:#9b865f}.demo-completion-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.demo-completion-links button{display:flex;align-items:center;gap:6px;max-width:100%;padding:7px 10px;background:#fff;border:1px solid #ecdfc5;border-radius:9px;font:inherit;font-size:12px;text-align:left;color:#8c6b33}.demo-completion-links .demo-icon{width:14px!important;height:14px!important;flex-basis:14px!important}.demo-completion-skip{display:flex;align-items:center;gap:7px;padding:0;background:none;color:#8a713f;font:inherit;font-size:13px;margin-top:13px}.demo-completion-skip>.demo-icon{width:15px!important;height:15px!important}.rg-questionnaire-active .demo-needs-attention input:not([type=file]),.rg-questionnaire-active .demo-needs-attention textarea,.rg-questionnaire-active .demo-needs-attention .demo-select-trigger{border-color:#d9b978!important;background-color:#fffdf7!important;box-shadow:0 0 0 2px #edd7a41c}.rg-questionnaire-active .demo-needs-attention.demo-person-card,.rg-questionnaire-active .demo-needs-attention.demo-tax-options,.rg-questionnaire-active .demo-needs-attention.demo-okved-search{outline:2px solid #e7cea0;outline-offset:3px}.rg-questionnaire-active .demo-needs-attention .demo-file-upload{border-color:#d5af69;background:#fff9ed}.rg-questionnaire-active .demo-needs-attention>.rg-field-label:after{content:' · нужно заполнить';font-size:11px;color:#b28c4b;font-weight:400;white-space:nowrap}.demo-person-fields .demo-completion-guide{margin-top:0}.demo-person-fields .demo-completion-heading b{font-size:14px}.demo-person-fields .demo-completion-links{gap:6px}.demo-person-fields .demo-completion-links button{font-size:12px}.rg-questionnaire-active .demo-needs-attention{transition:outline-color 220ms,background-color 220ms}.rg-questionnaire-active .demo-needs-attention input{transition:border-color 220ms,background-color 220ms}
@media(max-width:650px){.demo-completion-guide{padding:14px;border-radius:13px;margin-bottom:17px}.demo-completion-links button{font-size:13px;min-height:36px}.demo-completion-heading p{font-size:12px}.demo-completion-skip{min-height:36px}.rg-questionnaire-active .demo-needs-attention>.rg-field-label:after{display:none}}
/* Mobile task overview and focused section screens. Desktop remains unchanged. */
.demo-mobile-home,.demo-mobile-topbar,.demo-mobile-heading,.demo-mobile-person-stage{display:none}.demo-mobile-field-group,.demo-mobile-group-content{display:contents}.demo-mobile-group-heading,.demo-mobile-group-toggle{display:none}
@media(max-width:900px){
 body.rg-questionnaire-active{background:#f7f9fb!important}.rg-questionnaire-active .rg-demo-shell{padding:0 0 24px!important;max-width:100%;margin:0}.rg-questionnaire-active .rg-demo-bar{display:flex;align-items:center;flex-wrap:nowrap;padding:16px 20px!important;gap:10px!important;margin:0!important;border-bottom:1px solid #e5edf2;background:#fff}.rg-questionnaire-active .rg-demo-bar>a{flex:0 0 25px}.rg-demo-bar img{width:25px!important;height:32px!important}.rg-questionnaire-active .rg-demo-bar>div{min-width:0!important;flex:1}.rg-questionnaire-active .rg-demo-bar strong{font-size:14px!important;line-height:1.35}.rg-questionnaire-active .rg-demo-bar p{display:none}.rg-questionnaire-active .rg-demo-bar>#demo-reset{width:38px;height:38px;min-height:38px;padding:0!important;font-size:0!important;flex:0 0 38px;background:#f2f6f9;border-radius:12px}.rg-questionnaire-active .rg-demo-bar>#demo-reset:after{content:'↻';font-size:23px;color:#6b8293}
 .rg-questionnaire-active .rg-wizard-layout{display:block!important;margin:0!important}.rg-questionnaire-active .rg-wizard-nav{display:none!important}.rg-questionnaire-active .rg-wizard-page{padding:0!important}.demo-mobile-topbar{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 7px;gap:16px}.demo-mobile-topbar>button{display:flex;align-items:center;gap:7px;background:none;padding:8px 0;font:inherit;font-size:15px;color:#398b72;min-height:40px}.demo-mobile-topbar>span{font-size:12px;color:#8b9ba8}.demo-mobile-topbar .demo-icon{width:18px!important;height:18px!important}
 .rg-questionnaire-active .rg-wizard-body{margin:0!important;padding:14px 20px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.rg-questionnaire-active .rg-wizard-section-heading{padding:0 0 22px!important;margin:0!important;gap:0!important;border:0!important;display:block!important}.demo-desktop-heading{display:none}.demo-mobile-heading{display:block}.demo-section-title-group h3{font-size:27px!important;line-height:1.25!important;letter-spacing:-.5px;margin:0 0 9px!important}.demo-section-title-group>.rg-eyebrow,.rg-wizard-section-heading>.rg-overall-progress{display:none!important}.demo-section-title-group>p:not(.rg-save-state){font-size:14px!important;line-height:1.55!important;color:#748a9b;margin:0!important}.demo-section-title-group>.rg-save-state{font-size:11px!important;margin:10px 0 0!important;color:#368f6b!important}.rg-questionnaire-active .rg-wizard-body .form{display:flex!important;flex-direction:column;gap:22px!important;min-width:0}
 .rg-questionnaire-active .rg-wizard-body .rg-form-field{position:relative;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:0!important;margin:0!important;font-size:16px!important;line-height:1.45!important;min-width:0;max-width:100%}.rg-questionnaire-active .rg-wizard-body .rg-form-field[hidden]{display:none!important}.rg-questionnaire-active .rg-wizard-body .rg-field-label,.rg-questionnaire-active .rg-wizard-body .rg-form-field>span:first-child{font-size:15px!important;line-height:1.45;min-height:0!important;margin:0!important;padding:0 25px 0 0!important;font-weight:500}.rg-questionnaire-active .rg-wizard-body .rg-field-help{position:absolute!important;right:0!important;top:0!important;width:20px;height:20px}.rg-questionnaire-active .rg-wizard-body input:not([type=checkbox]):not([type=file]),.rg-questionnaire-active .rg-wizard-body textarea,.rg-questionnaire-active .rg-wizard-body .demo-select-trigger{font-size:16px!important;font-weight:400!important;min-height:52px!important;border-radius:13px!important;background:#fff!important;border-color:#d7e2e9!important;padding:13px 14px!important;margin:0!important;width:100%!important;box-sizing:border-box!important;line-height:1.5!important}.rg-questionnaire-active .rg-wizard-body textarea{height:92px;min-height:92px!important}.rg-questionnaire-active .rg-wizard-body .check{display:flex!important;flex-direction:row!important;align-items:flex-start!important;padding:14px!important;background:#fff!important;border:1px solid #e0e9ef;border-radius:13px}.rg-questionnaire-active .rg-wizard-body .check>span{padding:0!important;font-size:14px!important;font-weight:400}.rg-questionnaire-active .rg-wizard-body input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;accent-color:#2dbd85}
 .demo-mobile-field-group{display:block;padding-bottom:22px;border-bottom:1px solid #e2eaf0}.demo-mobile-group-content{display:flex;flex-direction:column;gap:20px}.demo-mobile-group-heading{display:block;font-size:12px!important;letter-spacing:.4px;text-transform:uppercase;font-weight:500;color:#8b9eac;margin:0 0 16px!important}.demo-mobile-optional{padding:0!important;border:1px solid #dce7ee;border-radius:14px;background:#fff}.demo-mobile-group-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px;padding:16px;background:none;font:inherit;font-size:14px;color:#647f90;text-align:left}.demo-mobile-optional>.demo-mobile-group-content{padding:0 16px 18px}.demo-mobile-optional.collapsed>.demo-mobile-group-content{display:none}.demo-mobile-optional:not(.collapsed) .demo-mobile-group-toggle .demo-icon{rotate:180deg}.demo-mobile-group-toggle .demo-icon{width:17px!important;height:17px!important;transition:rotate 200ms}
 .rg-questionnaire-active .demo-mobile-actions{position:sticky;bottom:0;z-index:15;display:flex!important;align-items:center!important;gap:10px!important;padding:13px 0 calc(13px + env(safe-area-inset-bottom))!important;margin:0!important;border-top:1px solid #e0e8ee!important;background:#f7f9fb;box-shadow:0 -12px 20px #f7f9fbdd}.demo-mobile-actions>span{display:none!important}.demo-mobile-actions>button{min-height:50px!important;font-size:16px!important;border-radius:14px!important;margin:0!important;padding:12px 16px!important}.demo-mobile-actions>button:first-child{flex:0 0 auto;background:#eaf0f4;color:#607c8e}.demo-mobile-actions>[data-mobile-primary]{flex:1;background:#2798f4;color:#fff}.demo-mobile-actions>#rg-wizard-prev:first-child{font-size:14px!important}
 .demo-mobile-home{padding:25px 20px 24px}.demo-mobile-home-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.demo-mobile-home-heading>div{flex:1;min-width:0}.demo-mobile-home-heading>div>span{font-size:10px;letter-spacing:1px;color:#8a9eac}.demo-mobile-home h1{font-size:29px;letter-spacing:-.7px;line-height:1.2;margin:7px 0 9px;color:#273f4e}.demo-mobile-home-heading p{font-size:13px;color:#748c9c;margin:0;line-height:1.5}.demo-mobile-total{position:relative;isolation:isolate;display:grid;place-items:center;width:60px;height:60px;flex:0 0 60px;border-radius:50%;background:conic-gradient(#2dc78b var(--progress),#e3ecef 0);color:#308c68}.demo-mobile-total:before{content:'';position:absolute;inset:4px;background:#f7f9fb;border-radius:50%;z-index:-1}.demo-mobile-total>b{font-size:15px;font-weight:500}.demo-mobile-task-list{display:grid;gap:9px}.demo-mobile-task-list>button{display:flex;align-items:center;gap:13px;width:100%;padding:14px;border-radius:16px;border:1px solid #e0e9ee;background:#fff;text-align:left;color:#263f50;min-height:74px}.demo-mobile-task-list>button>span:nth-child(2){display:grid;gap:5px;min-width:0;flex:1}.demo-mobile-task-list b{font-size:16px;line-height:1.2;font-weight:500}.demo-mobile-task-list small{font-size:11px;color:#8b9fac}.demo-mobile-task-state{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border-radius:12px;color:#8aa0ae;background:#f0f5f8}.demo-mobile-task-state>.demo-icon{width:19px!important;height:19px!important}.demo-mobile-task-list>button>.demo-icon{color:#a5b5c0;width:17px!important;height:17px!important}.demo-mobile-task-list>button.complete{border-color:#c5e8d5;background:#f6fcf9}.demo-mobile-task-list>button.complete small{color:#4f9c79}.demo-mobile-task-list>button.complete .demo-mobile-task-state{background:#2bc486;color:#fff}.demo-mobile-task-list>button.started .demo-mobile-task-state{background:#eaf4fe;color:#468fbd}.demo-mobile-task-list>button.started small{color:#b4975e}.demo-mobile-autosave{display:flex;justify-content:center;align-items:center;gap:6px;color:#8ba09e;font-size:11px;line-height:1.5;margin:20px 0 0}.demo-mobile-autosave>.demo-icon{width:14px!important;height:14px!important}
 .demo-mobile-at-home>.demo-mobile-home{display:block}.demo-mobile-at-home>.rg-wizard-layout,.demo-mobile-at-home>.demo-mobile-topbar{display:none!important}
 /* Participant sheet uses the current step title, not four desktop tabs. */
 body.rg-questionnaire-active .demo-person-dialog[open]{top:auto!important;bottom:0!important;left:0!important;right:0!important;inset:auto 0 0!important;transform:none!important;width:100%!important;max-width:none!important;max-height:94dvh!important;border-radius:24px 24px 0 0!important;border:0!important;box-shadow:0 -20px 70px #1b384d24}.demo-person-dialog>header{padding:19px 20px 16px;align-items:flex-start}.demo-person-dialog header small{font-size:11px}.demo-person-dialog h2{font-size:21px!important;margin-top:5px}.demo-mobile-person-stage{display:block;margin:9px 0 0;color:#8397a5;font-size:12px;line-height:1.4}.demo-person-dialog .demo-person-steps{display:none!important}body.rg-questionnaire-active .demo-person-dialog .demo-person-fields.form{padding:20px!important}.demo-person-dialog footer{padding:12px 20px calc(12px + env(safe-area-inset-bottom))!important}.demo-person-dialog footer>.btn{border-radius:13px;min-height:50px}.demo-person-dialog footer>[data-person-prev]{flex:0 0 84px;background:#eaf0f4;color:#647e90}.demo-person-dialog footer>[data-person-next],.demo-person-dialog footer>[data-person-save]{flex:1}.demo-person-fields>div,.demo-person-fields>div[data-page="0"]{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}.demo-person-dialog .rg-form-field>span:first-child{font-size:15px!important}.demo-completion-guide{padding:13px!important;margin-bottom:17px!important}.demo-completion-heading p{display:none}.demo-completion-links>button:not(:first-child){display:none}.demo-completion-heading b{font-size:14px}.demo-completion-skip{font-size:12px;margin-top:8px}
 .demo-person-card{padding:15px;gap:11px;border-radius:16px;flex-wrap:nowrap}.demo-person-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:12px;font-size:14px}.demo-person-card>div{min-width:0!important}.demo-person-card b{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.demo-person-card small{font-size:12px}.demo-person-card [data-edit-person]{font-size:13px!important;padding:10px 12px!important;min-height:40px}.demo-person-remove{width:30px;height:35px;flex:0 0 30px;background:transparent}.rg-founder-toolbar{display:flex;flex-direction:column;gap:12px}.rg-founder-toolbar>p,.rg-founder-toolbar>small{display:none}.rg-founder-toolbar>[data-add-founder]{min-height:50px;width:100%;font-size:15px;border-radius:14px}
 .rg-questionnaire-active .rg-premise-note{font-size:13px!important;line-height:1.6;padding:15px;border-radius:14px}.rg-questionnaire-active .demo-egrn-link{margin-top:12px;font-size:14px;min-height:46px;padding:10px 14px}.rg-questionnaire-active .rg-file b{font-size:13px;line-height:1.45}.rg-questionnaire-active .rg-file small{font-size:11px}.rg-questionnaire-active .rg-file{padding:12px}.demo-file-upload b{font-size:14px}.demo-file-upload small{font-size:11px!important}.rg-questionnaire-active .demo-file-upload{padding:14px!important;min-height:74px}.demo-file-row{grid-template-columns:minmax(0,1fr) 36px;gap:6px}.demo-file-remove{width:36px;height:40px}.demo-okved-workspace{gap:0}.demo-okved-popular{margin-bottom:17px}.demo-okved-basket{padding:13px;margin-bottom:20px}.demo-okved-selected>p{font-size:13px;line-height:1.5}.demo-okved-categories{grid-template-columns:1fr!important;gap:9px}.demo-okved-categories>button{min-height:0!important;padding:15px 37px 15px 14px!important;gap:4px!important}.demo-okved-categories b{font-size:15px}.demo-okved-categories span:not(.demo-icon){font-size:12px}.demo-okved-categories .demo-icon{top:23px!important;right:14px!important}.demo-okved-row-content>span{font-size:14px}.demo-tax-options{grid-template-columns:1fr!important;gap:14px}.rg-questionnaire-active .demo-tax-card{padding:19px}.demo-tax-card dl>div{grid-template-columns:1fr;gap:3px;font-size:13px}.demo-tax-card-top h4{font-size:16px!important}.demo-tax-card>p{font-size:12px}.demo-tax-rate{margin:18px 0}.demo-tax-choice{font-size:13px}.demo-tax-footnote{font-size:12px!important}
}
.demo-mobile-action-icon,.demo-mobile-primary-label{display:none}.demo-desktop-action-label{display:contents}
@media(max-width:900px){.demo-mobile-actions>.btn>.demo-desktop-action-label{display:none!important}.demo-mobile-actions .demo-mobile-action-icon{display:grid;place-items:center}.demo-mobile-actions .demo-mobile-primary-label{display:inline}.rg-questionnaire-active .demo-mobile-actions>#rg-wizard-prev{width:50px;flex:0 0 50px;padding:12px!important}.rg-questionnaire-active .rg-wizard-body .demo-field-address textarea{height:84px!important;min-height:84px!important;resize:vertical}.rg-consent-gate{margin:0!important;border:0!important;border-radius:0!important;padding:24px 20px!important}.rg-consent-gate h3{font-size:24px;line-height:1.3}.rg-consent-gate p{font-size:15px;line-height:1.6}.rg-consent-gate .btn{min-height:50px;width:100%;border-radius:14px}}
.demo-mobile-description{display:none}
@media(max-width:900px){.demo-mobile-description{display:inline}.demo-desktop-description{display:none}.rg-questionnaire-active .rg-demo-bar{padding:12px 20px!important}.demo-mobile-topbar{padding:9px 20px 3px}.rg-questionnaire-active .rg-wizard-body{padding-top:10px!important}.rg-questionnaire-active .rg-wizard-section-heading{padding-bottom:20px!important}.demo-section-title-group>.rg-save-state{display:none!important}.demo-section-title-group>.rg-save-state.error{display:flex!important;color:#bd4b43!important}.demo-mobile-field-group[data-mobile-group=company_full]>.demo-mobile-group-heading{display:none}.demo-tax-card:not(.selected) dl>div:not(:first-child),.demo-tax-card:not(.selected)>p{display:none}.demo-tax-card:not(.selected) .demo-tax-choice{font-size:0;margin-top:14px}.demo-tax-card:not(.selected) .demo-tax-choice:before{content:'Выбрать · подробнее';font-size:13px}.demo-tax-card .demo-tax-rate{margin:17px 0}.demo-tax-card dl>div{padding:10px 0}.demo-tax-card:not(.selected) dl>div{display:flex;gap:8px;justify-content:space-between}.demo-tax-card:not(.selected) dl>div>dd{text-align:right}.demo-tax-card:not(.selected){min-height:0}}
@media(max-width:900px){.demo-mobile-send{width:100%;min-height:52px;margin-top:18px;border-radius:14px;font-size:16px}}
@media(max-width:900px){.demo-okved-add{min-width:44px;min-height:44px}.demo-file-row{grid-template-columns:minmax(0,1fr) 44px}.demo-file-remove{width:44px;height:44px}.demo-okved-selected-top>button{width:36px;height:36px}.demo-person-remove{width:36px;height:40px;flex-basis:36px}}
.demo-okved-selection-link{display:none}
@media(max-width:900px){.demo-okved:has([data-okved-query]:not(:placeholder-shown)) .demo-okved-basket,.demo-okved:has([data-okved-query]:not(:placeholder-shown)) .demo-okved-popular{display:none!important}.demo-okved:has([data-okved-query]:not(:placeholder-shown)) [data-okved-found]{margin-top:20px}.demo-okved-selection-link{display:block;padding:7px 10px;background:#e9f5ee;color:#378460;border-radius:9px;font:inherit;font-size:12px;white-space:nowrap}.demo-okved-results-head{align-items:flex-start}.demo-okved-results-head h4{font-size:16px!important}.demo-okved-results-head>div>span{font-size:12px}}
@media(max-width:900px){.rg-questionnaire-active .demo-tax-card:not(.selected):hover{border-color:#d7e4ec;box-shadow:none}}
@media(max-width:900px){.rg-questionnaire-active .rg-demo-shell{padding-left:env(safe-area-inset-left)!important;padding-right:env(safe-area-inset-right)!important}.rg-questionnaire-active .rg-demo-bar{padding-top:calc(12px + env(safe-area-inset-top))!important}.rg-questionnaire-active .rg-wizard-body{display:flex!important;flex-direction:column;min-height:calc(100dvh - 115px - env(safe-area-inset-top));box-sizing:border-box}.rg-questionnaire-active .rg-wizard-body>.form{flex:1}.rg-questionnaire-active .demo-mobile-actions{margin-top:auto!important;bottom:var(--demo-keyboard-offset,0px)!important}.rg-questionnaire-active .rg-capital-summary .error{color:#8499a8}.rg-questionnaire-active .rg-capital-summary span{font-size:14px;line-height:1.6}body.rg-questionnaire-active .demo-person-dialog[open]{bottom:var(--demo-keyboard-offset,0px)!important;max-height:min(94dvh,calc(var(--demo-visual-height,100dvh) - 12px))!important}}
@media(max-width:900px){.rg-questionnaire-active .rg-wizard-body textarea,.rg-questionnaire-active .demo-person-dialog textarea{resize:none!important}}
@media(max-width:900px){.rg-questionnaire-active .rg-demo-bar>#demo-reset:after{content:'';display:block;width:20px;height:20px;margin:auto;background:#6b8293;mask:url('/assets/icons/lucide/rotate-ccw.svg') center/contain no-repeat;-webkit-mask:url('/assets/icons/lucide/rotate-ccw.svg') center/contain no-repeat}}
@media(max-width:900px){.rg-review-errors{padding:15px;border-radius:14px;font-size:14px}.rg-review-errors button{min-height:46px;font-size:14px}.rg-review-errors h4{font-size:16px}}
@media(max-width:900px){body.rg-questionnaire-active .rg-wizard-body .rg-form-field.demo-needs-attention input:not([type=file]),body.rg-questionnaire-active .rg-wizard-body .rg-form-field.demo-needs-attention textarea,body.rg-questionnaire-active .rg-wizard-body .rg-form-field.demo-needs-attention .demo-select-trigger{border-color:#d9b978!important;background:#fffdf5!important;box-shadow:0 0 0 2px #edd7a41c!important}}

/* Shared accessible checkbox, scoped to the standalone questionnaire. */
body.rg-questionnaire-active input[type="checkbox"]{appearance:none!important;-webkit-appearance:none!important;display:inline-block!important;flex:0 0 24px!important;width:24px!important;height:24px!important;min-height:24px!important;margin:2px 0 0!important;padding:0!important;border:2px solid #b8ccd8!important;border-radius:7px!important;background:#fff!important;cursor:pointer;vertical-align:top;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
body.rg-questionnaire-active input[type="checkbox"]:checked{border-color:#24bf86!important;background:#24bf86 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center/18px 18px no-repeat!important}
body.rg-questionnaire-active input[type="checkbox"]:focus-visible{outline:3px solid #a8d4ff!important;outline-offset:3px}
body.rg-questionnaire-active input[type="checkbox"]:disabled{cursor:default;opacity:.55}
body.rg-questionnaire-active label.check{display:flex;align-items:flex-start;gap:13px;min-height:44px;cursor:pointer}
body.rg-questionnaire-active label.check>span:not(.rg-field-help){flex:1;min-width:0;line-height:1.55;white-space:normal}
body.rg-questionnaire-active .rg-consent-gate{box-sizing:border-box;width:calc(100% - 40px);max-width:660px;margin:32px auto 64px!important;padding:36px!important;background:#fff!important;border:1px solid #dce7ed!important;border-radius:26px!important;box-shadow:0 12px 40px #243b5310}
.demo-consent-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#e7f7ef;color:#209a70;margin-bottom:24px}
.demo-consent-symbol .demo-icon{width:28px;height:28px}
.rg-consent-gate .rg-eyebrow{font-size:11px;letter-spacing:.09em;color:#738b9b}
body.rg-questionnaire-active .rg-consent-gate h2{font-size:30px;line-height:1.2;letter-spacing:-.025em;margin:10px 0 16px}
body.rg-questionnaire-active .rg-consent-gate .demo-consent-intro{font-size:16px;line-height:1.65;color:#647e90;margin:0 0 24px}
.demo-consent-documents{display:grid;gap:10px;margin-bottom:26px}
.demo-consent-documents a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:#f4f8fb;border:1px solid #e1eaf0;border-radius:14px;color:#29465a;text-decoration:none;transition:background .18s,border-color .18s}
.demo-consent-documents a:hover{background:#eaf4ff;border-color:#b8d9f8}
.demo-consent-documents a>span:first-child{display:flex;align-items:center;gap:12px;min-width:0}
.demo-consent-documents b{font-size:14px;font-weight:600;line-height:1.45}
.demo-consent-documents .demo-icon{flex-shrink:0;color:#6c99b8}
body.rg-questionnaire-active .demo-consent-check{padding:0!important;border:0!important;background:transparent!important;font-size:14px;color:#425e70;margin:0!important}
.demo-consent-actions{margin-top:28px;padding-top:24px;border-top:1px solid #e7eef2}
body.rg-questionnaire-active .demo-consent-actions .btn{display:flex;width:100%;align-items:center;justify-content:center;gap:12px;min-height:52px;border-radius:14px;font-size:16px}
body.rg-questionnaire-active .demo-consent-actions .btn:disabled{opacity:1;background:#e9eff3!important;color:#8a9eac!important;box-shadow:none;cursor:default}
@media(max-width:900px){body.rg-questionnaire-active .rg-consent-gate{width:calc(100% - 32px);margin:16px auto 32px!important;padding:24px 20px!important;border-radius:22px!important}.demo-consent-symbol{margin-bottom:20px}body.rg-questionnaire-active .rg-consent-gate h2{font-size:27px}body.rg-questionnaire-active .rg-consent-gate .demo-consent-intro{font-size:15px}.demo-consent-documents a{padding:14px 12px}.demo-consent-documents b{font-size:13px}.demo-consent-actions{margin-top:24px;padding-top:20px}}
@media(prefers-reduced-motion:reduce){body.rg-questionnaire-active input[type="checkbox"],.demo-consent-documents a{transition:none}}

body.rg-questionnaire-active .rg-wizard-page{padding-bottom:110px}
/* The live form follows the application's dark palette. */
html[data-desktop-theme="dark"] body.rg-questionnaire-active{background:var(--ui-soft);color:var(--ui-ink)}
html[data-desktop-theme="dark"] body.rg-questionnaire-active :is(.demo-person-dialog,.demo-person-card,.demo-tax-card,.demo-mobile-home,.demo-mobile-task,.rg-consent-gate,.demo-select-menu,.demo-address-menu,.demo-okved-results){background:var(--ui-surface)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
html[data-desktop-theme="dark"] body.rg-questionnaire-active :is(.demo-person-dialog input,.demo-person-dialog textarea,.demo-select-trigger,.demo-person-steps button,.demo-mobile-topbar,.demo-selected-person,.demo-file-upload){background:var(--ui-soft)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}
html[data-desktop-theme="dark"] body.rg-questionnaire-active :is(.demo-person-steps button.active,.demo-tax-card.selected){background:#234638!important;color:#a8ebc9!important}
/* Typing mode: no stacked navigation above the software keyboard. */
@media(max-width:950px){
 html.questionnaire-keyboard-open body:is(.rg-questionnaire-active,.rg-demo-page) :is(.top,.rg-demo-bar,.demo-mobile-topbar,.demo-mobile-actions,.rg-wizard-nav,.rg-wizard-section-heading){display:none!important}
 html.questionnaire-keyboard-open body:is(.rg-questionnaire-active,.rg-demo-page) .demo-person-dialog>header{padding:8px 14px!important;min-height:40px;gap:8px}
 html.questionnaire-keyboard-open body:is(.rg-questionnaire-active,.rg-demo-page) .demo-person-dialog>header :is(small,h2){display:none!important}
 html.questionnaire-keyboard-open body:is(.rg-questionnaire-active,.rg-demo-page) .demo-person-dialog>header .demo-mobile-person-stage{margin:0!important;font-size:12px!important}
 html.questionnaire-keyboard-open body:is(.rg-questionnaire-active,.rg-demo-page) .demo-person-dialog :is(.demo-person-steps,footer){display:none!important}
 html.questionnaire-keyboard-open body:is(.rg-questionnaire-active,.rg-demo-page) .demo-person-dialog[open]{inset:auto!important;top:var(--demo-viewport-top,0px)!important;bottom:auto!important;left:0!important;transform:none!important;margin:0!important;width:100%!important;max-width:none!important;height:var(--demo-visual-height,100dvh)!important;max-height:var(--demo-visual-height,100dvh)!important;border-radius:0!important}
 html.questionnaire-keyboard-open body:is(.rg-questionnaire-active,.rg-demo-page) .demo-person-dialog .demo-person-fields.form{flex:1 1 auto!important;padding:12px 16px 32px!important;min-height:0!important;overflow:auto!important}
 html.questionnaire-keyboard-open body:is(.rg-questionnaire-active,.rg-demo-page) .rg-wizard-body{min-height:0!important;padding-top:12px!important}
 html.questionnaire-keyboard-open body:is(.rg-questionnaire-active,.rg-demo-page) :is(input,textarea){scroll-margin-block:20px}
}
