/* The verified Boyce client marker owns presentation only. Standalone native
   pages need a real page scroll owner; inbox panes keep their existing live
   width, selection, directory and authorized-action controllers. */
html.pragtical-page body > #app[data-boyce-client-theme]:has(> .native-gate4-client) {
  height:100dvh;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:auto;
  scrollbar-width:thin;
}
[data-boyce-client-theme] .native-gate4-client { min-height:100%; padding:24px; }
[data-boyce-client-theme] .native-gate4-client > .native-gate4-view-host { overflow:visible; }
[data-boyce-client-theme] .native-gate4-client .native-gate4-view-host > .cv-workspace,
[data-boyce-client-theme] .native-client-conversations .cv-workspace {
  height:max(680px,calc(100dvh - 200px));
  min-height:680px;
  border:1px solid var(--boyce-client-line);
  border-radius:6px;
  background:#fff;
}
[data-boyce-client-theme] .cv-screen { min-width:0; padding:24px; font:400 14px/1.5 var(--boyce-client-font); }
[data-boyce-client-theme] .cv-page-header { align-items:center; gap:12px; margin-bottom:16px; }
[data-boyce-client-theme] .cv-status:not(:empty) { margin:0 0 12px; font-size:14px; }
[data-boyce-client-theme] [data-native-conversation-refresh] { align-self:flex-start; min-height:40px; margin:0 0 12px; padding:8px 0; font-size:14px; }
[data-boyce-client-theme] .cv-workspace :is(button,summary,select) { min-height:40px; max-width:100%; font:500 14px/20px var(--boyce-client-font); }
[data-boyce-client-theme] .cv-workspace :is(button,summary) { border-radius:4px; }
[data-boyce-client-theme] .cv-workspace button:not(:disabled):hover { background:var(--boyce-client-soft); }
[data-boyce-client-theme] .cv-workspace :is(button,input,select,textarea):disabled { color:#596879; opacity:1; cursor:not-allowed; }
[data-boyce-client-theme] .cv-workspace .icon { width:18px; height:18px; flex-shrink:0; }
[data-boyce-client-theme] .cv-workspace .cp-icon-button { flex:0 0 40px; width:40px; height:40px; padding:9px; }
[data-boyce-client-theme] .cv-workspace :is(.cv-find,.cp-save-button) { color:#fff; border:1px solid var(--boyce-client-navy); background:var(--boyce-client-navy); }
[data-boyce-client-theme] .cv-workspace :is(.cv-find,.cp-save-button):hover:not(:disabled) { color:#fff; background:#102e50; }
[data-boyce-client-theme] .cv-workspace :is(.cv-find,.cp-save-button):disabled { color:#596879; border-color:var(--boyce-client-line); background:#edf2f7; }

/* Larger type must have matching containers rather than inheriting the native
   compact pixel boxes. Results chrome can scroll without hiding the list. */
[data-boyce-client-theme] .cv-directory-layout { gap:12px; }
[data-boyce-client-theme] .cv-columns { gap:12px; }
[data-boyce-client-theme] .cv-columns:is([data-cv-layout=wide],[data-cv-layout=split]):not(.has-context-open) { grid-template-columns:300px minmax(0,1fr) 44px; }
[data-boyce-client-theme] .cv-discovery { gap:12px; overflow-x:hidden; overflow-y:auto; scrollbar-width:thin; }
[data-boyce-client-theme] .cv-discovery-start { flex-wrap:wrap; gap:8px; }
[data-boyce-client-theme] .cv-discovery-start .cv-find { flex:1 1 170px; min-height:40px; padding:9px 12px; }
[data-boyce-client-theme] .cv-discovery-start .cv-new-group { flex:0 1 auto; min-height:40px; padding:9px 12px; border-color:var(--boyce-client-control); }
[data-boyce-client-theme] .cv-inbox { flex:1 0 auto; overflow:visible; border-radius:4px; background:#fff; }
[data-boyce-client-theme] .cv-results-header { gap:8px; padding:14px 12px; }
[data-boyce-client-theme] .cv-results-header h2 { font-size:18px; font-weight:600; }
[data-boyce-client-theme] .cv-results-header .cv-count { display:inline-flex; align-items:center; min-width:0; min-height:24px; height:auto; margin:0; padding:3px 8px; border:0; border-radius:4px; color:var(--boyce-client-muted); background:#edf2f7; font:500 12px/18px var(--boyce-client-font); text-transform:none; box-shadow:none; }
[data-boyce-client-theme] .cv-results-tabs { flex-wrap:wrap; gap:4px; padding:8px; }
[data-boyce-client-theme] .cv-results-tabs .view-button { flex:1 1 90px; min-height:40px; padding:8px; border:0; color:var(--boyce-client-muted); background:#fff; transform:none; box-shadow:none; font-size:14px; line-height:20px; }
[data-boyce-client-theme] .cv-results-tabs .view-button[aria-selected=true] { color:var(--boyce-client-navy); border-bottom:2px solid var(--boyce-client-blue); background:var(--boyce-client-soft); }
[data-boyce-client-theme] .cv-results-controls { gap:12px; padding:12px; }
[data-boyce-client-theme] .cv-search { width:100%; max-width:none; min-height:40px; padding:8px 10px; border-color:var(--boyce-client-control); border-radius:4px; }
[data-boyce-client-theme] .cv-search input { height:auto; min-height:22px; font:400 14px/22px var(--boyce-client-font); }
[data-boyce-client-theme] .cv-results-controls .cv-filters { gap:8px; }
[data-boyce-client-theme] .cv-filter .filter-chip__toggle { min-height:40px; gap:6px; padding:8px 10px; border:1px solid var(--boyce-client-line); border-radius:4px; color:var(--boyce-client-ink); background:#f3f7fc; }
[data-boyce-client-theme] .cv-filter :is(.filter-chip__label,[data-filter-chip-value],strong) { font-size:13px; line-height:20px; }
[data-boyce-client-theme] .cv-results-sort { gap:8px; }
[data-boyce-client-theme] .cv-results-sort .import-data-select { flex:1 1 100%; min-width:0; }
[data-boyce-client-theme] .cv-results-sort .import-data-select__toggle { height:auto; min-height:40px; padding:9px 12px; border-color:var(--boyce-client-control); font-size:14px; }
[data-boyce-client-theme] .cv-workspace .import-data-select__menu [role=option] { min-height:40px; padding:9px 12px; font:400 14px/22px var(--boyce-client-font); text-transform:none; }
[data-boyce-client-theme] .cv-results-sort .cp-link { min-height:40px; padding:8px 0; font-size:14px; }
[data-boyce-client-theme] .cv-select-all { min-height:40px; gap:8px; padding:8px 12px; font-size:13px; }
[data-boyce-client-theme] .cv-result-scroll-shell { flex:1 0 240px; min-height:160px; max-height:360px; }
[data-boyce-client-theme] .cv-result-scroll.cv-thread-list { padding:2px 10px 2px 2px; scrollbar-width:thin; }
[data-boyce-client-theme] .cv-result-row { padding:12px; }
[data-boyce-client-theme] .cv-result-row.is-selected { background:var(--boyce-client-soft); box-shadow:inset 3px 0 var(--boyce-client-blue); }
[data-boyce-client-theme] .cv-result-row .cv-thread-row { gap:10px; min-height:44px; padding:4px 0; }
[data-boyce-client-theme] .cv-result-row .cv-avatar { flex:0 0 30px; width:30px; height:30px; }
[data-boyce-client-theme] .cv-result-name { flex-wrap:wrap; gap:4px 8px; }
[data-boyce-client-theme] .cv-result-name strong { flex:1 1 130px; font-size:14px; line-height:22px; white-space:normal; }
[data-boyce-client-theme] .cv-result-name time { font-size:12px; line-height:18px; }
[data-boyce-client-theme] :is(.cv-result-subject,.cv-result-preview,.cv-result-assignee,.cv-result-record-state,.cv-conversation-status) { font-size:12px; line-height:18px; }
[data-boyce-client-theme] :is(.cv-results-empty,.cv-list-note,.cv-section-empty,.cv-empty) { padding:12px; font-size:14px; line-height:22px; }
[data-boyce-client-theme] .cv-results-empty h3 { font-size:16px; }
[data-boyce-client-theme] .cv-channel-section .business-calendars-directory__group h3 > button { min-height:40px; padding:10px 12px; font-size:13px; }

/* The native reader, context and local-only message controls stay connected to
   their current permissions. Optional actions remain visible and truthful. */
[data-boyce-client-theme] .cv-thread-header { gap:10px; padding:16px; }
[data-boyce-client-theme] .cv-thread-header h2 { font-size:18px; line-height:26px; text-transform:none; }
[data-boyce-client-theme] .cv-thread-tools { flex-wrap:wrap; gap:8px; }
[data-boyce-client-theme] .cv-channel-label { gap:8px; padding:12px 16px; }
[data-boyce-client-theme] .cv-history { flex:1 0 180px; min-height:180px; margin:0 16px; border-radius:4px; }
[data-boyce-client-theme] .cv-message { gap:12px; padding:16px; }
[data-boyce-client-theme] .cv-message strong { font-size:14px; line-height:22px; }
[data-boyce-client-theme] .cv-message :is(time,.cv-message-status) { font-size:12px; line-height:18px; }
[data-boyce-client-theme] .cv-message p { font-size:14px; line-height:22px; }
[data-boyce-client-theme] .cv-badge { min-height:22px; padding:3px 7px; color:var(--boyce-client-muted); background:var(--boyce-client-soft); font-size:12px; line-height:18px; }
[data-boyce-client-theme] .cv-no-selection { min-height:220px; padding:24px; }
[data-boyce-client-theme] :is(.cv-no-selection,.cv-history-empty) p { font-size:14px; line-height:22px; }
[data-boyce-client-theme] .cv-thread-panel .communication-composer-heading { margin:12px 16px 8px; }
[data-boyce-client-theme] .cv-thread-panel [data-cv-composer-expand] { min-height:40px; padding:8px 10px; }
[data-boyce-client-theme] .cv-compose-control { flex-wrap:wrap; gap:8px; font-size:14px; }
[data-boyce-client-theme] .cv-compose-mode .import-data-select__toggle { height:auto; min-height:40px; padding:8px 10px; font-size:14px; }
[data-boyce-client-theme] .cv-composer { margin:0 16px 16px; padding:12px; max-height:none; border-top:1px solid var(--boyce-client-line); border-radius:4px; }
[data-boyce-client-theme] .cv-composer-row { gap:8px; padding:8px; border-color:var(--boyce-client-control); border-radius:4px; }
[data-boyce-client-theme] .cv-composer textarea { min-height:60px; max-height:220px; padding:8px 0; font:400 14px/22px var(--boyce-client-font); }
[data-boyce-client-theme] .cv-composer :is(.cv-composer-add,.cv-composer-tool) { flex:0 0 40px; width:40px; height:40px; padding:8px; border-color:var(--boyce-client-control); }
[data-boyce-client-theme] .cv-composer-tools { gap:6px; }
[data-boyce-client-theme] .cv-composer-actions { gap:8px; margin-top:12px; }
[data-boyce-client-theme] .cv-composer-actions button { min-height:40px; padding:9px 12px; }
[data-boyce-client-theme] .cv-composer-actions small { flex-basis:100%; font-size:12px; line-height:18px; }
[data-boyce-client-theme] :is(.cv-composer-menu p,.cv-composer-warning,.cv-composer-error,.cv-channel-label,.cv-channel-label small) { font-size:13px; line-height:20px; }
[data-boyce-client-theme] .cv-composer-menu { max-width:calc(100% - 16px); padding:8px; }
[data-boyce-client-theme] .cv-composer-menu button { min-height:40px; padding:9px 12px; font-size:14px; }
[data-boyce-client-theme] .cv-profile-panel.cp-workspace { grid-template-columns:minmax(0,1fr) 44px; }
[data-boyce-client-theme] .cv-profile-panel.cp-workspace:not(.is-open) { grid-template-columns:44px; }
[data-boyce-client-theme] .cv-context-title { padding:12px; }
[data-boyce-client-theme] .cv-context-title h2 { font-size:16px; }
[data-boyce-client-theme] .cv-context-rail .cp-icon-button { flex-basis:40px; width:40px; height:40px; }
[data-boyce-client-theme] .cv-columns[data-cv-layout=compact] { grid-template-columns:minmax(0,1fr) 44px; }

/* Directory width still participates in the existing ResizeObserver contract. */
[data-boyce-client-theme] .cv-directory-layout > .cv-directory-dock[data-expanded=true] { flex-basis:240px; width:240px; }
[data-boyce-client-theme] .cv-directory-layout .left-directory-panel { background:#fff; border-color:var(--boyce-client-line); }
[data-boyce-client-theme] .cv-directory-dock .business-calendars-directory__header { min-height:48px; padding:10px 12px; }
[data-boyce-client-theme] .cv-directory-dock .business-calendars-directory__header h2 { font-size:15px; line-height:22px; }
[data-boyce-client-theme] .cv-directory-dock .business-calendars-directory__body { overflow-y:auto; }
[data-boyce-client-theme] .cv-directory-dock .business-calendars-directory__group h3 > button { min-height:40px; margin:0; padding:10px 12px; font-size:13px; }
[data-boyce-client-theme] .cv-directory-dock .business-calendars-directory__item { min-height:40px; gap:8px; padding:10px 12px; font-size:14px; line-height:20px; }
[data-boyce-client-theme] .cv-directory-dock .business-calendars-directory__count { min-width:24px; min-height:22px; margin-left:auto; padding:3px 6px; color:var(--boyce-client-muted); background:#edf2f7; font-size:12px; }
[data-boyce-client-theme] .cv-directory-dock .business-calendars-directory__item.is-active .business-calendars-directory__count { color:var(--boyce-client-navy); background:#dceafa; }
[data-boyce-client-theme] .cv-directory-dock .left-directory-note { margin:12px; font-size:12px; line-height:18px; }
[data-boyce-client-theme] .cv-directory-dock .left-directory-handle button { min-width:40px; min-height:40px; }
[data-boyce-client-theme] .cv-directory-dock .left-directory-handle__label { font-size:12px; }
@container cv-workspace (max-width:720px) {
  [data-boyce-client-theme] .cv-directory-layout { padding-left:48px; gap:8px; }
  [data-boyce-client-theme] .cv-directory-layout:has(> .cv-directory-dock[data-expanded=true]) { padding-left:0; }
  [data-boyce-client-theme] .cv-directory-layout > .cv-directory-dock[data-expanded=true] { position:relative; inset:auto; flex:0 0 240px; width:100%; height:240px; padding-right:44px; }
  [data-boyce-client-theme] .cv-directory-dock[data-expanded=true] > .left-directory-panel { height:240px; max-height:240px; min-height:0; overflow:hidden; }
  [data-boyce-client-theme] .cv-directory-dock[data-expanded=true] .business-calendars-directory__body { flex:1 1 0; min-height:0; overflow-y:auto; }
  [data-boyce-client-theme] .cv-directory-layout > .cv-directory-dock[data-expanded=true] .left-directory-handle { left:calc(100% - 44px); }
}
@media(max-width:700px) {
  [data-boyce-client-theme] .native-gate4-client { padding:16px; }
  [data-boyce-client-theme] .native-gate4-client .native-gate4-view-host > .cv-workspace,
  [data-boyce-client-theme] .native-client-conversations .cv-workspace { height:max(740px,calc(100dvh - 160px)); min-height:740px; }
  [data-boyce-client-theme] .cv-screen { padding:16px; }
  [data-boyce-client-theme] .cv-page-header { align-items:flex-start; margin-bottom:12px; }
  [data-boyce-client-theme] .cv-page-header .cp-manage-layout { width:100%; padding:10px 12px; }
  [data-boyce-client-theme] .cv-workspace :is(button,summary,select) { min-height:44px; }
  [data-boyce-client-theme] .cv-workspace .cp-icon-button { flex-basis:44px; width:44px; height:44px; }
  [data-boyce-client-theme] .cv-results-tabs .view-button { flex:1 1 calc(50% - 4px); min-height:44px; }
  [data-boyce-client-theme] .cv-filter .filter-chip__toggle { min-height:44px; }
  [data-boyce-client-theme] .cv-columns[data-cv-layout=compact] { grid-template-columns:minmax(0,1fr) 48px; gap:8px; }
  [data-boyce-client-theme] .cv-profile-panel.cp-workspace:not(.is-open) { grid-template-columns:48px; }
  [data-boyce-client-theme] .cv-context-rail .cp-icon-button { flex-basis:44px; width:44px; height:44px; }
  [data-boyce-client-theme] .cv-thread-header { padding:12px; }
  [data-boyce-client-theme] .cv-thread-tools { justify-content:flex-start; }
  [data-boyce-client-theme] .cv-history { margin-inline:12px; }
  [data-boyce-client-theme] .cv-thread-panel .communication-composer-heading { flex-wrap:wrap; margin-inline:12px; }
  [data-boyce-client-theme] .cv-composer { margin-inline:12px; padding:10px; }
  [data-boyce-client-theme] .cv-composer-row { display:grid; grid-template-columns:44px minmax(0,1fr); }
  [data-boyce-client-theme] .cv-composer textarea { grid-column:1 / -1; grid-row:1; width:100%; min-height:88px; }
  [data-boyce-client-theme] .cv-composer-add { grid-column:1; grid-row:2; }
  [data-boyce-client-theme] .cv-composer-tools { grid-column:2; grid-row:2; justify-content:flex-end; flex-wrap:wrap; }
  [data-boyce-client-theme] .cv-composer :is(.cv-composer-add,.cv-composer-tool) { flex-basis:44px; width:44px; height:44px; }
  [data-boyce-client-theme] .cv-composer-actions button { flex:1 1 140px; min-height:44px; }
  [data-boyce-client-theme] .cv-directory-dock .left-directory-handle button { min-width:44px; min-height:44px; }
  [data-boyce-client-theme] :is(.client-portal-sidebar nav a,.client-portal-main-site-link,.intake-questionnaire-portal-rail nav a,.client-portal-calendar-filters>button,.client-portal-calendar-select .import-data-select__toggle,.client-portal-calendar-select [role=option],.client-portal-view-options .import-data-select__toggle,.intake-questionnaire-subtab,.client-intake-button) { min-height:44px; }
  [data-boyce-client-theme] .client-portal-calendar-paging button { width:44px; height:44px; min-height:44px; }
}

/* A narrow client reader needs its full width. The same native directory and
   context controls become horizontal utilities; their expanded states still
   expose the original panels and the live pane controller keeps its selection. */
@container cv-workspace (max-width:720px) {
  [data-boyce-client-theme] .cv-directory-layout { flex-direction:column; padding-left:0; gap:12px; }
  [data-boyce-client-theme] .cv-directory-layout > .cv-directory-dock[data-expanded=false] { position:relative; inset:auto; flex:0 0 44px; width:100%; height:44px; }
  [data-boyce-client-theme] .cv-directory-dock[data-expanded=false] .left-directory-handle { position:static; margin:0; }
  [data-boyce-client-theme] .cv-directory-dock .left-directory-handle button[aria-expanded=false] { display:inline-flex; justify-content:space-between; gap:10px; width:auto; max-width:100%; min-width:0; height:44px; min-height:44px; padding:10px 12px; border:1px solid var(--boyce-client-control); border-radius:4px; color:var(--boyce-client-navy); background:#fff; }
  [data-boyce-client-theme] .cv-directory-dock .left-directory-handle button[aria-expanded=false] .left-directory-handle__label { display:block; flex:0 1 auto; width:auto; height:auto; min-width:0; padding:0; border:0; border-radius:0; background:transparent; font-size:14px; line-height:22px; white-space:normal; }
  [data-boyce-client-theme] .cv-directory-dock .left-directory-handle__label > span { writing-mode:horizontal-tb; transform:none; }
  [data-boyce-client-theme] .cv-directory-dock .left-directory-handle button[aria-expanded=false] .left-directory-handle__chevron { flex:0 0 18px; width:18px; height:18px; margin:0; border:0; border-radius:0; background:transparent; }
  [data-boyce-client-theme] .cv-directory-dock .left-directory-handle button[aria-expanded=false] .icon { width:12px; height:12px; transform:none; }
  [data-boyce-client-theme] .cv-columns[data-cv-layout=compact] { grid-template-columns:minmax(0,1fr); grid-template-rows:44px minmax(0,1fr); gap:8px; }
  [data-boyce-client-theme] .cv-columns[data-cv-layout=compact] > :is(.cv-discovery,.cv-thread-panel) { grid-column:1; grid-row:2; }
  [data-boyce-client-theme] .cv-columns[data-cv-layout=compact] [data-cv-context-rail] { grid-column:1; grid-row:1; display:flex; justify-content:flex-end; min-height:44px; overflow:visible; }
  [data-boyce-client-theme] .cv-columns[data-cv-layout=compact] .cv-context-rail { flex-direction:row; flex-wrap:wrap; justify-content:flex-end; align-items:center; width:100%; max-height:none; gap:8px; padding:0; overflow:visible; }
  [data-boyce-client-theme] .cv-columns[data-cv-layout=compact].has-context-open { grid-template-rows:44px minmax(170px,1fr) minmax(120px,.65fr); }
  [data-boyce-client-theme] .cv-columns[data-cv-layout=compact].has-context-open .cv-context-pane { grid-column:1; grid-row:3; }
}

/* Client task tabs keep their native tab/panel and review state. A single
   underline replaces the legacy black tab edge; action targets match forms. */
[data-boyce-client-theme] .task-manager-tabs { align-items:stretch; flex-wrap:wrap; gap:4px; border-bottom:1px solid var(--boyce-client-line); }
[data-boyce-client-theme] .task-manager-tabs > button { flex:1 1 150px; min-width:0; min-height:40px; padding:9px 14px; border:0; border-bottom:2px solid transparent; border-radius:4px 4px 0 0; color:var(--boyce-client-muted); background:#fff; box-shadow:none; font:500 14px/20px var(--boyce-client-font); white-space:normal; }
[data-boyce-client-theme] .task-manager-tabs > button[aria-selected=true] { color:var(--boyce-client-navy); border-bottom-color:var(--boyce-client-blue); background:var(--boyce-client-soft); box-shadow:none; }
[data-boyce-client-theme] .client-task-detail__titlebar { flex:0 0 auto; min-height:72px; gap:12px; }
[data-boyce-client-theme] .client-task-detail__titlebar h2 { min-width:0; margin:0; font-size:14px; line-height:22px; overflow-wrap:anywhere; }
[data-boyce-client-theme] .client-task-detail__titlebar .pragtical-dialog-close { flex:0 0 40px; width:40px; height:40px; min-height:40px; padding:0; font:500 22px/1 var(--boyce-client-font); }
[data-boyce-client-theme] .client-task-detail .client-task-detail__button { display:inline-flex; align-items:center; justify-content:center; min-height:40px; max-width:100%; padding:9px 12px; border:1px solid var(--boyce-client-control); border-radius:4px; color:var(--boyce-client-ink); background:#fff; font:500 14px/20px var(--boyce-client-font); text-align:center; }
[data-boyce-client-theme] .client-task-detail .client-task-detail__button.task-manager-button--primary { color:#fff; border-color:var(--boyce-client-navy); background:var(--boyce-client-navy); }
[data-boyce-client-theme] .client-task-detail .client-task-detail__button:disabled { color:#596879; border-color:var(--boyce-client-line); background:#edf2f7; opacity:1; }
[data-boyce-client-theme] .client-task-detail .task-manager-text-button { min-height:40px; padding:8px 0; font:500 14px/22px var(--boyce-client-font); }
[data-boyce-client-theme] .client-task-detail__footer > div { align-items:center; gap:8px; }

/* Preferences and case selection retain native selects and full options. Reserve a dedicated
   caret area so a long saved choice cannot collide with the dropdown affordance.
   These narrow overrides beat native input-reset specificity and inherited
   select-image resets; disabled colors keep their original rules. */
[data-boyce-client-theme] .alpha-reminder-content[data-alpha-communication-preferences] select,
[data-boyce-client-theme] #native-portal-case {
  appearance:none;
  width:100%;
  min-width:0;
  min-height:40px!important;
  padding:9px 42px 9px 12px!important;
  color:var(--boyce-client-ink);
  border:1px solid var(--boyce-client-control);
  border-radius:4px;
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23465569' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:16px 16px!important;
  font:400 14px/22px var(--boyce-client-font)!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:700px) {
  [data-boyce-client-theme] .task-manager-tabs > button,
  [data-boyce-client-theme] .client-task-detail .client-task-detail__button,
  [data-boyce-client-theme] .client-task-detail .task-manager-text-button { min-height:44px; }
  [data-boyce-client-theme] .alpha-reminder-content[data-alpha-communication-preferences] select,
  [data-boyce-client-theme] #native-portal-case { min-height:44px!important; }
  [data-boyce-client-theme] .client-task-detail__titlebar .pragtical-dialog-close { flex-basis:44px; width:44px; height:44px; min-height:44px; }
  [data-boyce-client-theme] .client-task-detail__footer > div > button { flex:1 1 120px; }
}

/* Every source-bound intake entry uses this same dialog. The close affordance
   and footer share the client form scale without changing its save handlers. */
[data-boyce-client-theme] [data-client-record-dialog] [data-client-record-close] { display:grid; place-items:center; flex:0 0 40px; width:40px; height:40px; min-width:40px; min-height:40px; margin-left:auto; padding:0; color:var(--boyce-client-ink); border:1px solid var(--boyce-client-line); border-radius:4px; background:#fff; box-shadow:none; font:500 22px/1 var(--boyce-client-font); }
[data-boyce-client-theme] [data-client-record-dialog] [data-client-record-close]:hover:not(:disabled) { border-color:var(--boyce-client-control); background:var(--boyce-client-soft); }
[data-boyce-client-theme] [data-client-record-dialog] .intake-questionnaire-property-dialog__footer { align-items:center; flex-wrap:wrap; gap:8px; }
[data-boyce-client-theme] [data-client-record-dialog] .intake-questionnaire-property-dialog__footer button { display:inline-flex; align-items:center; justify-content:center; min-height:40px; margin:0; padding:9px 12px; border:1px solid var(--boyce-client-control); border-radius:4px; color:var(--boyce-client-ink); background:#fff; font:500 14px/20px var(--boyce-client-font); }
[data-boyce-client-theme] [data-client-record-dialog] .intake-questionnaire-property-dialog__footer button:is([type=submit],.intake-questionnaire-property-save) { color:#fff; border-color:var(--boyce-client-navy); background:var(--boyce-client-navy); }
[data-boyce-client-theme] [data-client-record-dialog] .intake-questionnaire-property-dialog__footer button:disabled { color:#596879; border-color:var(--boyce-client-line); background:#edf2f7; opacity:1; }
@media(max-width:700px) {
  [data-boyce-client-theme] [data-client-record-dialog] [data-client-record-close] { flex-basis:44px; width:44px; height:44px; min-width:44px; min-height:44px; }
  [data-boyce-client-theme] [data-client-record-dialog] .intake-questionnaire-property-dialog__footer button { min-height:44px; }
}
