/* NRDATA service-register DEV-only workbench. Scope every rule. */
.nrreg-nav{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;text-align:left!important}
.nrreg-nav-icon{display:inline-flex;width:20px;justify-content:center;font-size:17px}
.nrreg-root[hidden]{display:none!important}
.nrreg-root{position:fixed;inset:0;z-index:21000;background:rgba(11,25,40,.6);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#25374d}
.nrreg-root *{box-sizing:border-box}
.nrreg-shell{position:relative;width:min(1540px,100%);height:min(92vh,960px);min-height:460px;display:flex;flex-direction:column;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 24px 85px #0a213d5c;border:1px solid #d6e0ec}
.nrreg-head{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f2f6fb;border-bottom:1px solid #dce6f0;padding:19px 26px}
.nrreg-kicker{font-size:10px;letter-spacing:.12em;font-weight:800;color:#4779a5;text-transform:uppercase}
.nrreg-head h1{font-size:25px;font-weight:760;letter-spacing:-.6px;margin:2px 0;color:#142b41}
.nrreg-head p{font-size:12px;color:#667e94;margin:0}
.nrreg-head-actions{display:flex;gap:8px;align-items:center}
.nrreg-root button{cursor:pointer;border:1px solid #c9d6e4;border-radius:7px;background:#fff;padding:8px 12px;font-size:12px;color:#284258;font-weight:650;white-space:nowrap;line-height:1.3}
.nrreg-root button:hover{border-color:#6091c8;background:#eaf2fb}
.nrreg-root button:disabled{opacity:.5;cursor:wait}
.nrreg-root button.nrreg-primary{background:#2263a3;color:white;border-color:#2263a3}
.nrreg-root button.nrreg-primary:hover{background:#155387}
.nrreg-root button.nrreg-close{font-size:18px;width:36px;height:36px;padding:4px}
.nrreg-alert{margin:10px 24px 0;background:#e9f8ed;color:#205b37;font-size:12px;font-weight:620;padding:10px 14px;border-radius:7px}
.nrreg-alert[hidden]{display:none}
.nrreg-alert.error{background:#fff0eb;color:#af322b}
.nrreg-tabs{display:flex;align-items:center;gap:4px;padding:14px 24px 0;border-bottom:1px solid #dfe8f1}
.nrreg-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:11px 16px;color:#617589}
.nrreg-tabs button.active{border-bottom-color:#2072bc;color:#12558a;background:#edf5fc}
.nrreg-tabs [data-count]{font-size:10px;background:#fbdad8;color:#aa3531;padding:2px 7px;border-radius:10px;margin-left:5px}
.nrreg-controls{display:flex;gap:12px;align-items:end;padding:14px 24px;background:#fff}
.nrreg-controls label{font-size:11px;color:#597087;font-weight:680;display:flex;flex-direction:column;gap:4px}
.nrreg-controls input,.nrreg-controls select{height:34px;border:1px solid #cbd8e5;border-radius:6px;padding:6px 9px;font-size:12px;background:white;color:#1d3246}
.nrreg-controls input{min-width:330px}
.nrreg-rowcount{font-size:11px;color:#6c7f90;margin-left:auto;padding-bottom:9px}
.nrreg-table-wrap{overflow:auto;flex:1;padding:0 24px 14px}
.nrreg-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;table-layout:fixed}
.nrreg-table th{position:sticky;top:0;background:#eff4f9;color:#526c84;text-align:left;font-weight:750;padding:12px 10px;border-bottom:2px solid #d8e4ef;white-space:nowrap;z-index:1}
.nrreg-table th:nth-child(1){width:180px}.nrreg-table th:nth-child(2){width:138px}
.nrreg-table th:nth-child(3){width:255px}.nrreg-table th:nth-child(4){width:125px}
.nrreg-table th:nth-child(5){width:auto}.nrreg-table th:nth-child(6){width:112px}.nrreg-table th:nth-child(7){width:90px}
.nrreg-table td{padding:11px 10px;border-bottom:1px solid #e1e7ef;vertical-align:middle;color:#314559}
.nrreg-table .nrreg-open td{background:#fff0ee}
.nrreg-table .nrreg-open td:first-child{border-left:4px solid #da7066}
.nrreg-table .nrreg-done td{background:#eaf7ed}
.nrreg-table .nrreg-done td:first-child{border-left:4px solid #5ca66c}
.nrreg-table tr:hover td{filter:brightness(.975)}
.nrreg-table td strong{color:#21354b}
.nrreg-muted{color:#75889a;font-size:11px;font-weight:400;margin-top:3px}
.nrreg-reason{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nrreg-status{display:inline-block;border-radius:4px;padding:4px 8px;font-size:10px;font-weight:800}
.nrreg-status.open{background:#fdd8d2;color:#a03830}.nrreg-status.done{background:#cfedda;color:#21643e}
.nrreg-empty{text-align:center;color:#7e8fa1;padding:45px}
.nrreg-foot{font-size:10px;color:#75879a;padding:11px 24px;background:#f6f9fc;border-top:1px solid #e6ecf3}
.nrreg-editor-host:empty{display:none}
.nrreg-editor-backdrop{position:absolute;inset:0;background:#0d233c89;display:flex;justify-content:flex-end;z-index:9}
.nrreg-editor{width:min(700px,100%);background:#fff;display:flex;flex-direction:column;box-shadow:-15px 0 60px #0c254235}
.nrreg-editor-head{padding:20px 26px;border-bottom:1px solid #dae5ef;display:flex;align-items:center;justify-content:space-between;gap:14px}
.nrreg-editor-head h2{font-size:21px;margin:4px 0 0;color:#1c344b}
.nrreg-editor-scroll{overflow-y:auto;padding:20px 26px 35px;flex:1;scrollbar-width:thin}
.nrreg-editor h3{font-size:13px;color:#194e79;margin:18px 0 10px;border-bottom:1px solid #e4ebf2;padding-bottom:7px}
.nrreg-editor h3:first-of-type{margin-top:14px}
.nrreg-infotip{background:#edf5fc;color:#335b7b;padding:10px 12px;border-radius:7px;font-size:12px;line-height:1.5}
.nrreg-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.nrreg-field{display:flex;flex-direction:column;gap:4px;min-width:0}
.nrreg-field span{color:#546e82;font-size:11px;font-weight:720}
.nrreg-field input,.nrreg-field select,.nrreg-field textarea{border:1px solid #cbd8e4;border-radius:6px;background:#fff;color:#233b51;padding:8px 9px;font-size:12px;min-width:0;width:100%;line-height:1.45}
.nrreg-field input,.nrreg-field select{min-height:35px}
.nrreg-field input:focus,.nrreg-field select:focus,.nrreg-field textarea:focus{outline:2px solid #a3cbee;border-color:#3479b7}
.nrreg-field input:disabled,.nrreg-field textarea:disabled,.nrreg-field select:disabled{background:#f1f4f7;color:#6e7d8a}
.nrreg-wide{grid-column:1/-1}
.nrreg-device-meta{background:#f5f8fc;color:#5a7184;border:1px solid #e4ebf1;border-radius:7px;padding:11px;font-size:11px;line-height:1.7}
.nrreg-plombs{background:#f9fafc;border:1px solid #e3eaf2;border-radius:7px;padding:12px;color:#4a6076;font-size:12px;line-height:2.1}
.nrreg-seal{display:inline-block;background:#e8eff8;border-radius:4px;padding:1px 6px;margin:2px 3px;font-size:11px}
.nrreg-finish{display:flex;flex-wrap:wrap;align-items:center;gap:9px;background:#eaf7ed;border:1px solid #bfddc8;border-radius:8px;padding:12px;margin:15px 0 0;color:#276040;font-size:12px}
.nrreg-finish input{height:18px;width:18px;accent-color:#248247}.nrreg-finish span{font-weight:400;color:#557766}
.nrreg-editor-foot{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:13px 24px;border-top:1px solid #dfebf2;background:#f7fafc}
.nrreg-editor-foot [data-save-message]{flex:1;color:#6b7c8d;font-size:11px}
@media(max-width:800px){.nrreg-root{padding:0}.nrreg-shell{width:100%;height:100%;border-radius:0}.nrreg-head{padding:14px}.nrreg-head h1{font-size:19px}.nrreg-controls{padding:10px;flex-wrap:wrap}.nrreg-controls input{min-width:170px}.nrreg-table-wrap{padding:0 9px}.nrreg-table{min-width:970px}.nrreg-editor-scroll{padding:14px}.nrreg-form-grid{grid-template-columns:1fr}.nrreg-wide{grid-column:auto}.nrreg-tabs{padding:8px 12px 0;overflow:auto}.nrreg-tabs button{padding:9px}}

.nrreg-jira-small{display:inline-block;margin:4px 0 0 6px;font-size:10px;color:#1766ae;font-weight:750;text-decoration:none;white-space:nowrap}
.nrreg-jira-small:hover{text-decoration:underline}
.nrreg-jira-preview{font-size:11px;color:#29699d;min-height:10px;margin-top:-8px}
.nrreg-jira-preview a{color:#17649f;text-decoration:underline;font-weight:700}

.nrreg-table .nrreg-history td{background:#f3f6fa}
.nrreg-table .nrreg-history td:first-child{border-left:4px solid #8ea3b8}
.nrreg-status.history{background:#dfe7ef;color:#46617a}
\n.nrreg-help{display:block;font-size:11px;font-weight:400;color:#697f91;margin-top:3px;line-height:1.4}\n.nrreg-field select[name=contract_id]{width:100%;max-width:100%;white-space:normal}\n.nrreg-device-meta[data-protocol-info]{background:#ecf5fd;border-color:#d4e3f0;font-size:12px}\n
.nrreg-more{display:flex;justify-content:center;padding:9px 18px;background:#f6f9fc;border-top:1px solid #e5edf5}
.nrreg-more[hidden],.nrreg-documents-block [hidden]{display:none!important}
.nrreg-more button{background:#e5f1fc;color:#194f7d}
.nrreg-documents-block{border:1px solid #d9e4f1;border-radius:7px;padding:10px;background:#f5f9fd}
.nrreg-documents-block>button{background:#e8f1fa;color:#1b5583}
.nrreg-documents-block [data-equipment-documents]{max-height:215px;overflow:auto;margin-top:8px;font-size:12px}
.nrreg-documents-block table{border-collapse:collapse;width:100%;font-size:11px}
.nrreg-documents-block th,.nrreg-documents-block td{padding:6px 5px;border-bottom:1px solid #dae5ed;text-align:left}
.nrreg-documents-block td button{padding:4px 7px;font-size:10px}
.nrreg-doc-caption{color:#647a8d;font-size:11px;margin:6px 0}

.nrreg-root [data-protocol-print]{margin:-4px 0 8px}
.nrreg-root [data-protocol-print][hidden]{display:none!important}
.nrreg-root [data-protocol-print] button{border-color:#8db2d5;color:#19588e;background:#eff7ff}
.nrreg-root .nrreg-related-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.nrreg-root .nrreg-related-actions button{white-space:normal;font-size:11px}
.nrreg-root .nrreg-invoice-link{display:block;margin-top:4px;border:0;background:transparent;color:#145c96;font-size:10px;padding:2px 3px;text-decoration:underline}
.nrreg-root .nrreg-documents-block small{line-height:1.5}


/* NRDATA reģistrs: only list ROWS are compact. Original full-sized modal/editor
   and original header, filter bar, tabs, footer and scroll region preserved. */
.nrreg-root .nrreg-table td {
  padding:4px 7px;
  line-height:1.2;
  height:35px;
  font-size:11px;
}
.nrreg-root .nrreg-table .nrreg-muted {
  display:inline;
  margin:0 0 0 5px;
  font-size:10px;
  white-space:nowrap;
}
.nrreg-root .nrreg-table .nrreg-muted::before {content:"· ";color:#8d9eac}
.nrreg-root .nrreg-table tbody td button {
  padding:4px 7px;
  font-size:10px;
  min-height:0;
  line-height:1.15;
}
.nrreg-root .nrreg-table .nrreg-status {
  padding:3px 5px;
  font-size:10px;
  line-height:1.15;
}
.nrreg-root .nrreg-gt-note {
  font-size:11px;
  line-height:1.35;
  color:#65798c;
  margin-top:-4px;
}
.nrreg-root .nrreg-field input[name=grand_total_before],
.nrreg-root .nrreg-field input[name=grand_total_after],
.nrreg-root .nrreg-field input[name=time],
.nrreg-root .nrreg-field input[name=arrival_time] {
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum";
}

/* V2.7.171: date range fields inside existing full-size register dialog. */
.nrreg-controls{flex-wrap:wrap;row-gap:8px}
.nrreg-controls .nrreg-range-field input[type="date"]{
  min-width:0;width:145px;height:34px;font-variant-numeric:tabular-nums
}
.nrreg-controls [data-action="clear-dates"]{padding:7px 9px;font-size:11px}
.nrreg-controls [data-action="clear-dates"][hidden]{display:none}
@media(max-width:800px){
  .nrreg-controls .nrreg-range-field input[type="date"]{width:130px}
}

.nrreg-editor .nrreg-required{color:#ce2635;font-weight:900;font-size:15px}
.nrreg-editor .nrreg-required-caption{font-size:11px;color:#67788a;margin:8px 0}
.nrreg-editor .nrreg-required-caption b{color:#ce2635;font-size:15px}
.nrreg-editor .nrreg-validation-errors{border:1px solid #d92c3d;background:#fff0f2;
 color:#a51424;padding:9px 12px;margin:10px 0;border-radius:6px;font-size:12px;font-weight:700}
.nrreg-editor .nrreg-validation-errors[hidden]{display:none!important}
.nrreg-editor .nrreg-error>span{color:#b61f2c}
.nrreg-editor .nrreg-error input,.nrreg-editor .nrreg-error select,.nrreg-editor .nrreg-error textarea{
 border:2px solid #d92c3d!important;background:#fff4f4!important}
.nrreg-editor input[required],.nrreg-editor select[required]{border-left:2px solid #d29ca2}


/* DEV compact single-flow registry v2.7.181 — all four sections retained */
.nrreg-root .nrreg-shell:has(.nrreg-editor--compact) {
 width:min(1740px,100%);height:min(98vh,1100px);
}
.nrreg-root .nrreg-editor-backdrop:has(.nrreg-editor--compact) {
 justify-content:center;align-items:center;padding:7px;
}
.nrreg-root .nrreg-editor--compact {
 width:min(990px,100%);max-width:100%;height:100%;max-height:100%;
 min-height:0;border-radius:12px;overflow:hidden;
 box-shadow:0 16px 60px #081f3855;
}
.nrreg-editor--compact .nrreg-editor-head {
 flex:0 0 auto;padding:9px 17px 8px;
}
.nrreg-editor--compact .nrreg-editor-head h2 {
 font-size:19px;margin:2px 0 0;
}
.nrreg-editor--compact .nrreg-editor-scroll {
 min-height:0;flex:1 1 auto;overflow-y:auto;padding:8px 16px 10px;
 scrollbar-width:thin;overscroll-behavior:contain;
}
.nrreg-editor--compact .nrreg-infotip {
 padding:6px 9px;font-size:10px;line-height:1.25;
}
.nrreg-editor--compact .nrreg-required-caption {
 margin:5px 0 4px;display:flex;align-items:center;flex-wrap:wrap;
 gap:5px;font-size:10px;
}
.nrreg-editor--compact .nrreg-legend {
 display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;margin-left:auto;
}
.nrreg-editor--compact .nrreg-legend i {
 display:inline-block;width:12px;height:12px;border-radius:3px;
 border:1px solid transparent;margin-left:6px;
}
.nrreg-editor--compact .nrreg-legend-ok {
 background:#e1f6e8;border-color:#53af79!important;
}
.nrreg-editor--compact .nrreg-legend-need {
 background:#fff0e6;border-color:#e99a5c!important;
}
.nrreg-editor--compact .nrreg-progress {
 padding:6px 10px;margin:4px 0 5px;background:#f4f8fc;
 border:1px solid #dae6f1;border-radius:7px;font-size:10px;
}
.nrreg-editor--compact .nrreg-progress-line {
 display:flex;justify-content:space-between;gap:8px;align-items:center;
}
.nrreg-editor--compact .nrreg-progress-line strong {
 font-size:11px;color:#244967;
}
.nrreg-editor--compact .nrreg-progress-line span {
 color:#335d78;font-weight:700;
}
.nrreg-editor--compact .nrreg-progress-meter {
 height:4px;border-radius:10px;background:#dce6ee;margin:4px 0;overflow:hidden;
}
.nrreg-editor--compact .nrreg-progress-meter i {
 display:block;background:#278456;width:0;height:100%;border-radius:10px;
 transition:width .14s;
}
.nrreg-editor--compact .nrreg-progress-details {
 color:#a04f23;line-height:1.3;
}
.nrreg-editor--compact .nrreg-progress-details[data-ready=true] {
 color:#277247;
}
.nrreg-editor--compact h3 {
 font-size:11px;line-height:1.2;margin:7px 0 5px;padding-bottom:4px;
}
.nrreg-editor--compact h3:first-of-type {margin-top:6px}
.nrreg-editor--compact .nrreg-form-grid {
 gap:6px 10px;grid-template-columns:repeat(2,minmax(0,1fr));
}
.nrreg-editor--compact .nrreg-field {gap:2px;min-width:0}
.nrreg-editor--compact .nrreg-field span {
 font-size:10px;line-height:1.25;color:#415f78;
}
.nrreg-editor--compact .nrreg-field input,
.nrreg-editor--compact .nrreg-field select,
.nrreg-editor--compact .nrreg-field textarea {
 border:1px solid #c9d6e2;min-height:31px;padding:5px 8px;
 font-size:11px;line-height:1.3;transition:background-color .12s,border-color .12s;
}
.nrreg-editor--compact .nrreg-field textarea {
 min-height:43px;resize:vertical;max-height:230px;
}
.nrreg-editor--compact .nrreg-field.nrreg-has-value input:not(:disabled),
.nrreg-editor--compact .nrreg-field.nrreg-has-value select:not(:disabled),
.nrreg-editor--compact .nrreg-field.nrreg-has-value textarea:not(:disabled) {
 background:#e3f7e9!important;border-color:#56aa73!important;color:#1c5236!important;
}
.nrreg-editor--compact .nrreg-field.nrreg-needed input:not(:disabled),
.nrreg-editor--compact .nrreg-field.nrreg-needed select:not(:disabled),
.nrreg-editor--compact .nrreg-field.nrreg-needed textarea:not(:disabled) {
 background:#fff0e7!important;border:1.5px solid #e38a52!important;
}
.nrreg-editor--compact .nrreg-field.nrreg-error input:not(:disabled),
.nrreg-editor--compact .nrreg-field.nrreg-error select:not(:disabled),
.nrreg-editor--compact .nrreg-field.nrreg-error textarea:not(:disabled) {
 background:#fff0e7!important;border:2px solid #c66925!important;
}
.nrreg-editor--compact .nrreg-field :is(input,select,textarea):focus {
 outline:2px solid #8dbff0!important;outline-offset:1px;
}
.nrreg-editor--compact .nrreg-device-meta {
 padding:5px 8px;font-size:10px;line-height:1.35;
}
.nrreg-editor--compact .nrreg-help {
 display:block;font-size:10px;line-height:1.2;margin:0;
}
.nrreg-editor--compact .nrreg-documents-block {padding:6px 9px}
.nrreg-editor--compact .nrreg-documents-block small,
.nrreg-editor--compact .nrreg-doc-caption {
 font-size:10px;line-height:1.2;margin:3px 0;
}
.nrreg-editor--compact .nrreg-related-actions {
 gap:5px;margin-top:5px;
}
.nrreg-editor--compact .nrreg-related-actions button {
 font-size:10px;padding:5px 8px;
}
.nrreg-editor--compact .nrreg-jira-preview {
 min-height:0;margin:0;
}
.nrreg-editor--compact .nrreg-gt-note {
 margin:0;font-size:10px;line-height:1.25;
}
.nrreg-editor--compact .nrreg-plombs {
 padding:6px 9px;font-size:10px;line-height:1.4;
}
.nrreg-editor--compact .nrreg-finish {
 margin:6px 0 0;padding:7px 10px;gap:7px;
 background:#f3f7fb;border-color:#cddae7;font-size:11px;
}
.nrreg-editor--compact .nrreg-finish.nrreg-finish--checked {
 background:#e1f6e8;border-color:#65b67e;
}
.nrreg-editor--compact .nrreg-editor-foot {
 flex:0 0 auto;padding:8px 15px;
}
.nrreg-editor--compact .nrreg-editor-foot button {padding:7px 10px}
@media(max-width:750px) {
 .nrreg-root .nrreg-shell:has(.nrreg-editor--compact) {height:100%;width:100%}
 .nrreg-root .nrreg-editor-backdrop:has(.nrreg-editor--compact) {padding:0}
 .nrreg-root .nrreg-editor--compact {width:100%;border-radius:0}
 .nrreg-editor--compact .nrreg-form-grid {grid-template-columns:1fr}
 .nrreg-editor--compact .nrreg-wide {grid-column:1/-1}
 .nrreg-editor--compact .nrreg-editor-scroll {padding:7px 11px}
}
@media(max-height:760px) {
 .nrreg-editor--compact .nrreg-editor-head {padding:6px 12px}
 .nrreg-editor--compact .nrreg-editor-scroll {padding-top:4px}
 .nrreg-editor--compact .nrreg-progress {padding:4px 8px}
}


/* DEV registry further density v2.7.181 — still one flowing form, no tabs */
.nrreg-root .nrreg-editor--compact {width:min(1110px,100%)}
.nrreg-editor--compact .nrreg-form-grid {gap:5px 9px}
.nrreg-editor--compact .nrreg-progress {padding:4px 8px}
.nrreg-editor--compact .nrreg-progress-details {font-size:10px}
.nrreg-editor--compact .nrreg-form-grid:has([name=partner_id])
 [data-protocol-info] {grid-column:1;grid-row:5;align-self:stretch;display:flex;align-items:center}
.nrreg-editor--compact .nrreg-form-grid:has([name=partner_id])
 .nrreg-field:has([name=contract_id]) {grid-column:2;grid-row:5}
.nrreg-editor--compact .nrreg-form-grid:has([name=reported])
 .nrreg-field:has([name=reported_preset]) {grid-column:1;grid-row:3}
.nrreg-editor--compact .nrreg-form-grid:has([name=reported])
 .nrreg-field:has([name=diagnosed_preset]) {grid-column:2;grid-row:3}
.nrreg-editor--compact .nrreg-form-grid:has([name=reported])
 .nrreg-field:has([name=reported]) {grid-column:1;grid-row:4}
.nrreg-editor--compact .nrreg-form-grid:has([name=reported])
 .nrreg-field:has([name=diagnosed]) {grid-column:2;grid-row:4}
.nrreg-editor--compact .nrreg-form-grid:has([name=reported])
 .nrreg-field:has([name=jira_url]) {grid-column:1;grid-row:5}
.nrreg-editor--compact .nrreg-form-grid:has([name=reported])
 .nrreg-jira-preview {grid-column:2;grid-row:5;align-self:center}
.nrreg-editor--compact .nrreg-form-grid:has([name=grand_total_before])
 .nrreg-gt-note {grid-column:1;grid-row:2;align-self:center}
.nrreg-editor--compact .nrreg-form-grid:has([name=grand_total_before])
 .nrreg-plombs {grid-column:2;grid-row:2}
.nrreg-editor--compact #nrreg-form > .nrreg-field:has([name=note]) {
 display:inline-flex;width:57%;vertical-align:top;margin-right:1%;
}
.nrreg-editor--compact #nrreg-form > .nrreg-finish {
 display:inline-flex;width:41%;min-height:57px;vertical-align:top;
 margin:0;padding:7px;align-content:center;
}
.nrreg-editor--compact #nrreg-form > .nrreg-field:has([name=note]) textarea {
 min-height:55px;
}
.nrreg-editor--compact .nrreg-documents-block {padding:4px 7px}
.nrreg-editor--compact .nrreg-related-actions {margin-top:3px}
.nrreg-editor--compact .nrreg-related-actions button {padding:4px 7px}
@media(max-width:750px) {
 .nrreg-editor--compact .nrreg-form-grid:has([name=partner_id]) [data-protocol-info],
 .nrreg-editor--compact .nrreg-form-grid:has([name=partner_id]) .nrreg-field:has([name=contract_id]),
 .nrreg-editor--compact .nrreg-form-grid:has([name=reported]) .nrreg-field,
 .nrreg-editor--compact .nrreg-form-grid:has([name=reported]) .nrreg-jira-preview,
 .nrreg-editor--compact .nrreg-form-grid:has([name=grand_total_before]) .nrreg-gt-note,
 .nrreg-editor--compact .nrreg-form-grid:has([name=grand_total_before]) .nrreg-plombs {
  grid-column:1;grid-row:auto;
 }
 .nrreg-editor--compact #nrreg-form > .nrreg-field:has([name=note]),
 .nrreg-editor--compact #nrreg-form > .nrreg-finish {
  display:flex;width:100%;margin:7px 0 0;
 }
}
