/* MANDREO screen system. Shared across the office workspace; mail and eBO stay unchanged.
   This file owns palette, type, density and surface treatment. Existing feature
   handlers retain behavior; this layer owns common work surfaces and rows. Loaded with media=screen; never
   included in generated letters, PDF templates or print styles. */
@layer mandreo-system508 {
 @media screen {
  :root {
   --m-blue:#223d8c; --m-blue-hover:#182f74; --m-ink:#17243a;
   --m-muted:#536176; --m-line:#e1e6ef; --m-edge:#8996aa;
   --m-canvas:#f6f7fa; --m-white:#fff; --m-rail:#fff; --m-hover:#f0f4fb;
   --m-selection:#e5ecfc; --m-radius:0px; --m-control-radius:0px;
   --m-body:14px; --m-control:13px; --m-small:12px;
   --m-space-section:21px; --m-space-panel:16px; --m-space-fields:12px;
   --m-space-controls:8px; --m-space-text:4px; --m-tile-gap:var(--m-space-section);
   --m-font:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
   --preview-ink:var(--m-ink)!important; --preview-muted:var(--m-muted)!important;
   --preview-icon:var(--m-muted)!important; --preview-line:var(--m-line)!important;
   --preview-hairline:var(--m-line)!important; --preview-canvas:var(--m-canvas)!important;
   --preview-surface:var(--m-white)!important; --preview-soft:var(--m-hover)!important;
   --preview-selection:var(--m-selection)!important; --preview-sidebar:var(--m-rail)!important;
   --preview-sidebar-ink:var(--m-ink)!important; --preview-active:var(--m-blue)!important;
   --preview-accent:var(--m-blue)!important; --preview-accent-hover:var(--m-blue-hover)!important;
   --preview-focus:var(--m-blue)!important; --preview-control-edge:var(--m-edge)!important;
   --preview-screen-control:var(--m-edge)!important; --preview-radius:var(--m-radius)!important;
   --preview-control-radius:var(--m-control-radius)!important;
   --preview-page-inset:var(--m-space-section)!important; --preview-section-gap:var(--m-space-section)!important;
   --preview-panel-inset:var(--m-space-panel)!important; --preview-item-gap:var(--m-space-fields)!important;
   --page-heading-size:24px!important;
  }
  body {font-family:var(--m-font)!important;font-size:var(--m-body)!important;line-height:1.5;
   color:var(--m-ink);accent-color:var(--m-blue);caret-color:var(--m-blue);scrollbar-color:#aab5c8 transparent;
   --ui-brand:var(--m-blue)!important;--ui-ink:var(--m-ink)!important;--ui-muted:var(--m-muted)!important;
   --ui-line:var(--m-line)!important;--ui-soft:var(--m-hover)!important;--ui-font:var(--m-font)!important;
  }
  ::selection {background:var(--m-selection);color:var(--m-ink)}
  #app :is(button,summary,[role="button"],input,select,textarea):not(#letterPaper *):not(.lh84-page *):not([contenteditable] *) {
   font-family:var(--m-font)!important;
  }
  #app :is(button,summary,[role="button"]):not(#letterPaper *):not(.lh84-page *):not([contenteditable] *) {
   font-size:var(--m-control)!important;font-weight:500!important;letter-spacing:0!important;
  }
  #app :is(h1,h2,h3):not(#letterPaper *):not(.lh84-page *):not([contenteditable] *):not(.mail158 *) {
   color:var(--m-ink)!important;font-weight:600!important;letter-spacing:-.02em!important;line-height:1.3!important;
  }
  #app #content h1:not(:where(#letterPaper *,.lh84-page *,[contenteditable] *)) {font-size:24px!important}
  #app #content h2:not(:where(#letterPaper *,.lh84-page *,[contenteditable] *)) {font-size:16px!important}
  #app #content h3:not(:where(#letterPaper *,.lh84-page *,[contenteditable] *)) {font-size:15px!important}
  #app :is(input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file]),select,textarea):not(#letterPaper *):not(.lh84-page *):not([contenteditable] *) {
   font-size:var(--m-control)!important;border-radius:0!important;
   color:var(--m-ink);background-color:var(--m-white);
  }
  #app :is(input,textarea)::placeholder {color:var(--m-muted)!important;opacity:1}
  #app :is(button,input,select,textarea,[role="button"],summary):focus-visible {
   outline:2px solid var(--m-blue)!important;outline-offset:2px!important;
  }
  #app button:disabled {opacity:.55;cursor:default}
  #app a {text-underline-offset:3px}
  #app :is(td,.nd-money,.finance173-amount,.case-finance-value) {font-variant-numeric:tabular-nums}

  /* One light office shell. White belongs to navigation, records and work panels. */
  html[data-design-preview] #app .main>.top {min-height:56px!important;height:56px!important;background:var(--m-white)!important;border-bottom:1px solid var(--m-line)!important}
  #app #globalSearch {height:34px!important;min-height:34px!important;background:var(--m-canvas)!important;border-color:var(--m-line)!important;font-size:13px!important}
  #app .top :is(.desktop-icon-button,#sidebarToggle414) {width:34px!important;height:34px!important;min-height:34px!important;border-color:transparent!important;background:transparent!important;border-radius:0!important}
  #app #mainSidebar414 {background:var(--m-white)!important;border-right:1px solid var(--m-line)!important}
  #app #mainSidebar414 .nav>button {font-size:13px!important;font-weight:450!important;min-height:36px!important;border-radius:0!important;box-shadow:none!important;color:var(--m-muted)!important;background:transparent!important}
  #app #mainSidebar414 .nav>button.active {font-weight:600!important;background:var(--m-selection)!important;color:var(--m-blue)!important}
  #app #mainSidebar414 .nav>button:hover {background:var(--m-hover)!important;color:var(--m-blue)!important}
  #app #mainSidebar414 .nav>button svg {color:inherit!important;width:20px!important;height:20px!important;flex:0 0 20px!important;stroke-width:1.6!important}
  #app #mainSidebar414 .mandreo-side-brand {color:var(--m-ink)!important}
  #app #mainSidebar414 .mandreo-side-brand img {filter:none!important}
  #app #mainSidebar414 .mandreo-side-brand {height:56px!important;min-height:56px!important;box-sizing:border-box!important;gap:8px!important}
  #app #mainSidebar414 .mandreo-side-brand img {width:26px!important;height:26px!important;flex:0 0 26px!important}
  #app #mainSidebar414 .mandreo-side-brand .txt {font-size:19px!important;line-height:26px!important}
  #app #mainSidebar414 .preview-sidebar-heading {font-size:10px!important;letter-spacing:.06em!important;font-weight:600!important;color:var(--m-muted)!important}
  /* The desktop rail uses one square icon slot and one row size. Set flex-basis
     together with SVG dimensions: the inherited 20px basis previously widened
     a 16px SVG. Keep shared symbol definitions and all navigation handlers. */
  @media (min-width:901px) and (pointer:fine) {
   html[data-design-preview] #app #mainSidebar414 .side-scroll266>.nav {row-gap:0!important}
   html[data-design-preview] #app #mainSidebar414 .nav>button {
    box-sizing:border-box!important;height:36px!important;min-height:36px!important;
    margin-block:0!important;padding-block:8px!important;line-height:20px!important;
   }
   html[data-design-preview] #app #mainSidebar414 .side-scroll266>.nav>button {margin-block-end:1px!important}
   html[data-design-preview] #app #mainSidebar414 .nav>button:is([data-p="dashboard"],[data-p="writing"],[data-p="assets"],[data-p="settings"]) svg use {
    transform-box:fill-box;transform-origin:center;transform:scale(var(--m-nav-optical-scale,1));
   }
   html[data-design-preview] #app #mainSidebar414 .nav>button[data-p="dashboard"] {--m-nav-optical-scale:1.1}
   html[data-design-preview] #app #mainSidebar414 .nav>button[data-p="writing"] {--m-nav-optical-scale:1.09}
   html[data-design-preview] #app #mainSidebar414 .nav>button[data-p="assets"] {--m-nav-optical-scale:.93}
   html[data-design-preview] #app #mainSidebar414 .nav>button[data-p="settings"] {--m-nav-optical-scale:.89}
   html[data-design-preview] #app #mainSidebar414 .side-support-button .support-icon {
    width:20px!important;height:20px!important;flex:0 0 20px!important;
   }
   html[data-design-preview] #app #mainSidebar414 .side-support-button .support-icon svg {
    display:block;width:20px!important;height:20px!important;flex:0 0 20px!important;
    fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
   }
   html[data-design-preview] body.sidebar-compact414 #app #mainSidebar414 .side-support-button,
   html[data-design-preview] #app.sidebar-collapsed414 #mainSidebar414 .side-support-button {
    box-sizing:border-box!important;height:36px!important;min-height:36px!important;
    padding:7px!important;align-items:center!important;justify-content:center!important;
   }
  }
  #app .preview-office {font-size:12px!important}
  #app #mainSidebar414 :is(.preview-office,.preview-office small,.side-support-button,.open-person-name287) {color:var(--m-muted)!important}
  #app #mainSidebar414 .open-person287.active .open-person-name287 {color:var(--m-blue)!important}
  #app>.main {background:var(--m-canvas)!important}
  #app #content {box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;padding:var(--m-space-section)!important;background:transparent!important;font-size:14px!important;min-height:calc(100vh - 56px)!important}
  #app #content>.preview-record {margin:0 0 var(--m-tile-gap)!important;background:var(--m-white)!important;border:1px solid var(--m-line)!important}
  #app #content .preview-record .client-hero {padding:var(--m-space-panel)!important}
  #app #content .preview-record .client-hero-layout {grid-template-areas:"avatar identity actions"!important;grid-template-columns:40px minmax(0,1fr) auto!important;column-gap:14px!important;align-items:center!important}
  #app #content .preview-record .client-hero-main {display:flex!important;flex-direction:column!important;grid-area:identity!important;gap:6px!important;min-width:0!important}
  #app #content .preview-record .profile-slot {width:40px!important;height:40px!important;align-self:start!important}
  #app #content .preview-record :is(.client-avatar,.preview-record-avatar,.client-profile-initials) {width:40px!important;height:40px!important;font-size:16px!important;border-radius:0!important}
  #app #content .preview-record .preview-record-title {grid-area:auto!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important}
  #app #content .preview-record .preview-record-facts {grid-area:auto!important;max-width:100%!important;min-width:0!important;flex-wrap:wrap!important;font-size:12px!important;line-height:18px!important;gap:3px 16px!important}
  #app #content .preview-record .preview-record-address {grid-area:auto!important;font-size:12px!important;line-height:18px!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
  #app #content .preview-record .preview-record-controls {align-self:center!important;align-items:center!important;gap:6px!important}
  #app #content .preview-record .preview-record-controls>button,
  #app #content .preview-record .preview-record-controls>details>summary {box-sizing:border-box!important;flex-direction:row!important;gap:6px!important;padding:6px 10px!important;border:1px solid var(--m-line)!important;background:white!important;min-width:0!important;height:32px!important;min-height:32px!important;line-height:18px!important}
  #app #content .preview-record .preview-record-controls>details>summary {width:32px!important;padding:0!important}
  #app #content .preview-record .preview-record-controls>button:hover {background:var(--m-hover)!important}
  #app #content .preview-record .preview-record-nav {padding-inline:12px!important;min-height:42px!important;gap:0!important}
  #app #content .preview-record .preview-record-nav>button {height:42px!important;min-height:42px!important;padding-inline:10px!important;gap:6px!important}
  #app #content .preview-record .preview-record-sections {padding-inline:12px!important;min-height:36px!important;background:var(--m-white)!important}
  #app #content .preview-record .preview-record-sections>button {height:34px!important;min-height:34px!important;padding-inline:10px!important;font-size:12px!important}
  @container record-header (max-width:760px) {
   #app #content .preview-record .client-hero-layout {grid-template-columns:40px minmax(0,1fr)!important;grid-template-areas:"avatar identity" "actions actions"!important;row-gap:14px!important}
   #app #content .preview-record .preview-record-controls {justify-self:stretch!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr)) 44px!important;width:100%!important;min-width:0!important}
   #app #content .preview-record .preview-record-controls>button {width:100%!important;height:44px!important;min-height:44px!important;padding-inline:6px!important;justify-content:center!important}
   #app #content .preview-record .preview-record-controls>button:nth-child(3) {grid-column:1!important;grid-row:2!important}
   #app #content .preview-record .preview-record-controls>button:nth-child(4) {grid-column:2!important;grid-row:2!important}
   #app #content .preview-record .preview-record-controls>details {grid-column:3!important;grid-row:1 / 3!important;align-self:center!important}
   #app #content .preview-record .preview-record-controls>details>summary {width:44px!important;height:44px!important;min-height:44px!important}
  }

  /* The directory is a toolbar and result list, not an additional page card. */
  #app #content .directory-workspace191 {padding:0!important;min-height:0!important;height:auto!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  #app #content .directory-tools191 {gap:12px!important;margin-bottom:12px!important}
  #app #content .directory-tools191 :is(input,select) {height:36px!important;min-height:36px!important;font-size:13px!important}
  #app #content .client-list-options414 {gap:12px!important;margin-bottom:16px!important}
  #app #content .client-list-options414 .client-alpha {justify-content:flex-start!important;gap:2px!important;min-height:32px!important;background:transparent!important;border-radius:0!important}
  #app #content .client-list-options414 .client-alpha button {min-width:28px!important;min-height:32px!important;height:32px!important;padding:4px 7px!important;font-size:12px!important}
  #app #content .client-list-options414 .client-columns414>summary {min-height:32px!important;height:32px!important;padding:6px 10px!important}
  #app #content #clientColumns414 {border-radius:0!important}
  #app #content #clientListResults {min-height:0!important;background:transparent!important}
  #app #content #clientListResults .client-table-wrap414 {min-height:0!important;background:white!important;border:1px solid var(--m-line)!important;border-radius:0!important}
  #app .top .preview-search-shortcut {border-radius:0!important}
  #app #content #taskList .workspace-row1747 :is(b,strong) {font-size:14px!important;font-weight:500!important}
  @media (pointer:fine) {
   #app #content #taskList .notes-search-tools :is(input:not([type=checkbox]),select,summary),
   #app #content #taskList .workspace-list-header>.notes-new-icon,
   #app #content #taskList .workspace-list-header>.task-proceeding-action>summary {height:36px!important;min-height:36px!important;padding:7px 12px!important;box-sizing:border-box!important}
   #app #content #taskList .workspace-list-header>.notes-new-icon,
   #app #content #taskList .workspace-list-header>.task-proceeding-action>summary {width:36px!important;padding:7px!important}
  }

  /* Reusable work panels and compact lists share the same boundary. */
  #app #content :is(.card,.panel,.dashboard-card,.case-overview-card,.case-section,.case-tile,.start-panel144,.nb-band-card,.health-panel) {
   background:var(--m-white)!important;border:1px solid var(--m-line)!important;border-radius:0!important;box-shadow:none!important;
  }
  #app #content .card .card {border-radius:0!important;padding-inline:0!important;background:transparent!important}
  #app #content .section-card289 {border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--m-white)!important;padding:16px 20px!important}
  #app #content .section-card289 b {font-size:14px!important;font-weight:600!important}
  #app #content .section-card289 small {font-size:13px!important;color:var(--m-muted)!important}
  #app #content .section-card289:hover {background:var(--m-selection)!important}
  #app #content :is(.start-panel-head144,.case-tile-heading) {min-height:44px!important;padding:10px 16px!important;background:transparent!important;border-bottom:0!important}
  #app #content .start-panel-head144 {padding-right:56px!important}
  #app #content .start-grid144 {grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
  #app #content :is(.start-page144,.start-grid144,.start-column144) {gap:var(--m-tile-gap)!important}
  #app #content .start-page144 .dashboard-drag-handle {width:32px!important;height:32px!important;opacity:.7!important;cursor:grab!important;touch-action:none!important}
  #app #content .start-page144 .dashboard-drag-handle:is(:hover,:focus-visible) {opacity:1!important;background:var(--m-hover)!important}
  @media (max-width:900px) {
   #app #content .start-grid144 {grid-template-columns:1fr!important}
  }
  #app #content :is(.start-panel-head144,.case-tile-heading) h2 {font-size:15px!important}
  #app #content :is(.start-list144,.start-filters144,.start-compensation144) {padding-inline:20px!important}
  #app #content .start-filters144 {padding-block:0 12px!important;border-bottom:1px solid var(--m-line)!important;gap:6px!important}
  #app #content .start-filters144 button {border:0!important;min-height:30px!important;padding:4px 10px!important;border-radius:0!important;background:transparent!important}
  #app #content .start-filters144 button:is(.active,[aria-pressed=true]) {background:var(--m-selection)!important;color:var(--m-blue)!important}
  #app #content .start-shortcuts144 {gap:8px!important;margin-block:16px 0!important}
  #app #content .start-shortcuts144>button {min-height:34px!important;height:34px!important;border-radius:0!important;padding-inline:12px!important;box-shadow:none!important}
  #app #content .nb-band-head {padding-inline:20px!important;min-height:48px!important}
  #app #content .nb-band {padding-inline:20px!important}
  #app #content .start-document144 {font-size:13px!important;padding-block:12px!important}
  #app #content .case-tile-body {padding-inline:20px!important}
  #app #content .case-finance-values {background:var(--m-canvas)!important;border-radius:0!important}
  #app #content .case-finance-values b {font-size:22px!important;font-weight:600!important}
  #app #content :is(.section-tabs285,.record-nav323,.client-tabs-wrap,.preview-record-tabs) button {font-size:13px!important;font-weight:500!important;box-shadow:none!important}
  #app #content :is(.section-tabs285,.record-nav323,.client-tabs-wrap,.preview-record-tabs) button:is(.active,[aria-selected=true]) {color:var(--m-blue)!important;font-weight:600!important}
  #app #content .preview-record .client-hero-layout {background:transparent!important}
  #app #content .preview-record .client-name-with-signal {font-size:20px!important;font-weight:600!important;line-height:26px!important;margin:0!important;letter-spacing:-.02em!important}
  #app #content .preview-record :is(.preview-record-nav,.preview-record-sections)>button:is(.active,[aria-current=page]) {box-shadow:inset 0 -2px var(--m-blue)!important;color:var(--m-blue)!important;font-weight:600!important}
  #app #content .preview-record :is(.preview-record-nav,.preview-record-sections)>button:focus-visible {outline:2px solid var(--m-blue)!important;outline-offset:-2px!important;border-radius:0!important}
  #app #content .preview-record :is(.preview-record-nav,.preview-record-sections)>button:focus:not(:focus-visible) {outline:none!important}
  #app #content .preview-record .preview-record-controls>button {font-size:12px!important;box-shadow:none!important;border-radius:0!important;border-color:var(--m-line)!important}
  #app #content .preview-record .client-hero {background:transparent!important}

  /* One case workspace: the selected tab is the heading, tools precede rows.
     Original values and controls remain in their original functional nodes. */
  #content:has(>.preview-record) .notes-workspace1747>.workspace-list-header,
  #content:has(>.preview-record) .notes-workspace1747 .workspace-list-identity {
   position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
   clip-path:inset(50%)!important;padding:0!important;margin:0!important;
  }
  #app #content:has(>.preview-record) .notes-workspace1747 {display:block!important;margin:0!important}
  #app #content:has(>.preview-record) .notes-search-tools {
   display:flex!important;align-items:center!important;gap:var(--m-space-controls)!important;padding:0!important;
   margin:0 0 var(--m-space-section)!important;min-height:0!important;
  }
  #app #content:has(>.preview-record) .notes-search-tools>label {margin:0!important;display:block!important}
  #app #content:has(>.preview-record) .notes-search-tools .workspace-search-label {flex:1!important;max-width:420px!important}
  #app #content:has(>.preview-record) .notes-search-tools .sr-only {
   position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;
  }
  #app #content:has(>.preview-record) .notes-search-tools :is(input,select,summary,[data-note-new]) {
   height:36px!important;min-height:36px!important;padding:7px 12px!important;box-sizing:border-box!important;
  }
  #app #content:has(>.preview-record) .notes-search-tools [data-note-new] {
   margin-left:auto!important;width:auto!important;display:inline-flex!important;align-items:center!important;gap:8px!important;
   background:var(--m-blue)!important;color:white!important;border:1px solid var(--m-blue)!important;white-space:nowrap!important;
  }
  #app #content:has(>.preview-record) .notes-search-tools [data-note-new] svg {width:16px!important;height:16px!important;stroke:currentColor!important}
  #app #content:has(>.preview-record) .workspace-list1747 {border:0!important;background:transparent!important}
  #app #content:has(>.preview-record) .workspace-card1748 {background:transparent!important;padding:0!important}
  #app #content:has(>.preview-record) .workspace-table-head1748 {background:transparent!important;font-size:12px!important;padding:10px 16px!important;color:var(--m-muted)!important}
  #app #content:has(>.preview-record) .workspace-row1747 {background:white!important;border:0!important;margin:0!important;padding:12px 16px!important;min-height:56px!important;box-shadow:none!important}
  #app #content:has(>.preview-record) .workspace-row1747:hover {background:var(--m-hover)!important}
  #app #content:has(>.preview-record) .workspace-row1747 b {font-size:14px!important;font-weight:500!important}
  #app #content:has(>.preview-record) .workspace-row1747 small {font-size:12px!important;line-height:18px!important;color:var(--m-muted)!important}

  #app #content [data-contact-history372] {display:flex!important;flex-direction:column!important;gap:0!important}
  #app #content .contact-history-head {min-height:0!important;margin:0!important;padding:0 0 12px!important}
  #app #content .contact-history-head>div:first-child {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
  #app #content .contact-history-tools372 {width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
  #app #content .contact-period327 {display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;color:var(--m-muted)!important;font-size:13px!important;width:auto!important}
  #app #content .contact-period327 select {width:136px!important;height:36px!important;min-height:36px!important;margin:0!important}
  #app #content .contact-history-tools372 button {width:auto!important;flex:0 0 auto!important;height:36px!important;min-height:36px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;padding:7px 12px!important;white-space:nowrap!important;background:var(--m-blue)!important;color:white!important;border:1px solid var(--m-blue)!important}
  #app #content .contact-history-tools372 button svg {width:16px!important;height:16px!important;stroke:currentColor!important}
  #app #content .contact-history-stats {order:3!important;display:flex!important;flex-wrap:wrap!important;gap:10px 24px!important;background:transparent!important;padding:16px!important;margin:0!important;border:0!important}
  #app #content .contact-history-stats .stat {background:transparent!important;border:0!important;border-radius:0!important;display:flex!important;flex-direction:row-reverse!important;align-items:baseline!important;padding:0!important;min-height:0!important;gap:8px!important;box-shadow:none!important}
  #app #content .contact-history-stats .stat+.stat {border:0!important}
  #app #content .contact-history-stats b {font-size:13px!important;line-height:20px!important;font-weight:600!important;color:var(--m-ink)!important;margin:0!important}
  #app #content .contact-history-stats span {font-size:12px!important;line-height:18px!important;color:var(--m-muted)!important;margin-top:2px!important}
  #app #content .contact-count-note327 {order:4!important;font-size:12px!important;line-height:18px!important;padding:0 16px!important;margin:0!important;color:var(--m-muted)!important}
  #app #content .contact-history-list {order:2!important;margin:0!important;padding:0!important;background:transparent!important}
  #app #content .contact-history-list h2 {font-size:12px!important;font-weight:500!important;color:var(--m-muted)!important;margin:0!important;padding:10px 16px!important}
  #app #content .contact-history-list>.task {background:white!important;border:0!important;min-height:56px!important;padding:12px 16px!important;margin:0!important;align-items:center!important}
  #app #content .contact-history-list>.task b {font-weight:500!important;font-size:14px!important}
  #app #content .contact-history-list>.task .muted {font-size:12px!important}
  #app #content .contact-history-list>:is(p,.muted) {background:white!important;margin:0!important;padding:20px 16px!important;font-size:13px!important}

  #app #content .preview-finance-tools508 {margin:0!important;padding:0 0 12px!important;min-height:0!important;max-width:none!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important}
  #app #content .preview-finance-tools508>div {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
  #app #content .preview-finance-tools508>h2 {order:-1!important;font-size:15px!important;line-height:24px!important;font-weight:600!important;margin:0 auto 0 0!important}
  #app #content .preview-finance-tools508>h2 svg {display:none!important}
  #app #content .preview-finance-tools508 .preview-accounting508 {order:0!important;margin-right:0!important}
  #app #content .preview-finance-tools508>.primary {order:2!important}
  #app #content .preview-finance-tools508>button {height:36px!important;min-height:36px!important}
  #app #content .client-finance-workspace {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;max-width:none!important}
  #app #content .preview-finance-heading-moved508 {display:none!important}
  #app #content .finance-accounts323[data-account-count508="1"]>.finance-account-sum321 {display:none!important}
  #app #content .client-finance-workspace>.case-section {padding:0!important;grid-column:1 / -1!important;background:transparent!important}
  #app #content .client-finance-workspace .case-section-heading {min-height:36px!important;padding:8px 16px!important;border:0!important}
  #app #content .client-finance-workspace .case-section-heading h2 {font-size:14px!important;line-height:20px!important;margin:0!important}
  #app #content .client-finance-workspace .case-section-heading h2 svg {display:none!important}
  #app #content .finance-account-columns323 {padding:8px 16px!important;background:transparent!important;font-size:12px!important;color:var(--m-muted)!important}
  #app #content .finance-account-row323 {padding:12px 16px!important;background:white!important;min-height:56px!important}
  #app #content .finance-account323 {border:1px solid var(--m-line)!important;margin:0 0 6px!important}
  #app #content .finance-account-row323 strong {font-size:14px!important;font-weight:500!important}
  #app #content .finance-account-row323 small {font-size:12px!important;line-height:18px!important}
  #app #content .finance-account-sum321 {padding:12px 16px!important;border:0!important;background:transparent!important;font-size:12px!important}
  #app #content .finance-debts323 {padding:16px!important;border:0!important;border-radius:0!important;background:white!important}
  #app #content .preview-bank-rows {display:grid!important;gap:0!important;border:1px solid var(--m-line)!important}
  #app #content .preview-bank-rows>button {min-height:56px!important;padding:12px 16px!important;grid-template-columns:18px minmax(0,1fr) auto!important;background:white!important;border:0!important}
  #app #content .preview-bank-rows>p {background:white!important;padding:20px 16px!important;margin:0!important}
  #app #content .preview-transaction-icon {min-height:18px!important;background:transparent!important}
  #app #content .preview-transaction-info strong {font-size:13px!important;font-weight:500!important}
  #app #content .preview-transaction-info small {font-size:12px!important}
  #app #content .preview-bank-rows b {font-size:13px!important;font-weight:500!important}
  #app #content .finance-overview-links {display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:0!important}
  #app #content .finance-overview-links button {background:white!important;border:0!important;padding:12px 16px!important;min-height:40px!important}
  @media (max-width:700px) {
   #app #content {width:100%!important;margin:0!important;padding:16px!important}
   #app #content .preview-finance-tools508>h2 {flex-basis:100%!important}
   #app #content .preview-finance-tools508 {justify-content:flex-start!important}
   #app #content:has(>.preview-record) .notes-search-tools {flex-wrap:wrap!important}
   #app #content:has(>.preview-record) .notes-search-tools .workspace-search-label {flex-basis:100%!important;max-width:none!important}
   #app #content .contact-history-stats {gap:12px 24px!important}
   #app #content .contact-history-stats .stat:nth-child(3) {border-left:0!important}
  }

  /* Case sections share the same compact white work panel.
     Card nodes stay in place so existing reorder, expand and edit handlers work. */
  #app #content .case-overview .case-tile-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--m-tile-gap)!important;align-items:start!important}
  #app #content .case-overview .case-tile {background:white!important;padding:0!important;min-height:256px!important;height:256px!important;border:1px solid var(--m-line)!important}
  #app #content .case-overview .case-tile-open357 {height:auto!important}
  #app #content .case-overview .case-tile-heading {height:44px!important;min-height:44px!important;flex:0 0 44px!important;padding:10px 16px!important;border-bottom:1px solid var(--m-line)!important}
  #app #content .case-overview .case-tile-heading h2 {font-size:14px!important;font-weight:600!important}
  #app #content .case-overview .case-tile-heading h2 svg {display:none!important}
  #app #content .case-overview .case-tile-body {padding:0!important;gap:0!important}
  #app #content .case-overview .case-tile-content357 {max-height:none!important;flex:1!important;gap:0!important;overflow:hidden!important}
  #app #content .case-overview .case-tile-open357 .case-tile-content357 {flex:none!important;overflow:visible!important}
  @container(max-width:799px) {
   #app #content .case-overview .case-tile-grid {grid-template-columns:minmax(0,1fr)!important}
  }
  #app #content .case-overview :is(.case-group-fields,.case-finance-accounts328) {display:grid!important;gap:6px!important;padding:0!important}
  #app #content .case-overview :is(.case-fact,.case-list-row) {background:white!important;border:0!important;padding:12px 16px!important;min-height:56px!important;box-sizing:border-box!important;margin:0!important}
  #app #content .case-overview .case-tile-content357>.case-list-row {margin-bottom:6px!important}
  #app #content .case-overview :is(.case-fact,.case-list-row):hover {background:var(--m-hover)!important}
  #app #content .case-overview :is(.case-fact,.case-list-row) b {font-size:14px!important;font-weight:500!important}
  #app #content .case-overview :is(.case-fact,.case-list-row) small {font-size:12px!important;font-weight:400!important;line-height:18px!important}
  #app #content .case-overview .case-tile-content357:has(>.case-finance-values) {display:flex!important;flex-direction:column!important}
  #app #content .case-overview .case-finance-values {order:-1;flex:1 0 auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;padding:14px 16px!important;margin:0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--m-line)!important}
  #app #content .case-overview .case-finance-values>.case-finance-value {display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;padding:0 16px 0 0!important;margin:0!important;min-height:48px!important;border:0!important;background:transparent!important;text-align:left!important}
  #app #content .case-overview .case-finance-values>.case-finance-value+* {padding:0 0 0 16px!important;border-left:1px solid var(--m-line)!important}
  #app #content .case-overview .case-finance-values b {font-size:18px!important;font-weight:600!important;line-height:24px!important}
  #app #content .case-overview .case-finance-values button b {color:var(--ui-brand)!important}
  #app #content .case-overview .case-finance-values small {font-size:12px!important;font-weight:400!important;line-height:18px!important}

  /* Tables use one surface and quiet row separators. */
  #app #content :is(.finance-account323,.preview-bank-rows>button,.contact-history-list>.task,.notes-list-row1747,.case-fact,.case-list-row) {border-bottom:1px solid var(--m-line)!important;margin-bottom:0!important}
  #app #content :is(.preview-bank-rows,.case-group-fields,.case-finance-accounts328) {gap:0!important}
  #app #content .case-overview .case-tile-all327 {margin:0!important;padding:6px 16px!important;background:transparent!important;border:0!important;border-top:1px solid var(--m-line)!important;min-height:36px!important;align-self:stretch!important}
  #app #content .case-overview .case-tile-all327[hidden] {display:none!important}

  #app #content .start-page144 .start-panel144 {background:white!important;min-height:0!important;border:1px solid var(--m-line)!important}
  #app #content .start-page144 .start-panel-head144 {padding:8px 48px 8px 16px!important;min-height:44px!important}
  #app #content .start-page144 .start-panel-head144 h2 {font-size:14px!important}
  #app #content .start-page144 :is(.start-list144,.start-filters144) {padding-inline:0!important}
  #app #content .start-page144 .start-list144 {display:grid!important;gap:0!important}
  #app #content .start-page144 :is(.start-document144,.start-row144) {padding:12px 16px!important;background:white!important;border:0!important;min-height:56px!important}
  #app #content .start-page144 .start-row144 {padding-block:9px!important}
  #app #content .start-page144 .start-compensation144 {padding:16px!important;background:white!important}
  #app #content .start-page144 .start-compensation144 strong {font-size:18px!important;line-height:26px!important;font-weight:500!important}
  #app #content .nb-day b,#app #desktopNoticeBtn span {border-radius:0!important}
  #app #content .nb-day.nb-today {background:var(--m-hover)!important}
  #app #content .nb-day.nb-today b {background:var(--m-blue)!important}

  /* The same input, button, table and popover proportions across feature views. */
  #app #content :is(.toolbar,.head,.actions,.form-actions,.start-shortcuts144,.finance-controls338,.document-hub-actions291) > button,
  #app #content button:is(.primary,.secondary),
  #app #content .nd-btn {
   border-radius:0!important;box-shadow:none!important;min-height:34px!important;padding:6px 12px!important;font-size:13px!important;
  }
  #app #content button.primary {background:var(--m-blue)!important;border-color:var(--m-blue)!important;color:#fff!important}
  #app #content button.primary:hover {background:var(--m-blue-hover)!important}
  #app #content button.primary svg,#app #content [data-note-new] svg {color:inherit!important;stroke:currentColor!important}
  #app #content :is(table,table th,table td) {border-color:var(--m-line)!important}
  #app #content table th:not(.lh84-page *) {font-size:12px!important;font-weight:500!important;color:var(--m-muted)!important;text-transform:none!important;letter-spacing:0!important;background:var(--m-canvas)!important}
  #app #content table td:not(.lh84-page *) {font-size:13px!important}
  #app #content table tr:hover>td:not(.lh84-page *) {background-color:var(--m-hover)}
  #app :is(dialog[open],.modal[role=dialog]) {border:0!important;border-radius:0!important;box-shadow:0 12px 40px #17243a24!important;color:var(--m-ink)!important}
  #app :is([role=menu],.nd-pop,.nb-pop) {border:0!important;border-radius:0!important;box-shadow:0 8px 28px #17243a24!important}
  #app [role=menu] :is(button,[role=menuitem]) {font-size:13px!important;font-weight:450!important;text-align:left!important;box-shadow:none!important}
  /* Dialogs are mounted outside #app. Keep the same design at that boundary. */
  body :is(.modal,dialog,.side-panel1745) {
   --ui-brand:var(--m-blue)!important;--ui-ink:var(--m-ink)!important;--ui-text:var(--m-ink)!important;
   --ui-muted:var(--m-muted)!important;--ui-line:var(--m-line)!important;--ui-soft:var(--m-hover)!important;
   --ui-paper:var(--m-canvas)!important;--ui-surface-soft:var(--m-hover)!important;--ui-icon:var(--m-muted)!important;
   font-family:var(--m-font)!important;font-size:14px!important;color:var(--m-ink)!important;
  }
  .modal :is(button,summary,input,select,textarea),dialog :is(button,summary,input,select,textarea) {
   font-family:var(--m-font)!important;font-size:13px!important;font-weight:400!important;border-radius:0!important;
  }
  .modal :is(input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file]),select) {min-height:36px!important}
  .modal label {font-size:12px!important;font-weight:500!important;color:var(--m-muted)!important}
  .modal :is(h2,h3) {font-size:16px!important;font-weight:600!important;letter-spacing:-.02em!important}
  .modal .primary {background:var(--m-blue)!important;border-color:var(--m-blue)!important;color:white!important}
  .modal :is(.card,.mandreo-address-structured1613) {background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding-inline:0!important}
  .modal .history-current-list199>div {background:var(--m-hover)!important;border:0!important;border-radius:0!important}
  .modal :is(button,input,textarea,select):focus-visible {outline:2px solid var(--m-blue)!important;outline-offset:2px!important}
  #taskModal .task-description336 {grid-template-columns:max-content minmax(0,1fr)!important;column-gap:12px!important;row-gap:8px!important;align-items:center!important}
  #taskModal .task-description336>.voice-recorder {width:auto!important;max-width:100%!important;min-width:0!important;justify-self:end!important;flex-wrap:wrap!important;gap:6px!important}
  #taskModal .task-description336>.voice-recorder>[hidden] {display:none!important}
  #taskModal #taskAllDay414::before,#taskModal #taskAllDay414::after {border-radius:0!important}
  @media (max-width:600px) {
   #taskModal .task-description336 {grid-template-columns:minmax(0,1fr)!important}
   #taskModal .task-description336>label {grid-column:1!important;grid-row:1!important}
   #taskModal .task-description336>.voice-recorder {grid-column:1!important;grid-row:2!important;justify-self:start!important}
   #taskModal .task-description336>textarea {grid-column:1!important;grid-row:3!important}
  }

  /* Documents: calm status, compact rows, original remains dominant. */
  #app #content .document-hub289 .document-hub-empty291 {gap:12px!important;margin-bottom:16px!important}
  #app #content .document-hub289 button.document-hub-drop324 {display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:4px!important;min-height:88px!important;height:auto!important;padding:var(--m-space-panel)!important;text-align:left!important;align-content:center!important;justify-items:start!important}
  #app #content .document-hub289 button.document-hub-drop324 svg {grid-column:1!important;grid-row:1 / 3!important;align-self:center!important;width:24px!important;height:24px!important}
  #app #content .document-hub289 button.document-hub-drop324 b {grid-column:2!important;grid-row:1!important;font-size:14px!important;line-height:20px!important;font-weight:600!important}
  #app #content .document-hub289 button.document-hub-drop324 span {grid-column:2!important;grid-row:2!important;font-size:12px!important;line-height:18px!important}
  #app #content .document-hub289 .nd-empty {padding:var(--m-space-panel)!important;text-align:left!important;background:var(--m-white)!important;font-size:13px!important;line-height:20px!important}
  #app #content .document-hub289 .nd-empty strong {font-size:14px!important;font-weight:500!important;line-height:20px!important;margin-bottom:4px!important}
  #app #content .document-hub289 .nd-list {gap:16px!important}
  #app #content:has(.document-hub-empty291:not([hidden])) .document-drop-area:has(>span:empty) {display:none!important}
  @media(pointer:fine) and (min-width:760px) {
   #app #content .document-hub289 .nd-filter {height:36px!important;min-height:36px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;padding:7px 12px!important}
  }

  /* Compensation uses the same data scale and panel spacing as case lists. */
  #app #content .comp-overview145 .invoice-office-heading189 {justify-content:flex-end!important;align-items:center!important;margin:0 0 12px!important}
  /* Keep the page identity available to assistive technology without covering tabs. */
  @media(min-width:1000px) {
  #app #content .comp-overview145>.invoice-office-heading189>div:first-child {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;pointer-events:none!important}
  }
  #app #content .comp-overview145 .invoice-office-heading189 [data-export] {background:#fff!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important}
  @media(min-width:1000px) {
   #app #content .comp-overview145:has(>.invoice-office-nav189) {position:relative!important}
   #app #content .comp-overview145>.invoice-office-heading189 {position:absolute!important;right:0!important;top:0!important;height:44px!important;margin:0!important;z-index:1}
   #app #content .comp-overview145>.invoice-office-nav189 {min-height:44px!important;padding-right:132px!important;align-items:center!important}
  }
  #app #content .comp-overview145 .invoice-summary189 {padding:12px 0!important;margin:0 0 8px!important}
  #app #content .comp-overview145 .invoice-summary189>div {padding-inline:16px!important}
  #app #content .comp-overview145 .invoice-summary189 span {font-size:12px!important;line-height:18px!important}
  #app #content .comp-overview145 .invoice-summary189 strong {font-size:20px!important;line-height:26px!important;margin-top:4px!important;font-weight:600!important;letter-spacing:0!important}
  #app #content .comp-overview145 .comp-sum-note191 {font-size:12px!important;line-height:18px!important;margin:0 0 12px!important}
  #app #content .comp-overview145 .comp-new-action191 {margin:0 0 12px!important}
  #app #content .comp-overview145>.card {padding:16px!important;margin:16px 0!important}
  #app #content .comp-overview145>.card h2 {font-size:15px!important;margin:0 0 8px!important}
  #app #content .comp-overview145>.card .muted {font-size:13px!important;line-height:20px!important}
  #app #content .comp-overview145>.card .task {padding:10px 0 0!important;min-height:0!important}
  #app #content .comp-overview145>.card .tag {border-radius:0!important;font-size:12px!important}
  #app #content .comp-overview145>details {padding:10px 16px!important;margin:8px 0!important}
  #app #content .comp-overview145>details>summary {font-size:13px!important;font-weight:500!important;line-height:20px!important}
  @media (pointer:fine) {
   #app #content .comp-overview145 :is(.comp-new-action191,.comp-heading-actions191,.task)>button {min-height:36px!important;height:36px!important;padding:7px 12px!important}
   #app #content :is(.address-header-actions,.address-actions263) button {min-width:32px!important;width:32px!important;min-height:32px!important;height:32px!important;flex-basis:32px!important;padding:7px!important}
   #app #content .address-header-actions button {min-width:36px!important;width:36px!important;min-height:36px!important;height:36px!important;flex-basis:36px!important;padding:8px!important}
   #app #content :is(.address-header-actions,.address-actions263) svg {width:18px!important;height:18px!important}
   #app #content .address-workspace :is(.address-columns,.address-entry263) {grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) 140px!important;gap:12px!important}
   #app #content .address-workspace .address-entry263 {padding:12px 16px!important}
   #app #content .address-workspace .address-entry263 p {font-size:13px!important;line-height:20px!important;margin-block:0!important}
   #app #content .address-workspace .address-identity h2 {font-size:14px!important;font-weight:500!important;line-height:20px!important}
   #app #content .address-workspace .address-extra {margin-top:0!important;font-size:12px!important}
   #app #content .address-workspace .address-extra>summary {min-height:24px!important;padding:2px 0!important;font-size:12px!important;line-height:20px!important}
   #app #content .address-workspace .address-columns {font-size:12px!important;padding:10px 16px!important}
   #app #content .address-workspace .address-filter-state147 {margin:8px 0!important;font-size:12px!important}
   #app #content .address-workspace .address-alpha147 {padding:0!important}
   #app #content .address-workspace .address-alpha147 button {height:32px!important;min-height:32px!important;font-size:12px!important}
  }
  @media (max-width:700px) {
   #app #content .address-workspace .address-entry263 {grid-template-columns:minmax(0,1fr) auto!important}
  }
  .nd-root {--nd-blue:var(--m-blue)!important;--nd-ink:var(--m-ink)!important;--nd-sub:var(--m-muted)!important;--nd-line:var(--m-line)!important;--nd-soft:var(--m-hover)!important;font-size:14px!important;gap:20px!important}
  .nd-btn,.nd-filter {font-size:13px!important;border-radius:0!important;font-weight:500!important}
  .nd-filter {height:32px!important;padding-inline:12px!important}
  .nd-banner {padding:16px 20px!important;border-radius:0!important;background:var(--m-selection)!important;color:var(--m-ink)!important;gap:20px!important}
  .nd-banner strong {font-size:15px!important;font-weight:600!important;line-height:22px!important}
  .nd-banner .nd-bsub {color:var(--m-muted)!important;font-size:13px!important}
  .nd-banner .nd-btn {background:var(--m-blue)!important;border-color:var(--m-blue)!important;color:#fff!important}
  .nd-banner .nd-key {background:transparent!important}
  .nd-table,.nd-panel,.nd-queue {border:0!important;border-radius:0!important;box-shadow:none!important}
  .nd-head {font-size:12px!important;letter-spacing:0!important;text-transform:none!important;background:var(--m-white)!important;font-weight:500!important}
  .nd-row {min-height:56px!important;padding-block:10px!important}
  .nd-title {font-size:14px!important;font-weight:500!important}
  .nd-sub,.nd-state,.nd-found {font-size:12px!important;line-height:18px!important}
  .nd-person {font-size:13px!important;font-weight:500!important}
  .nd-chip {font-size:12px!important;height:24px!important;border-radius:0!important;font-weight:500!important}
  .nd-form label,.nd-sec h4 {font-size:12px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
  .nd-form input,.nd-form select,.nd-filters input,.nd-filters select,.nd-search input {height:36px!important;min-height:36px!important;font-size:13px!important;border-radius:0!important}
  html[data-interface="desktop"] #app #content .nd-all .nd-filters .nd-document-sort511 {width:260px!important;max-width:100%!important}
  .nd-panel>header,.nd-sec,.nd-foot {padding:16px 20px!important}
  .nd-view {background:#edf0f6!important;border-radius:0!important}
  .nd-quote {border-left-width:1px!important}
  .nd-drop {padding:16px 20px!important;font-size:13px!important;background:var(--m-hover)!important}
  .nd-note {font-size:13px!important}
  /* The empty inbox already has its upload target. Keep status feedback,
     but show the repeated upload control only when the list has content. */
  #content:has(.document-hub-empty291:not([hidden])) .document-drop-area {border:0!important;padding:0!important;min-height:0!important}
  #content:has(.document-hub-empty291:not([hidden])) .document-drop-area>button {display:none!important}
  .nd-split {grid-template-columns:minmax(0,1fr) 300px!important;gap:20px!important;container:document-split / inline-size}
  .nd-split>.nd-table {container:document-list / inline-size}
  .nd-ahead,.nd-arow {padding-inline:16px!important;gap:12px!important}
  .nd-ahead {font-size:12px!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important}
  .nd-arow.nd-with-person.nd-pickable,.nd-ahead.nd-with-person.nd-pickable {grid-template-columns:20px minmax(160px,1.7fr) minmax(80px,.9fr) minmax(90px,1fr) 44px 100px!important}
  .nd-cell {font-size:13px!important}
  .nd-arow[aria-current=true] {background:var(--m-selection)!important;box-shadow:inset 1px 0 var(--m-blue)!important}
  .nd-detail {border:0!important;border-radius:0!important;font-size:13px!important}
  .nd-shot {background:var(--m-rail)!important}
  .nd-dhead,.nd-dlinked,.nd-dactions {padding:16px!important;gap:8px!important}
  .nd-dfacts dt,.nd-dfacts dd {padding:10px 16px!important;font-weight:400!important}
  .nd-dfacts dd {font-weight:500!important}
  .nd-tile {border:0!important;box-shadow:none!important;border-radius:0!important}
  .nd-tile span,.nd-fhead {font-size:12px!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important}
  @container document-list (max-width:680px) {
   .nd-ahead.nd-with-person {display:none!important}
   .nd-arow.nd-with-person.nd-pickable {grid-template-columns:20px minmax(0,1fr) auto!important;gap:4px 12px!important;min-height:92px!important}
   .nd-arow.nd-with-person>.nd-pickcell {grid-column:1!important;grid-row:1 / 4!important}
   .nd-arow.nd-with-person>.nd-doc {grid-column:2 / 4!important;grid-row:1!important}
   .nd-arow.nd-with-person>.nd-cell:nth-child(3) {grid-column:2!important;grid-row:2!important}
   .nd-arow.nd-with-person>.nd-cell:nth-child(4) {grid-column:2!important;grid-row:3!important;color:var(--m-muted)!important;font-size:12px!important}
   .nd-arow.nd-with-person>.nd-num {grid-column:3!important;grid-row:2!important}
   .nd-arow.nd-with-person>.nd-stand {grid-column:3!important;grid-row:3!important}
  }
  @media (max-width:1180px) {.nd-split {grid-template-columns:1fr!important}}

  /* User decision 25.11.2026: square UI, including feature and dialog boundaries. */
  #app :is(button,input,select,textarea,summary,[role=button],[role=menu],.card,.panel,.stat,.case-section,.case-tile,.preview-record,.preview-record-avatar,.client-avatar,.settings-category,.comp-guidance,.comp-month-details),
  body :is(dialog,.modal,.side-panel1745,.workspace-menu-panel,.nb-pop,.nd-pop),
  .nd-root :is(.nd-table,.nd-panel,.nd-detail,.nd-row,.nd-chip,.nd-filter,.nd-btn,.nd-banner,.nd-shot) {
   border-radius:0!important;
  }

  /* One spacing system for every office work surface, including case subpages.
     Group spacing, control spacing and text spacing have distinct, shared roles. */
  #app #content :is(.client-finance-workspace,.client-reports-shell1609,.client-report-choices,.saved-reports170,.notes-workspace1747,.address-workspace,.automation-workspace,.settings-grid1650,.record-sections310,.health-shell,.health-detail-grid,.health-overview-grid,.finance-home-grid,.nd-root,.nd-split) {gap:var(--m-space-section)!important}
  #app #content :is(.saved-reports170,.comp-overview145>.card,.comp-overview145>details) {margin-block:0 var(--m-space-section)!important;padding:var(--m-space-panel)!important;border-radius:0!important}
  #app #content :is(.saved-reports170,.client-report-choice,.correspondence-table-scroll411,.notes-empty,.address-entry263) {border-radius:0!important;border-color:var(--m-line)!important}
  #app #content :is(.client-report-choice,.section-card289) {padding:var(--m-space-panel)!important;gap:var(--m-space-controls)!important}
  #app #content :is(.notes-search-tools,.directory-tools191,.document-hub-tools289,.document-hub-toolbar318,.address-toolbar,.automation-filters,.contact-history-tools372) {gap:var(--m-space-controls)!important;margin:0 0 var(--m-space-section)!important;padding:0!important;align-items:center!important}
  #app #content :is(.notes-search-tools,.directory-tools191,.document-hub-tools289,.address-toolbar,.automation-filters) :is(input:not([type=checkbox],[type=radio]),select,summary) {box-sizing:border-box!important;min-height:36px!important;height:36px!important}
  #app #content :is(.preview-finance-tools508,.contact-history-tools372) {margin:0 0 var(--m-space-section)!important;padding:0!important}
  #app #content .contact-history-head {padding:0!important}
  #app #content :is(.client-list-options414,.court-overview-status,.record-section310>header) {margin-bottom:var(--m-space-section)!important}
  #app #content .document-hub289>:is(.document-scan331,.document-source-settings324) {margin-bottom:var(--m-space-section)!important}
  #app #content .comp-overview145 {display:block!important}
  #app #content .comp-overview145>:is(.invoice-office-nav189,.invoice-summary189,.comp-sum-note191,.comp-new-action191,.card,details) {margin:0 0 var(--m-space-section)!important}
  #app #content .comp-overview145>[data-bank-notice]:empty {display:none!important}
  #app #content .comp-overview145>[data-bank-notice]:not(:empty) {margin:0 0 var(--m-space-section)!important}
  #app #content .address-workspace {display:grid!important;gap:var(--m-space-section)!important}
  #app #content .address-workspace>:is(.directory-tools191,.address-alpha147,.address-filter-state147,.address-columns,.address-list263) {margin:0!important}
  #app #content .document-hub289 .document-hub-empty291 {margin-bottom:var(--m-space-section)!important}
  #app #content .document-hub289 .nd-list {gap:var(--m-space-section)!important}
  #app #content .document-overview287.nd-akte {row-gap:var(--m-space-section)!important;grid-template-columns:var(--case-list-width,62%) var(--m-space-section) minmax(0,1fr)!important}
  #app #content .nd-akte>.nd-case-tools {gap:var(--m-space-section)!important}
  #app #content .nd-case-filters {gap:var(--m-space-controls)!important}
  #app #content .nd-akte>.nd-detail .nd-shot {padding:var(--m-space-panel) var(--m-space-panel) 0!important}
  #app #content :is(.nd-banner,.nd-drop,.nd-panel>header,.nd-sec,.nd-foot) {padding:var(--m-space-panel)!important}
  #app #content :is(.notes-empty,.nd-empty) {padding:var(--m-space-panel)!important}
  #app #content .saved-reports170 h2 {margin:0 0 var(--m-space-controls)!important}
  #app #content .saved-reports170 section>.removed-reports184 {margin-top:var(--m-space-section)!important}
  #app #content .client-report-choices {margin:0 0 var(--m-space-section)!important}
  #app #content .correspondence410 {display:block!important}
  #app #content .correspondence410>.client-reports-head1609 {height:0!important;min-height:0!important;margin:0!important;padding:0!important;position:relative!important}
  #app #content .correspondence410>.client-reports-head1609>div:first-child {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
  #app #content .correspondence410>.client-reports-head1609>.row {margin:0!important;gap:var(--m-space-controls)!important;align-items:center!important}
  #app #content .correspondence410>.client-reports-head1609 button {height:36px!important;min-height:36px!important;margin:0!important}
  #app #content .correspondence410 #correspondence283 {display:block!important}
  #app #content .correspondence-search411 {margin:0 0 var(--m-space-section)!important}
  #app #content .correspondence-search411 label {margin:0!important;padding-block:0!important}
  #app #content .correspondence-search411 input {height:36px!important;min-height:36px!important}
  #app #content :is(.correspondence-table-scroll411,.correspondence-footer411,.correspondence410 [data-mail-status]) {grid-column:1 / -1!important;margin:0!important}
  #app #content .correspondence410 [data-mail-status]:empty {display:none!important}
  #app #content .correspondence-empty411 {margin:0!important;padding:0!important}
  #app #content .correspondence-empty411 .notes-empty {text-align:left!important;justify-items:start!important;align-items:start!important;min-height:0!important;padding:var(--m-space-panel)!important}
  #app #content .correspondence-empty411 .notes-empty svg {display:none!important}
  #app #content .correspondence-empty411 .notes-empty :is(h2,h3,p) {margin:0 0 var(--m-space-text)!important}
  /* Status must not insert a temporary row above the case header. */
  #app .client-loading327 {position:fixed!important;top:60px!important;right:var(--m-space-section)!important;z-index:20!important;margin:0!important;padding:8px 12px!important;pointer-events:none!important;border-radius:0!important}
  #app #content .preview-record :is(.preview-record-nav,.preview-record-sections)>button {font-weight:500!important}
  #app #content .preview-record :is(.preview-record-nav,.preview-record-sections)>button:is(.active,[aria-current=page]) {font-weight:500!important}
  /* The same component keeps its measurements in the case and office views. */
  #app #content :is(.notes-grid1747,.record-facts310,.record-fields310) {gap:var(--m-space-section)!important}
  #app #content :is(.workspace-table-head1748,.workspace-row1747) {gap:var(--m-space-panel)!important;padding:12px var(--m-space-panel)!important}
  #app #content .workspace-table-head1748 {font-size:12px!important;padding-block:10px!important}
  #app #content .workspace-row1747 :is(b,strong) {font-size:14px!important;font-weight:500!important}
  #app #content .workspace-row1747 small {font-size:12px!important;line-height:18px!important}
  #app #content .record-page310 {margin:0!important}
  #app #content .record-page310[data-record-page310]>h1 {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;margin:0!important}
  #app #content :is(.record-section310,.finance173-panel,.finance-legal-help,.settings-card,.private-address396,.health-read-card) {border:1px solid var(--m-line)!important;border-radius:0!important;padding:var(--m-space-panel)!important;box-shadow:none!important}
  #app #content .document-hub-empty291 {border-radius:0!important}
  #app #content .preview-record .preview-record-controls,
  #app #content .preview-record .preview-record-controls>button {gap:var(--m-space-controls)!important}
  #app #content :is(.directory-tools191,.address-tools263)>label {gap:var(--m-space-text)!important}
  #app #content .settings-detail {max-width:none!important;margin:0!important}
  #app #content .settings-detail-top {margin-bottom:var(--m-space-section)!important;gap:var(--m-space-controls)!important}
  #app #content .settings-heading h1 {margin:0 0 var(--m-space-text)!important}
  #app #content .settings-heading p {margin:0!important}
  #app #content .settings-card {margin:0 0 var(--m-space-section)!important}
  #app #content :is(.settings-form,.settings-fields,.settings-profile,.settings-profile-names) {gap:var(--m-space-section)!important}
  #app #content .settings-card form label {gap:var(--m-space-text)!important}
  #app #content .settings-card h2 {margin:0 0 var(--m-space-controls)!important}
  #app #content .settings-card p {margin:0 0 var(--m-space-section)!important}
  #app #content .settings-save p {margin:0!important}
  #app #content #clientTaskList .card.workflow-list {padding:0!important;background:transparent!important;border:0!important}
  #app #content #clientTaskList .workflow-list-tools {margin:0 0 var(--m-space-section)!important;gap:var(--m-space-controls)!important}
  #app #content #clientTaskList .workflow-list-tools :is(input,select) {height:36px!important;min-height:36px!important}
  #app #content #clientTaskList .workflow-list>.workflow-list-tools+div {border-radius:0!important}
  #app #content .comp-overview145 .comp-new-action191 {margin:0!important;gap:var(--m-space-controls)!important;flex-wrap:wrap!important}
  #app #content[data-finance-work193] .finance173-panel {border-radius:0!important;padding:var(--m-space-panel)!important}
  #app #content :is(.finance173,.finance173-grid)>.finance173-panel,
  #app #content .client-finance-workspace>.finance173-panel {margin:0!important}
  #app #content .record-section310 h2 {font-size:16px!important}
  #app #content .record-facts310+.record-facts310 {margin-top:var(--m-space-section)!important}
  #app #content .record-facts310 dt {margin-bottom:var(--m-space-text)!important}
  #app #content .record-section310 .record-rows310>p {margin:0!important}
  #app #content .record-rows310 article {padding:var(--m-space-panel) 0!important;gap:var(--m-space-section)!important}
  #app #content .record-rows310 p {margin:var(--m-space-text) 0!important}
  #app #content :is(.health-title-row,.finance-heading182) {margin:0!important;gap:var(--m-space-controls)!important}
  #app #content .health-overview-tile {padding:var(--m-space-panel) 40px var(--m-space-panel) var(--m-space-panel)!important}
  #app #content .health-shell>.health-title-row h1 {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;margin:0!important}
  #app #content .health-shell>.health-title-row p {margin:0!important}
  #app #content .address-workspace {margin-top:var(--m-space-section)!important}
  #app #content .address-alpha147 {border-radius:0!important}
  #app #content :is(#sectionHeader285,.court-header191) {margin-bottom:var(--m-space-section)!important}
  #app #content #sectionHeader285>.section-tabs285 {margin:0!important}
  /* Finance navigation has one fixed anchor; tools and content follow the same rhythm. */
  @media (min-width:901px) and (pointer:fine) {
   /* The shared finance header must be compact before the delayed action docking runs. */
   html[data-interface="desktop"] body[data-page="assets"] #app #content #sectionHeader285:has(>.finance-controls338)>.court-heading-row191 {
    position:relative!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;
   }
   html[data-interface="desktop"] body[data-page="assets"] #app #content #sectionHeader285:has(>.finance-controls338) .court-heading-identity191 {min-height:0!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content #sectionHeader285:has(>.finance-controls338) .court-heading-identity191>h1 {
    position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;
    overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
   }
   html[data-interface="desktop"] body[data-page="assets"] #app #content #sectionHeader285:has(>.finance-controls338) .court-heading-identity191>:is(.court-eyebrow191,.court-heading-context191) {display:none!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content .finance-navigation338 {margin:0!important;padding-right:200px!important}
   /* Reserve the widest menu label so selecting a subview does not reflow the tabs. */
   html[data-interface="desktop"] body[data-page="assets"] #app #content .finance-navigation338>.finance-more338 {flex:0 0 210px!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content .finance-controls338:has(>.finance-overview-actions289) {position:relative!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content .finance-controls338>.finance-overview-actions289 {position:absolute!important;z-index:4!important;top:4.5px!important;right:0!important;left:auto!important;margin:0!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content .finance-controls338>.finance-overview-actions289>button {height:36px!important;min-height:36px!important;padding:0 14px!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content :is(#payablesWorkspace327,.finance-applications163) {
    display:flex!important;flex-direction:column!important;gap:var(--m-space-section)!important;max-width:none!important;margin:0!important;
   }
   html[data-interface="desktop"] body[data-page="assets"] #app #content :is(#payablesWorkspace327,.finance-applications163)>* {margin:0!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content :is(.payables-content327,.application-toolbar191,.application-upload178,.application-help191) {padding:var(--m-space-panel)!important;border-radius:0!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content .applications-list163 {gap:var(--m-space-section)!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content :is(.bank-access-workspace327,.receipt-hub178.nb-belege) {gap:var(--m-space-section)!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content .bank-access-head327 {gap:var(--m-space-controls)!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content .bank-access-head327 h1 {
    position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;
    overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;
   }
   html[data-interface="desktop"] body[data-page="assets"] #app #content .nd-fin .nd-search input {margin:0!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content .nb-belege .nb-bsplit {gap:var(--m-space-section)!important}
   html[data-interface="desktop"] body[data-page="assets"] #app #content .nb-belege :is(.receipt-toolbar178 input,.receipt-options510>summary) {
    box-sizing:border-box!important;height:36px!important;min-height:36px!important;line-height:20px!important;
   }
   html[data-interface="desktop"] body[data-page="assets"] #app #content .nb-belege :is(.nb-bleft,.receipt-summary178 button,.receipt-options510>summary) {border-radius:0!important}
  }
  #app #content .client-court-reports {display:grid!important;gap:var(--m-space-section)!important}
  #app #content .client-court-reports>:is(h2,.saved-reports170,.client-report-choices,.case-section) {margin:0!important}
  #app #content .client-court-reports .case-section-body {padding:var(--m-space-panel)!important}
  #app #content .saved-reports170>section:empty {display:none!important}
  #app #content .finance173-panel>p {margin:var(--m-space-section) 0!important}
  #app #content .finance173>.card {padding:var(--m-space-panel)!important}
  #app #content .finance173>.card p {margin:var(--m-space-controls) 0 0!important}
  #app #content .finance173>.card h2 {margin:0!important}
  #app #content .directory-workspace191>.workflow-list>.muted {margin:0 0 var(--m-space-section)!important}
  #app #content .court-overview .court-entry {margin-bottom:0!important}
  @media(pointer:fine) {
   #app #content :is(.record-section310>header,.private-address396>.row,.finance-heading182) button {min-height:36px!important;height:36px!important}
  }
  /* Review proposal: compact desktop address book, with the shared 21px section rhythm.
     Scope deliberately excludes the reused address book inside mail/eBO. */
  @media (min-width:1100px) and (pointer:fine) {
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.private-address396 {
    display:grid!important;grid-template-columns:160px minmax(0,1fr) auto!important;
    column-gap:var(--m-space-section)!important;align-items:start!important;
   }
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.private-address396>.row {display:contents!important}
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.private-address396>.row>h2 {
    grid-column:1!important;grid-row:1!important;margin:0!important;line-height:36px!important;
   }
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.private-address396>.row>button {
    grid-column:3!important;grid-row:1!important;align-self:start!important;margin:0!important;
   }
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.private-address396>details {
    grid-column:2!important;grid-row:1!important;min-width:0!important;margin:0!important;
   }
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.private-address396>details>summary {
    min-height:36px!important;line-height:20px!important;padding:8px 0!important;box-sizing:border-box!important;
   }
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.private-address396>details>label {
    margin:var(--m-space-fields) 0!important;gap:var(--m-space-text)!important;
   }
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.private-address396 [data-private-rows396] {overflow-wrap:anywhere!important}
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.address-workspace :is(.address-columns,.address-entry263) {
    grid-template-columns:minmax(200px,1.3fr) minmax(160px,1fr) minmax(160px,1fr) 140px!important;
    column-gap:var(--m-space-fields)!important;
   }
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.address-workspace .address-entry263 {
    align-items:start!important;row-gap:var(--m-space-text)!important;
   }
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.address-workspace .address-actions263 {align-self:start!important;justify-content:flex-end!important}
   html[data-interface="desktop"] body[data-page="addressbook"] #app #content>.address-workspace .address-filter-state147 {min-height:20px!important}
  }
  /* Dashboard pairs share natural row heights; keep real columns for pointer dragging. */
  @media (min-width:901px) and (pointer:fine) {
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-grid144[data-equal-rows508] {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(var(--start-rows508,1),auto)!important;
    gap:var(--m-space-section)!important;align-items:stretch!important;
   }
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-grid144[data-equal-rows508]>.start-column144 {
    display:grid!important;grid-template-rows:subgrid!important;grid-row:1 / span var(--start-rows508,1)!important;
    gap:var(--m-space-section)!important;align-items:stretch!important;align-content:stretch!important;
    container-type:normal!important;container-name:none!important;
   }
   /* A size-query container cannot itself participate as a row subgrid.
      Keep the existing narrow-card queries on each card instead. */
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-grid144[data-equal-rows508]>.start-column144>[data-dashboard-card] {
    container-type:inline-size!important;container-name:start-column!important;
   }
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-panel144:not(.start-calendar144) .start-panel-head144 {
    box-sizing:border-box!important;min-height:48px!important;padding:8px 56px 8px 16px!important;align-items:center!important;
   }
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-panel144:not(.start-calendar144) .start-panel-head144>button {
    box-sizing:border-box!important;height:32px!important;min-height:32px!important;padding:6px 10px!important;line-height:18px!important;margin:0!important;
   }
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-panel144:not(.start-calendar144)>.start-card-move144 {top:8px!important;right:16px!important}
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-panel144:not(.start-calendar144)>.start-card-move144>.dashboard-drag-handle {
    box-sizing:border-box!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:6px!important;margin:0!important;
   }
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-grid144[data-equal-rows508] [data-dashboard-card="compensation"] {display:flex!important;flex-direction:column!important}
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-grid144[data-equal-rows508] [data-dashboard-card="compensation"]>.start-panel-head144 {flex:none!important}
   html[data-interface="desktop"] body[data-page="dashboard"] #app #content .start-grid144[data-equal-rows508] [data-dashboard-card="compensation"]>.start-empty144 {
    flex:1!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;margin:0!important;padding:var(--m-space-panel)!important;
   }
  }
  /* Existing calendar geometry is exempt from the workspace restyling. */
  #app #content :is(.nb-band-card,.calendar-desktop-shell,.calendar-workspace) {--preview-page-inset:24px!important;--preview-section-gap:24px!important;--preview-panel-inset:20px!important;--preview-item-gap:12px!important}
  @media(max-width:700px) {
   #app #content .correspondence410 {grid-template-columns:minmax(0,1fr)!important}
   #app #content .correspondence410>.client-reports-head1609 {grid-column:1!important;grid-row:2!important;justify-content:flex-end!important}
  }
  @media(max-width:1080px) {
   #app #content .document-overview287.nd-akte {grid-template-columns:minmax(0,1fr)!important}
  }
  #app #content .document-overview287.nd-akte.case-docs-stacked {grid-template-columns:minmax(0,1fr)!important}

  @media (max-width:820px) {
   :root {--m-space-section:16px;--preview-page-inset:16px!important;--preview-panel-inset:16px!important;--preview-section-gap:16px!important}
   #app #content h1:not(:where(#letterPaper *,.lh84-page *,[contenteditable] *)) {font-size:22px!important}
   .nd-banner {align-items:flex-start!important;flex-wrap:wrap}
  }
  @media (pointer:coarse) {
   #app :is(button,[role=button],summary):not(#letterPaper *):not(.lh84-page *):not([contenteditable] *) {min-height:44px!important}
   #app :is(input,select,textarea) {font-size:16px!important}
  }
  /* Receipt chart: a fixed plotting height keeps labels readable on wide desktops. */
  #app #content .comp-month-head414 {display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:var(--m-space-section)!important;align-items:center!important}
  #app #content .comp-month-head414 h2 {margin:0 0 4px!important}
  #app #content .comp-month-head414 p {margin:0!important}
  #app #content .comp-month-head414>div:last-child {min-width:150px;text-align:right}
  #app #content .comp-month-head414 strong {font-size:20px!important;line-height:28px!important;font-variant-numeric:tabular-nums}
  #app #content .comp-chart-scroll414 {margin:var(--m-space-section) 0!important;padding:0!important;overflow-x:auto!important}
  #app #content .comp-chart508 {position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));min-width:840px;height:236px;padding:32px 0 0;box-sizing:border-box}
  #app #content .comp-chart-axis508 {position:absolute;left:0;right:0;height:1px;background:var(--m-line);pointer-events:none}
  #app #content .comp-chart-month508 {display:grid;grid-template-rows:160px 44px;min-width:0;text-align:center}
  #app #content .comp-chart-track508 {position:relative;height:160px}
  #app #content .comp-chart-bar508 {position:absolute;left:50%;width:24px;transform:translateX(-50%);background:var(--m-blue);border-radius:0}
  #app #content .comp-chart-bar508.is-negative {background:#b54717}
  #app #content .comp-chart508 .comp-value414 {position:absolute;left:50%;bottom:calc(100% + 6px);transform:translateX(-50%);font:500 12px/18px "DM Sans",sans-serif;white-space:nowrap;color:var(--m-ink);font-variant-numeric:tabular-nums}
  #app #content .comp-chart-bar508.is-negative .comp-value414 {top:calc(100% + 2px);bottom:auto}
  #app #content .comp-chart-label508 {align-self:end;font-size:12px;line-height:18px;color:var(--m-muted)}
  #app #content .comp-month-tables508 {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--m-space-section);margin-top:var(--m-space-section)}
  #app #content .comp-month-tables508 .comp-month-table414 {width:100%!important;max-width:none!important;margin:0!important;table-layout:fixed}
  #app #content .comp-month-tables508 :is(th,td) {padding:8px 12px!important;height:36px!important;box-sizing:border-box;line-height:20px!important}
  #app #content .comp-month-tables508 tbody th {background:transparent!important;font-weight:400!important}
  #app #content .comp-month-tables508 :is(td,th:last-child) {text-align:right!important;font-variant-numeric:tabular-nums}

 }
}
/* Shared desktop selection arrows. Native controls and existing custom choice
   buttons keep their nodes, options, listeners and keyboard behaviour. */
@layer mandreo-system508 {
 @media screen {
  html[data-design-preview][data-interface="desktop"] body:not([data-page="mailbox"],[data-page="ebo"]) :is(#app,.modal,.modal-card,.dialog-card,dialog,.side-panel1745) :is(select:not([multiple]):not([size]:not([size="0"],[size="1"])),.court-select-trigger191,.writing-font-trigger144,.writing-save-trigger194):not(#letterPaper *):not(#writingDraft *):not(:where(.mail158 *,[id^="ebo"] *,.lh84-page *,.stock-sheet1646 *,[contenteditable] *)) {
   appearance:none!important;-webkit-appearance:none!important;
   padding-right:36px!important;
   background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23536176' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
   background-repeat:no-repeat!important;background-size:12px 8px!important;
   background-position:right 12px center!important;
  }
  html[data-design-preview][data-interface="desktop"] body:not([data-page="mailbox"],[data-page="ebo"]) :is(.court-select-trigger191,.writing-font-trigger144,.writing-save-trigger194):not(:where(.mail158 *,[id^="ebo"] *)) {position:relative!important}
  html[data-design-preview][data-interface="desktop"] body:not([data-page="mailbox"],[data-page="ebo"]) :is(.court-select-arrow191,.writing-font-trigger144>svg):not(:where(.mail158 *,[id^="ebo"] *)),
  html[data-design-preview][data-interface="desktop"] body:not([data-page="mailbox"],[data-page="ebo"]) .writing-save-trigger194:not(:where(.mail158 *,[id^="ebo"] *))::after {display:none!important}
  @media (forced-colors:active) {
   html[data-design-preview][data-interface="desktop"] body:not([data-page="mailbox"],[data-page="ebo"]) :is(#app,.modal,.modal-card,.dialog-card,dialog,.side-panel1745) select:not([multiple]):not([size]:not([size="0"],[size="1"])):not(#letterPaper *):not(#writingDraft *):not(:where(.mail158 *,[id^="ebo"] *,.lh84-page *,.stock-sheet1646 *,[contenteditable] *)) {appearance:auto!important;-webkit-appearance:auto!important;background-image:none!important}
   html[data-design-preview][data-interface="desktop"] body:not([data-page="mailbox"],[data-page="ebo"]) :is(.court-select-trigger191,.writing-font-trigger144,.writing-save-trigger194):not(:where(.mail158 *,[id^="ebo"] *)) {background-image:none!important}
   html[data-design-preview][data-interface="desktop"] body:not([data-page="mailbox"],[data-page="ebo"]) :is(.court-select-trigger191,.writing-font-trigger144,.writing-save-trigger194):not(:where(.mail158 *,[id^="ebo"] *))::after {content:""!important;display:block!important;position:absolute!important;right:14px!important;top:50%!important;width:7px!important;height:7px!important;margin-top:-5px!important;transform:rotate(45deg)!important;border:0!important;border-right:1.5px solid ButtonText!important;border-bottom:1.5px solid ButtonText!important;pointer-events:none!important}
  }
 }
}
/* Single-line native choices share the 36px control's text metrics.
   Keep field height, width and the existing 12px arrow / 36px text reserve. */
@layer mandreo-system508 {
 @media screen {
  html[data-design-preview][data-interface="desktop"] body:not([data-page="mailbox"],[data-page="ebo"]) :is(#app,.modal,.modal-card,.dialog-card,dialog,.side-panel1745) select:not(#writingFontSize142):not([multiple]):not([size]:not([size="0"],[size="1"])):not(#letterPaper *):not(#writingDraft *):not(:where(.mail158 *,[id^="ebo"] *,.lh84-page *,.stock-sheet1646 *,[contenteditable] *)) {
   min-height:36px!important;line-height:20px!important;padding-block:7px!important;
  }
 }
}

/* Desktop FAQ corners508: retain existing focus outline and card structure. */
@layer mandreo-system508 {
 @media screen {
  html[data-design-preview][data-interface="desktop"] body #app #content .faq-page1741 :is(.faq-item,.faq-help-card),
  html[data-design-preview][data-interface="desktop"] body #app #content .faq-page1741 .faq-item summary:focus-visible {border-radius:0!important}
 }
}

/* Desktop FAQ theme508: the existing topic filter is navigation, not an edit. */
@layer mandreo-system508 {
 @media screen {
  html[data-design-preview][data-interface="desktop"] body #app #content .faq-page1741 :is(.faq-hero,.faq-empty,.faq-topic,.faq-highlight) {border-radius:0!important}
  html[data-design-preview][data-interface="desktop"] body #app #content .faq-page1741 .faq-topic.active {
   --button-bg:var(--m-selection);--button-hover-bg:var(--m-selection);--button-ink:var(--m-blue);--control-border:var(--m-line);
   background:var(--m-selection)!important;color:var(--m-blue)!important;border-color:var(--m-line)!important;
  }
  html[data-design-preview][data-interface="desktop"] body #app #content .faq-page1741 .faq-category,
  html[data-design-preview][data-interface="desktop"] body #app #content .faq-page1741 .faq-item summary::after {color:var(--m-blue)!important}
  html[data-design-preview][data-interface="desktop"] body #app #content .faq-page1741 :is(.faq-topic,.faq-item summary):focus-visible {outline-color:var(--m-blue)!important}
 }
}

/* Account and cash surfaces verified in the full desktop audit. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(.bank-account-picker145,.accounts-workspace1751,.bank-balance-strip145,.cash-ledger,.cash-ledger .account-menu363) {border-radius:0!important;}
  html[data-interface="desktop"] body[data-page="assets"] #app #content :is(.asset-valuation-box,.asset-value-history) {border-radius:0!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .cash-ledger .account-menu363>summary {box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;min-width:36px!important;}
 }
}

/* Keep the case health warning within the desktop square-corner system. */
@layer mandreo-system508 {
 @media screen {
  html[data-design-preview][data-interface="desktop"] body #app #content .health-critical {border-radius:0!important}
 }
}

/* Fresh51030 desktop findings: notes live outside #app; retain their handlers and
   window placement. Calendar keeps its current navigation and drag behavior. */
@layer mandreo-system508 {
 @media screen {
  html[data-design-preview][data-interface="desktop"] body .side-panel1745 .note-editor1747,
  html[data-design-preview][data-interface="desktop"] body .side-panel1745 .note-editor1747 :is(button,input,select,textarea) {
   border-radius:0!important;
  }
  html[data-design-preview][data-interface="desktop"] body .side-panel1745 .note-editor1747 :is(button,input,select,textarea) {
   font-family:var(--m-font)!important;font-size:var(--m-control)!important;
  }
  html[data-design-preview][data-interface="desktop"] body .voice-recorder>[hidden] {display:none!important}
  html[data-design-preview][data-interface="desktop"] body .side-panel1745 .note-editor-body1747>details {
   margin-block-start:var(--m-space-fields)!important;
  }
  html[data-design-preview][data-interface="desktop"] body .side-panel1745 .note-editor1747>.window-footer1751>button {
   height:36px!important;min-height:36px!important;padding:6px 12px!important;
  }
  html[data-design-preview][data-interface="desktop"] body #app #content :is(.cal-grid,.calendar-list-view,.calendar-view-switch,.calendar-list1748,.calendar-list1748 .tag) {border-radius:0!important}
  html[data-design-preview][data-interface="desktop"] body #app #content>.nk-bar {margin-block-end:var(--m-space-section)!important}
  html[data-design-preview][data-interface="desktop"] body:is([data-page="tasks"],[data-page="calendar"],[data-page="notes"],:has(#notePanel1747,#taskModal,#appointmentModal)) #mandreoDatePicker188,
  html[data-design-preview][data-interface="desktop"] body:is([data-page="tasks"],[data-page="calendar"],[data-page="notes"],:has(#notePanel1747,#taskModal,#appointmentModal)) #mandreoDatePicker188 button {border-radius:0!important}
 }
}

/* Task selection508: preserve the existing selected-person text and lookup. */
@layer mandreo-system508 {
 @media screen {
  html[data-design-preview][data-interface="desktop"] body #app #content .notes-toolbar508>.workspace-list-header {
   position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%)!important;
  }
  html[data-design-preview][data-interface="desktop"] body #app #content .notes-toolbar508 .notes-search-tools>[data-note-new] {
   align-self:flex-end!important;
   width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:7px!important;
  }
  html[data-design-preview][data-interface="desktop"] body #taskModal.task-dialog336 :is(#taskFixedClient,#taskSelected) {
   border-radius:0!important;background:var(--m-hover)!important;color:var(--m-ink)!important;
  }
 }
}

/* Report source upload is an ordinary desktop work surface. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body[data-page="court"] #app #content .report-author322 .report-drop292 {border-radius:0!important}
 }
}

/* Scoped desktop screen correction: keep print, mobile and separate mail/eBO surfaces unchanged. */
@layer mandreo-system508 {
  @media screen {
    html[data-design-preview][data-interface="desktop"] body #app #content .branding-inspector {
      border-radius: 0 !important;
    }
  }
}

/* Invoice payment history and matching rows follow the desktop square surface. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #payableDialog149.payable-detail327 .payable-detail-row327 {border-radius:0!important;}
 }
}

/* Stock report screen surfaces follow the existing square desktop controls. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body:is([data-page="court"],[data-page="settings"]) #app #content :is(.stock-form144,.stock-history-list144),
  html[data-interface="desktop"] body #stockSavedReport351 table {border-radius:0!important}
 }
}

/* Visible desktop transfer panels, receipt and partial-payment sections. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) :is(#app #content,#bankPaymentDialog152) :is(.payment-payables193,.payment-notice152,.payment-badge152,.payment-bank-balance465,.payment-receipt153,.payment-partial306) {border-radius:0!important;}
 }
}

/* Desktop debt rows, dated balances and their booking history. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(.debt-row147,.debt-history-body147) {border-radius:0!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) dialog[id^="financialItem365-"] [data-history] table {border-radius:0!important;}
 }
}

/* Document review uses the same desktop section and field spacing as the office. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) dialog.document-processing331 .document-processing-body331 {gap:var(--m-space-section)!important;padding:var(--m-space-panel)!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) dialog.document-processing331 [data-source] {gap:var(--m-space-fields)!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) dialog.document-processing331 .document-processing-result331 {gap:var(--m-space-section)!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) dialog.document-processing331 .document-receipt-handoff447 {border-radius:0!important;margin:0!important;padding:var(--m-space-panel)!important;gap:var(--m-space-fields)!important;}
 }
}

/* Fresh court desktop audit: retain hidden actions and square existing surfaces. */
@layer mandreo-controls {
 @media screen {
  html[data-interface="desktop"] body #stockSavedReport351 [type="submit"][hidden] {display:none!important}
  html[data-interface="desktop"] body #content .deadline-section335,
  html[data-interface="desktop"] body #accountingWorkspace327 .accounting88-choice {border-radius:0!important}
  html[data-interface="desktop"] body #content .deadlines335,
  html[data-interface="desktop"] body #content .deadlines335 [data-deadline-content335],
  html[data-interface="desktop"] body #content .deadline-summary335 {gap:var(--m-space-section)!important}
 }
}

@layer mandreo-controls { @media screen {
 html[data-interface="desktop"] body #lifecycleModal.lifecycle334 .life-check334 {border-radius:0!important}
} }

/* Accounting uses an earlier appearance layer; square its desktop form in the shared system layer. */
@layer mandreo-system508 { @media screen {
 html[data-interface="desktop"] body #accountingWorkspace327 :is(.accounting-start,.accounting88-choice) {border-radius:0!important}
 html[data-interface="desktop"] body #lifecycleModal.lifecycle334 .life-check334 {border-radius:0!important}
} }

/* The knowledge reader shares the desktop dialog edges and control rhythm. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body #knowledge418 :is(header,.k-search,.k-detail,.k-saved-tools) {padding:var(--m-space-panel)!important;}
  html[data-interface="desktop"] body #knowledge418 header {gap:var(--m-space-fields)!important;}
  html[data-interface="desktop"] body #knowledge418 nav {padding:0 var(--m-space-panel)!important;gap:var(--m-space-section)!important;}
  html[data-interface="desktop"] body #knowledge418 .k-source {padding:0 var(--m-space-panel) var(--m-space-panel)!important;}
  html[data-interface="desktop"] body #knowledge418 :is(input,select,textarea) {margin:var(--m-space-text) 0 0!important;}
  html[data-interface="desktop"] body #knowledge418 .k-search button {height:36px!important;min-height:36px!important;}
  html[data-interface="desktop"] body #knowledge418 :is(input,select,header button,.k-actions button,[data-lawstate] button) {height:36px!important;min-height:36px!important;}
  html[data-interface="desktop"] body #knowledge418 [data-detail] .k-actions button {background:var(--m-blue)!important;border-color:var(--m-blue)!important;}
  html[data-interface="desktop"] body #knowledge418 .k-results button {padding:var(--m-space-fields) var(--m-space-panel)!important;}
  html[data-interface="desktop"] body #knowledge418 nav button[aria-pressed="true"] {color:var(--m-blue)!important;border-bottom-color:var(--m-blue)!important;}
  html[data-interface="desktop"] body #knowledge418 .k-results button[aria-pressed="true"] {border-left-color:var(--m-blue)!important;background:var(--m-selection)!important;}
  html[data-interface="desktop"] body #knowledge418 [data-status] {padding:var(--m-space-controls) var(--m-space-panel)!important;}
 }
}

@layer mandreo-system508 {
 @media screen {
  html[data-interface="desktop"] #app #content .nd-akte .nd-case-controls {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--m-space-controls);margin-left:auto;max-width:100%}
  html[data-interface="desktop"] #app #content .nd-akte .nd-case-sort {display:flex;align-items:center;gap:var(--m-space-controls);margin:0;max-width:100%;font-size:13px}
  html[data-interface="desktop"] #app #content .nd-akte .nd-case-sort select {width:260px;max-width:100%;margin:0}
 }
}

/* Personal data dialogs use the same desktop edges and surface palette. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body #personalModal373 [data-personal-fields]>details,
  html[data-interface="desktop"] body #personalModal373 .mandreo-address-structured1613 {border-radius:0!important;}
  html[data-interface="desktop"] body #personalModal373 .mandreo-address-structured1613 {background:var(--m-white)!important;border-color:var(--m-line)!important;}
 }
}

@layer mandreo-system508 {
 @media screen {
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-case-tools {align-items:center!important}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-case-sort {display:flex!important;align-items:center!important;gap:var(--m-space-controls)!important;margin:0!important;line-height:20px!important;white-space:nowrap}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-case-sort select {width:260px!important;max-width:100%;margin:0!important;flex:0 1 auto}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-case-search input {height:36px!important;min-height:36px!important}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte :is(.nd-case-filters>button,.nd-case-folders>summary) {height:36px!important;min-height:36px!important}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte :is(.nd-ahead,.nd-arow) {grid-template-columns:minmax(0,1fr) 104px minmax(75px,.28fr)!important}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-ahead .nd-num {white-space:nowrap!important}
 }
}

/* Desktop writing recipient and instruction surfaces share the office spacing. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(#writingRecipientPanel,#writingAiPanel) {border-radius:0!important;padding:var(--m-space-panel)!important;margin-bottom:var(--m-space-section)!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content #writingRecipientPanel #wrResults {border-radius:0!important;}
 }
}

/* Two explicit document dates, with sortable desktop headings. */
@layer mandreo-system508 {
 @media screen and (min-width:901px) and (pointer:fine) {
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte #documentListCard {container-type:inline-size!important;container-name:case-documents case-document-list!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte :is(.nd-ahead,.nd-arow) {grid-template-columns:minmax(120px,1fr) 112px 132px 100px!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all :is(.nd-ahead,.nd-arow).nd-with-person.nd-pickable {grid-template-columns:20px minmax(160px,1.7fr) minmax(80px,.9fr) minmax(90px,1fr) 112px 132px 100px!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(.nd-all,.nd-akte) .nd-date-sort511 {display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;min-width:0!important;width:100%!important;height:30px!important;min-height:30px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--m-muted)!important;font:inherit!important;white-space:nowrap!important;cursor:pointer;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(.nd-all,.nd-akte) .nd-date-sort511[aria-pressed="true"] {color:var(--m-blue)!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(.nd-all,.nd-akte) .nd-date-sort511:hover {background:var(--m-hover)!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(.nd-all,.nd-akte) .nd-date-sort511:focus-visible {outline:2px solid var(--m-blue)!important;outline-offset:2px!important;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(.nd-all,.nd-akte) .nd-date-sort511 svg {width:12px!important;height:12px!important;flex:0 0 12px;fill:none;stroke:currentColor;stroke-width:1.5;visibility:hidden;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(.nd-all,.nd-akte) .nd-date-sort511 svg.is-active {visibility:visible;}
  html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content :is(.nd-all,.nd-akte) [data-nd-date] {white-space:nowrap!important;font-variant-numeric:tabular-nums;}
  @container case-document-list (max-width:620px) {
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte :is(.nd-ahead,.nd-arow) {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-ahead :is(.nd-title-head,.nd-state-head) {display:none!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-arow>.nd-doc {grid-column:1 / -1!important;grid-row:1!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-arow>.nd-date-document {grid-column:1!important;grid-row:2!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-arow>.nd-date-filed {grid-column:2!important;grid-row:2!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-akte .nd-arow>.nd-stand {grid-column:1 / -1!important;grid-row:3!important;}
  }
  @container document-list (max-width:950px) {
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all :is(.nd-ahead,.nd-arow).nd-with-person.nd-pickable {display:grid!important;grid-template-columns:20px minmax(0,1fr) minmax(0,1fr)!important;gap:4px 12px!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-ahead :is(.nd-title-head,.nd-person-head,.nd-folder-head,.nd-state-head) {display:none!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-ahead>.nd-date-document {grid-column:2!important;grid-row:1!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-ahead>.nd-date-filed {grid-column:3!important;grid-row:1!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-arow>.nd-pickcell {grid-column:1!important;grid-row:1 / 5!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-arow>.nd-doc {grid-column:2 / 4!important;grid-row:1!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-arow>.nd-cell:nth-child(3) {grid-column:2!important;grid-row:2!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-arow>.nd-cell:nth-child(4) {grid-column:3!important;grid-row:2!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-arow>.nd-date-document {grid-column:2!important;grid-row:3!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-arow>.nd-date-filed {grid-column:3!important;grid-row:3!important;}
   html[data-interface="desktop"] body:not([data-page="mailbox"]):not([data-page="ebo"]) #app #content .nd-all .nd-arow>.nd-stand {grid-column:2 / 4!important;grid-row:4!important;}
  }
 }
}
