.vpr-works-table { width: max-content; max-width: 100%; }
.vpr-catalog-panel { width: max-content; max-width: 100%; }
.vpr-catalog-actions { display: flex; justify-content: flex-end; margin: 0 0 7px; }
.vpr-catalog-actions:empty { display: none; }
.vpr-catalog-table { width: max-content; max-width: 100%; }
.vpr-catalog-table .resize_block_table { width: max-content; max-width: 100%; }
.vpr-catalog-table .resize_block_table > div:last-child { width: max-content; max-width: 100%; }
.vpr-catalog-table .table { width: max-content; min-width: 330px; max-width: 100%; }
.vpr-catalog-table .table > :not(caption) > * > * { padding: 5px 7px; }
.vpr-window[open] .app-dialog__header { touch-action: none; }
@media (min-width: 768px) and (pointer: fine) {
  html:has(.vpr-window[data-vpr-window-mode="modeless"][open]):not(:has(dialog:modal)),
  body:has(.vpr-window[data-vpr-window-mode="modeless"][open]):not(:has(dialog:modal)) { overflow: auto; }
  .vpr-window[data-vpr-window-mode="modeless"]::backdrop { background: transparent; }
  .vpr-window .app-dialog__header, .vpr-window .vpr-task-detail-dialog__header { cursor: grab; }
  .vpr-window .app-dialog__header:active, .vpr-window .vpr-task-detail-dialog__header:active { cursor: grabbing; }
}
.vpr-works-table .head-table { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 34px; margin-bottom: 4px; }
.vpr-works-table .block_btn_table { display: flex; justify-content: flex-end; margin-left: auto; }
.vpr-works-table .block_btn_table .btn { min-height: 32px; padding: 5px 10px; }
.vpr-works-table > div:nth-child(2) { display: flex; min-width: 0; position: relative; }
.vpr-works-table .table-filters { flex: 0 0 174px; width: 174px; max-width: 174px; padding: 0 9px 8px 0; border-right: 1px solid #dce4ec; background: #fff; font-size: 12px; }
.vpr-works-table .table-filters.displayNone { display: none; }
.vpr-works-table .table-filters > div:first-child { gap: 4px; }
.vpr-works-table .table-filters .btn { min-height: 28px; padding: 4px 6px; font-size: 12px; }
.vpr-works-table .table-filters .form-control, .vpr-works-table .table-filters .form-select { width: 100%; max-width: 100% !important; min-height: 30px; padding: 4px 6px; font-size: 12px; }
.vpr-works-table .table-filters table { width: 100%; }
.vpr-works-table .table-filters table > tbody > div { padding-top: 10px !important; }
.vpr-works-table .resize_block_table { flex: 0 1 auto; min-width: 0; width: max-content; max-width: 100%; margin-left: 0 !important; overflow-x: auto; }
.vpr-works-table .resize_block_table > div:first-child { margin-bottom: 5px; }
.vpr-works-table .resize_block_table > div:last-child { width: max-content; max-width: 100%; overflow-x: auto; }
.vpr-works-table .resize_block_table .btn { min-height: 28px; padding: 4px 8px; font-size: 12px; }
.vpr-works-table .table { width: max-content; min-width: 470px; }
.vpr-works-table .table td, .vpr-works-table .table th { padding-top: 6px !important; padding-bottom: 6px !important; }
.vpr-works-table .table-empty { padding: 16px 8px !important; color: #62758a; text-align: center; }
@media (max-width: 767px) {
  .vpr-works-table .table-filters { position: absolute; top: 0; left: 0; z-index: 3; max-height: 75dvh; overflow: auto; padding: 8px; border: 1px solid #cbd8e4; border-radius: 5px; box-shadow: 0 7px 20px #18395426; }
  .vpr-works-table .resize_block_table { flex-basis: 100%; overflow-x: auto; }
  .vpr-works-table .table { min-width: 470px; }
}
.vpr-works-table:not(.vpr-works-table--paginated) .head-table { justify-content: flex-end; }
.vpr-works-table .resize_block_table input[type="button"] { min-height: 30px; padding: 4px 8px; border: 1px solid #bacbd8; border-radius: 5px; background: #fff; color: #315675; font: inherit; font-size: 12px; cursor: pointer; }
.vpr-works-table .resize_block_table input[type="button"]:hover { background: #edf5fa; }
.vpr-works-table .table-filters { min-width: 176px; padding: 6px 10px; border: 1px solid #dce4ec; border-radius: 5px; background: #f8fafc; }
.vpr-works-table .table-filters > div:first-child { gap: 5px; }
.vpr-works-table .table-filters input[type="button"] { min-height: 28px; padding: 3px 7px; border: 1px solid #bacbd8; border-radius: 5px; background: #fff; color: #315675; font: inherit; font-size: 12px; cursor: pointer; }
.vpr-works-table .table-filters .form-control, .vpr-works-table .table-filters .form-select { min-height: 32px; padding: 4px 7px; border: 1px solid #b9c7d4; border-radius: 5px; background: #fff; color: #243b53; font-size: 12px; }
.app-dialog.vpr-dialog { width: max-content; max-width: calc(100vw - 24px); max-height: min(92dvh, 980px); border-radius: 8px; }
.vpr-dialog .app-dialog__header { min-height: 40px; padding: 8px 12px; }
.vpr-dialog .app-dialog__title { font-size: 17px; }
.vpr-dialog .app-dialog__body { width: max-content; max-width: 100%; padding: 10px 12px; }
.vpr-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; width: 100%; max-width: 660px; margin: 0 0 9px; padding: 9px 10px; border: 1px solid #dce4ec; border-radius: 6px; background: #f7f9fb; }
.vpr-facts > div { min-width: 0; }
.vpr-facts dt { margin: 0 0 2px; color: #62758a; font-size: 11px; }
.vpr-facts dd { margin: 0; color: #243b53; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.vpr-work-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; color: #62758a; font-size: 12px; }
.vpr-work-actions .btn { flex: 0 0 auto; min-height: 32px; padding: 5px 10px; }
.vpr-location-strip { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 10px; }
.vpr-location-strip > div { display: grid; gap: 2px; min-width: 150px; padding: 5px 8px; border: 1px solid #dce4ec; border-radius: 5px; background: #fff; }
.vpr-location-strip strong { color: #324b62; font-size: 12px; }
.vpr-location-strip span { color: #62758a; font-size: 11px; }
.vpr-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid #cbd8e4; }
.vpr-tab { flex: 0 0 auto; min-height: 34px; padding: 6px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #4e6478; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.vpr-tab:hover { color: #205989; background: #f2f7fb; }
.vpr-tab.is-active { border-bottom-color: #2869a5; color: #205989; }
.vpr-tab-panel { padding-top: 10px; }
.vpr-tab-panel > .muted { margin: 0 0 10px; }
.vpr-table-scroll { width: max-content; max-width: 100%; overflow: auto; border: 1px solid #dce4ec; border-radius: 5px; }
.vpr-table-scroll:focus-visible { outline: 2px solid #2869a5; outline-offset: 2px; }
.vpr-grid { width: max-content; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.vpr-grid th, .vpr-grid td { padding: 5px 7px; border-right: 1px solid #e5ecf2; border-bottom: 1px solid #e5ecf2; vertical-align: top; text-align: left; white-space: nowrap; }
.vpr-grid th:last-child, .vpr-grid td:last-child { border-right: 0; }
.vpr-grid tbody tr:last-child td { border-bottom: 0; }
.vpr-grid thead th { position: sticky; top: 0; z-index: 1; background: #f5f8fa; color: #52677b; font-size: 11px; font-weight: 700; white-space: nowrap; }
.vpr-grid tbody tr:hover td { background: #f7fbfe; }
.vpr-grid .vpr-grid__primary { position: sticky; left: 0; z-index: 1; background: #fff; font-weight: 600; }
.vpr-grid thead th:first-child { left: 0; z-index: 2; }
.vpr-grid tbody tr:hover .vpr-grid__primary { background: #f7fbfe; }
.vpr-grid .vpr-grid__empty { position: static; max-width: none; padding: 18px; color: #62758a; font-weight: 400; text-align: center; }
.vpr-tasks-table .vpr-grid th:first-child { width: 0; padding: 0; }
.vpr-tasks-table .vpr-grid td:first-child { width: var(--vpr-task-column-width, 240px); min-width: var(--vpr-task-column-width, 240px); max-width: var(--vpr-task-column-width, 240px); overflow: hidden; }
.vpr-tasks-table .vpr-grid td { vertical-align: middle; }
.vpr-task-column-resizer { position: relative; display: flex; align-items: center; width: 240px; min-width: 140px; min-height: 29px; padding: 4px 15px 4px 7px; overflow: hidden; white-space: nowrap; }
.vpr-task-column-resizer::before { border-left: 1px solid #a8bdcf; background: #eaf3f9; }
.vpr-task-width-toggle { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 20px; margin-left: 5px; padding: 0; border: 1px solid #c2d2df; border-radius: 3px; background: #fff; color: #315675; font-size: 15px; line-height: 1; cursor: pointer; vertical-align: middle; }
.vpr-task-width-toggle:hover, .vpr-task-width-toggle:focus-visible { background: #eaf4fb; border-color: #88aeca; }
.vpr-task-width-toggle[aria-pressed="true"] { background: #dceefa; border-color: #7ba8c9; }
.vpr-task-inline { display: flex; align-items: center; gap: 6px; width: 100%; min-width: 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: inherit; font: inherit; line-height: 1.25; text-align: left; white-space: nowrap; }
button.vpr-task-inline { cursor: pointer; }
button.vpr-task-inline:hover .vpr-task-skill { color: #205989; text-decoration: underline; }
.vpr-task-inline:focus-visible { outline: 2px solid #2869a5; outline-offset: 2px; }
.vpr-task-inline strong { flex: 0 0 auto; }
.vpr-task-skill { display: block; min-width: 0; overflow: hidden; color: #62758a; font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.vpr-task-wrap-enabled td:first-child { white-space: normal; }
.vpr-task-wrap-enabled .vpr-task-inline { align-items: flex-start; overflow: visible; white-space: normal; }
.vpr-task-wrap-enabled .vpr-task-skill { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; word-break: break-all; }
.vpr-task-detail-dialog { position: fixed; inset: 0; width: min(560px, calc(100vw - 24px)); max-height: min(80dvh, 500px); margin: auto; padding: 0; overflow: auto; border: 1px solid #b9cbd9; border-radius: 7px; background: #fff; color: #243b53; box-shadow: 0 14px 40px #18395440; }
.vpr-task-detail-dialog::backdrop { background: #10263c70; }
.vpr-task-detail-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid #dce4ec; background: #f7f9fb; }
.vpr-task-detail-dialog__header h3 { margin: 0; font-size: 15px; }
.vpr-task-detail-dialog__close { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #536b80; font-size: 23px; line-height: 1; cursor: pointer; }
.vpr-task-detail-dialog__close:hover { background: #e7eef4; }
.vpr-task-detail-dialog__body { margin: 0; padding: 14px 12px 16px; line-height: 1.45; overflow-wrap: anywhere; }
.vpr-threshold-form { margin-bottom: 12px; padding: 10px; border: 1px solid #dce4ec; border-radius: 6px; background: #f8fafc; }
.vpr-threshold-heading h3 { margin: 0 0 3px; color: #243b53; font-size: 14px; }
.vpr-threshold-heading p { margin: 0 0 10px; }
.vpr-threshold-explanation { margin: 0 0 12px; padding: 9px 10px; border: 1px solid #e2c189; border-radius: 5px; background: #fff8e9; color: #684715; font-size: 13px; line-height: 1.45; }
.vpr-threshold-inputs { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; }
.vpr-threshold-inputs label { width: 105px; font-size: 12px; }
.vpr-threshold-inputs input { width: 100%; }
.vpr-threshold-inputs button { flex: 0 0 auto; }
.vpr-form-status { min-height: 0; margin: 8px 0 0; color: #255e91; }
.app-dialog.vpr-import-dialog { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.vpr-import-dialog .app-dialog__header { flex: 0 0 auto; min-height: 40px; padding: 8px 12px; }
.vpr-import-dialog .app-dialog__title { font-size: 17px; }
.vpr-import-dialog .app-dialog__body { display: flex; flex: 1 1 auto; flex-direction: column; width: 100%; min-height: 0; padding: 0; overflow: hidden; }
.vpr-import-dialog [hidden] { display: none; }
.vpr-import-content { flex: 0 1 auto; min-height: 0; max-height: calc(100dvh - 126px); padding: 12px 14px; overflow: auto; scrollbar-gutter: stable; }
.vpr-import-scope { margin: 0 0 10px; color: #243b53; line-height: 1.45; }
.vpr-import-file-label { display: grid; gap: 5px; max-width: 100%; font-size: 12px; font-weight: 600; }
.vpr-import-file-label input { width: 100%; height: auto; min-height: 36px; }
.vpr-import-selected { margin: 9px 0; color: #49657b; font-size: 12px; white-space: pre-line; overflow-wrap: anywhere; }
.vpr-import-progress { display: grid; flex: 1 0 100%; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 5px 8px; box-sizing: border-box; width: 100%; margin: 0; padding: 8px 10px; border: 1px solid #b9d1e4; border-radius: 5px; background: #eef6fc; color: #264b69; font-size: 12px; line-height: 1.4; }
.vpr-import-progress::before { content: ''; grid-row: 1 / 3; width: 14px; height: 14px; border: 2px solid #a9c8de; border-top-color: #246ca5; border-radius: 50%; animation: vpr-import-spin 0.8s linear infinite; }
.vpr-import-progress__message { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.vpr-import-progress__elapsed { justify-self: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vpr-import-progress__bar { grid-column: 2 / -1; width: 100%; height: 6px; margin: 0; accent-color: #3179af; }
@keyframes vpr-import-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vpr-import-progress::before { animation: none; } }
.vpr-import-global-header { position: sticky; top: 0; left: 0; z-index: 4; display: flex; align-items: center; box-sizing: border-box; min-height: 40px; margin: 0 -14px 10px; padding: 7px 14px; border-block: 1px solid #cbd8e4; background: #edf4f9; box-shadow: 0 2px 4px #18395418; }
.vpr-import-dialog .vpr-import-check-label { display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; width: auto; margin: 0; color: #315675; font-size: 12px; font-weight: 650; line-height: 1.25; white-space: nowrap; cursor: pointer; }
.vpr-import-dialog .vpr-import-check-label input[type="checkbox"], .vpr-import-dialog .vpr-import-work-select { display: block; flex: 0 0 17px; box-sizing: border-box; width: 17px; min-width: 17px; height: 17px; margin: 0; padding: 0; accent-color: #2869a5; cursor: pointer; }
.vpr-import-global-header .vpr-import-check-text { display: block; }
.vpr-import-file-review { margin: 0 0 14px; padding: 10px 0 0; border: 1px solid #dce4ec; border-radius: 6px; }
.vpr-import-file-review h3 { margin: 0 10px 6px; color: #243b53; font-size: 14px; overflow-wrap: anywhere; }
.vpr-import-file-status, .vpr-import-file-selection { margin: 0 10px 8px; color: #52677b; font-size: 12px; }
.vpr-import-file-selection { font-weight: 650; }
.vpr-import-file-review > .vpr-import-alert { margin-inline: 10px; }
.vpr-import-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; padding: 10px 14px; background: #fff; }
.vpr-import-actions--end { position: relative; z-index: 5; justify-content: flex-end; border-top: 1px solid #dce4ec; box-shadow: 0 -3px 10px #18395412; }
.vpr-import-actions .btn { min-height: 32px; padding: 5px 10px; }
.vpr-import-alert { margin: 0 0 10px; padding: 9px 10px; border: 1px solid #e2c189; border-radius: 5px; background: #fff8e9; color: #684715; font-size: 13px; line-height: 1.45; white-space: pre-line; }
.vpr-import-alert--error { border-color: #e7b9b9; background: #fff2f2; color: #9b3030; }
.vpr-import-selection-summary { flex: 1 0 100%; margin: 0; color: #315675; font-size: 12px; font-weight: 600; }
.vpr-import-duplicate-warning { flex: 1 0 100%; margin: 0; }
.vpr-import-dialog .vpr-import-review-table { width: 100%; margin: 0; table-layout: fixed; border: 1px solid #c7d5e1; border-collapse: separate; border-spacing: 0; color: #243b53; font-size: 12px; }
.vpr-import-dialog .vpr-import-review-table th, .vpr-import-dialog .vpr-import-review-table td { box-sizing: border-box; padding: 7px 9px; border: 0; border-right: 1px solid #cbd8e4; border-bottom: 1px solid #d6e0e9; background: #fff; text-align: left; vertical-align: middle; white-space: nowrap; }
.vpr-import-dialog .vpr-import-review-table th:nth-child(3), .vpr-import-dialog .vpr-import-review-table td:nth-child(3) { width: 98px; }
.vpr-import-dialog .vpr-import-review-table th:last-child, .vpr-import-dialog .vpr-import-review-table td:last-child { width: 215px; border-right: 0; }
.vpr-import-dialog .vpr-import-review-table tbody tr:last-child td { border-bottom: 0; }
.vpr-import-dialog .vpr-import-review-table thead th { position: sticky; top: 40px; z-index: 2; border-bottom-color: #c7d5e1; background: #eaf2f8; color: #3c5369; font-weight: 700; box-shadow: 0 2px 3px #18395417; }
.vpr-import-dialog .vpr-import-review-table thead th:first-child { left: 0; z-index: 3; }
.vpr-import-dialog .vpr-import-review-table tbody td:first-child { position: sticky; left: 0; z-index: 1; }
.vpr-import-dialog .vpr-import-review-table tbody tr.is-selected td { background: #f0f7fc; }
.vpr-import-dialog .vpr-import-review-table tbody tr:hover td { background: #eaf4fb; }
.vpr-import-dialog .vpr-import-review-table th:first-child, .vpr-import-dialog .vpr-import-review-table td:first-child { width: 44px; padding-inline: 8px; text-align: center; }
.vpr-import-dialog .vpr-import-review-table .vpr-import-check-label { display: flex; justify-content: center; width: 100%; }
.vpr-import-dialog .vpr-import-review-table .vpr-import-description { width: auto; font-weight: 600; }
.vpr-import-existing { color: #956120; font-weight: 600; }
.vpr-import-new { color: #2a714f; font-size: 12px; font-weight: 600; }
.vpr-import-criteria { color: #315675; overflow: hidden; text-overflow: ellipsis; }
.vpr-import-dialog .vpr-import-review-table .vpr-import-criteria--ambiguous { white-space: normal; }
.vpr-import-criteria-reason { display: block; margin-top: 3px; color: #684715; font-size: 11px; line-height: 1.3; }
.vpr-import-success { margin: 0 10px 10px; padding: 10px; border: 1px solid #a8d7b7; border-radius: 5px; background: #effaf2; color: #28643b; font-weight: 600; }
.vpr-import-location-map { margin: 10px; padding: 8px 10px; border: 1px solid #dce4ec; border-radius: 5px; background: #f8fafc; }
.vpr-import-location-map > label { display: grid; gap: 5px; font-size: 12px; }
.vpr-import-location-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 8px; }
@media (max-width: 767px) {
  .app-dialog.vpr-dialog { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
  .vpr-facts { padding: 10px; }
  .vpr-work-actions { align-items: stretch; flex-direction: column; }
  .vpr-tab { min-height: 44px; padding: 8px 10px; }
  .vpr-threshold-inputs label { flex: 1 1 calc(50% - 9px); width: auto; }
  .vpr-threshold-inputs button { width: 100%; }
  .vpr-import-review-table .vpr-import-description { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 580px) {
  .vpr-facts { grid-template-columns: minmax(0, 1fr); }
  .app-dialog.vpr-import-dialog { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
  .vpr-import-content { max-height: calc(100dvh - 160px); padding: 10px 12px; }
  .vpr-import-global-header { margin-inline: -12px; padding-inline: 12px; }
  .vpr-import-actions { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .vpr-import-actions .btn { flex: 1 1 130px; }
  .vpr-import-progress { grid-template-columns: 18px minmax(0, 1fr); }
  .vpr-import-progress__elapsed { grid-column: 2; justify-self: start; }
  .vpr-import-progress__bar { grid-column: 2; }
  .vpr-import-location-fields { grid-template-columns: minmax(0, 1fr); }
}
