.ofupd-page{--upd-ink:#1b2333;--upd-muted:#667387;--upd-line:#e3e9f2;--upd-blue:#2f6fed;--upd-soft:#f5f7fb;color:var(--upd-ink);font-size:15px;line-height:1.6;overflow:hidden;}
.ofupd-page h1,.ofupd-page h2,.ofupd-page h3,.ofupd-page p{margin-top:0;}
.ofupd-page h1,.ofupd-page h2,.ofupd-page h3{color:var(--upd-ink);letter-spacing:-.035em;}
.ofupd-page p{line-height:1.65;}
.ofupd-page .container{max-width:1320px;}
.oforma-upd-hero{padding:54px 0 62px;background:radial-gradient(circle at 94% 4%,#f1f5ff 0,#fff 44%);}
.oforma-upd-hero h1{max-width:760px;font-size:clamp(34px,3.1vw,48px);line-height:1.13;font-weight:800!important;}
.oforma-upd-hero .lead{max-width:710px;color:#566377!important;font-size:16px;line-height:1.7;font-weight:400;}
.oforma-upd-hero .oforma-hero-about-link{display:inline-flex;align-items:center;padding:10px 12px;color:#51617a;font-size:13px;font-weight:600;text-decoration:none;}
.oforma-upd-hero .hero-features{margin-top:24px;}
.oforma-upd-hero .hero-feature{min-height:105px;padding:16px;border:1px solid var(--upd-line);border-radius:13px;background:#fff;box-shadow:none;}
.oforma-upd-hero .hero-feature-title{margin-bottom:7px;font-size:13px;line-height:1.3;color:#23334d;font-weight:750;}
.oforma-upd-hero .hero-feature-text{font-size:12px;line-height:1.5;color:var(--upd-muted);}
.oforma-upd-hero .card{border:1px solid var(--upd-line)!important;border-radius:18px!important;box-shadow:0 12px 36px rgba(30,48,82,.075)!important;}
.oforma-upd-hero .ofupd-example-image{width:100%;height:100%;object-fit:contain;object-position:center;background:#fff;}
.oforma-upd-hero .ratio{background:#fff!important;border-color:#e4e9f1!important;}
.oforma-upd-hero .card-body>.d-flex{gap:12px;}
#upd-example{scroll-margin-top:32px;}
#ofupd-form-block{scroll-margin-top:20px;}
.oforma-upd-form-section{padding:62px 0 68px;background:var(--upd-soft);}
.oforma-upd-form-section>.container{padding-top:0!important;padding-bottom:0!important;}
.oforma-upd-form-section h2{font-size:clamp(27px,2.5vw,35px);line-height:1.2;}
.oforma-upd-form-section .text-center.mb-4{margin-bottom:30px!important;}
.oforma-upd-form-section .text-center p{max-width:690px;margin:auto;color:var(--upd-muted)!important;font-size:14px;}
.oforma-upd-form-section .oforma-public-generator-column{min-width:0;width:100%;max-width:100%;}
.oforma-upd-form-section .ofupd-form-card{width:100%;overflow:visible;border:1px solid var(--upd-line)!important;box-shadow:0 10px 28px rgba(34,49,81,.045);background:#fff;}
.oforma-upd-form-section .ofupd-form-card>.card-body{padding:25px!important;}
.oforma-upd-form-section .oforma-doc-state,.oforma-upd-form-section .oforma-doc-form-wrap,.oforma-upd-form-section .oforma-upd-form{display:block;width:100%;max-width:100%;min-width:0;}
.oforma-upd-generator .oforma-upd-form>.oforma-work-section{margin:0 0 20px!important;padding:23px 24px!important;}
.oforma-upd-generator .oforma-upd-form>.row.g-3{margin-top:0!important;margin-bottom:20px!important;}
.oforma-upd-generator .oforma-upd-form>.row.g-3>div{display:flex;min-width:0;}
.oforma-upd-generator .oforma-upd-form>.row.g-3>div>.oforma-work-section{width:100%;min-width:0;margin:0!important;padding:23px 24px!important;}
.oforma-upd-generator .oforma-upd-form>.oforma-work-section:last-child{margin-bottom:0!important;}
.oforma-upd-generator .oforma-work-section{border:1px solid var(--upd-line);border-radius:14px;background:#fff;box-shadow:none;}
.oforma-upd-generator .oforma-work-section__head{margin:0 0 15px;}
.oforma-upd-generator .oforma-work-section__head .fw-semibold{font-size:16px!important;font-weight:700!important;}
.oforma-upd-generator .oforma-work-section__hint{margin-top:5px;font-size:12px;line-height:1.6;color:var(--upd-muted);}
.oforma-upd-generator .oforma-work-section .row{--bs-gutter-x:18px;--bs-gutter-y:14px;}
.oforma-upd-generator .oforma-work-section .form-label{display:block;margin-bottom:7px;color:#48566a;font-size:12px;font-weight:650;line-height:1.35;}
.oforma-upd-generator .oforma-work-section .form-control,.oforma-upd-generator .oforma-work-section .form-select{min-height:43px;border:1px solid #d7e0eb;border-radius:9px;background-color:#fff;color:#273346;font-size:13px;box-shadow:none;}
.oforma-upd-generator .oforma-work-section .form-control:focus,.oforma-upd-generator .oforma-work-section .form-select:focus{border-color:#6592f4;box-shadow:0 0 0 3px rgba(47,111,237,.11);}
.oforma-upd-generator .oforma-work-section .form-control::placeholder{color:#a2aab6;}
.oforma-upd-generator .oforma-work-section .input-group{display:flex;align-items:stretch;flex-wrap:nowrap;gap:7px;}
.oforma-upd-generator .oforma-work-section .input-group>.form-control{flex:1 1 auto;width:1%;min-width:0;border-radius:9px;}
.oforma-upd-generator .oforma-work-section .input-group>.btn{flex:0 0 auto;min-height:43px;padding:8px 11px;border-radius:9px;font-size:12px;white-space:nowrap;}
.oforma-upd-generator .oforma-work-section .alert{padding:13px 15px;border:1px solid #e3e9f2;background:#f8fafc;border-radius:9px;color:#5b687a;line-height:1.6;}
.oforma-upd-generator .oforma-excel-import{margin:4px 0 20px!important;padding:16px 18px;border:1px solid #cdddfb;border-radius:12px;background:#f5f9ff;}
.oforma-upd-generator .oforma-excel-import summary{font-size:13px;cursor:pointer;}
.oforma-upd-generator .oforma-excel-import textarea{min-height:98px;}
.oforma-upd-generator .table-responsive{width:100%;overflow-x:auto;border:1px solid var(--upd-line);border-radius:10px;}
.oforma-upd-generator .table{min-width:720px;margin-bottom:0;font-size:12px;}
.oforma-upd-generator .table th{padding:11px 9px;background:#f7f9fc;color:#526077;font-size:12px;font-weight:700;white-space:nowrap;}
.oforma-upd-generator .table td{padding:10px 9px;font-size:12px;vertical-align:top;}
.oforma-upd-generator .table td .form-control{min-height:37px;border-radius:7px;}
.oforma-upd-generator .table td .form-control-sm{font-size:12px;}
.oforma-upd-generator .oforma-work-section>.d-flex:last-of-type{margin-top:16px;align-items:center;}
.oforma-upd-generator .oforma-upd-form>.oforma-work-section:last-child>.btn{min-height:44px;font-size:14px;font-weight:700;}
.ofupd-benefits{padding:48px 0 54px;background:#fff;}
.ofupd-benefit{display:flex;align-items:flex-start;gap:13px;height:100%;min-height:125px;padding:20px;border:1px solid var(--upd-line);border-radius:14px;background:#fff;box-shadow:0 3px 16px rgba(35,49,80,.025);}
.ofupd-benefit__icon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:#eef4ff;color:var(--upd-blue);font-size:19px;}
.ofupd-benefit h3{margin:0 0 8px;font-size:14px;line-height:1.4;font-weight:700;letter-spacing:-.02em;}
.ofupd-benefit p{margin:0;color:var(--upd-muted);font-size:12px;line-height:1.65;}
.ofupd-section{padding:62px 0;}
.ofupd-section__intro{max-width:770px;margin-bottom:30px;}
.ofupd-section__intro h2,.ofupd-faq-intro h2{margin:7px 0 12px;font-size:clamp(25px,2.4vw,34px);font-weight:750;line-height:1.2;}
.ofupd-section__intro p,.ofupd-faq-intro p{margin:0;color:var(--upd-muted);font-size:14px;line-height:1.7;}
.ofupd-eyebrow{display:inline-block;color:var(--upd-blue);font-size:11px;font-weight:750;letter-spacing:.1em;}
.ofupd-about{background:var(--upd-soft);}
.ofupd-status-card{display:flex;flex-direction:column;height:100%;padding:27px 30px;border:1px solid var(--upd-line);border-radius:17px;background:#fff;box-shadow:0 5px 18px rgba(38,55,88,.028);}
.ofupd-status-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}
.ofupd-status-card__number{color:#8ba9ec;font-size:28px;font-weight:750;line-height:1;letter-spacing:-.04em;}
.ofupd-status-card__tag{padding:6px 10px;border-radius:999px;background:#eef4ff;color:#3968b9;font-size:11px;font-weight:650;}
.ofupd-status-card h3{margin:0 0 9px;font-size:23px;line-height:1.3;font-weight:750;}
.ofupd-status-card p{flex:1;margin:0 0 19px;color:#647286;font-size:14px;line-height:1.7;}
.ofupd-status-card__foot{padding-top:16px;border-top:1px solid var(--upd-line);color:#4f6180;font-size:12px;font-weight:600;}
.ofupd-note{display:flex;align-items:flex-start;gap:12px;margin-top:20px;padding:17px 19px;border:1px solid #d9e6fc;border-radius:13px;background:#edf4ff;}
.ofupd-note i{color:var(--upd-blue);font-size:19px;}
.ofupd-note p{margin:0;color:#506481;font-size:12px;line-height:1.7;}
.ofupd-how{background:#fff;}
.ofupd-step{display:flex;align-items:flex-start;gap:18px;height:100%;min-height:130px;padding:22px;border:1px solid var(--upd-line);border-radius:14px;background:#fff;}
.ofupd-step__number{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:11px;background:#eef4ff;color:var(--upd-blue);font-size:15px;font-weight:800;}
.ofupd-step h3{margin:1px 0 8px;font-size:15px;font-weight:700;line-height:1.35;}
.ofupd-step p{margin:0;color:var(--upd-muted);font-size:13px;line-height:1.7;}
.ofupd-calc{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin-top:30px;padding:34px 38px;border:1px solid #dce7fb;border-radius:18px;background:#f5f8ff;}
.ofupd-calc__text h3{margin:7px 0 12px;font-size:24px;font-weight:750;}
.ofupd-calc__text p{margin:0 0 11px;color:#627086;font-size:14px;line-height:1.7;}
.ofupd-calc__text .ofupd-calc__hint{margin-top:14px;font-size:12px;}
.ofupd-calc__table{padding:5px 20px;border:1px solid var(--upd-line);border-radius:13px;background:#fff;}
.ofupd-calc__table>div{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--upd-line);font-size:13px;}
.ofupd-calc__table>div:last-child{border-bottom:0;}
.ofupd-calc__table span{color:#5f6b7d;}
.ofupd-calc__table strong{white-space:nowrap;color:#28364c;font-weight:750;}
.ofupd-calc__table .ofupd-calc__total{align-items:center;}
.ofupd-calc__table .ofupd-calc__total span{color:#213657;font-weight:750;}
.ofupd-calc__table .ofupd-calc__total strong{color:var(--upd-blue);font-size:18px;}
.ofupd-questions{background:var(--upd-soft);}
.ofupd-faq-intro{position:sticky;top:110px;}
.ofupd-faq{display:flex;flex-direction:column;gap:10px;}
.ofupd-faq details{overflow:hidden;border:1px solid var(--upd-line);border-radius:12px;background:#fff;}
.ofupd-faq summary{position:relative;padding:20px 55px 20px 22px;color:#27354b;font-size:14px;font-weight:700;line-height:1.5;cursor:pointer;list-style:none;}
.ofupd-faq summary::-webkit-details-marker{display:none;}
.ofupd-faq summary:after{position:absolute;right:19px;top:15px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:#f1f5fb;content:"+";color:#4f6fa6;font-size:22px;font-weight:400;}
.ofupd-faq details[open] summary:after{content:"−";}
.ofupd-faq details[open] summary{padding-bottom:13px;}
.ofupd-faq details p{margin:0;padding:0 55px 21px 22px;color:#657287;font-size:13px;line-height:1.75;}
.ofupd-related{background:#fff;}
.ofupd-related-card{display:flex;align-items:center;gap:16px;height:100%;min-height:118px;padding:23px;border:1px solid var(--upd-line);border-radius:15px;background:#fff;color:var(--upd-ink);text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s;}
.ofupd-related-card:hover{transform:translateY(-2px);border-color:#afc6f5;box-shadow:0 10px 30px rgba(36,62,105,.07);color:var(--upd-ink);}
.ofupd-related-card__icon{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:13px;background:#edf4ff;color:var(--upd-blue);font-size:22px;}
.ofupd-related-card__content{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px;}
.ofupd-related-card__content strong{color:#233049;font-size:16px;font-weight:750;}
.ofupd-related-card__content>span{color:#68788e;font-size:12px;line-height:1.6;}
.ofupd-related-card__arrow{display:flex;align-items:center;justify-content:center;flex:0 0 33px;width:33px;height:33px;border:1px solid #dce6f5;border-radius:50%;color:var(--upd-blue);font-size:15px;}
@media (max-width:991.98px){
.oforma-upd-hero{padding:40px 0 46px;}
.oforma-upd-form-section{padding:46px 0 52px;}
.ofupd-section{padding:48px 0;}
.ofupd-calc{gap:20px;padding:24px;}
.ofupd-faq-intro{position:static;}
}
@media (max-width:767.98px){
.oforma-upd-hero{padding:30px 0 38px;}
.oforma-upd-hero h1{font-size:32px;}
.oforma-upd-hero .lead{font-size:14px;}
.oforma-upd-hero .hero-feature{min-height:0;}
.oforma-upd-form-section .ofupd-form-card>.card-body{padding:12px!important;}
.oforma-upd-generator .oforma-upd-form>.oforma-work-section{padding:16px!important;margin-bottom:14px!important;}
.oforma-upd-generator .oforma-upd-form>.row.g-3{margin-bottom:14px!important;}
.oforma-upd-generator .oforma-upd-form>.row.g-3>div>.oforma-work-section{padding:16px!important;}
.oforma-upd-generator .oforma-work-section .row{--bs-gutter-x:12px;--bs-gutter-y:14px;}
.oforma-upd-generator .oforma-work-section .input-group{flex-wrap:wrap;}
.oforma-upd-generator .oforma-work-section .input-group>.form-control{flex:1 1 100%;width:100%;}
.oforma-upd-generator .oforma-work-section .input-group>.btn{width:100%;}
.oforma-upd-generator .oforma-excel-import{padding:13px;margin-bottom:14px!important;}
.ofupd-benefits{padding:35px 0 40px;}
.ofupd-benefit{min-height:0;padding:17px;}
.ofupd-section{padding:42px 0;}
.ofupd-section__intro{margin-bottom:23px;}
.ofupd-status-card{padding:23px;}
.ofupd-step{min-height:0;padding:19px;}
.ofupd-calc{grid-template-columns:1fr;gap:18px;padding:21px;}
.ofupd-related-card{padding:18px;}
}
/* Oforma33: independent INN lookup; the shared theme forces [data-of-party] buttons to 100% width. */
.ofupd-page .ofupd-inn-lookup{display:grid;grid-template-columns:minmax(0,1fr) 94px;gap:9px;align-items:stretch;min-width:0;}
.ofupd-page .ofupd-inn-lookup>.form-control{display:block;width:100%!important;min-width:0;min-height:43px;margin:0;}
.ofupd-page .ofupd-inn-lookup>button[data-of-party]{display:flex;align-items:center;justify-content:center;width:94px!important;max-width:94px!important;min-width:94px!important;min-height:43px;margin:0;padding:8px 5px;white-space:nowrap!important;overflow-wrap:normal!important;border-radius:9px;font-size:12px;}
.ofupd-page .oforma-upd-generator .oforma-work-section .row>[class*="col-"]{min-width:0;}
.ofupd-page .oforma-upd-generator .oforma-work-section .row>[class*="col-"]>.form-control,.ofupd-page .oforma-upd-generator .oforma-work-section .row>[class*="col-"]>.form-select{width:100%;}
.ofupd-page .oforma-upd-generator .oforma-upd-form>.row.g-3>div>.oforma-work-section{height:100%;}
.ofupd-page .oforma-upd-generator .oforma-upd-form>.row.g-3>div>.oforma-work-section .oforma-work-section__head{margin-bottom:15px;}
.ofupd-page .oforma-upd-generator .oforma-upd-form>.row.g-3{margin-bottom:22px!important;}
.ofupd-page .oforma-upd-generator .oforma-work-section>.table-responsive{margin-bottom:15px;}
.ofupd-page .oforma-upd-generator .oforma-work-section>.table-responsive+.d-flex{margin-top:0!important;padding-top:3px;align-items:center;gap:12px;}
.ofupd-page .oforma-upd-generator .oforma-work-section>.table-responsive+.d-flex strong{margin-left:auto;white-space:nowrap;}
.ofupd-page [data-upd-status-one][hidden],.ofupd-page [data-upd-advance][hidden]{display:none!important;}
@media (max-width:767.98px){
.ofupd-page .oforma-upd-generator .oforma-work-section .row{--bs-gutter-x:12px;--bs-gutter-y:13px;}
.ofupd-page .oforma-upd-generator .oforma-upd-form>.row.g-3{margin-bottom:16px!important;}
.ofupd-page .oforma-upd-generator .oforma-work-section>.table-responsive+.d-flex{flex-direction:column;align-items:stretch;}
.ofupd-page .oforma-upd-generator .oforma-work-section>.table-responsive+.d-flex strong{margin-left:0;text-align:right;}
}
@media (max-width:359.98px){
.ofupd-page .ofupd-inn-lookup{grid-template-columns:minmax(0,1fr) 86px;gap:6px;}
.ofupd-page .ofupd-inn-lookup>button[data-of-party]{width:86px!important;max-width:86px!important;min-width:86px!important;}
}
