/* POST-362 customer console. Backgrounds express navigation, work and content;
   server-side role, session, route and form contracts are unchanged. */
body[data-layout="workspace"] {
  --console-head: #103e37;
  --console-nav: #e4eaf0;
  --console-work: #f1f3f6;
  --console-paper: #ffffff;
  --console-selected: #cfe6df;
  --surface: var(--console-paper);
  --bg: var(--console-work);
  --ink: #253440;
  --secondary: #586674;
  --muted: #586674;
  --line: #cbd4df;
  --line-strong: #9aaab9;
  --accent: #087b68;
  --on-accent: #ffffff;
  --selected: var(--console-selected);
  --hover: #edf2f6;
  --radius: 8px;
  --radius-control: 6px;
  background: var(--console-work);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
html[data-theme="dark"] body[data-layout="workspace"] {
  --console-head: #082c26;
  --console-nav: #1c2b35;
  --console-work: #101b23;
  --console-paper: #243540;
  --console-selected: #284d44;
  --ink: #edf3f6;
  --secondary: #b7c5d0;
  --muted: #b7c5d0;
  --line: #526574;
  --line-strong: #8295a4;
  --accent: #62cbb0;
  --on-accent: #092b21;
  --hover: #304551;
}
body[data-layout="workspace"] .app-header { position: sticky; top: 0; z-index: 40; border: 0; background: var(--console-head); color: #ffffff; }
body[data-layout="workspace"] .topbar { max-width: none; width: 100%; height: 72px; padding: 0 26px; gap: 30px; }
body[data-layout="workspace"] .brand-group { gap: 20px; flex-shrink: 0; }
body[data-layout="workspace"] .app-header .logo-light { display: none !important; }
body[data-layout="workspace"] .app-header .logo-dark { display: block !important; }
body[data-layout="workspace"] .brand-link img { width: 132px; }
body[data-layout="workspace"] .brand-separator { display: none; }
body[data-layout="workspace"] .product-name { color: #d4e6df; font-size: 14px; }
body[data-layout="workspace"] .workspace-anchor { border: 0; margin-right: auto; max-width: 320px; min-width: 0; }
body[data-layout="workspace"] .workspace { min-height: 44px; border: 0; background: rgb(255 255 255 / 9%); color: #ffffff; border-radius: 6px; padding: 5px 12px; }
body[data-layout="workspace"] .workspace strong { color: #ffffff; font-size: 14px; }
body[data-layout="workspace"] .workspace small { color: #c3d9d1; font-size: 12px; }
body[data-layout="workspace"] .top-actions { gap: 8px; }
body[data-layout="workspace"] .app-header .top-actions > .icon-btn,
body[data-layout="workspace"] .app-header .account-btn { color: #ffffff; min-height: 44px; min-width: 44px; border: 0; }
body[data-layout="workspace"] .account-btn .initials { background: rgb(255 255 255 / 14%); color: #ffffff; }
body[data-layout="workspace"] .app-header .context-popover { color: var(--ink); }
body[data-layout="workspace"] .app-header :is(a,button):focus-visible { outline: 3px solid #82e0c5; outline-offset: 3px; }
.console-shell { display: grid; grid-template-columns: 200px minmax(0,1fr); min-height: calc(100dvh - 72px); }
.console-work { min-width: 0; background: var(--console-work); }
.app-context-navigation { position: sticky; top: 72px; align-self: start; min-height: calc(100dvh - 72px); padding: 24px 14px; background: var(--console-nav); border: 0; }
.primary-navigation { min-width: 0; }
.primary-navigation .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 6px; white-space: normal; overflow: visible; }
.primary-navigation .main-nav a { display: flex; align-items: center; min-height: 44px; height: auto; padding: 10px 14px; border: 0; border-radius: 6px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.primary-navigation .main-nav a[aria-current="page"] { background: var(--console-selected); color: var(--ink); font-weight: 600; }
.app-context-navigation .subnav-shell { border: 0; margin-top: 22px; background: transparent; }
.app-context-navigation .subnav { display: flex; flex-direction: column; align-items: stretch; width: 100%; max-width: none; padding: 0 0 0 8px; gap: 4px; white-space: normal; overflow: visible; }
.app-context-navigation .subnav a { min-height: 44px; padding: 11px 14px; border: 0; border-radius: 6px; color: var(--secondary); font-size: 14px; font-weight: 500; text-decoration: none; }
.app-context-navigation .subnav a[aria-current="page"] { background: var(--console-paper); color: var(--ink); font-weight: 600; text-decoration: none; }
body[data-layout="workspace"] main#main { display: block; width: auto; max-width: none; min-height: calc(100dvh - 150px); margin: 24px; padding: 26px; background: var(--console-paper); border-radius: 10px; }
body[data-layout="workspace"] .page-footer { width: auto; max-width: none; margin: 0; padding: 0 26px 24px; border: 0; color: var(--secondary); font-size: 12px; }
body[data-layout="workspace"] :is(h1,h2,h3) { font-family: var(--font-ui); letter-spacing: -.02em; }
body[data-layout="workspace"] h1 { font-size: 30px; font-weight: 700; line-height: 1.2; }
body[data-layout="workspace"] h2 { font-size: 19px; font-weight: 600; line-height: 1.35; }
body[data-layout="workspace"] .page-head { margin-bottom: 22px; gap: 20px; align-items: center; }
body[data-layout="workspace"] .page-head p { margin-top: 7px; font-size: 13px; }
body[data-layout="workspace"] .note { font-size: 13px; line-height: 1.6; }
body[data-layout="workspace"] .btn { min-height: 44px; border-radius: 6px; font-size: 14px; font-weight: 600; }
body[data-layout="workspace"] .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
body[data-layout="workspace"] .btn.small { min-height: 36px; font-size: 13px; }
body[data-layout="workspace"] .text-btn { color: var(--accent); font-size: 14px; font-weight: 600; }
body[data-layout="workspace"] :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
body[data-layout="workspace"] :is(.panel,.table-wrap,.search-panel) { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body[data-layout="workspace"] .panel-head { padding: 16px 0; border: 0; }
body[data-layout="workspace"] .panel-body { padding: 16px 0; }
body[data-layout="workspace"] .table { border: 0; }
body[data-layout="workspace"] .table th { height: 40px; padding: 10px 14px; border: 0; background: var(--console-work); color: var(--secondary); font-size: 12px; font-weight: 600; }
body[data-layout="workspace"] .table td { padding: 13px 14px; border: 0; font-size: 15px; }
body[data-layout="workspace"] .table tbody tr:nth-child(even) { background: #f7f9fb; }
html[data-theme="dark"] body[data-layout="workspace"] .table tbody tr:nth-child(even) { background: #283b47; }
body[data-layout="workspace"] .table tbody tr:hover { background: var(--hover); }
body[data-layout="workspace"] .table tbody tr.previewing { background: var(--console-selected); box-shadow: none; }
body[data-layout="workspace"] .table tbody tr.previewing td { background: var(--console-selected); }
body[data-layout="workspace"] .table td small { margin-top: 3px; font-size: 12px; }
body[data-layout="workspace"] .fact-list > div { border: 0; padding-block: 7px; }
body[data-layout="workspace"] .task-row { border: 0; padding: 16px 0; }
body[data-layout="workspace"] .task-row + .task-row { margin-top: 8px; }
body[data-layout="workspace"] .legal-note { border: 0; padding-top: 14px; }
body[data-layout="workspace"] .page-footer :is(a,span) { border: 0; }
/* The overview is one inventory workspace, with real operational detail nearby. */
body[data-layout="workspace"] .overview-head { margin-bottom: 18px; }
body[data-layout="workspace"] .overview-search { margin: 0 0 16px; padding: 0; border: 0; }
.overview-search .search-input input { height: 46px; font-size: 15px; }
.overview-search .search-input > .icon { top: 15px; }
.overview-search .search-line .btn { min-height: 46px; padding-inline: 22px; }
body[data-layout="workspace"] .overview-search .note { margin: 8px 0 0; font-size: 12px; }
.overview-statusline { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0; padding: 14px 16px; background: var(--console-work); border-radius: 6px; }
.overview-statusline > div { min-width: 0; }
.overview-statusline dt { margin-bottom: 4px; font-size: 12px; color: var(--secondary); }
.overview-statusline dd { margin: 0; font-size: 14px; }
.overview-statusline dd strong { font-weight: 600; }
.overview-statusline .overview-volume { flex: 1 1 260px; }
.overview-statusline .overview-chain { flex: 0 1 230px; }
.overview-statusline .overview-holds { flex: 0 1 150px; }
.overview-chain-note { font-size: 12px; color: var(--secondary); }
body[data-layout="workspace"] .overview-body { grid-template-columns: minmax(0,1fr) minmax(240px,29%); gap: 28px; margin-top: 20px; align-items: start; }
.overview-mailboxes .panel-head { padding: 0 0 16px; }
.overview-mailboxes .table { min-width: 0; }
.overview-mailboxes .table td { height: 68px; }
.overview-mailboxes .row-link { overflow-wrap: anywhere; font-weight: 600; }
.overview-mailboxes .status { color: var(--secondary); background: transparent; }
.overview-side { padding: 18px; background: var(--console-work); border-radius: 6px; }
.overview-side .panel:first-child .panel-head { padding-top: 0; }
.overview-side .task-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.overview-side .task-row p { font-size: 13px; line-height: 1.55; }
.overview-side .fact-list { font-size: 13px; }
/* Search logic is frozen; only its surface roles and density change. */
.search-workspace { min-width: 0; }
.search-workspace-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.search-workspace-head h1 { font-size: 28px; }
.search-tools { position: relative; width: 100%; z-index: 25; }
.search-tools > form { width: 100%; min-width: 0; }
.search-tools .search-line { gap: 10px; min-width: 0; }
.search-tools .search-input input { height: 46px; font-size: 15px; border-radius: 6px; }
.search-tools .search-input > .icon { top: 15px; }
.search-tools .clear-search { top: 4px; }
.search-tools .search-line .btn { min-height: 46px; padding-inline: 22px; }
.search-filters-popover { margin: 0; flex-shrink: 0; }
.search-filters-popover > summary { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 14px; background: var(--console-work); border: 0; border-radius: 6px; color: var(--ink); font-size: 14px; cursor: pointer; }
.search-filters-popover > summary::marker { content: ''; }
.search-filter-body { position: absolute; top: 56px; right: 0; z-index: 25; width: min(420px,100%); max-height: var(--search-filter-max-height, calc(100dvh - 300px)); padding: 22px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgb(20 35 45 / 16%); }
.search-filter-heading { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; font-size: 14px; }
.search-filter-heading > span { color: var(--secondary); font-size: 12px; }
.search-filter-body .scope-label { margin-top: 0; }
.search-mailbox-list { display: flex; flex-direction: column; gap: 3px; max-height: 195px; overflow-y: auto; padding: 5px; background: var(--console-work); border-radius: 6px; }
.search-mailbox-list .scope-btn { width: 100%; min-height: 44px; padding: 10px; border: 0; border-radius: 4px; font-size: 13px; background: transparent; overflow-wrap: anywhere; }
.search-mailbox-list .scope-btn[aria-pressed="true"] { background: var(--console-selected); color: var(--ink); }
.search-filter-body .field-row { grid-template-columns: 1fr; }
.search-filter-body .field input { font-size: 15px; }
.search-filter-body .filters { align-items: flex-start; }
.search-filter-body .note { font-size: 12px; }
.search-filter-indicator { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.search-filter-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; }
.search-contextbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; min-height: 43px; padding: 10px 0; border: 0; color: var(--secondary); font-size: 13px; }
.search-context-scope { min-width: 0; overflow-wrap: anywhere; }
.search-context-details { max-width: 100%; }
.search-context-details summary { cursor: pointer; }
.search-context-details ul { margin: 8px 0 0; padding-left: 18px; overflow-wrap: anywhere; }
body[data-layout="workspace"] .search-message-workspace { grid-template-columns: minmax(0,1fr) minmax(280px,32%); gap: 22px; margin-top: 0; align-items: start; }
.search-message-workspace .results-toolbar { min-height: 44px; margin: 0; gap: 10px; }
.search-message-workspace .results-toolbar > span { font-size: 12px; }
body[data-layout="workspace"] .search-message-table { min-width: 0; table-layout: fixed; }
.search-message-table .subject-col { width: auto; min-width: 0; }
body[data-layout="workspace"] .search-message-table .row-link { display: block; width: 100%; max-width: none; font-size: 15px; line-height: 22px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
body[data-layout="workspace"] .search-message-table td { padding-block: 9px; }
body[data-layout="workspace"] .search-message-table td small { margin-top: 2px; line-height: 17px; }
.search-message-content { min-width: 0; }
.search-message-table .search-message-date { width: 102px; white-space: nowrap; font-size: 13px; }
.search-message-sender { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-message-meta { display: flex; flex-wrap: wrap; gap: 3px 10px; margin-top: 3px; font-size: 12px; line-height: 16px; color: var(--secondary); }
.search-message-mailbox { min-width: 0; overflow-wrap: anywhere; }
.search-reader { position: sticky; top: 94px; min-width: 0; padding: 0; border: 0; border-radius: 8px; background: var(--console-work); }
.search-reader .preview-top { padding: 16px 18px 0; border: 0; background: transparent; color: var(--secondary); }
.search-reader .preview-top h2 { color: var(--secondary); font-size: 14px; }
.search-reader .preview-body { padding: 18px; }
.search-reader .preview-footer { padding: 0 18px 18px; border: 0; background: transparent; }
.search-reader h3 { margin-bottom: 18px; font-size: 21px; line-height: 1.35; overflow-wrap: anywhere; }
.search-reader-empty { color: var(--secondary); font-size: 14px; line-height: 1.6; }
.search-reader-facts { font-size: 13px; }
.search-reader-facts dd { overflow-wrap: anywhere; }
.search-reader-open { margin-top: 18px; }
.search-reader-proof { font-size: 12px; }
.search-reader-proof > summary { color: var(--secondary); cursor: pointer; }
.search-reader-proof[open] > summary { margin-bottom: 10px; }
body[data-layout="workspace"] .selection-bar { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border: 0; border-radius: 6px; background: var(--console-work); }
body[data-layout="workspace"] .selection-info { font-size: 13px; }
body[data-layout="workspace"] .selection-bar .btn { min-height: 44px; font-size: 13px; }
body[data-layout="workspace"] .partner-row { border: 0; padding: 18px 0; }
body[data-layout="workspace"] .partner-row + .partner-row { margin-top: 6px; }
body[data-layout="workspace"] .partner-row-main { font-size: 15px; }
body[data-layout="workspace"] .partner-grant-details { margin-top: 6px; }
body[data-layout="workspace"] .partner-grant-details > summary { padding: 8px 0; }
body[data-layout="workspace"] .export-range-form .field { flex: 0 1 190px; }
body[data-layout="workspace"] #export-zeitraum { padding: 14px 0; }
body[data-layout="workspace"] #export-zeitraum .field-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 0; }
/* Entry stays a functional access form, without a marketing band or hero. */
.entry-header { display: flex; align-items: center; gap: 20px; height: 72px; padding: 0 32px; border: 0; background: #103e37; color: #ffffff; }
.entry-header .logo-light { display: none !important; }
.entry-header .logo-dark { display: block !important; }
.entry-header .brand-link { padding-block: 0; }
.entry-header .brand-link img { width: 156px; max-width: 100%; height: auto; object-fit: contain; }
.entry-header .icon-btn { margin-left: auto; color: #ffffff; min-width: 44px; min-height: 44px; }
.entry-product { border: 0; padding: 0; color: #d4e6df; font-size: 15px; }
body.auth-page { background: #f1f3f6; --accent: #087b68; }
body.auth-page::before, body.auth-page #app::before { display: none; }
body.auth-page main#main.auth-main { display: block; min-height: 0; width: min(560px,calc(100% - 48px)); max-width: none; margin: 48px auto; padding: 32px; border-radius: 10px; background: var(--surface); }
.auth-page .auth-card { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.auth-page .auth-head { margin-bottom: 22px; }
.auth-page .auth-head .brand-link, .auth-page .auth-head .brand-separator { display: none; }
.auth-page .auth-head .auth-titel { font-family: var(--font-ui); font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.auth-page .auth-caption { font-size: 16px; line-height: 1.6; }
.auth-page .auth-note { font-size: 14px; line-height: 1.6; }
.auth-page .auth-footer { margin-top: 28px; padding-top: 0; border: 0; font-size: 12px; }
.auth-page .btn { min-height: 44px; border-radius: 6px; font-size: 15px; font-weight: 600; }
.auth-page .btn.primary { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.auth-page .btn.full { width: 100%; min-height: 46px; }
.auth-page .field label, .auth-page input { font-size: 15px; }
.entry-login { padding: 0; border: 0; }
.entry-login .auth-head { margin-top: 0; }
.entry-eyebrow { display: none; }
html[data-theme="dark"] body.auth-page { background: #101b23; --accent: #62cbb0; }
html[data-theme="dark"] .auth-page .btn.primary { color: #092b21; }
.search-select-target { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; margin: 0; cursor: pointer; }
.search-select-target .checkbox { appearance: auto; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
@media (max-width: 1150px) {
  body[data-layout="workspace"] .topbar { gap: 20px; }
  body[data-layout="workspace"] .product-name { display: none; }
  body[data-layout="workspace"] .search-message-workspace { grid-template-columns: minmax(0,1fr); }
  .search-reader { position: static; margin-top: 20px; }
  .search-select-target { width: 44px; height: 44px; }
  body[data-layout="workspace"] .overview-body { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  body[data-layout="workspace"] .topbar { display: grid; grid-template-columns: 96px minmax(72px,1fr) auto; gap: 8px; height: 68px; min-height: 68px; padding: 10px 12px; }
  body[data-layout="workspace"] .brand-link img { width: 96px; }
  body[data-layout="workspace"] .app-header .topbar > .brand-group { grid-column: 1; grid-row: 1; order: 0; }
  body[data-layout="workspace"] .app-header .topbar > .workspace-anchor { grid-column: 2; grid-row: 1; order: 0; }
  body[data-layout="workspace"] .app-header .topbar > .top-actions { grid-column: 3; grid-row: 1; order: 0; }
  body[data-layout="workspace"] .brand-group { min-width: 0; }
  body[data-layout="workspace"] .workspace-anchor { max-width: none; margin: 0; min-width: 0; }
  body[data-layout="workspace"] .workspace { width: 100%; min-width: 0; min-height: 44px; padding: 3px 6px; }
  body[data-layout="workspace"] .workspace strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  body[data-layout="workspace"] .workspace small { display: none; }
  body[data-layout="workspace"] .workspace { gap: 4px; }
  body[data-layout="workspace"] .workspace > span { min-width: 0; }
  body[data-layout="workspace"] .workspace > .icon { width: 8px; height: 8px; flex-shrink: 0; }
  body[data-layout="workspace"] .top-actions { gap: 0; }
  body[data-layout="workspace"] .top-actions .icon-btn,
  body[data-layout="workspace"] .top-actions .account-btn { width: 44px; min-width: 44px; padding: 7px; }
  body[data-layout="workspace"] .top-actions .account-btn > .icon { display: none; }
  .console-shell { grid-template-columns: minmax(0,1fr); }
  .app-context-navigation { position: static; min-height: 0; padding: 4px 12px; }
  .primary-navigation .main-nav { flex-direction: row; align-items: center; overflow-x: auto; gap: 4px; white-space: nowrap; }
  .primary-navigation .main-nav a { flex-shrink: 0; min-height: 44px; padding: 10px 12px; font-size: 13px; }
  .app-context-navigation :is(.main-nav,.subnav) a:focus-visible { outline-offset: -3px; }
  .app-context-navigation .subnav-shell { margin-top: 4px; }
  .app-context-navigation .subnav { flex-direction: row; overflow-x: auto; padding: 0; gap: 4px; white-space: nowrap; }
  .app-context-navigation .subnav a { flex-shrink: 0; min-height: 44px; padding: 10px 12px; font-size: 13px; }
  body[data-layout="workspace"] main#main { margin: 12px; padding: 18px; border-radius: 8px; min-height: 0; }
  body[data-layout="workspace"] .page-footer { padding: 0 18px 20px; }
  body[data-layout="workspace"] h1 { font-size: 26px; }
  body[data-layout="workspace"] h2 { font-size: 18px; }
  body[data-layout="workspace"] .page-head { align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  body[data-layout="workspace"] .page-actions .btn { min-height: 44px; font-size: 13px; padding-inline: 10px; }
  body[data-layout="workspace"] .btn.small { min-height: 44px; }
  body[data-layout="workspace"] .overview-search .note { display: none; }
  .overview-search .search-input input { font-size: 14px; }
  .overview-statusline { gap: 12px 20px; padding: 12px; }
  .overview-statusline .overview-volume { flex-basis: 100%; }
  .overview-statusline .overview-chain { flex: 1 1 130px; }
  .overview-statusline .overview-holds { flex: 1 1 110px; }
  .overview-mailboxes .table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
  .overview-mailboxes .table tbody tr { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 13px 0; border: 0; }
  .overview-mailboxes .table td { min-height: 0; height: auto; padding: 0 8px; text-align: left; font-size: 14px; }
  .overview-mailboxes .table td:first-child { grid-column: 1 / -1; margin-bottom: 10px; }
  .overview-mailboxes .table td[data-label]::before { display: block; margin-bottom: 3px; font-size: 12px; color: var(--secondary); content: attr(data-label); }
  .search-workspace-head { margin-bottom: 16px; }
  .search-workspace-head h1 { font-size: 25px; }
  .search-tools .search-line { gap: 6px; }
  .search-tools .search-input input { height: 44px; font-size: 14px; padding-inline: 33px 26px; }
  .search-tools .search-input > .icon { left: 10px; top: 14px; }
  .search-tools .search-line .btn { min-height: 44px; padding-inline: 10px; font-size: 13px; }
  .search-filters-popover > summary { min-height: 44px; padding: 10px; font-size: 13px; }
  .search-filter-body { top: 54px; padding: 18px; max-height: var(--search-filter-max-height, calc(100dvh - 360px)); }
  .search-contextbar { font-size: 12px; }
  body[data-layout="workspace"] .search-message-table .select-cell { width: 44px; min-width: 44px; padding: 0; }
  body[data-layout="workspace"] .search-message-table .search-message-date { width: 78px; font-size: 12px; padding-right: 4px; }
  body[data-layout="workspace"] .search-message-table .search-message-content { padding-inline: 8px; }
  body[data-layout="workspace"] .search-message-table .row-link { font-size: 14px; line-height: 20px; }
  body[data-layout="workspace"] .search-message-table td { padding-block: 8px; }
  body[data-layout="workspace"] .search-message-table td small { line-height: 16px; }
  .search-message-meta { display: block; font-size: 12px; line-height: 15px; }
  .search-reader { position: static; margin-top: 20px; }
  .selection-bar .button-row { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
  .entry-header { height: 68px; padding: 0 20px; gap: 18px; }
  .entry-header .brand-link img { width: 140px; }
  .entry-product { font-size: 13px; }
  body.auth-page main#main.auth-main { width: calc(100% - 32px); margin: 24px 16px; padding: 24px; }
  .auth-page .auth-head .auth-titel { font-size: 27px; }
}

/* The opt-in operator table group must shrink within its working column. */
body[data-layout="heroui"] .platform-operations {min-width:0;}
/* Native report wrappers keep the application font and a clear content heading.
   The report document's own stylesheet is loaded only on preview pages. */
.report-preview-document {min-width:0;font-family:inherit;}
.report-preview-heading {margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid var(--line);}

body[data-layout="heroui"] .date-field {display:grid;gap:4px;font-size:13px;line-height:20px;}
