/* Keretszerződés irodai űrlap. Elkülönített stílus a meglévő riasztó űrlaptól. */
.fw-office{color:#203049}
.fw-heading{align-items:flex-start}
.fw-heading h1{max-width:950px;font-size:clamp(27px,3vw,39px)}
.fw-heading p{max-width:740px;font-size:14px;margin:0}
.fw-form{display:grid;gap:18px}
.fw-section{min-width:0}
.fw-section>label{display:block}
.fw-section label b{color:#d33135}
.fw-section label small{color:#8992a2;font-weight:520}
.fw-customer-grid input,.fw-customer-grid select{height:56px;min-height:56px;box-sizing:border-box;padding:14px 16px}
.fw-customer-grid select{cursor:pointer}
.fw-customer-existing-note{align-self:center;padding:12px 14px;border:1px solid #cbdaf0;border-radius:10px;background:#f5f9fe;color:#36516d;font-size:12px;font-weight:650}
.fw-mode-row{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}
.fw-mode-row label{display:inline-flex;align-items:center;gap:9px;min-height:45px;padding:10px 15px;border:1px solid #d9e1ee;border-radius:10px;background:#fff;color:#354860;font-size:13px;font-weight:740;cursor:pointer}
.fw-mode-row label:has(input:checked){border-color:#8c88ed;background:#f2f1ff;color:#3d37a7}
.fw-mode-row input{width:17px;height:17px;margin:0;accent-color:#4d46d5}
.fw-existing-picker{position:relative}
.fw-existing-picker>label{display:block;margin-bottom:8px}
.fw-existing-picker>input[type=search]{width:100%;height:47px}
.fw-customer-results{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:5;max-height:250px;overflow:auto;padding:5px;border:1px solid #dce3f0;border-radius:11px;background:#fff;box-shadow:0 16px 32px rgba(27,48,75,.15)}
.fw-customer-results button{display:block;width:100%;padding:10px 12px;border:0;border-radius:8px;background:#fff;text-align:left;color:#233b55}
.fw-customer-results button:hover:not(:disabled){background:#f1f3ff}
.fw-customer-results button:disabled{background:#f7f8fa;color:#9da5b2;cursor:not-allowed}
.fw-customer-results strong,.fw-customer-results small{display:block}
.fw-customer-results strong{font-size:12px}
.fw-customer-results small{margin-top:3px;font-size:11px;color:#738299}
.fw-tariffs,.fw-objects{display:grid;gap:12px}
.fw-tariff{display:grid;grid-template-columns:34px minmax(280px,2.1fr) minmax(160px,.85fr) minmax(160px,.85fr) 36px;grid-template-rows:auto auto;align-items:start;gap:11px;padding:15px;border:1px solid #e1e7f0;border-radius:13px;background:#f9fbfe}
.fw-row-number{display:grid;place-items:center;grid-row:1/3;align-self:center;width:34px;min-height:48px;color:#5b6d83;font-size:12px;font-weight:800}
.fw-tariff label{display:block;min-width:0;font-size:12px;font-weight:720}
.fw-tariff input,.fw-tariff select,#office-form .fw-tariff select{display:block;width:100%;height:47px;min-height:47px;margin-top:7px}
.fw-tariff-name,.fw-tariff-settlement{min-width:0}
.fw-tariff-settlement .fw-other-detail{margin-top:12px}
.fw-tariff .fw-assign-all{grid-column:2/6;grid-row:2;justify-self:end;align-self:end;min-height:34px;padding:6px 11px;font-size:11px}
.fw-tariff .fw-assign-all.is-assigned{border-color:#68bc88;background:#e8f8ee;color:#1c7841;box-shadow:inset 0 0 0 1px #68bc88}
.fw-presets{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.fw-presets button{min-height:29px;padding:4px 8px;font-size:10px;line-height:1.25;white-space:normal}
.fw-remove{display:grid;place-items:center;grid-column:5;grid-row:1;justify-self:end;align-self:start;width:30px;height:30px;padding:0;border:0;border-radius:0;background:transparent;color:#a7393f;font-size:25px;line-height:1;cursor:pointer}
.fw-remove:hover{color:#7f252b;background:transparent}
.fw-add{margin-top:13px}
.fw-terms-grid{margin-top:26px}
.fw-shared-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px}
.fw-shared-option{min-width:0}
.fw-shared-option>label{display:block;margin-bottom:8px;font-size:12px;font-weight:720}
.fw-shared-input-wrap{position:relative}
.fw-shared-input-wrap input{display:block;width:100%;min-height:47px;padding-right:130px}
.fw-shared-input-wrap select{display:block;width:100%;height:56px;min-height:56px;margin-top:0;padding:12px 135px 12px 14px;box-sizing:border-box}
.fw-shared-input-wrap select:disabled{border-color:#dce4ed;background:#f1f4f8;color:#60748e}
.fw-shared-input-wrap input:disabled{border-color:#dce4ed;background:#f1f4f8;color:#60748e}
.fw-shared-input-wrap .fw-shared-activate{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-height:34px;padding:5px 10px;font-size:11px;white-space:nowrap}
.fw-shared-input-wrap .fw-shared-activate:hover:not(:disabled){transform:translateY(-50%)}
.fw-shared-input-wrap .fw-shared-activate.is-active{border-color:#8c88ed;background:#f2f1ff;color:#3d37a7}
.fw-shared-editor{margin-top:8px}
.fw-shared-editor .fw-presetted>span{margin-top:0}
.fw-object{padding:22px;border:1px solid #dbe5f0;border-top:4px solid #173d60;border-radius:16px;background:#f2f7fc}
.fw-import-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 6px}
.fw-import-actions .button{min-height:38px;padding:8px 13px;font-size:12px}
.fw-import-help{margin:0 0 16px;color:#647891;font-size:11px}
.fw-import-message{margin:0 0 15px;padding:11px 13px;border:1px solid #9ed4b0;border-radius:9px;background:#f4fbf6;color:#237946;font-size:12px;font-weight:700}
.fw-import-message.is-error{border-color:#efb4b8;background:#fff4f4;color:#a1363b}
.fw-import-upload{width:min(560px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:0;border:1px solid #dfe6ef;border-radius:18px;box-shadow:0 25px 75px rgba(16,36,64,.22);color:#203049}
.fw-import-upload::backdrop{background:rgba(14,31,54,.48)}
.fw-import-upload-body{padding:20px 24px 24px}
.fw-import-upload-body>p:first-child{margin:0 0 20px;color:#526982;font-size:13px;line-height:1.55}
.fw-import-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:236px;padding:28px 18px;border:2px dashed #b8c9de;border-radius:15px;background:#f5f9fe;color:#526982;text-align:center;cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s}
.fw-import-dropzone:hover,.fw-import-dropzone.is-dragging,.fw-import-dropzone:focus-within{border-color:#4f55d6;background:#f0f2ff;box-shadow:inset 0 0 0 1px #4f55d6}
.fw-import-dropzone input[type=file]{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
.fw-import-drop-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#e4eaff;color:#3e4dc5;font-size:26px;font-weight:700}
.fw-import-dropzone strong{color:#193754;font-size:16px}
.fw-import-dropzone>span:not(.fw-import-drop-icon):not(.fw-import-browse){font-size:12px}
.fw-import-dropzone .fw-import-browse{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:8px 17px;font-size:12px;pointer-events:none}
.fw-import-drop-help{margin:11px 0 0;color:#667b92;font-size:11px;text-align:center}
.fw-import-upload-message{margin-top:15px;padding:11px 13px;border:1px solid #b8c9de;border-radius:9px;background:#f5f9fe;color:#36516d;font-size:12px;font-weight:700}
.fw-import-upload-message.is-error{border-color:#efb4b8;background:#fff4f4;color:#a1363b}
.fw-import-upload .fw-import-footer{margin-top:22px}
.fw-import-preview{width:min(1040px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:0;border:1px solid #dfe6ef;border-radius:18px;box-shadow:0 25px 75px rgba(16,36,64,.22);color:#203049}
.fw-import-preview::backdrop{background:rgba(14,31,54,.48)}
.fw-import-preview-body{padding:18px 24px 24px}
.fw-import-preview-body>p:first-child{margin:0 0 15px;color:#38516c;font-size:13px}
.fw-import-errors{margin-bottom:16px;padding:13px 15px;border:1px solid #efb4b8;border-radius:10px;background:#fff4f4;color:#a1363b;font-size:12px}
.fw-import-errors strong{display:block;margin-bottom:6px}
.fw-import-errors ul{max-height:180px;overflow:auto;margin:0;padding-left:19px}
.fw-import-errors li+li{margin-top:4px}
.fw-import-table-scroll{max-height:min(52vh,500px);overflow:auto;border:1px solid #e2e8f0;border-radius:11px}
.fw-import-table-scroll:focus-visible{outline:3px solid #4966d7;outline-offset:2px}
.fw-import-table-scroll table{width:100%;min-width:1380px;table-layout:fixed;border-collapse:collapse;text-align:left}
.fw-import-table-scroll th,.fw-import-table-scroll td{padding:13px 14px;border-bottom:1px solid #e8edf4;color:#2e4560;font-size:12px;vertical-align:middle;overflow-wrap:anywhere}
.fw-import-table-scroll th{position:sticky;top:0;z-index:1;background:#f7f9fc;color:#657991;font-size:10px;font-weight:830;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.fw-import-table-scroll th:nth-child(1){width:76px}
.fw-import-table-scroll th:nth-child(2),.fw-import-table-scroll th:nth-child(3){width:145px}
.fw-import-table-scroll th:nth-child(4){width:320px}
.fw-import-table-scroll th:nth-child(5){width:470px}
.fw-import-table-scroll th:nth-child(6){width:185px}
.fw-import-table-scroll tr:last-child td{border-bottom:0}
.fw-import-table-scroll tr.is-error td{background:#fff0f0;border-bottom-color:#efb4b8}
.fw-import-table-scroll tr.is-error td:first-child{border-left:4px solid #cf3945;color:#a3313b}
.fw-import-table-scroll td input{display:block;min-width:105px;width:100%;min-height:37px;padding:7px 9px;border:1px solid #cfdbea;border-radius:7px;background:#fff;color:#203049;font-size:12px}
.fw-import-table-scroll td:nth-child(4) input{min-width:185px}
.fw-import-table-scroll tr.is-error td input{border-color:#e8a9af}
.fw-import-primary-row td>span{display:block;min-width:0;overflow-wrap:anywhere}
.fw-import-primary-row:not(.is-error) [data-fw-import-status]{color:#237946;font-weight:750}
.fw-import-primary-row.is-error [data-fw-import-status]{color:#a3313b;font-weight:750}
.fw-import-toggle{display:inline-flex;align-items:center;gap:5px;padding:5px;border:0;background:transparent;color:#a3313b;font:inherit;font-weight:800;cursor:pointer}
.fw-import-toggle span{font-size:17px;line-height:1;transition:transform .15s}
.fw-import-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
.fw-import-toggle:focus-visible{outline:2px solid #a3313b;outline-offset:2px}
.fw-import-confirm{min-height:32px;margin-top:8px;padding:5px 9px;font-size:11px}
.fw-import-confirm:disabled{opacity:.48;cursor:not-allowed}
.fw-import-detail-row[hidden]{display:none}
.fw-import-detail-row td{padding:18px!important;border-left:4px solid transparent;background:#fafcff}
.fw-import-detail-row.is-error td{border-left-color:#cf3945}
.fw-import-address-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 14px}
.fw-import-address-grid label{color:#3a526b;font-size:11px;font-weight:740}
.fw-import-address-grid input{min-width:0!important;margin-top:5px}
.fw-import-detail-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;color:#a3313b;font-size:11px}
.fw-import-detail-footer .fw-import-confirm{flex:none;margin-top:0}
@media(max-width:650px){.fw-import-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.fw-import-review-note{margin:13px 0 0;color:#647891;font-size:12px}
.fw-import-footer{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:19px}
.fw-import-footer .button{min-height:40px}
.fw-import-footer .button:disabled{opacity:.48;cursor:not-allowed}
.fw-object.is-complete{border-color:#8ad3a4;border-top-color:#299555;background:#f4fbf7}
.fw-object-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:22px}
.fw-object-head small{display:block;margin-bottom:4px;color:#627e9a;font-size:10px;font-weight:830;letter-spacing:.12em}
.fw-object-head h3{margin:0;color:#143551;font-size:18px}
.fw-object-head .button{min-height:36px;padding:7px 12px;font-size:11px}
.fw-import-address-hint{margin:-8px 0 17px;padding:10px 12px;border:1px solid #edbd79;border-radius:9px;background:#fff8ec;color:#8e5b19;font-size:12px;line-height:1.45}
.fw-divider{grid-column:1/-1;margin:4px 0 -2px;padding:0 0 9px;border-bottom:1px solid #d8e5ef;color:#55728d;font-size:11px;font-weight:830;letter-spacing:.12em;text-transform:uppercase}
.fw-services-heading{display:block}
.fw-service-controls{grid-column:1/-1;display:flex;justify-content:flex-start;margin-top:-8px}
.fw-service-controls .button{min-height:34px;padding:6px 10px;font-size:11px;font-weight:730}
.fw-service-list{grid-column:1/-1;display:grid;gap:8px}
.fw-service{display:flex;align-items:center;gap:12px;min-height:55px;padding:10px 14px;border:1px solid #dbe4ef;border-radius:11px;background:#fff;cursor:pointer}
.fw-service:has(input:checked){border-color:#8681ef;background:#f3f2ff}
.fw-service input{flex:none;width:19px;height:19px;margin:0;accent-color:#4d46d5}
.fw-service span{min-width:0;flex:1}
.fw-service strong,.fw-service small{display:block}
.fw-service strong{color:#2a3e57;font-size:13px;overflow-wrap:anywhere}
.fw-service small{margin-top:3px;color:#718098;font-size:11px}
.fw-service>b{color:#2b4a68;font-size:12px;white-space:nowrap}
.fw-presetted{display:block}
.fw-presetted>span{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
.fw-presetted .button{min-height:32px;padding:5px 9px;font-size:11px}
.fw-presetted input{padding-right:15px}
.fw-terms-grid select[name="sim_provider"]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:56px;min-height:56px;box-sizing:border-box;padding:12px 40px 12px 14px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23534bc8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:20px 20px;cursor:pointer}
.fw-response-field>label{display:block}
.fw-response-field input:disabled{background:#f1f4f8;color:#60748e}
.fw-response-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px}
.fw-response-controls .button{min-height:32px;padding:6px 10px;font-size:11px;line-height:1.25}
.fw-object .button:disabled{cursor:not-allowed}
.fw-response-occasional.is-active{border-color:#d48b42;background:#fff4e5;color:#985711;box-shadow:inset 0 0 0 1px #d48b42}
.fw-monthly{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;border:1px solid #cbdcf0;border-radius:11px;background:#e9f1fb}
.fw-monthly small{display:block;color:#57708d;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.fw-monthly strong{display:block;margin-top:3px;color:#183b5d;font-size:19px}
.fw-monthly>span{color:#6a7d94;font-size:11px;text-align:right}
.fw-empty{margin:0;padding:13px;border:1px dashed #cbd9e7;border-radius:10px;background:#fbfcff;color:#718099;font-size:12px}
.fw-summary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:20px}
.fw-summary-metrics>div{padding:15px;border:1px solid #e0e7f1;border-radius:11px;background:#f8fafe}
.fw-summary-metrics small{display:block;margin-bottom:5px;color:#6d7e93;font-size:10px;font-weight:790;letter-spacing:.07em;text-transform:uppercase}
.fw-summary-metrics strong{color:#1b3c5b;font-size:17px;overflow-wrap:anywhere}
.fw-summary-scroll{overflow:auto;border:1px solid #e2e8f0;border-radius:12px}
.fw-summary-scroll table{width:100%;min-width:760px;border-collapse:collapse;text-align:left}
.fw-summary-scroll th,.fw-summary-scroll td{padding:12px 13px;border-bottom:1px solid #e8edf4;color:#2e4560;font-size:12px;vertical-align:top}
.fw-summary-scroll tr:last-child td{border-bottom:0}
.fw-summary-scroll th{background:#f7f9fc;color:#657991;font-size:10px;font-weight:830;letter-spacing:.05em;text-transform:uppercase}
.fw-actions{display:grid;gap:10px}
.fw-actions .button-primary{width:100%;min-height:55px;background:#2d36df;font-size:15px}
.fw-actions .button-primary:hover:not(:disabled){background:#202ac4}
.fw-error{color:#a9363d;font-size:12px;font-weight:730}
.fw-preview{width:min(850px,calc(100vw - 30px));padding:0;border:1px solid #dfe6ef;border-radius:18px;box-shadow:0 25px 75px rgba(16,36,64,.22)}
.fw-preview::backdrop{background:rgba(14,31,54,.48)}
.fw-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:24px;border-bottom:1px solid #e6ebf2}
.fw-preview-head h2{margin:0}
.fw-preview [data-fw-preview-body]{padding:24px}
@media(max-width:900px){.fw-tariff{grid-template-columns:28px minmax(0,1.4fr) minmax(110px,.8fr) minmax(110px,.8fr) 35px}.fw-tariff .fw-presets button{font-size:9px}}
@media(max-width:650px){.fw-tariff{grid-template-columns:28px minmax(0,1fr) 35px;grid-template-rows:auto auto auto auto}.fw-tariff .fw-row-number{grid-column:1;grid-row:1/5;align-self:center}.fw-tariff>label,.fw-tariff>.fw-tariff-name,.fw-tariff>.fw-tariff-settlement{grid-column:2}.fw-tariff .fw-tariff-name{grid-row:1}.fw-tariff>label{grid-row:2}.fw-tariff>.fw-tariff-settlement{grid-row:3}.fw-tariff .fw-remove{grid-column:3;grid-row:1;align-self:start}.fw-tariff .fw-assign-all{grid-column:2/4;grid-row:4;justify-self:end}.fw-object{padding:18px 14px}.fw-summary-metrics{grid-template-columns:1fr}.fw-monthly{align-items:flex-start;flex-direction:column}.fw-monthly>span{text-align:left}.fw-heading .type-pill{margin-top:12px}.fw-shared-settings{grid-template-columns:1fr}}
@media(max-width:650px){.fw-import-actions{display:grid;grid-template-columns:1fr}.fw-import-actions .button{justify-content:center}.fw-import-preview-body{padding:16px}.fw-import-footer{display:grid;grid-template-columns:1fr}.fw-import-footer .button{width:100%}}
.fw-profile .back-link{display:block;margin-bottom:15px}
.fw-profile .fw-heading h1{max-width:780px;font-size:clamp(20px,2.1vw,28px);line-height:1.3}
.fw-profile-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-left:auto}
.fw-profile-card-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:20px}
.fw-profile-data-card,.fw-profile-object-card{min-width:0;padding:21px 23px;border:1px solid #d6e2ef;border-top:4px solid #173d60;border-radius:17px;background:#f3f7fc;box-shadow:0 8px 25px rgba(16,47,80,.04)}
.fw-profile-data-card.is-wide{grid-column:1/-1}
.fw-profile-data-card h2{margin:0 0 17px;color:#173553;font-size:18px}
.fw-profile-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px;flex-wrap:wrap}
.fw-profile-card-title h2{margin:0}
.fw-profile-card-title .button{min-height:36px;padding:7px 12px;font-size:12px}
.fw-profile-party-editor{max-height:calc(100vh - 34px);overflow:auto}
.fw-profile-party-editor form{padding:20px 24px 24px}
.fw-profile-party-fields{display:grid;gap:17px}
.fw-profile-party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fw-profile-party-grid label,.fw-profile-party-contact label{display:flex;flex-direction:column;gap:6px;color:#38516c;font-size:12px;font-weight:750}
.fw-profile-party-grid input,.fw-profile-party-grid select,.fw-profile-party-contact input,.fw-profile-party-contact select{display:block;flex:none;width:100%;height:48px;min-height:48px;margin:0;padding:10px 12px;box-sizing:border-box;border:1px solid #cddbeb;border-radius:9px;background:#fff;color:#203c58;font:inherit}
.fw-profile-party-address{min-width:0;margin:22px 0 0;padding:20px 16px 16px;border:1px solid #dce6f1;border-radius:12px}
.fw-profile-party-address legend{padding:0 5px;color:#173553;font-weight:800}
.fw-profile-party-check{display:flex;align-items:center;gap:9px;color:#173553;font-weight:750}
.fw-profile-party-contacts{display:grid;gap:12px}
.fw-profile-party-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px;border:1px solid #dce6f1;border-radius:12px;background:#f6f9fd}
.fw-profile-party-contact .button{justify-self:start;align-self:end}
@media(max-width:650px){.fw-profile-party-grid,.fw-profile-party-contact{grid-template-columns:1fr}}
.fw-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.fw-profile-fact{min-width:0;padding:11px 13px;border:1px solid #dce6f1;border-radius:10px;background:#fff;overflow-wrap:anywhere}
.fw-profile-fact.is-data-pending{position:relative;padding-right:45px}
.fw-profile-fact-alert{position:absolute;top:50%;right:13px;transform:translateY(-50%);display:grid;place-items:center;width:23px;height:23px;border:2px solid #d68b25;border-radius:50%;background:#fff7e8;color:#a25d05;font-size:15px;font-weight:900;line-height:1}
.fw-profile-fact small{display:block;margin-bottom:5px;color:#627c98;font-size:10px;font-weight:820;letter-spacing:.07em;text-transform:uppercase}
.fw-profile-fact strong{display:block;color:#203c58;font-size:13px;font-weight:760}
.fw-profile-contact-list,.fw-profile-tariff-list,.fw-profile-document-list{display:grid;gap:9px}
.fw-profile-contact,.fw-profile-tariff,.fw-profile-document-list>div{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1px solid #dce6f1;border-radius:10px;background:#fff;overflow-wrap:anywhere}
.fw-profile-contact-kind{color:#4b55bb;font-size:10px;font-weight:830;letter-spacing:.07em;text-transform:uppercase}
.fw-profile-contact strong,.fw-profile-tariff strong,.fw-profile-document-list strong{color:#203c58;font-size:13px}
.fw-profile-contact small,.fw-profile-tariff small,.fw-profile-document-list small{color:#6d8198;font-size:11px}
.fw-profile-tariff{flex-direction:row;align-items:center;justify-content:space-between;gap:18px}
.fw-profile-tariff span{display:flex;flex-direction:column;gap:4px}
.fw-profile-tariff b{color:#173553;font-size:13px;white-space:nowrap}
.fw-profile-empty{margin:0;padding:14px;border:1px dashed #c9d7e7;border-radius:10px;color:#6c8097;font-size:12px}
.fw-profile-object-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px}
.fw-profile-object-toolbar label{display:block;flex:1 1 360px;max-width:520px;min-width:0;color:#38516c;font-size:12px;font-weight:760}
.fw-profile-object-toolbar input{display:block;width:100%;min-height:44px;margin-top:7px;padding:9px 13px;border:1px solid #cddbeb;border-radius:10px;background:#fff;color:#203c58;font-size:13px}
.fw-profile-object-toolbar .button{min-height:44px;white-space:nowrap}
.fw-profile-object-toolbar>span{margin-left:auto;padding-bottom:10px;color:#627c98;font-size:12px;font-weight:700}
.fw-profile-object-grid{display:grid;grid-template-columns:1fr;gap:17px}
.fw-profile-object-grid>.fw-profile-empty{grid-column:1/-1}
.fw-profile-documents:not(:empty){margin-top:18px}
.fw-profile-object-selectable{display:grid;grid-template-columns:64px minmax(0,1fr);min-width:0;border:1px solid #d6e2ef;border-top:4px solid #173d60;border-radius:17px;background:#f5f9fe;box-shadow:0 8px 25px rgba(16,47,80,.04);overflow:hidden}
.fw-profile-object-selectable.is-selected{border-color:#686ce2;border-top-color:#173d60;box-shadow:0 0 0 2px #d9d9ff}
.fw-profile-object-selectable.is-pending-add{border-top-color:#df912a;background:#fffaf1}
.fw-profile-object-selectable.is-pending-add>.fw-profile-object-selector{cursor:default}
.fw-profile-object-selectable.is-pending-add>.fw-profile-object-selector b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e99320;color:#fff;font-size:16px;font-weight:850}
.fw-profile-pending-note{margin:16px 0 0;color:#916017;font-size:12px;font-weight:700}
.fw-profile-object-selector{display:flex;align-items:center;justify-content:center;border-right:1px solid #d6e2ef;cursor:pointer}
.fw-profile-object-selector input{width:21px;height:21px;margin:0;accent-color:#4d46d5;cursor:pointer}
.fw-profile-object-selector input:disabled{cursor:not-allowed}
.fw-profile-object-selectable .fw-profile-object-card{border:0;border-radius:0;background:transparent;box-shadow:none}
.fw-profile-bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:-2px 0 17px;padding:12px 14px;border:1px solid #cbd8ef;border-radius:11px;background:#f6f8ff}
.fw-profile-bulk-actions strong{margin-right:auto;color:#294667;font-size:13px}
.fw-profile-bulk-dialog{max-height:calc(100vh - 40px);overflow:auto}
.fw-profile-bulk-dialog form{padding:22px 24px 25px}
.fw-profile-bulk-warning{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:13px 15px;border:1px solid #e9a953;border-radius:11px;background:#fff5e7;color:#925210;font-size:13px;font-weight:750;line-height:1.45}
.fw-profile-bulk-warning span{display:grid;place-items:center;flex:none;width:24px;height:24px;border:2px solid #c77b1d;border-radius:50%;font-size:15px;font-weight:900}
.fw-profile-bulk-count{margin:0 0 18px;color:#56718e;font-size:12px}
.fw-profile-bulk-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.fw-profile-bulk-options label{display:flex;align-items:center;gap:9px;min-height:43px;padding:9px 11px;border:1px solid #d8e3f1;border-radius:9px;background:#fff;color:#294667;font-size:12px;font-weight:720;cursor:pointer}
.fw-profile-bulk-options input{flex:none;width:17px;height:17px;margin:0;accent-color:#4d46d5}
.fw-profile-bulk-options label:has(input:checked){border-color:#7069e5;background:#f2f1ff}
.fw-profile-bulk-options .is-danger:has(input:checked){border-color:#d65858;background:#fff1f1;color:#a72d37}
.fw-profile-bulk-section{display:grid;gap:10px;margin-top:16px;padding:16px;border:1px solid #d9e5f1;border-radius:11px;background:#f8fbff}
.fw-profile-bulk-section h3{margin:0;color:#173553;font-size:15px}
.fw-profile-bulk-section p{margin:0;color:#657e98;font-size:12px}
.fw-profile-bulk-section label{display:block;color:#334e69;font-size:12px;font-weight:720}
.fw-profile-bulk-section label>input:not([type=checkbox]),.fw-profile-bulk-section select{display:block;width:100%;min-height:42px;margin-top:6px}
.fw-profile-bulk-section .fw-service{display:flex}
.fw-profile-bulk-section.is-danger{border-color:#e4a0a0;background:#fff5f5}
.fw-profile-bulk-person{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:9px;align-items:end;margin-bottom:9px;padding:12px;border:1px solid #dce6f1;border-radius:9px;background:#fff}
.fw-profile-bulk-person .button{grid-column:3;grid-row:1/3}
.fw-profile-bulk-identity{padding:10px 12px;border:1px solid #d9e4ef;border-radius:9px;background:#fff}
.fw-profile-bulk-identity summary{color:#173553;font-weight:730;cursor:pointer}
.fw-profile-bulk-identity .field-grid{margin-top:14px}
.fw-profile-new-drafts{display:grid;gap:8px;margin-bottom:16px;padding:13px;border:1px solid #cbdcf0;border-radius:10px;background:#f4f8ff;color:#25415f;font-size:12px}
.fw-profile-new-drafts>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fw-profile-object-card{background:#f5f9fe;padding:0;overflow:hidden}
.fw-profile-object-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px 22px;margin:0;padding:24px 27px;cursor:pointer;list-style:none}
.fw-profile-object-head::-webkit-details-marker{display:none}
.fw-profile-object-main{min-width:0}
.fw-profile-object-top-actions{display:flex;align-items:center;gap:17px}
.fw-profile-object-head:focus-visible{outline:3px solid #4966d7;outline-offset:-3px}
.fw-profile-object-body{padding:0 27px 24px}
.fw-profile-chevron{font-size:24px;color:#4c55c0;line-height:1;transition:transform .15s}
.fw-profile-object-card[open] .fw-profile-chevron{transform:rotate(180deg)}
.fw-profile-object-card[open] .fw-profile-object-head{border-bottom:1px solid #d7e3ee;margin-bottom:16px}
.fw-profile-object-head small{color:#627c98;font-size:10px;font-weight:830;letter-spacing:.1em}
.fw-profile-object-head h3{margin:7px 0;color:#173553;font-size:20px;line-height:1.3}
.fw-profile-object-head p{margin:4px 0 0;color:#58718e;font-size:13px;line-height:1.5}
.fw-profile-object-head .fw-profile-object-ids{display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:17px;border-top:1px solid #d7e3ee}
.fw-profile-object-ids>span{display:flex;align-items:center;gap:12px;min-width:0;padding:10px 13px;border:1px solid #dce6f1;border-radius:9px;background:#fff}
.fw-profile-object-ids small{flex:none}
.fw-profile-object-ids strong{color:#173553;font-size:13px;overflow-wrap:anywhere}
.fw-profile-object-card .fw-profile-row-actions{justify-content:flex-end;margin-top:16px;padding-top:15px;border-top:1px solid #d7e3ee}
.fw-profile-notified{display:grid;gap:6px;margin-top:13px;padding:13px;border:1px solid #dce6f1;border-radius:10px;background:#fff;color:#4b617b;font-size:11px}
.fw-profile-notified strong{color:#173553;font-size:12px}
.fw-profile-terms-editor{max-height:calc(100vh - 40px);overflow:auto}
.fw-profile-terms-editor form{padding:22px 24px 25px}
.fw-profile-terms-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.fw-profile-terms-fields label,.fw-profile-tariff-editor label,.fw-profile-signature-choice{display:block;color:#334e69;font-size:12px;font-weight:720}
.fw-profile-terms-fields input,.fw-profile-tariff-editor input,.fw-profile-tariff-editor select,.fw-profile-signature-choice select{display:block;width:100%;min-height:44px;margin-top:7px}
.fw-profile-tariff-editor input,.fw-profile-tariff-editor select{height:48px;min-height:48px;box-sizing:border-box;padding-top:10px;padding-bottom:10px}
.fw-profile-tariff-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 12px}
.fw-profile-tariff-head h3{margin:0;color:#173553;font-size:16px}
.fw-profile-tariff-editor-list{display:grid;gap:11px}
.fw-profile-tariff-editor{display:grid;grid-template-columns:minmax(170px,1.5fr) minmax(100px,.65fr) minmax(120px,.8fr) 25px;gap:10px;align-items:end;padding:15px;border:1px solid #dbe5f0;border-radius:12px;background:#f8fbfe}
.fw-profile-tariff-editor .fw-profile-tariff-other{grid-column:1/4}
.fw-profile-tariff-assign-all{grid-column:1/4;justify-self:end;min-height:34px;padding:6px 11px;font-size:11px}
.fw-profile-tariff-assign-all.is-assigned{border-color:#68bc88;background:#e8f8ee;color:#1c7841;box-shadow:inset 0 0 0 1px #68bc88}
.fw-profile-tariff-remove{align-self:center;display:grid;place-items:center;width:25px;height:32px;border:0;background:transparent;color:#b14048;font-size:24px;cursor:pointer}
.fw-profile-tariff-remove:disabled{color:#a8b2be;cursor:not-allowed}
.fw-profile-terms-note{margin:15px 0;color:#617892;font-size:11px}
.fw-profile-signature-choice{display:block;margin-top:17px}
.fw-profile-delete .fw-profile-signature-choice{margin:0 24px}
@media(max-width:900px){.fw-profile-card-grid,.fw-profile-object-grid{grid-template-columns:1fr}.fw-profile-data-card.is-wide{grid-column:auto}}
@media(max-width:600px){.fw-profile-facts,.fw-profile-terms-fields,.fw-profile-bulk-options{grid-template-columns:1fr}.fw-profile-tariff-editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 25px}.fw-profile-tariff-editor>label:first-child{grid-column:1/3}.fw-profile-tariff-editor .fw-profile-tariff-other,.fw-profile-tariff-assign-all{grid-column:1/3}.fw-profile-tariff-head{align-items:flex-start;flex-direction:column}.fw-profile-tariff{align-items:flex-start;flex-direction:column}.fw-profile-object-head{padding:19px 17px;gap:14px}.fw-profile-object-body{padding:0 17px 19px}.fw-profile-object-top-actions{justify-content:flex-end}.fw-profile-object-head .fw-profile-object-ids{grid-template-columns:1fr}.fw-profile-object-toolbar label,.fw-profile-object-toolbar .button{width:100%}.fw-profile-bulk-person{grid-template-columns:1fr}.fw-profile-bulk-person .button{grid-column:1;grid-row:auto}.fw-profile-object-selectable{grid-template-columns:48px minmax(0,1fr)}.fw-profile-bulk-actions{flex-wrap:wrap}.fw-profile-bulk-actions strong{width:100%}}
.fw-profile-message{margin:0 0 17px;padding:12px 16px;border:1px solid #f1c48d;border-radius:11px;background:#fff8ed;color:#925914;font-size:13px;font-weight:730}
.fw-profile-message.is-error{border-color:#efb4b8;background:#fff4f4;color:#a1363b}
.fw-profile-pending{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:17px;padding:14px 16px;border:1px solid #edbd79;border-radius:11px;background:#fff8ec;color:#8e5b19}
.fw-profile-pending strong{font-size:13px}
.fw-profile-pending span{padding:5px 8px;border:1px solid #edbd79;border-radius:7px;font-size:11px;font-weight:700}
.fw-profile-pending span .button{min-height:29px;margin-left:8px;padding:4px 8px;font-size:11px}
.fw-profile-pending-icon{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;padding:0!important;border:0!important;border-radius:50%!important;background:#e99320;color:#fff;font-size:17px!important;font-weight:850!important}
.fw-profile-pending-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.fw-profile-pending-copy small{font-size:12px;font-weight:650}
.fw-profile-row-actions{display:flex;gap:7px;flex-wrap:wrap}
.fw-profile-row-actions .button{min-height:33px;padding:6px 10px;font-size:11px}
.fw-profile-status{display:inline-flex;padding:7px 9px;border:1px solid #9ed4b0;border-radius:999px;background:#f4fbf6;color:#237946;font-size:11px;font-weight:760;white-space:nowrap}
.fw-profile-status.is-pending{border-color:#ebbd7e;background:#fff8eb;color:#a06510}
.fw-profile-editor{max-height:calc(100vh - 40px);overflow:auto}
.fw-profile-editor form{padding:24px}
.fw-profile-editor .field-grid{gap:18px}
.fw-profile-editor .field-grid label{display:block;font-size:12px;font-weight:720}
.fw-profile-editor .field-grid input{width:100%;min-height:46px;margin-top:8px}
.fw-profile-editor .field-grid b{color:#d33135}
.fw-profile-services{display:grid;gap:8px;margin:22px 0}
.fw-profile-services h3{margin:0 0 4px;font-size:15px}
.fw-profile-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:21px}
.fw-profile-editor-actions .fw-error{margin-right:auto}
.fw-profile-delete>p{padding:5px 24px 0;color:#485a70}
.fw-profile-delete .fw-profile-editor-actions{padding:18px 24px 24px}
.contract-row.is-framework{padding-left:76px;text-align:left}
.contract-row.is-framework .row-name{grid-column:1}
.contract-row.is-framework .row-belaz{grid-column:2;display:block}
.contract-row.is-framework .row-customer-fill{grid-column:5;justify-self:start;text-align:left}
.contract-row.is-elevator-framework .row-specialist-fill{grid-column:6;display:block}
.contract-row.is-framework .row-expand{grid-column:7}
.contract-row.is-framework .row-fill .fill-state{white-space:nowrap;text-align:center}
.fw-office-change-badge{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin-top:7px;padding:5px 8px;border:1px solid #ebbd7e;border-radius:8px;background:#fff8eb;color:#985a12;font-size:11px;font-weight:750;white-space:normal}
.fw-office-change-badge>span{display:grid;place-items:center;width:15px;height:15px;flex:none;border-radius:50%;background:#e99320;color:white;font-size:11px;font-weight:850}
.office-framework-detail{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));text-align:left}
.office-framework-detail .office-detail-docs{grid-column:1/-1}
@media(max-width:1000px){.contract-row.is-framework .row-customer-fill{grid-column:4}.contract-row.is-elevator-framework .row-specialist-fill{grid-column:5}.contract-row.is-framework .row-expand{grid-column:6}}
@media(max-width:760px){.contract-row.is-framework .row-customer-fill{grid-column:3}.contract-row.is-elevator-framework .row-specialist-fill{grid-column:4}.contract-row.is-framework .row-expand{grid-column:5}.office-framework-detail{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.contract-row.is-framework{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"name name" "belaz customer";padding-left:62px}.contract-row.is-elevator-framework{grid-template-areas:"name name" "belaz customer" "specialist specialist"}.contract-row.is-framework .row-name,.contract-row.is-framework .row-belaz,.contract-row.is-framework .row-customer-fill,.contract-row.is-elevator-framework .row-specialist-fill{grid-column:auto}.contract-row.is-framework .row-belaz{grid-area:belaz}.contract-row.is-framework .row-customer-fill{grid-area:customer}.contract-row.is-elevator-framework .row-specialist-fill{grid-area:specialist}.contract-row.is-framework .row-expand{grid-column:auto}.office-framework-detail{grid-template-columns:1fr}.fw-profile .page-heading>.button{width:100%}.fw-profile-editor form{padding:18px}.fw-profile-editor-actions{flex-wrap:wrap}}
