:root {
  --blue: #0b6e99;
  --blue-dark: #075375;
  --link: #075f83;
  --border: #c9d3da;
  --border-light: #e3e9ed;
  --text: #24323d;
  --muted: #64737e;
  --header: #f5f8fa;
  --panel: #fff;
  --green: #2e7955;
  --orange: #a96500;
  --red: #a44040;
  --selected: #e8f3f8;
  --selected-border: #72afc9;
  --canvas: #edf2f5;
  --shadow-sm: 0 1px 2px rgba(30, 55, 70, .08);
  --shadow-md: 0 8px 24px rgba(30, 55, 70, .14);
}

* { box-sizing: border-box; }
html, body, #vaultApp { height: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background: var(--canvas);
  font: 13px Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid #1677b7; outline-offset: 2px; }
button:disabled, .vv_disabled { cursor: not-allowed; }

.vv-global-header {
  height: 88px;
  border-bottom: 1px solid #bcbcbc;
  background: #fff;
}
.vv-navbar {
  height: 44px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #ddd;
  background: #fff;
}
.vv-navbar-header { padding: 0 12px 0 0; }
.vv-navbar-header-left-container { width: 236px; display: flex; align-items: center; }
.vv-navbar-brand { height: 44px; display: flex; align-items: center; padding-left: 12px; gap: 10px; }
.vault-brand-logo { display: flex; align-items: center; width: 187px; height: 30px; }
.vault-brand-logo img { display: block; width: 187px; height: 28px; }

.searchNav { flex: 1; display: flex; align-items: center; min-width: 420px; }
.vv_top_searchbox {
  height: 30px; width: min(720px, 72%);
  display: flex; border: 1px solid #a9a9a9; border-radius: 2px; background: #fff;
}
.vv_button { border: 0; background: transparent; color: #333; height: 100%; cursor: pointer; }
.vv_search_scope .vv_button { min-width: 110px; border-right: 1px solid #bbb; padding: 0 9px; display: flex; align-items: center; justify-content: space-between; }
.vv_search_box_container { flex: 1; }
.vv_search_input_container, .vv-search-input-wrapper { height: 100%; }
.vv_search_input { width: 100%; height: 100%; border: 0; padding: 0 9px; outline: none; color: #333; }
.vv_search_action { width: 34px; border-left: 1px solid #bbb; }
.vv-navbar-collapse { margin-left: auto; display: flex; align-items: center; }
.vv-vault-switch button { height: 44px; border: 0; background: #fff; padding: 0 13px; display: flex; align-items: center; gap: 6px; color: #444; }
.vv-navbar-circle {
  width: 30px; height: 30px; margin: 0 10px; border-radius: 50%;
  border: 1px solid #bbb; background: #e9edf1; color: #52606b; font-weight: 700;
}
.vv-tabs { height: 43px; }
.vv-navbar-nav { display: flex; padding: 0; margin: 0; list-style: none; }
.vv-navbar-item { height: 43px; border-right: 1px solid #ddd; }
.vv-navbar-link { display: flex; height: 43px; align-items: center; padding: 0 18px; color: #444; font-size: 13px; }
.vv-navbar-item.active { border-bottom: 3px solid var(--blue); background: #f8f8f8; }
.vv-navbar-item.active .vv-navbar-link { color: var(--blue); font-weight: 700; }

.fa { display: inline-block; width: 13px; height: 13px; position: relative; }
.fa.caret::before { content: ""; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid currentColor; position: absolute; top: 4px; left: 2px; }
.fa.caret-up::before { border-top: 0; border-bottom: 6px solid currentColor; }
.fa.search::before { content: ""; width: 8px; height: 8px; border: 1.7px solid currentColor; border-radius: 50%; position: absolute; top: 1px; left: 0; }
.fa.search::after { content: ""; width: 6px; height: 2px; background: currentColor; transform: rotate(45deg); position: absolute; top: 9px; left: 8px; }

#pageBody { height: calc(100% - 88px); }
.page, .page-entry { height: 100%; }
.page-entry { display: flex; overflow: hidden; }
.vdcSidebar { width: 75px; position: relative; flex: 0 0 75px; background: #f2f2f2; border-right: 1px solid #bfbfbf; }
.vdc_sidebar_pane { height: 100%; position: relative; }
.vdc_sidebar_tab_button {
  position: absolute; top: 11px; right: -18px; z-index: 5;
  width: 18px; height: 44px; padding: 0; border: 1px solid #b8b8b8; background: #eee; color: #666;
}
.chevrons { font-size: 10px; letter-spacing: -2px; }
.vdc_scrollable_sidebar_content { overflow: hidden; height: 100%; padding-top: 18px; }
.vdc_section_title { font-size: 12px; text-align: center; color: #555; font-weight: 700; margin: 0 0 12px; }
.vdc_status_group_title { font-size: 10px; color: #777; text-align: center; margin: 14px 0 5px; }
.vdc_task_statuses { list-style: none; padding: 0; margin: 0; }
.vdcTaskStatus {
  height: 54px; padding: 5px 3px; display: grid; grid-template-rows: 20px 15px 13px;
  align-items: center; justify-items: center; color: #555; cursor: default; border-left: 3px solid transparent;
}
.vdcSelectable { cursor: pointer; }
.vdcTaskStatus.active, .vdcTaskStatus:hover { background: #fff; border-left-color: #2c83bd; }
.vdc_faded { opacity: .45; }
.vdc_task_status_text { max-width: 66px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.vdc_task_count { font-weight: 700; color: #333; }
.task-icon { width: 17px; height: 18px; display: inline-block; position: relative; color: var(--blue); }
.task-icon::before { content: ""; position: absolute; inset: 2px 3px; border: 1.5px solid currentColor; background: #fff; }
.task-icon.incomplete::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9px; height: 2px; background: var(--orange); }
.task-icon.query::before { border-radius: 50%; content: "?"; text-align: center; font-weight: 700; line-height: 14px; border-color: var(--orange); color: var(--orange); }
.task-icon.overdue { color: var(--red); }
.task-icon.all::after { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border: 1px solid currentColor; background: #fff; box-shadow: 3px 3px 0 #fff, 3px 3px 0 1px currentColor; }

.vdcTaskPane {
  position: absolute; left: 75px; top: 0; width: 225px; height: 100%;
  background: #fff; border-right: 1px solid #bfbfbf; box-shadow: 1px 0 3px rgba(0,0,0,.15);
  z-index: 3; display: none;
}
.vdcTaskPane.open { display: block; }
.vdcTaskPaneCollapseButton { right: -18px; }
.vdcTaskPaneHeader { padding: 18px 12px 0; }
.vdc_task_pane_title { font-size: 16px; color: #555; font-weight: 700; margin-bottom: 11px; }
.vdcTaskPaneFilters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.vdcTaskPaneFilters span { border: 1px solid #b8b8b8; background: #f9f9f9; padding: 3px 7px; max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
.vdc_separator { border-bottom: 1px solid #ddd; }
.vdc_task_list { list-style: none; margin: 0; padding: 8px 0; }
.vdc_task_count_cell { height: 36px; display: grid; grid-template-columns: 8px 1fr 32px; gap: 8px; align-items: center; padding: 0 12px; cursor: pointer; }
.vdc_task_count_cell:hover { background: #eef6fb; }
.vdc_task_priority { width: 5px; height: 24px; background: #7eb266; }
.vdc_task_count_text { color: var(--link); }

.vdc_main_content, .edc_main_content { flex: 1; min-width: 0; height: 100%; min-height: 0; overflow: hidden; background: #fff; }
.layoutInstanceWrapper, .cdm-backbone-wrapper, .subjectTabViewContainer, .vdc_main_container { height: 100%; min-width: 0; }
.vdc_crumbs_container { height: 44px; display: flex; align-items: center; padding: 0 18px; border-bottom: 1px solid #d0d0d0; background: #fafafa; }
.vdc_crumbbox { display: flex; align-items: center; gap: 7px; min-width: 0; }
.vdc_crumb_link, .lbl { color: #3b76a2; font-size: 13px; }
.crumb-sep { color: #999; }

.dashboard-toolbar {
  height: 86px; padding: 16px 20px 12px; border-bottom: 1px solid #ddd; background: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 22px;
}
.dashboard-summary { min-height: 68px; display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 1px; border-bottom: 1px solid #d9dfe3; background: #d9dfe3; }
.summary-metric { display: grid; align-content: center; gap: 4px; padding: 10px 18px; background: #fff; }
.summary-label { color: #6a7780; font-size: 11px; }
.summary-metric strong { color: #33434d; font-size: 16px; font-weight: 700; }
.vdc_casebooks_list .vdc_page_content { height: calc(100% - 165px); }
.filter-row { display: flex; align-items: flex-end; gap: 16px; }
.vv-form-field { display: grid; gap: 5px; }
.vv-field-label { color: #555; font-weight: 700; margin-bottom: 5px; display: block; }
.vofLookup, .vv-select, .vv-input, .vv-textarea {
  border: 1px solid #b8b8b8; background: #fff; height: 28px; min-width: 212px; padding: 5px 8px; color: #333;
}
.vofLookup { display: flex; align-items: center; justify-content: space-between; color: #777; text-align: left; cursor: pointer; }
.vv_disabled { color: #8d8d8d; background: #f4f4f4; }
.vv-textarea { min-height: 78px; width: 100%; resize: vertical; }
.vv_button_group { display: flex; align-items: center; gap: 8px; }
.vv-cdm-button {
  min-height: 28px; border-radius: 2px; border: 1px solid #a9a9a9; background: #fff;
  padding: 4px 10px; color: #333; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.vv-cdm-button-primary { color: #fff; background: var(--blue); border-color: var(--blue-dark); }
.vv-cdm-button-secondary { background: #f7f7f7; }
.vv-cdm-button-ghost { border-color: transparent; color: var(--link); background: transparent; }
.vv-icon-button { width: 28px; height: 28px; border: 1px solid #bbb; background: #fff; border-radius: 2px; color: #555; }

.vv-grid-shell { padding: 18px 20px; height: calc(100% - 130px); overflow: auto; }
.vv-grid-title { color: #555; font-size: 18px; margin: 0 0 12px; font-weight: 400; }
.vv_grid { border: 1px solid #bfbfbf; min-width: 850px; background: #fff; }
.vv_actionlink_cell.vv_grid { border: 0; min-width: 0; background: transparent; padding: 0; display: flex; align-items: center; gap: 6px; }
.vv_actionlink_icon { flex: 0 0 auto; width: 16px; min-height: 16px; display: inline-flex; align-items: center; justify-content: center; }
.vv_actionlink_link { flex: 1 1 auto; min-width: 0; }
.vv_actionlink_link_text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv_actionlink_link_text .vv_link { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv_actionlink_action { flex: 0 0 auto; }
.vv_grid_header, .vv_grid_row { display: grid; grid-template-columns: 155px 220px 180px 155px 140px 130px; }
.vv_grid_header { background: #eee; border-bottom: 1px solid #bbb; color: #444; font-weight: 700; }
.vv_grid_header_cell, .vv_grid_cell { min-height: 35px; display: flex; align-items: center; padding: 7px 10px; border-right: 1px solid #ddd; overflow: hidden; }
.vv_grid_row:nth-child(even) { background: #fafafa; }
.vv_grid_row:hover { background: #eef6fb; }
.edc_casebook_content_container { height: 100%; padding: 18px 20px; overflow: auto; }
.edc_grid_content, .vv_grid_component, .vv_gridview_table_wrapper { min-width: 0; }
.vv_gridview_table_wrapper { border: 1px solid #bfbfbf; background: #fff; overflow: auto; }
.vv_gridview_table { width: 100%; min-width: 1120px; border-collapse: collapse; table-layout: fixed; }
.vv_gridview_th { height: 35px; background: #eee; color: #444; font-weight: 700; border-right: 1px solid #d2d2d2; border-bottom: 1px solid #bbb; text-align: left; }
.vv_gridview_th:nth-child(1) { width: 200px; }
.vv_gridview_th:nth-child(2), .vv_gridview_th:nth-child(3) { width: 300px; }
.vv_gridview_th:nth-child(4), .vv_gridview_th:nth-child(5), .vv_gridview_th:nth-child(6) { width: 200px; }
.vv_gridview_cell { min-height: 35px; height: 35px; padding: 7px 10px; border-right: 1px solid #ddd; border-bottom: 1px solid #e6e6e6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; }
.vv_gridview_row:nth-child(even) { background: #fafafa; }
.vv_gridview_row:hover { background: #eef6fb; }
.vv_grid_header_cell { min-height: 35px; display: flex; align-items: center; padding: 0 10px; position: relative; }
.vdc_column_label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-resizable-handle.ui-resizable-e { width: 4px; height: 100%; margin-left: auto; cursor: col-resize; }
.hidden { display: none !important; }
.status-chip { display: inline-flex; align-items: center; gap: 5px; color: #444; }
.cdm-vdclayeredicon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: 0 0 16px; }
.status-dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
  background: var(--green); border: 1px solid #4b963e;
}
.status-dot.success { background: var(--green); border-color: #4b963e; }
.status-dot.in_progress { background: var(--orange); border-color: #bf8000; }
.status-dot.incomplete { background: var(--orange); border-color: #bf8000; }
.status-dot.blank, .status-dot.noinstance { background: #fff; border: 1px solid #888; }
.status-dot.query { background: #fff; border: 2px solid var(--orange); }

.fixedHeaders { border-bottom: 1px solid #ccc; background: #fff; }
.cdm-labelvalueheader { min-height: 53px; display: flex; align-items: center; padding: 9px 20px; }
.cdm-labelvalueheader-field { min-width: 180px; border-right: 1px solid #ddd; margin-right: 18px; }
.cdm-labelvalueheader-field-label { color: #666; font-size: 11px; margin-bottom: 3px; }
.cdm-labelvalueheader-field-value { font-size: 18px; color: #333; }
.vdc_page_content { height: calc(100% - 97px); min-height: 0; overflow: hidden; }
.vdc_casebook_detail { display: flex; height: 100%; min-height: 0; }
.cdm-dataentrycasebookpanel { width: clamp(300px, 32vw, 427px); height: 100%; min-height: 0; flex: 0 0 clamp(300px, 32vw, 427px); border-right: 1px solid #bbb; background: #fff; position: relative; display: flex; flex-direction: column; }
.cdm-schedule-header { height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border-bottom: 1px solid #ddd; background: #fafafa; }
.cdm-tree-toggle { color: var(--link); display: inline-flex; align-items: center; justify-content: center; }
.cdm-schedule-panel { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 12px 10px 4px; overscroll-behavior: contain; scrollbar-gutter: stable; }
.cdm-resizablecontainer, .cdm-resizablecontainer-content-container, .cdm-data-entry-schedule, .cdm-schedule-tree { min-width: 0; }
.cdm-data-entry-vertical-bar-text { color: #777; font-size: 11px; margin: 8px 0 8px 15px; }
.cdm-data-entry-tree-container { display: flex; }
.cdm-data-entry-vertical-bar { width: 1px; background: #c7c7c7; margin: 0 12px 0 20px; }
.cdm-tree { flex: 1; }
.cdm-tree-sub-tree { list-style: none; margin: 0; padding: 0; }
.cdm-tree-item-node { list-style: none; }
.cdm-tree-item-icon-and-label { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 5px; align-items: center; min-height: 30px; padding: 3px 4px; }
.cdm-tree-item-label { min-width: 0; }
.cdm-event-info-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.cdm-event-date-and-menu { display: flex; align-items: center; gap: 4px; }
.cdm-node-label, .cdm-event-container { min-width: 0; display: block; }
.tree-node { position: relative; margin: 4px 0; }
.event-row, .form-row {
  display: grid; grid-template-columns: 18px 13px minmax(0, 1fr) auto 20px; gap: 5px;
  align-items: center; min-height: 30px; padding: 3px 4px;
}
.tree-node .event-row { grid-template-columns: 18px minmax(0, 1fr); }
.event-row .event-link, .form-row a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-row { margin-left: 23px; display: block; }
.form-row .cdm-tree-item-icon-and-label { grid-template-columns: 18px minmax(0, 1fr); }
.form-row.selected, .cdm-form-label-row.selected { background: var(--selected); outline: 1px solid var(--selected-border); }
.event-open { background: #f8fbfd; }
.event-link { font-weight: 700; }
.event-date { color: #555; }
.event-caret, .icon-control {
  border: 0; background: transparent; color: var(--link); padding: 0; min-width: 13px; height: 18px;
}
.event-caret { margin-right: 3px; vertical-align: middle; }
.fa.caret-right::before { transform: rotate(-90deg); transform-origin: 50% 50%; }
.plus-icon, .minus-icon { width: 11px; height: 11px; border: 1px solid #777; position: relative; display: inline-block; background: #fff; }
.plus-icon::before, .minus-icon::before { content: ""; position: absolute; left: 2px; right: 2px; top: 4px; height: 1px; background: #555; }
.plus-icon::after { content: ""; position: absolute; top: 2px; bottom: 2px; left: 4px; width: 1px; background: #555; }
.tree-more { width: 20px; height: 20px; border: 0; background: transparent; color: #777; padding: 0; }
.cdm-log-form-panel { border-top: 1px solid #ccc; padding: 9px 11px; height: 138px; min-height: 138px; overflow: auto; background: #fff; }
.cdm-log-forms-box-title { font-weight: 700; color: #555; margin-bottom: 8px; }
.cdm-form-label-row { min-height: 25px; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 7px; padding: 1px 4px; }
.cdm-form-label-row a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdm-log-form-more { margin-top: 4px; width: 70px; justify-content: center; }
.cdm-form-container { flex: 1; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.vdcFormContainer { min-height: 0; height: 100%; display: flex; flex-direction: column; }
.cdm-data-entry-form-header {
  min-height: 44px; border-bottom: 1px solid #cfcfcf; background: #f9f9f9;
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 15px;
}
.cdm-header-label { font-size: 15px; font-weight: 700; color: #444; }
.cdm-header-actions { display: flex; gap: 7px; align-items: center; }
.vdc_form_page { flex: 1 1 auto; min-height: 0; height: auto; overflow: auto; background: #fff; overscroll-behavior: contain; scroll-behavior: smooth; scrollbar-gutter: stable; }
.vdc_form { padding: 16px 18px 26px; max-width: 1040px; }
.vdc_itemgroup_section { border: 1px solid #d0d0d0; margin-bottom: 16px; background: #fff; }
.vdc_itemgroup_section_header { height: 34px; background: #ececec; border-bottom: 1px solid #d1d1d1; display: flex; align-items: center; padding: 0 10px; font-weight: 700; color: #444; }
.rowContainer { min-height: 70px; border-bottom: 1px solid #e5e5e5; padding: 10px; display: grid; grid-template-columns: minmax(220px, 34%) 1fr 34px; gap: 12px; }
.rowContainer:last-child { border-bottom: 0; }
.vdc_item_data { min-width: 0; }
.vdc_item_label { color: #333; font-weight: 700; line-height: 1.35; }
.required-mark { color: #b00000; margin-left: 2px; }
.vdc_item_ctrl_container { min-height: 31px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vdc_item_ctrl { color: #333; }
.vdc_view_only { padding-top: 5px; }
.edit-input { height: 28px; border: 1px solid #aaa; padding: 4px 7px; min-width: 84px; }
.vv_form_SM { width: 162px; min-width: 80px; }
.vv_form_MD { width: 260px; }
.radio-pill { display: inline-flex; align-items: center; gap: 5px; margin-right: 16px; }
.radio-dot { width: 13px; height: 13px; border: 1px solid #777; border-radius: 50%; display: inline-block; position: relative; }
.radio-dot.checked::after { content: ""; position: absolute; inset: 3px; background: #333; border-radius: 50%; }
.item-actions { display: flex; justify-content: flex-end; }
.item-menu-dot { width: 24px; height: 24px; border: 1px solid transparent; background: transparent; color: #777; }
.item-menu-dot::before { content: "..."; font-weight: 700; position: relative; top: -3px; }
.vdc_form_link_section { margin-top: 16px; border: 1px solid #d2d2d2; }
.cdm-link-form-container-header { background: #f0f0f0; border-bottom: 1px solid #d2d2d2; padding: 8px 10px; font-weight: 700; }
.cdm-linkforms { padding: 10px; }

.vdc_log_form { border: 1px solid #cfcfcf; margin-bottom: 16px; background: #fff; }
.log-toolbar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #dedede; background: #fff; }
.log-grid { width: 100%; min-width: 720px; overflow: auto; border-top: 0; }
.log-grid-header,
.log-grid-row { display: grid; }
.log-grid-header {
  min-height: 34px; background: #eee; border-bottom: 1px solid #c5c5c5;
  color: #444; font-weight: 700;
}
.log-grid-header > div,
.log-grid-cell,
.log-ref,
.log-actions {
  min-height: 34px; padding: 7px 9px; border-right: 1px solid #ddd; display: flex; align-items: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.log-grid-row { border-bottom: 1px solid #e6e6e6; }
.log-grid-row:nth-child(odd) { background: #fafafa; }
.log-grid-row.selected { background: #dcecf7; outline: 1px solid #9bbfd8; outline-offset: -1px; }
.log-grid-row:hover { background: #eef6fb; }
.log-actions { justify-content: center; }
.cdm-empty-log {
  min-height: 132px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
  color: #777; background: #fff;
}
.cdm-empty-title { font-size: 16px; color: #777; }

.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 100; background: rgba(18,31,42,.46);
  align-items: flex-start; justify-content: center; padding: 96px 18px 24px; overflow: auto;
}
.modal-backdrop.open { display: flex; }
.vv-dialog, .ui-dialog { width: min(560px, 100%); max-height: calc(100vh - 120px); overflow: hidden; background: #fff; border: 1px solid #9aa8b3; border-radius: 4px; box-shadow: 0 12px 32px rgba(18,31,42,.28); }
.vv-dialog-header, .ui-dialog-titlebar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d8e0e5; padding: 0 14px 0 18px; background: #f7f9fa; }
.vv-dialog-header h2, .ui-dialog-title { font-size: 15px; margin: 0; font-weight: 700; color: #24333d; }
.vv-dialog-content, .vv_dialog_body { padding: 18px; overflow: auto; }
.vv-dialog-footer, .vv_body_buttons { min-height: 58px; border-top: 1px solid #d8e0e5; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 18px; background: #fbfcfd; }
.ui-dialog-titlebar-close { width: 28px; height: 28px; padding: 0; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #52616b; font-size: 0; }
.ui-dialog-titlebar-close::after { content: "x"; font-size: 16px; line-height: 24px; font-weight: 700; }
.ui-dialog-titlebar-close:hover { border-color: #c4d0d8; background: #eaf1f5; }
.vv_dialog_body .dialogContent { display: grid; gap: 14px; }
.changeReasonInputsContainer { display: grid; gap: 8px; }
.changeReasonSelect { width: 100%; min-height: 34px; border: 1px solid #aebcc6; border-radius: 3px; padding: 6px 8px; background: #fff; }
.changeReasonInputsContainer .default_text_active, .changeReasonInputsContainer .pillContainer, .changeReasonInputsContainer .iconContainer { display: none; }
.vv_dialog_body .vv_btn_group { justify-content: flex-end; }
.vv_dialog_body .vv_button { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; height: auto; padding: 5px 14px; border-radius: 3px; border: 1px solid #aebcc6; }
.vv_dialog_body .vv_primary { color: #fff; background: var(--blue); border-color: var(--blue-dark); }
.vv_dialog_body .vv_tertiary { background: #fff; color: #33434d; }
.vv-dialog .vv-field-label { margin-top: 4px; }
.vv-dialog .vv-select, .vv-dialog .vv-input { width: 100%; min-width: 0; height: 34px; border-radius: 3px; }
.vv-dialog-content { display: grid; gap: 8px; }
.vv-workflow-dialog { width: min(760px, 100%); }
.query-dialog-content { grid-template-columns: minmax(220px, .9fr) minmax(300px, 1.1fr); gap: 16px; }
.query-filters { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; }
.query-filters .vv-select { min-width: 190px; }
.query-list { min-height: 180px; max-height: 360px; overflow: auto; border: 1px solid #d8e0e5; background: #fbfcfd; }
.query-list-item { width: 100%; min-height: 52px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid #e3e8eb; background: #fff; padding: 9px 11px; text-align: left; color: #33434d; }
.query-list-item:hover, .query-list-item.selected { background: #eaf3f9; }
.query-list-item > span:first-child { display: grid; gap: 3px; min-width: 0; }
.query-source { color: #6a7780; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.query-status, .form-status-badge { display: inline-flex; align-items: center; min-height: 20px; padding: 2px 7px; border: 1px solid #c5d0d7; border-radius: 10px; font-size: 11px; white-space: nowrap; }
.query-open { color: #8b5b00; background: #fff7df; border-color: #e4c878; }
.query-answered { color: #1b5f8c; background: #eaf3f9; border-color: #a9c9df; }
.query-closed { color: #4d6e43; background: #edf7e9; border-color: #b7d4ac; }
.query-editor { display: grid; align-content: start; gap: 8px; }
.query-actions { justify-content: flex-end; flex-wrap: wrap; }
.query-empty, .audit-empty { padding: 24px 14px; color: #6a7780; text-align: center; }
.audit-dialog { width: min(1000px, calc(100vw - 32px)); }
.audit-list { overflow: auto; max-height: calc(100vh - 230px); border: 1px solid #d8e0e5; }
.audit-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.audit-filters .vv-select { min-width: 180px; }
.audit-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 11px; }
.audit-table th, .audit-table td { padding: 7px 9px; border-bottom: 1px solid #e3e8eb; border-right: 1px solid #eef1f3; text-align: left; white-space: nowrap; }
.audit-table th { position: sticky; top: 0; z-index: 1; background: #f1f4f6; color: #3b4b55; }
.audit-table tr:hover td { background: #f5f9fb; }
.form-status-strip { display: inline-flex; align-items: center; gap: 7px; margin-right: 10px; color: #66747d; font-size: 11px; }
.status-complete { color: #4d6e43; background: #edf7e9; border-color: #b7d4ac; }
.status-blank, .status-reset { color: #6a7780; background: #f3f5f6; }
.status-in-progress { color: #8b5b00; background: #fff7df; border-color: #e4c878; }
.review-summary { white-space: nowrap; }
.field-review-badge { display: inline-flex; margin-left: 5px; padding: 1px 4px; border: 1px solid #a9c9df; border-radius: 3px; color: #1b5f8c; font-size: 9px; font-weight: 700; vertical-align: middle; }
.review-status-list { display: grid; gap: 9px; }
.review-status-list > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; border: 1px solid #d8e0e5; background: #fbfcfd; }
.review-pill { min-width: 74px; padding: 3px 7px; border-radius: 10px; background: #eaf3f9; color: #1b5f8c; text-align: center; font-size: 11px; }
.query-count-link { border: 0; padding: 0; background: transparent; color: var(--link); cursor: pointer; text-decoration: underline; }
.validation-notice { margin: 0 0 10px; padding: 9px 11px; border: 1px solid #e4c878; background: #fff7df; color: #684d00; }
.validation-warning { margin: 0 0 10px; padding: 9px 11px; border: 1px solid #a9c9df; background: #eaf3f9; color: #1b5f8c; }
.resource-section { margin-top: 12px; border-top: 1px solid #d8e0e5; padding-top: 10px; }
.resource-section-header { display: flex; justify-content: space-between; align-items: center; color: #4c5c66; margin-bottom: 7px; }
.resource-list { display: grid; gap: 5px; }
.resource-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 9px; border: 1px solid #d8e0e5; background: #fbfcfd; }
.resource-item-main { min-width: 0; display: grid; gap: 3px; }
.resource-item-main span { color: #687780; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resource-item-actions { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.vv-link-button { border: 0; padding: 0; background: transparent; color: var(--link); cursor: pointer; text-decoration: underline; }
.danger-link { color: #8b3030; }
.resource-empty, .comment-item { padding: 8px 0; color: #687780; }
.comment-item { display: grid; gap: 3px; border-bottom: 1px solid #eef1f3; }
.comment-item small { color: #88949b; }
.resource-comments { margin-top: 12px; }
.log-cell-input { width: 100%; min-width: 0; height: 26px; border: 1px solid #aebcc6; padding: 4px 6px; background: #fff; }
.lifecycle-action { align-content: end; }

.mock-dropdown {
  position: fixed; z-index: 60; min-width: 190px; max-width: 260px; padding: 4px 0;
  border: 1px solid #aaa; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.22);
}
.mock-menu-item {
  width: 100%; min-height: 28px; border: 0; background: #fff; color: #333; text-align: left;
  padding: 6px 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-menu-item:hover { background: #eaf3f9; }
.mock-menu-item:focus-visible { position: relative; z-index: 1; background: #dcecf7; outline: 2px solid #1677b7; outline-offset: -2px; }
.vv_action_menu { padding: 3px 0; }
.vv_menu_section { display: block; }
.vv_menu_item { font: inherit; }
.test-controls-dialog { width: 620px; }
.test-controls-content { display: grid; gap: 16px; }
.test-control-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.test-control-section { display: grid; gap: 8px; border-top: 1px solid #ddd; padding-top: 14px; }
.reset-state-summary { padding: 8px 10px; border: 1px solid #d8e0e5; border-radius: 3px; background: #f7f9fa; color: #52616b; font-size: 11px; }
.test-controls-dialog [data-test-action="fullReset"] { color: #8b3030; border-color: #d1a1a1; background: #fff8f8; }
.muted { color: #666; font-size: 12px; }
.check-row { display: flex; align-items: center; gap: 8px; color: #444; }
.check-row input { accent-color: var(--blue); }
.mock-toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; min-width: 230px;
  padding: 10px 14px; border: 1px solid #9ebf90; background: #edf7e9; color: #2f5e23;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.mock-toast:not([hidden]) { animation: toast-in 140ms ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.training-page { padding: 20px; }
.training-page h1 { margin: 0 0 12px; font-size: 18px; color: #555; font-weight: 400; }
.training-row { border: 1px solid #ccc; background: #fff; padding: 14px; color: #666; width: 420px; }

@media (max-width: 1100px) {
  .vv-navbar-header-left-container { width: 188px; }
  .vault-brand-logo, .vault-brand-logo img { width: 145px; }
  .searchNav { min-width: 240px; }
  .vv_top_searchbox { width: 100%; }
  .cdm-dataentrycasebookpanel { width: 310px; flex-basis: 310px; }
  .rowContainer { grid-template-columns: minmax(170px, 38%) 1fr 34px; }
}

@media (max-width: 760px) {
  body { overflow: hidden; }
  .vv-global-header { height: 96px; }
  .vv-navbar-header { height: 52px; padding-left: 8px; }
  .vv-navbar-header-left-container { width: 150px; }
  .vv-navbar-brand { padding-left: 0; gap: 4px; }
  .vault-brand-logo, .vault-brand-logo img { width: 120px; }
  .vv-vault-switch { display: none; }
  .searchNav { min-width: 0; }
  .vv_top_searchbox { height: 30px; }
  .vv_search_scope .vv_button { min-width: 76px; }
  .vv-tabs, .vv-navbar-item, .vv-navbar-link { height: 44px; }
  #pageBody { height: calc(100% - 96px); }
  .vdcSidebar { width: 58px; flex-basis: 58px; }
  .vdcTaskPane { left: 58px; width: min(260px, calc(100vw - 58px)); }
  .vdcTaskPaneCollapseButton { right: -18px; }
  .vdc_section_title { font-size: 10px; }
  .vdc_task_status_text { max-width: 50px; font-size: 9px; }
  .vdc_casebook_detail { flex-direction: column; overflow: auto; }
  .cdm-dataentrycasebookpanel { width: 100%; flex: 0 0 42%; height: 42%; border-right: 0; border-bottom: 1px solid #bbb; }
  .cdm-form-container { flex: 1 0 58%; min-height: 58%; overflow: visible; }
  .cdm-schedule-panel { min-height: 0; }
  .cdm-log-form-panel { height: 112px; min-height: 112px; }
  .cdm-header-label { font-size: 13px; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cdm-header-actions .vv-cdm-button { padding: 4px 7px; }
  .vdc_form { padding: 10px; }
  .rowContainer { grid-template-columns: 1fr 34px; gap: 6px; padding: 10px 8px; }
  .rowContainer .rowCtrlContainer { grid-column: 1; grid-row: 2; }
  .rowContainer .userActions { grid-column: 2; grid-row: 1 / span 2; }
  .test-controls-dialog, .vv-dialog { width: calc(100vw - 24px); max-height: calc(100vh - 40px); overflow: auto; }
  .test-control-grid { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 20px 12px; align-items: flex-start; overflow: auto; }
  .query-dialog-content { grid-template-columns: 1fr; }
  .form-status-strip { max-width: 100%; flex-wrap: wrap; margin: 0 0 5px; }
  .resource-item { align-items: flex-start; flex-direction: column; }
  .resource-item-actions { align-self: flex-end; }
  .dashboard-toolbar { height: auto; min-height: 86px; align-items: stretch; flex-direction: column; gap: 12px; }
  .dashboard-summary { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .filter-row { flex-wrap: wrap; gap: 10px; }
  .filter-row .vv-form-field { flex: 1 1 140px; min-width: 0; }
  .filter-row .vofLookup { min-width: 0; width: 100%; }
  .rightAlignedActions { justify-content: flex-start; }
}

/* Product-quality interaction and hierarchy layer. */
.skip-link {
  position: fixed; left: 12px; top: 8px; z-index: 200; transform: translateY(-160%);
  padding: 8px 12px; border-radius: 4px; background: #163e52; color: #fff; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); color: #fff; text-decoration: none; }

.vv-global-header { box-shadow: var(--shadow-sm); border-bottom-color: #becbd3; }
.vv-navbar-header { background: #fff; }
.vv-navbar-brand { padding-left: 18px; }
.vault-brand-logo { width: 178px; }
.vault-brand-logo img { width: 178px; height: 27px; }
.vv_top_searchbox { height: 34px; border-color: #aebdc6; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(30,55,70,.04); }
.vv_search_scope .vv_button { min-width: 122px; font-weight: 700; color: #43535e; }
.vv_search_input { font-size: 13px; }
.vv_search_action { width: 40px; }
.vv_search_action .vv_button { width: 100%; color: var(--blue); }
.vv-vault-switch button { color: #30414c; font-weight: 600; }
.vv-navbar-circle { background: #e7f0f4; border-color: #9db3c0; color: #1a5873; box-shadow: 0 0 0 3px #f4f8fa; }
.vv-tabs { background: #f8fafb; }
.vv-navbar-item { border-right-color: #e0e7eb; }
.vv-navbar-link { padding: 0 20px; color: #53636d; font-weight: 600; }
.vv-navbar-item.active { background: #fff; border-bottom-width: 3px; }

.vdcSidebar { background: #f8fafb; border-right-color: #c5d1d8; box-shadow: inset -1px 0 0 rgba(255,255,255,.8); }
.vdc_scrollable_sidebar_content { padding-top: 22px; }
.vdc_section_title { color: #30424d; letter-spacing: .02em; }
.vdc_status_group_title { color: #7a8992; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.vdcTaskStatus { height: 64px; border-left-width: 3px; color: #52636d; transition: background 120ms ease, border-color 120ms ease; }
.vdcTaskStatus.active, .vdcTaskStatus:hover { background: #eaf3f7; border-left-color: var(--blue); }
.vdc_task_count { color: #314a58; font-size: 11px; }
.vdcTaskPane { border-right-color: #c5d1d8; box-shadow: 4px 0 18px rgba(30,55,70,.12); }
.vdcTaskPaneHeader { padding: 22px 16px 0; }
.vdc_task_pane_title { color: #263b47; font-size: 15px; letter-spacing: .01em; }
.vdcTaskPaneFilters span { border-color: #cbd7de; background: #f5f8fa; color: #53636d; border-radius: 3px; }
.vdc_task_count_cell { height: 42px; border-left: 3px solid transparent; padding: 0 16px 0 13px; }
.vdc_task_count_cell:hover { background: #edf5f8; border-left-color: #8eb8c9; }

.vdc_crumbs_container { height: 48px; padding: 0 24px; background: #f8fafb; border-bottom-color: #d5dfe5; }
.vdc_crumb_link, .lbl { font-size: 12px; font-weight: 600; color: var(--link); }
.crumb-sep { color: #9aa8b0; }
.dashboard-toolbar { min-height: 92px; height: auto; padding: 18px 24px 16px; background: #fff; border-bottom-color: #dbe3e8; }
.filter-row { gap: 18px; }
.vv-form-field { gap: 6px; }
.vv-field-label { color: #53636d; font-size: 11px; letter-spacing: .02em; }
.vofLookup, .vv-select, .vv-input, .vv-textarea { border-color: #b9c8d1; border-radius: 4px; min-height: 34px; height: 34px; padding: 7px 10px; box-shadow: inset 0 1px 1px rgba(30,55,70,.03); }
.vofLookup:hover, .vv-select:hover, .vv-input:hover, .vv-textarea:hover { border-color: #82a8ba; }
.vofLookup:focus-visible, .vv-select:focus-visible, .vv-input:focus-visible, .vv-textarea:focus-visible, .edit-input:focus-visible, .log-cell-input:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,110,153,.14); outline: 0; }
.vv-cdm-button { min-height: 34px; border-radius: 4px; border-color: #b7c6ce; padding: 7px 12px; font-weight: 700; box-shadow: 0 1px 1px rgba(30,55,70,.04); transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease; }
.vv-cdm-button:hover:not(:disabled) { border-color: #7fa6b8; box-shadow: 0 2px 5px rgba(30,55,70,.1); }
.vv-cdm-button-primary { background: var(--blue); border-color: var(--blue-dark); }
.vv-cdm-button-primary:hover:not(:disabled) { background: #095e82; }
.vv-cdm-button-secondary { background: #fff; color: #344852; }
.vv-cdm-button-ghost { box-shadow: none; }
.vv-icon-button { width: 32px; height: 32px; border-color: #c4d0d7; border-radius: 4px; color: #52646f; transition: background 120ms ease, border-color 120ms ease; }
.vv-icon-button:hover:not(:disabled) { background: #eef5f8; border-color: #86aabb; }

.dashboard-summary { min-height: 76px; gap: 0; border-bottom-color: #dbe3e8; background: #dbe3e8; }
.summary-metric { padding: 14px 24px; background: #fff; border-right: 1px solid #dbe3e8; }
.summary-label { color: #71818b; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.summary-metric strong { color: #213d4b; font-size: 18px; }
.edc_casebook_content_container { padding: 22px 24px; background: #f7f9fa; }
.vv_gridview_table_wrapper { border-color: #c7d3da; border-radius: 4px; box-shadow: var(--shadow-sm); }
.vv_gridview_table { background: #fff; }
.vv_gridview_th { height: 42px; background: #f1f5f7; color: #4b5d67; border-bottom-color: #c8d4db; font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.vv_grid_header_cell { min-height: 42px; padding: 0 12px; }
.vv_gridview_cell { height: 46px; min-height: 46px; padding: 9px 12px; border-bottom-color: #e7edf0; color: #31434e; }
.vv_gridview_row:nth-child(even) { background: #fcfdfe; }
.vv_gridview_row:hover { background: #eef7fa; }
.vv_actionlink_cell.vv_grid { gap: 8px; }
.vv_actionlink_icon { color: #6f98aa; }
.vv_actionlink_link_text .vv_link { color: var(--link); font-weight: 700; }
.status-chip { gap: 7px; font-weight: 600; }

.fixedHeaders { background: #fff; border-bottom-color: #ccd8df; box-shadow: var(--shadow-sm); }
.cdm-labelvalueheader { min-height: 66px; padding: 12px 24px; }
.cdm-labelvalueheader-field { min-width: 170px; border-right-color: #dce5e9; margin-right: 22px; }
.cdm-labelvalueheader-field-label { color: #7a8992; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.cdm-labelvalueheader-field-value { color: #243d4a; font-size: 17px; font-weight: 700; }
.cdm-dataentrycasebookpanel { border-right-color: #c8d4db; box-shadow: 2px 0 8px rgba(30,55,70,.05); }
.cdm-schedule-header { height: 44px; padding: 0 14px; background: #f6f9fa; border-bottom-color: #d8e2e7; }
.cdm-schedule-sort-label { color: #71818b; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.cdm-schedule-panel { padding: 16px 12px 6px; }
.cdm-data-entry-vertical-bar-text { color: #82919a; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.cdm-tree-item-icon-and-label { min-height: 34px; padding: 4px 6px; border-radius: 4px; }
.cdm-tree-item-icon-and-label:hover { background: #f0f6f8; }
.form-row.selected, .cdm-form-label-row.selected { background: var(--selected); outline: 0; box-shadow: inset 3px 0 0 var(--selected-border); }
.event-open { background: #f5fafb; }
.cdm-event-link, .cdm-form-link, .cdm-form-label-row-link { font-weight: 600; }
.cdm-log-form-panel { border-top-color: #d2dde3; padding: 12px 14px; background: #fbfcfd; }
.cdm-log-forms-box-title { color: #667780; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.cdm-data-entry-form-header { min-height: 52px; padding: 0 18px; background: #f6f9fa; border-bottom-color: #d1dde3; }
.cdm-header-label { color: #243c49; font-size: 14px; }
.cdm-header-right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.form-status-strip { color: #697a84; }
.vdc_form_page { background: #f7f9fa; }
.vdc_form { padding: 22px 24px 34px; max-width: 1100px; }
.vdc_itemgroup_section, .vdc_log_form { border-color: #cbd7de; border-radius: 4px; box-shadow: var(--shadow-sm); overflow: hidden; }
.vdc_itemgroup_section_header { height: 42px; padding: 0 14px; background: #f0f5f7; border-bottom-color: #d3dfe4; color: #3f5662; font-size: 12px; letter-spacing: .02em; }
.rowContainer { min-height: 78px; padding: 13px 14px; border-bottom-color: #e6edf0; }
.vdc_item_label { color: #354b57; font-size: 13px; }
.vdc_item_hint { color: #7b8b94; }
.required-mark { color: #a13f3f; }
.vdc_item_ctrl_container { min-height: 34px; }
.edit-input, .log-cell-input { height: 34px; border-color: #b8c8d1; border-radius: 4px; }
.radio-pill { min-height: 34px; margin-right: 12px; padding: 7px 10px; border: 1px solid #c8d5dc; border-radius: 4px; background: #fff; }
.radio-pill:has(input:checked) { border-color: #76a9bc; background: #edf7fa; color: #075f83; font-weight: 700; }
.radio-pill input, .check-row input { accent-color: var(--blue); }
.item-menu-dot { border-color: transparent; }
.item-menu-dot::before { color: #71848f; content: "\2022 \2022 \2022"; font-size: 11px; letter-spacing: 1px; top: 0; }
.vdc_form_link_section { border-color: #cbd7de; border-radius: 4px; background: #fff; box-shadow: var(--shadow-sm); padding: 0; overflow: hidden; }
.resource-section-header { min-height: 42px; padding: 0 14px; margin: 0; background: #f0f5f7; border-bottom: 1px solid #d3dfe4; color: #3f5662; }
.resource-list, .cdm-linkforms, .resource-comments { padding: 10px 14px; }
.resource-comments { margin-top: 0; border-top: 1px solid #e1e9ed; }
.resource-item { border-color: #d6e1e6; border-radius: 4px; background: #fbfdfe; }

.modal-backdrop { background: rgba(20, 39, 49, .58); padding-top: 72px; backdrop-filter: blur(2px); }
.vv-dialog, .ui-dialog { border-color: #bdcbd3; border-radius: 6px; box-shadow: var(--shadow-md); }
.vv-dialog-header, .ui-dialog-titlebar { min-height: 58px; padding: 0 18px 0 22px; background: #f5f8fa; border-bottom-color: #d5e0e5; }
.vv-dialog-header h2, .ui-dialog-title { color: #213b48; font-size: 16px; letter-spacing: .01em; }
.vv-dialog-content, .vv_dialog_body { padding: 22px; }
.vv-dialog-footer, .vv_body_buttons { min-height: 68px; padding: 0 22px; background: #fbfcfd; border-top-color: #d5e0e5; }
.ui-dialog-titlebar-close { width: 32px; height: 32px; }
.ui-dialog-titlebar-close::after { content: "\00d7"; font-size: 22px; font-weight: 400; color: #637783; }
.query-list, .audit-list { border-color: #cbd7de; border-radius: 4px; box-shadow: var(--shadow-sm); }
.query-list-item { min-height: 60px; padding: 11px 13px; }
.query-list-item:hover, .query-list-item.selected { background: #edf6f9; box-shadow: inset 3px 0 0 #73aabd; }
.audit-table th { background: #eef4f6; color: #455b66; }
.validation-notice, .validation-warning { border-radius: 4px; padding: 11px 13px; box-shadow: var(--shadow-sm); }
.mock-toast { right: 24px; bottom: 24px; border-radius: 5px; box-shadow: var(--shadow-md); }

@media (max-width: 1100px) {
  .dashboard-toolbar, .edc_casebook_content_container, .vdc_form { padding-left: 18px; padding-right: 18px; }
  .cdm-labelvalueheader { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 760px) {
  .vv-global-header { height: 96px; }
  .vv-navbar-brand { padding-left: 8px; }
  .vault-brand-logo, .vault-brand-logo img { width: 116px; }
  .vv-navbar-link { padding: 0 14px; }
  .dashboard-toolbar { padding: 14px; }
  .dashboard-summary { min-height: 0; }
  .summary-metric { min-height: 70px; padding: 11px 14px; }
  .edc_casebook_content_container { padding: 14px; }
  .cdm-labelvalueheader { overflow-x: auto; padding: 10px 14px; }
  .cdm-labelvalueheader-field { min-width: 138px; margin-right: 14px; }
  .cdm-labelvalueheader-field-value { font-size: 15px; }
  .cdm-data-entry-form-header { min-height: 66px; align-items: flex-start; padding: 10px 12px; }
  .cdm-header-right { align-items: flex-end; flex-direction: column; gap: 6px; }
  .cdm-header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .vdc_form { padding: 14px 10px 26px; }
  .rowContainer { min-height: 0; padding: 12px 10px; }
  .vdc_item_label { font-size: 12px; }
  .radio-pill { margin-right: 4px; }
  .vv-dialog-content, .vv_dialog_body { padding: 16px; }
  .vv-dialog-footer, .vv_body_buttons { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
