/* Version 2 navy/champagne theme. Shared mode switch controls activation; Classic is unchanged. */
@media screen{
 body.tvm-office.interface-new.theme-travelos{
  --study-navy:#142138;
  --study-navy-deep:#0e1525;
  --study-gold:#d2b171;
  --study-gold-light:#f5ecd9;
  /* Existing legacy controls use these aliases alongside the shared theme tokens. */
  --booking-blue:#243b60;--booking-blue-dark:#142138;--booking-navy:#142138;
  --booking-yellow:#d2b171;--booking-yellow-soft:#fbf5e8;--booking-sky:#eef1f7;
  --booking-line:#dce1e9;--teal:#243b60;--navy:#142138;--ink:#202d43;
  --muted:#576579;--line:#dce1e9;--soft:#f4f6f9;--lime:#d2b171;
  --tvm-page:#f4f6fa;
  --tvm-canvas:#f4f6fa;
  --tvm-surface:#fff;
  --tvm-surface-subtle:#f4f6f9;
  --tvm-surface-info:#eef1f7;
  --tvm-case-summary-surface:#eaf3fd;
  --tvm-ink:#202d43;
  --tvm-navy:#142138;
  --tvm-muted:#576579;
  --tvm-action:#243b60;
  --tvm-action-hover:#142138;
  --tvm-action-soft:#eef1f7;
  --tvm-accent:#d2b171;
  --tvm-accent-soft:#fbf5e8;
  --tvm-focus:#9a722b;
  --tvm-line:#dce1e9;
  --tvm-line-strong:#8593a8;
  --tvm-table-head:#edf0f5;
  --tvm-row-hover:#f7f3e9;
  --tvm-normal-surface:#fff;
  --tvm-normal-ink:#243b60;
  --tvm-normal-border:#8593a8;
  --tvm-normal-hover:#f3f5f9;
  --tvm-normal-pressed:#e9edf4;
  --tvm-control-border:#8593a8;
  --tvm-disabled-surface:#edf0f4;
  --tvm-disabled-ink:#667085;
  --tvm-success:#216448;
  --tvm-success-soft:#edf7f1;
  --tvm-success-line:#badaca;
  --tvm-warning:#795714;
  --tvm-danger:#a33237;
  --tvm-danger-soft:#fceff0;
  --tvm-danger-line:#e5bfc3;
  --tvm-radius-control:8px;
  --tvm-radius-card:12px;
  --tvm-radius-panel:12px;
  --tvm-shadow-card:0 3px 14px rgb(20 33 56 / 4%);
  --tvm-shadow-raised:0 8px 24px rgb(20 33 56 / 8%);
  --tvm-shadow-dialog:0 24px 80px rgb(14 21 37 / 28%);
  background:var(--tvm-page);color:var(--tvm-ink);
 }
 /* Identity stays on a white band; navigation is a distinct dark surface. */
 body.tvm-office.interface-new.theme-travelos>header{
  background:#fff;border-bottom:1px solid #dce1e9;border-top:3px solid var(--study-gold);
  box-shadow:0 3px 12px rgb(20 33 56 / 3%);
 }
 body.tvm-office.interface-new.theme-travelos>.interface-sidebar{
  background:linear-gradient(160deg,#17263f 0%,#101a2d 100%)!important;
  border-right:0;box-shadow:5px 0 20px rgb(20 33 56 / 5%);
  scrollbar-color:#53647e #142138;scrollbar-width:thin;
  --tvm-line:#344159;--tvm-action:#f1d597;--tvm-muted:#bdc8d9;--tvm-focus:#f1d597;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-link{
  color:#e2e8f2!important;border-radius:7px;background:transparent!important;
  font-weight:600!important;transition:background-color .15s,color .15s;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-link:hover{
  background:#273751!important;color:#fff!important;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-link[aria-current]{
  background:var(--study-gold)!important;color:#142138!important;
  box-shadow:0 3px 12px #0002!important;font-weight:700!important;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-module-head:has(>[aria-current]){background:#d2b171;border-radius:7px}
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-module-head>.interface-link[aria-current]{box-shadow:none!important}
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-module-head:has(>[aria-current])>.interface-section-toggle{color:#142138!important}
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-module-head:has(>[aria-current])>.interface-section-toggle img{filter:brightness(0);opacity:.8}
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-module-head:has(>[aria-expanded="true"]):not(:has(>[aria-current])){
  background:#23324a;border-radius:7px;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sales{
  border-bottom:1px solid #344159;padding-bottom:18px;margin-bottom:16px;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sales-title{
  color:#cbd5e3;font-size:11px;letter-spacing:.1em;text-transform:uppercase;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sales .interface-link[data-quick-action]{
  border:1px solid #56647b!important;background:#24334c!important;color:#f5f7fb!important;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sales .interface-link[data-quick-action="new-case"]{
  min-height:44px;background:#c9e4ff!important;color:#142138!important;border-color:#8db8df!important;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sales .interface-link:hover{
  border-color:#e4c78b!important;background:#34435e!important;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sales .interface-link[data-quick-action="new-case"]:hover{
  background:#b3d9ff!important;color:#142138!important;border-color:#6d9bc8!important;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sales .interface-link[data-quick-action="new-case"]:focus-visible{
  outline:3px solid #fff!important;outline-offset:3px;box-shadow:0 0 0 2px #142138!important;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-section-toggle{color:#dfc38d!important}
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-section-toggle img{filter:brightness(0) invert(1);opacity:.75}
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sections{
  border-left:1px solid #536079;margin:4px 0 2px 15px;padding-left:6px;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sections .interface-link{
  color:#d0d9e6!important;font-size:13px!important;font-weight:400!important;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sections .interface-link::before{color:#e6c88e!important}
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .interface-sections .interface-link[aria-current]{
  background:#2c3b54!important;color:#ffe1a4!important;box-shadow:inset 3px 0 #d2b171!important;
 }
 body.tvm-office.interface-new.theme-travelos .interface-sidebar .tvm-icon{
  --tvm-icon-ink:currentColor;--tvm-icon-accent:currentColor;opacity:.95;
 }
 /* Reading surfaces: white cards, quiet filters, stronger section hierarchy. */
 body.tvm-office.interface-new.theme-travelos :is(h1,h2,h3,h4){color:#142138}
 body.tvm-office.interface-new.theme-travelos :is(.workspace-panel,.visa-files-panel,.cash-section,.cash-person-section,.report-panel,.accounts-directory,.catalog-summary){
  border-color:#dce1e9!important;border-radius:12px;box-shadow:0 3px 14px rgb(20 33 56 / 4%)!important;
 }
 body.tvm-office.interface-new.theme-travelos #workspace-overview :is(.workspace-priorities,.workspace-calendar,.workspace-refunds,.workspace-recent){
  border:1px solid #dce1e9;border-radius:12px;box-shadow:0 3px 14px rgb(20 33 56 / 4%)!important;
 }
 body.tvm-office.interface-new.theme-travelos :is(.workspace-panel-heading,.income-results-heading,.definition-heading){border-color:#e3e7ee}
 body.tvm-office.interface-new.theme-travelos :is(.visa-files-filters,.cash-toolbar,.income-filter-grid,.result-filters){background:#f2f4f8!important;border-color:#dce1e9}
 body.tvm-office.interface-new.theme-travelos #workspace-overview .workspace-priority-list>li{border-color:#e6eaf0}
 body.tvm-office.interface-new.theme-travelos #workspace-overview :is(.workspace-next,.workspace-link-new,.workspace-calendar-action){color:#243b60}
 body.tvm-office.interface-new.theme-travelos #workspace-overview .workspace-recent-list>:is(button,a){background:#f4f6fa!important;border-color:#dce1e9!important}
 body.tvm-office.interface-new.theme-travelos :is(.ui-table,.workspace-table,.cash-person-table,.visa-files-table) thead th{
  background:#edf0f5!important;color:#34445f!important;border-color:#dce1e9;font-weight:600;
 }
 body.tvm-office.interface-new.theme-travelos :is(.ui-table,.workspace-table,.cash-person-table,.visa-files-table) tbody tr:hover>td:not(.cash-person-held){background:#f8f4eb!important}
 body.tvm-office.interface-new.theme-travelos :is(.workspace-table-wrap,.income-table-wrap,.cash-person-table-wrap){border-color:#dce1e9}
 body.tvm-office.interface-new.theme-travelos #cash-view .cash-currency-grid article{
  border-color:#dce1e9;border-top:3px solid #c1a166;box-shadow:0 3px 14px rgb(20 33 56 / 4%);border-radius:10px;
 }
 /* Primary operations are solid navy. Quiet actions are outlined. Danger keeps red. */
 body.tvm-office.interface-new.theme-travelos :is(.ui-button--primary,button.primary,button[type="submit"]):not(:disabled):not(.ui-button--danger):not(.danger){
  background:#243b60!important;border-color:#243b60!important;color:#fff!important;box-shadow:0 2px 5px rgb(20 33 56 / 10%);
 }
 body.tvm-office.interface-new.theme-travelos :is(.ui-button--primary,button.primary,button[type="submit"]):not(:disabled):not(.ui-button--danger):not(.danger):hover{
  background:#142138!important;border-color:#142138!important;
 }
 body.tvm-office.interface-new.theme-travelos :is(.ui-button--secondary,.finance-row-action--edit){
  background:#fff!important;color:#243b60!important;border-color:#8593a8!important;
 }
 body.tvm-office.interface-new.theme-travelos :is(.ui-button--danger,.finance-row-action--delete){
  color:#a33237!important;border-color:#dfb6bd!important;background:#fff6f7!important;
 }
 body.tvm-office.interface-new.theme-travelos :is(button,a)[aria-disabled="true"],body.tvm-office.interface-new.theme-travelos button:disabled{
  background:#edf0f4!important;color:#667085!important;border-color:#dce1e9!important;box-shadow:none!important;
 }
 /* Tabs remain navigation; a dark active tab with a fine gold edge distinguishes them. */
 body.tvm-office.interface-new.theme-travelos :is(.case-file-tabs,.definition-tabs,.report-tabs,.workspace-board-tabs){
  background:#eef1f6;border-color:#dce1e9;border-radius:9px;
 }
 body.tvm-office.interface-new.theme-travelos :is(.case-file-tabs,.definition-tabs,.report-tabs,.workspace-board-tabs)>button:is(.active,[aria-selected="true"],[aria-current="page"]){
  background:#142138!important;color:#fff!important;border-color:#142138!important;box-shadow:inset 0 -3px #d2b171!important;
 }
 /* File views are readable controls; active styling and the cost accent stay distinct. */
 body.tvm-office.interface-new.theme-travelos #detail .case-file-tabs{
  gap:8px;padding:6px;box-sizing:border-box;min-width:0;flex-wrap:wrap;
 }
 body.tvm-office.interface-new.theme-travelos #detail .case-file-tabs>[data-case-view]:not(:disabled){
  min-height:48px;min-width:0;max-width:100%;padding:10px 14px;
  border:2px solid #7c8fa8!important;border-radius:7px;
  background:#fff!important;color:#142138!important;font-size:15px!important;font-weight:700!important;line-height:1.35!important;
  white-space:normal;overflow-wrap:break-word;box-shadow:none!important;
 }
 body.tvm-office.interface-new.theme-travelos #detail .case-file-tabs>[data-case-view]:not(:disabled):hover{
  background:#eaf3fd!important;border-color:#527eab!important;filter:none;
 }
 body.tvm-office.interface-new.theme-travelos #detail .case-file-tabs>[data-case-view]:not(:disabled):is(.active,[aria-selected="true"],[aria-current="page"]){
  background:#142138!important;color:#fff!important;border-color:#142138!important;box-shadow:inset 0 -3px #d2b171!important;
 }
 body.tvm-office.interface-new.theme-travelos #detail .case-file-tabs>[data-case-view]:focus-visible{
  outline:3px solid #142138;outline-offset:3px;
 }
 /* Frequently used cost action remains beside File summary, with a persistent light-blue emphasis. */
 body.tvm-office.interface-new.theme-travelos #detail :is(.case-file-tabs>.case-cost-action,[data-mobile-more="operation"]):not(:disabled){
  min-height:48px;padding:10px 18px;font-weight:700!important;
  background:#c9e4ff!important;color:#142138!important;border:2px solid #527eab!important;
  box-shadow:0 3px 8px rgb(20 33 56 / 14%)!important;
 }
 body.tvm-office.interface-new.theme-travelos #detail :is(.case-file-tabs>.case-cost-action,[data-mobile-more="operation"]):not(:disabled):hover{
  background:#b3d9ff!important;border-color:#3f6590!important;
 }
 body.tvm-office.interface-new.theme-travelos #detail .case-file-tabs>.case-cost-action[aria-selected="true"]:not(:disabled){
  background:#b3d9ff!important;color:#142138!important;border-color:#142138!important;
  box-shadow:inset 0 -3px #142138,0 3px 8px rgb(20 33 56 / 14%)!important;
 }
 body.tvm-office.interface-new.theme-travelos #detail :is(.case-file-tabs>.case-cost-action,[data-mobile-more="operation"]):focus-visible{
  outline:3px solid #142138;outline-offset:3px;
 }
 /* Restore the familiar summary blue without touching appointment warning/resolved states. */
 body.tvm-office.interface-new.theme-travelos #detail .case-identity{
  background:var(--tvm-case-summary-surface);border-top:3px solid #527eab;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section{
  border-color:#aac4df;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section>summary{
  min-height:48px;box-sizing:border-box;padding:12px 16px;
  background:#d6eaff;color:#142138;border-top:3px solid #527eab;border-bottom:1px solid #aac4df;
  font-size:18px;font-weight:700;line-height:1.4;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-section-block>.subsection-head{
  display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;
  margin:0 0 12px;padding:12px 14px;background:#eaf3fd;
  border:1px solid #aac4df;border-left:4px solid #527eab;border-radius:7px;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .subsection-head>div{min-width:0}
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .subsection-head h4{
  margin:0 0 4px;color:#123f65;font-size:17px;font-weight:700;line-height:1.4;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .subsection-head p{
  margin:0;color:#425875;font-size:14px;line-height:1.45;
 }
 /* Text labels supplied by the record-aware JS carry the state; colour is supplemental. */
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-quick-actions{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-quick-actions>button:not([hidden]){
  display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:4px 8px;
  min-height:44px;min-width:0;max-width:100%;padding:10px 12px;box-sizing:border-box;
  text-align:left;white-space:normal;overflow-wrap:break-word;line-height:1.4!important;filter:none;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-quick-actions>button>.tvm-icon{
  grid-column:1;grid-row:1;width:18px;height:18px;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-state-label{
  display:block;grid-column:2;grid-row:2;min-width:0;box-sizing:border-box;padding:0;
  font-size:13px;font-weight:600;line-height:1.4;text-align:left;white-space:normal;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-quick-actions>button:is([data-cost-state="pending"],[data-cost-state="uncertain"]):not(:disabled):not([aria-disabled="true"]){
  background:#fff4dc!important;color:#6d4d08!important;border-color:#c3a45c!important;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-quick-actions>button:is([data-cost-state="pending"],[data-cost-state="uncertain"]):not(:disabled):not([aria-disabled="true"]):hover{
  background:#ffebc3!important;border-color:#99711f!important;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-quick-actions>button[data-cost-state="uncertain"]{border-style:dashed}
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-quick-actions>button[data-cost-state="recorded"]:not(:disabled):not([aria-disabled="true"]){
  background:#e7f4eb!important;color:#20583b!important;border-color:#83b497!important;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-quick-actions>button[data-cost-state="recorded"]:not(:disabled):not([aria-disabled="true"]):hover{
  background:#d9eddf!important;border-color:#4a8261!important;
 }
 body.tvm-office.interface-new.theme-travelos #detail #case-cost-section .cost-quick-actions>button:focus-visible{
  outline:3px solid #142138;outline-offset:3px;
 }
 body.tvm-office.interface-new.theme-travelos :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){
  border-color:#8593a8;background-color:#fff;color:#202d43;accent-color:#243b60;
 }
 body.tvm-office.interface-new.theme-travelos :is(input,select,textarea):focus-visible{
  outline:3px solid #b58b42;outline-offset:2px;border-color:#243b60;
 }
 body.tvm-office.interface-new.theme-travelos :is(input[type="checkbox"],input[type="radio"]){accent-color:#243b60}
 /* Popups inherit the single theme. Their existing scroll, sizing and footer stay intact. */
 body.tvm-office.interface-new.theme-travelos dialog{
  background:#fff;border:1px solid #dce1e9!important;border-radius:14px!important;
  box-shadow:0 24px 80px rgb(14 21 37 / 28%)!important;
 }
 body.tvm-office.interface-new.theme-travelos dialog::backdrop{background:rgb(14 21 37 / 48%)}
 body.tvm-office.interface-new.theme-travelos dialog .dialog-head{
  background:#f0f3f8!important;border-bottom:1px solid #dce1e9!important;border-top:3px solid #d2b171;
 }
 body.tvm-office.interface-new.theme-travelos dialog :is(.dialog-footer,.form-actions){background:#f7f8fb;border-color:#dce1e9}
 body.tvm-office.interface-new.theme-travelos :is(.interface-dialog-help,.interface-guide){background:#fbf8f1;border-color:#e4dccb}
 body.tvm-office.interface-new.theme-travelos .interface-guide{background:#fff}
 body.tvm-office.interface-new.theme-travelos .interface-dialog-help>summary{color:#5e4822}
 body.tvm-office.interface-new.theme-travelos :is(.interface-menu-toggle,.office-mobile-bottom-nav){border-color:#dce1e9}
 body.tvm-office.interface-new.theme-travelos .office-footer{border-color:#dce1e9;background:#fff}
 @media(prefers-reduced-motion:reduce){body.tvm-office.interface-new.theme-travelos .interface-link{transition:none}}
}

/* Shared dialog chrome: preserve each form's fields, scrolling and functional width. */
body.tvm-office.interface-new.theme-travelos dialog .interface-standard-dialog-head{background:#f0f3f8!important;border-top:3px solid #d2b171;border-bottom:1px solid #dce1e9!important;padding:16px 20px;gap:16px}
body.tvm-office.interface-new.theme-travelos dialog :is(.dialog-footer,.form-actions,.dialog-actions,.editor-actions,.qs-form-actions){justify-content:flex-end;gap:10px}
body.tvm-office.interface-new.theme-travelos dialog :is(.dialog-footer,.form-actions,.dialog-actions)>button{min-height:44px}

/* Case preview: shared blue heading and unboxed navigation. */
body.tvm-office.interface-new.theme-travelos #detail .case-file-heading{background:var(--tvm-case-summary-surface,#eaf3fd);border-color:#aac4df}
body.tvm-office.interface-new.theme-travelos #detail .interface-case-tools .case-file-tabs{background:transparent;border:0;box-shadow:none;padding:0}

/* Owner and applicant are peer section headings. */
body.tvm-office.interface-new #detail .case-file-heading{display:block;padding:0}
body.tvm-office.interface-new #detail .case-owner-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:10px 14px;border:0;border-radius:0;background:transparent;box-shadow:none}
body.tvm-office.interface-new #detail .case-owner-section-head h3{margin:0;font-size:var(--tvm-type-emphasis);color:var(--tvm-navy)}
body.tvm-office.interface-new #detail .case-owner-section-head small{color:var(--tvm-muted);font-size:12px}
body.tvm-office.interface-new #detail .case-owner-content{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:8px 20px 16px;min-width:0}
@media(max-width:700px){body.tvm-office.interface-new #detail .case-owner-content{flex-wrap:wrap;padding:8px 14px 14px}body.tvm-office.interface-new #detail .case-owner-section-head{flex-wrap:wrap}}

/* Peer section headings share the applicant card inset and row height. */
body.tvm-office.interface-new #detail .case-file-heading{padding:0 10px 10px}
body.tvm-office.interface-new #detail #participants-section>.case-participants-heading{min-height:64px;box-sizing:border-box;padding:10px 14px}

body.tvm-office.interface-new #detail .case-owner-heading .case-file-title{margin-bottom:6px!important}
body.tvm-office.interface-new #detail .case-owner-reference{margin:0;font-size:var(--tvm-type-emphasis);font-weight:400;color:var(--tvm-muted);line-height:1.4}
body.tvm-office.interface-new #detail .case-heading-actions{gap:0}
body.tvm-office.interface-new #detail .case-heading-actions>.account-card-link,body.tvm-office.interface-new #detail .case-heading-actions>.record-lifecycle-actions>summary{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:6px 2px;min-height:40px;box-sizing:border-box}
body.tvm-office.interface-new #detail .case-heading-actions>.account-card-link>.tvm-icon{width:18px;height:18px;flex:0 0 18px;margin:0}
body.tvm-office.interface-new #detail .case-heading-actions>.record-lifecycle-actions>summary::before{width:18px;height:18px;flex:0 0 18px;margin:0}

/* Compact owner card; warnings remain in their own flow below the identity. */
body.tvm-office.interface-new #detail .case-file-heading{padding-bottom:6px}
body.tvm-office.interface-new #detail .case-owner-section-head{min-height:0;padding:8px 14px 2px}
body.tvm-office.interface-new #detail .case-owner-content{padding:2px 14px 6px;gap:12px}
body.tvm-office.interface-new #detail .case-owner-reference{font-size:14px;font-weight:400;line-height:1.4}
body.tvm-office.interface-new #detail .case-owner-heading .case-file-title{font-size:26px!important;line-height:1.25!important;margin:0 0 4px!important}
body.tvm-office.interface-new #detail .case-attention{height:auto;overflow:visible}

/* Keep the full name prominent; save height by placing actions on one row. */
body.tvm-office.interface-new #detail .case-owner-heading .case-file-title{font-size:var(--tvm-type-page)!important;line-height:var(--tvm-leading-tight)!important;margin:0 0 4px!important}
body.tvm-office.interface-new #detail .case-owner-content{align-items:center;padding-top:0;padding-bottom:4px}
body.tvm-office.interface-new #detail .case-heading-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 12px;min-width:0;max-width:48%}
body.tvm-office.interface-new #detail .case-heading-actions>.account-card-link{flex-wrap:wrap;max-width:100%}
body.tvm-office.interface-new #detail .case-heading-actions>.record-lifecycle-actions{flex:0 0 auto}
@media(max-width:700px){body.tvm-office.interface-new #detail .case-heading-actions{max-width:100%;justify-content:flex-start}body.tvm-office.interface-new #detail .case-owner-heading .case-file-title{font-size:var(--tvm-type-customer)!important}}
