/* Shared geometry; warm colors stay in the optional appearance sheet. */
.attendance-export-trigger { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.attendance-export-trigger svg, .attendance-export-dialog svg { width: 18px; height: 18px; }
.attendance-export-dialog { width: min(540px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 22px; border: 1px solid var(--line); border-radius: 8px; overflow-y: auto; box-sizing: border-box; background: var(--panel-strong); color: var(--text); box-shadow: var(--shadow); font: 14px/1.4 var(--font-ui, Inter, sans-serif); }
.attendance-export-form { display: grid; gap: 16px; min-width: 0; }
.attendance-export-form header, .attendance-export-form footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.attendance-export-form footer { justify-content: flex-end; }
.attendance-export-form h2 { margin: 0; font-size: 21px; }
.attendance-export-form > label { display: grid; gap: 6px; min-width: 0; }
.attendance-export-form select { width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-strong); color: var(--text); font: inherit; }
.attendance-export-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.attendance-export-form legend { padding: 0 0 8px; font-weight: 600; }
.attendance-export-months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.attendance-export-months label { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 5px; min-width: 0; font-size: 14px; }
.attendance-export-form input[type=checkbox], .attendance-export-form input[type=radio] { width: 18px; height: 18px; min-height: 18px; flex-shrink: 0; margin: 0; accent-color: var(--cyan); }
.attendance-export-formats { display: flex; flex-wrap: wrap; gap: 6px; }
.attendance-export-formats label { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.attendance-export-formats label:has(:checked) { border-color: var(--cyan); background: var(--panel-strong); }
.attendance-export-selection, .attendance-export-status { overflow-wrap: anywhere; margin: 0; font-size: 13px; color: var(--muted); }
.attendance-export-form footer button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
@media (max-width: 460px) { .attendance-export-dialog { padding: 16px; } .attendance-export-months { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.statistics-detail-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; flex-wrap: wrap; }
.statistics-source-button { display: inline-grid; place-items: center; width: 36px; height: 36px; min-width: 36px; padding: 0; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--panel-strong); }
.statistics-source-button svg { width: 18px; height: 18px; }
@media (min-width: 1100px) {
  body[data-module=statistics] .shell .main > .topbar .top-actions .module-filter-tools:has(.top-filter-fields:not([hidden])) { flex: 1 1 540px !important; }
  body[data-module=statistics] .shell .main > .topbar .top-actions .top-filter-fields:not([hidden]) { width: 540px !important; max-width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  body[data-module=statistics] .shell .topbar .top-module-filters { gap: 8px; }
}
@media (max-width: 760px) {
  body[data-module=statistics] .shell .main > .topbar .top-actions.filters-open { flex-wrap: wrap !important; }
  body[data-module=statistics] .shell .main > .topbar .top-actions .top-filter-fields:not([hidden]) { order: 20 !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body[data-module=statistics] .shell .main > .topbar .top-actions .top-filter-fields label { width: 100% !important; min-width: 0 !important; max-width: none !important; overflow: visible; }
  body[data-module=statistics] .shell .main > .topbar .top-actions .top-filter-fields select { width: 100% !important; min-width: 0 !important; max-width: none !important; font-size: 14px !important; }
}
.shell .main, .shell .content, .shell .sidebar, .shell .nav { min-width: 0; }
.shell .main > .topbar { z-index: 300; overflow: visible !important; }
.shell .nav { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.shell .nav::-webkit-scrollbar, .schedule-scroll::-webkit-scrollbar { display: none; }
.shell .main > .topbar:not(:has(#financeWorkspaceHeader:not([hidden]))) { flex-direction: row !important; align-items: center !important; flex-wrap: wrap; gap: 10px; }
.shell .topbar .top-title { flex: 0 1 160px; min-width: 110px; }
.shell .topbar .top-actions { width: auto !important; flex: 1 1 380px !important; flex-wrap: wrap !important; gap: 8px !important; align-items: center !important; }
.shell .topbar .module-filter-tools:not(.has-module-controls) { flex: 0 1 auto !important; width: auto !important; gap: 0 !important; }
.shell .topbar .module-filter-tools.has-module-controls { flex: 1 1 auto !important; }
.shell .topbar .top-icon-actions { width: auto !important; margin-left: 0 !important; gap: 8px !important; }
.shell .topbar .top-module-filters { width: auto !important; min-width: 0; flex-wrap: wrap; }
.shell .topbar .top-filter-fields:not([hidden]) { position: static !important; width: 330px !important; max-width: 100%; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 6px !important; padding: 0; border: 0; border-radius: 0; background: transparent !important; box-shadow: none; animation: toolbar-drawer-in .18s ease-out; }
.shell .topbar .top-filter-fields label { display: grid; gap: 2px; width: auto !important; min-width: 0; font-size: 11px; }
.shell .topbar .top-filter-fields input, .shell .topbar .top-filter-fields select { width: 100% !important; min-width: 0; max-width: 100%; }
.shell .topbar .top-filter-fields :is(input, select) { min-height: 34px; height: 34px; padding: 5px 7px; font-size: 12px; background: var(--panel-strong); }
.shell .topbar .top-filter-fields[hidden], .shell .topbar [hidden] { display: none !important; }
.shell .topbar .search.is-open { position: static !important; display: flex !important; width: 260px !important; min-width: 0 !important; max-width: 260px !important; flex: 0 1 260px !important; background: var(--panel-strong); animation: toolbar-drawer-in .18s ease-out; }
.shell .topbar .search:not(.is-open) { display: none !important; }
.shell .main > .topbar .top-actions .search.is-open { order: 1 !important; }
.shell .topbar #searchToggleButton { order: 2 !important; }
.shell .main > .topbar .top-actions .module-filter-tools:has(.top-filter-fields:not([hidden])) { order: 3 !important; flex: 0 1 390px !important; width: auto !important; max-width: 100%; align-self: center; padding-top: 0 !important; overflow: visible !important; }
.shell .main > .topbar .top-actions.filters-open .top-module-filters { width: auto !important; min-width: 0 !important; max-width: 100% !important; flex-wrap: wrap !important; }
.shell .main > .topbar .top-actions .top-filter-fields:not([hidden]) { width: 390px !important; height: auto !important; min-height: 0 !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.shell .topbar #filterToggleButton { order: 4 !important; }
.shell .topbar .module-filter-tools.has-module-controls:not(:has(.top-filter-fields:not([hidden]))) { order: 0 !important; }
.shell .topbar .view-options-wrap { position: static; }
.shell .topbar .view-options-panel { position: absolute !important; top: calc(100% + 8px) !important; left: auto !important; right: 0 !important; bottom: auto !important; transform: none !important; width: min(360px, calc(100vw - 32px)) !important; max-height: min(560px, calc(100dvh - 180px)) !important; overflow: auto; overscroll-behavior: contain; box-shadow: var(--shadow) !important; }
.shell .main > .topbar .top-actions .top-filter-fields label { display: grid !important; height: auto !important; min-width: 0 !important; max-width: none !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
@keyframes toolbar-drawer-in { from { opacity: 0; transform: translateX(12px); clip-path: inset(0 0 0 100%); } to { opacity: 1; transform: none; clip-path: inset(0); } }
.planner-console .schedule-corner { display: flex !important; align-items: center !important; justify-content: center !important; padding: 8px !important; }
.planner-console .schedule-corner .mini { margin: 0 !important; }
.planner-console .schedule-grid { min-width: 0 !important; max-width: 100%; }
.schedule-scroll { min-width: 0; max-width: 100%; scrollbar-width: none; }
.planner-controlbar .planner-actionbar { gap: 8px !important; min-width: 0; flex-wrap: wrap !important; align-items: center; }
body.planner-shell .planner-controlbar .planner-actionbar .planner-view-menu { display: flex; align-items: center; margin: 0 !important; padding: 0 !important; flex: 0 0 38px !important; width: 38px !important; min-width: 38px; height: 38px; }
body.planner-shell .planner-controlbar .planner-week-tabs { margin: 0 !important; }
.planner-controlbar .planner-view-menu > summary { margin: 0 !important; width: 38px !important; height: 38px !important; padding: 0 !important; display: grid !important; place-items: center; }
body.planner-shell .planner-controlbar .planner-actionbar :is(.planner-icon-button, .planner-theme-toggle) { width: 38px !important; min-width: 38px !important; height: 38px !important; min-height: 38px !important; }
strong.planner-plate { display: block; max-width: 100%; border: 0; border-radius: 0; background: transparent; color: var(--text); box-shadow: none; white-space: nowrap; letter-spacing: 0; }
body.planner-shell .schedule-vehicle-head { gap: 4px; align-items: center; }
body.planner-shell .schedule-vehicle-head > strong { margin: 0 !important; }
body.planner-shell .schedule-vehicle-head .planner-order-tools { transform: none !important; display: flex !important; gap: 2px !important; }
body.planner-shell .schedule-vehicle-head .planner-order-tools .mini { min-width: 24px; width: 24px; min-height: 26px; height: 26px; }
body.planner-shell .schedule-vehicle-head:not(:has(.planner-order-tools)) { grid-template-columns: minmax(0, 1fr) !important; }
html:has(#notificationDialog[open]), body:has(#notificationDialog[open]) { overflow: hidden !important; }
#notificationDialog { padding: 0; border: 0; max-height: calc(100dvh - 24px); overflow: hidden; }
#notificationDialog .notification-card { max-height: calc(100dvh - 24px); min-height: 0; overflow: hidden; }
#notificationDialog .notification-list { min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.stats-chart-switcher { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; }
.stats-chart-switcher button { min-height: 34px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--muted); background: transparent; }
.stats-chart-switcher button[aria-pressed=true] { color: var(--text); background: var(--panel-strong); border-color: var(--cyan); }
.stats-lines-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stats-lines-head h2 { margin: 3px 0 6px; font-size: 18px; }
.stats-lines-head small { color: var(--muted); }
.stats-lines-head select { max-width: 90px; }
.stats-lines-legend { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 18px 0; }
.stats-lines-legend > div { display: flex; flex-direction: column; gap: 6px; }
.stats-lines-legend span { font-size: 12px; color: var(--muted); }
.stats-lines-legend span[style]::before { content: ""; width: 16px; height: 3px; display: inline-block; vertical-align: middle; margin-right: 7px; background: var(--series-color); border-radius: 2px; }
.stats-lines-legend strong { font-size: 19px; color: var(--text); }
.stats-lines-difference { margin-left: auto; text-align: right; }
.stats-lines-chart { position: relative; min-width: 0; }
.stats-lines-chart svg { display: block; width: 100%; height: auto; min-height: 180px; overflow: visible; }
.stats-lines-chart text { fill: var(--muted); font-size: 12px; font-family: inherit; }
.stats-grid-line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 6; }
.stats-line { stroke-linecap: round; stroke-linejoin: round; }
.stats-line-hits { position: absolute; inset: 0; pointer-events: none; }
.stats-line-hits button { position: absolute; top: 7.857%; bottom: 12.5%; pointer-events: auto; background: transparent; border: 0; border-radius: 0; padding: 0; min-width: 0; }
.stats-line-hits button:hover, .stats-line-hits button:focus-visible { background: #ffffff08; outline: 0; }
.stats-line-hits button:is(:hover, :focus-visible)::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--point-position); border-left: 1px solid var(--cyan); }
.stats-lines-chart .stats-hover-tooltip { top: 6px; right: 14px; max-width: min(410px, 90%); pointer-events: none; }
.stats-chart-panel .stats-hover-tooltip { border-color: var(--line); background: var(--panel-strong, #242a2e); color: var(--text); box-shadow: 0 8px 24px #0003; border-radius: 6px; }
.stats-chart-panel .stats-hover-tooltip strong, .stats-chart-panel .stats-hover-tooltip span { color: var(--text); }
.stats-chart-panel .stats-hover-tooltip span { font-size: 14px; line-height: 1.5; font-weight: 600; }
.stats-chart-panel .stats-hover-tooltip small { color: var(--muted); }
body.light .stats-chart-panel .stats-hover-tooltip { background: var(--panel-strong, #f9fafb); border-color: var(--line); }
.stats-line { stroke-width: 2; opacity: .9; }
.stats-grid-line { opacity: .65; }

body .mail-body-preview.rich-html, body.light .mail-body-preview.rich-html { color-scheme: light; color: #273038; background: #fff; border-color: #d5dbe0; }
body .mail-body-preview.rich-html a { color: #075c9b; }
body .mail-body-preview.rich-html pre, body .mail-body-preview.rich-html code { color: #273038; background: #f2f4f6; }
.mail-finance-files { list-style: none; padding: 0; margin: 12px 0; }
.mail-finance-files li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding: 10px 0; overflow-wrap: anywhere; }
.mail-finance-costs { overflow-x: auto; }
.mail-finance-costs table { width: 100%; border-collapse: collapse; }
.mail-finance-costs th, .mail-finance-costs td { padding: 10px 6px; text-align: left; border-bottom: 1px solid var(--line); }
.mail-finance-costs th:last-child, .mail-finance-costs td:last-child { text-align: right; }
.mail-finance-costs small { display: block; color: var(--muted); }
.mail-source-orders .field { display: grid; gap: 6px; margin: 12px 0; min-width: 0; }
.mail-source-orders input[type="search"], .mail-source-orders select { width: 100%; min-width: 0; box-sizing: border-box; }
.mail-source-orders h3, .mail-source-orders strong, .mail-source-orders small { overflow-wrap: anywhere; }
.mail-source-order-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mail-source-order-summary > span { flex: 1 1 220px; min-width: 0; }
.mail-source-order-summary small { display: block; color: var(--muted); }
.mail-source-orders .mail-assistant-actions { flex-wrap: wrap; }
.mail-source-orders button { max-width: 100%; white-space: normal; }
.mail-invoice-result { padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.mail-invoice-result fieldset { margin: 12px 0; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.mail-invoice-result a, .mail-invoice-result label { overflow-wrap: anywhere; }
.mail-invoice-result input[type="checkbox"] { flex: 0 0 auto; }
.mail-source-orders .fv3 { max-width: 100%; min-width: 0; }

.invoice-history-table-wrap { overflow-x: auto; margin-top: 14px; }
body[data-module="invoicing"] .invoice-history-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; }
body[data-module="invoicing"] .invoice-history-table th, body[data-module="invoicing"] .invoice-history-table td { padding: 16px 10px; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
body[data-module="invoicing"] .invoice-history-table th { font-size: 12px; font-weight: 500; color: var(--muted); }
.invoice-history-table th:nth-child(1) { width: 28%; }
.invoice-history-table th:nth-child(2) { width: 15%; }
.invoice-history-table th:nth-child(3), .invoice-history-table th:nth-child(4) { width: 12%; }
.invoice-history-table th:nth-child(5) { width: 18%; }
.invoice-history-table th:nth-child(6) { width: 15%; }
.invoice-history-table small { display: block; font-size: 11px; line-height: 1.4; color: var(--muted); margin-top: 4px; }
body[data-module="invoicing"] .invoice-history-table .invoice-history-amount { text-align: right; }
body[data-module="invoicing"] .invoice-history-table .party-overview-link, body[data-module="invoicing"] .invoice-history-toggle { min-height: 28px; padding: 0; border: 0; border-radius: 0; color: var(--text); background: none; text-align: left; white-space: normal; font-weight: 700; }
.invoice-history-table tr[data-invoice-history-row]:hover, .invoice-history-table tr.is-expanded { background: color-mix(in srgb, var(--text) 5%, transparent); }
.invoice-history-table .invoice-card-actions { display: flex !important; position: static; flex-wrap: wrap; margin: 0; }
.invoice-history-table .invoice-history-mobile-dates, .invoice-history-table .invoice-history-mobile-status { display: none; }
body[data-module="invoicing"] .invoice-history-table th button { display: inline-flex; align-items: center; gap: 4px; padding: 0; min-height: 30px; border: 0; border-radius: 0; background: transparent !important; color: inherit !important; font: inherit; text-align: inherit; box-shadow: none; }
body[data-module="invoicing"] .invoice-history-table th button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
@media (max-width: 760px) {
  body[data-module="invoicing"] .invoice-history-table th, body[data-module="invoicing"] .invoice-history-table td { padding: 12px 6px; font-size: 12px; }
  .invoice-history-table th:nth-child(3), .invoice-history-table td:nth-child(3), .invoice-history-table th:nth-child(4), .invoice-history-table td:nth-child(4), .invoice-history-table th:nth-child(6), .invoice-history-table td:nth-child(6) { display: none; }
  .invoice-history-table th:nth-child(1) { width: 38%; }
  .invoice-history-table th:nth-child(2) { width: 27%; }
  .invoice-history-table th:nth-child(5) { width: 35%; }
  .invoice-history-table .invoice-history-mobile-dates { display: block; }
  .invoice-history-table .invoice-history-mobile-status { display: inline-block; margin-top: 6px; }
}
.stats-chart-warning { color: var(--amber); padding: 18px 0; }
@media (max-width: 1280px) {
  .shell .topbar:has(.top-actions.search-open, .top-actions.filters-open) .top-title { display: none; }
  .shell .topbar :is(.top-actions.search-open, .top-actions.filters-open) { flex-basis: 100% !important; }
}
@media (max-width: 760px) {
  .shell .topbar .top-title { flex: 1 1 100px; }
  .shell .topbar .top-actions { flex-basis: 100% !important; }
  .shell .topbar .module-filter-tools.has-module-controls { flex-basis: 100% !important; }
  .shell .topbar .top-module-filters > :not(.top-filter-fields) { max-width: 100%; }
  .shell .topbar :is(.top-actions.search-open, .top-actions.filters-open) { flex-wrap: nowrap !important; }
  .shell .topbar :is(.top-actions.search-open, .top-actions.filters-open) :is(.top-icon-actions, #newItemButton, #loginButton) { display: none !important; }
  .shell .topbar .top-actions.search-open :is(#filterToggleButton, .module-filter-tools), .shell .topbar .top-actions.filters-open :is(#searchToggleButton, .search) { display: none !important; }
  .shell .topbar .top-actions.search-open .search.is-open { flex: 1 1 auto !important; width: auto !important; max-width: none !important; }
  .shell .main > .topbar .top-actions.filters-open .module-filter-tools:has(.top-filter-fields:not([hidden])) { flex: 1 1 auto !important; }
  .shell .main > .topbar .top-actions.filters-open .top-filter-fields { width: 100% !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .shell .topbar .top-actions.filters-open .top-module-filters { width: 100% !important; }
  .shell .topbar .view-options-panel { max-height: calc(100dvh - 240px) !important; }
  .planner-controlbar .planner-week-tabs { flex: 1 1 100% !important; max-width: 100%; }
  .stats-chart-switcher button:not([data-stats-chart-step]) { flex: 1 1 35%; padding-inline: 8px; }
  .stats-lines-legend { gap: 14px; }
  .stats-lines-legend strong { font-size: 16px; }
  .stats-lines-difference { margin-left: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .shell .topbar .top-filter-fields, .shell .topbar .search.is-open { animation: none; } }

.login-page-card :is(label, input, .auth-remember span) { font-weight: 400 !important; }
.login-page-card .login-page-submit { font-weight: 600 !important; }
#appLoader, #moduleLoader { position: fixed; inset: 0; width: auto; height: auto; margin: 0; padding: 0; display: grid; place-items: center; align-content: center; overflow: hidden; background: var(--bg, #0c1119); transform: none; }
html[data-theme=light] :is(#appLoader, #moduleLoader) { background: #f6f9fc; }
#appLoader[aria-hidden=true] { visibility: hidden; }
#moduleLoader { z-index: 2000; }
#moduleLoader[hidden] { display: none !important; }
#appLoader .loading-mark, #moduleLoader .loading-mark, .page-transition-ghost .loading-mark { --loading-accent: var(--cyan, #56d9ff); position: relative; display: grid; place-items: center; width: 112px; height: 112px; max-width: 100%; max-height: 100%; overflow: clip; margin: 0; color: var(--text, #f8f9fa); font: 700 60px/1 Arial, sans-serif; letter-spacing: 0; }
html[data-theme=light] :is(#appLoader, #moduleLoader, .page-transition-ghost) .loading-mark { color: #23313a; }
html:not([data-appearance=warm])[data-theme=light] :is(#appLoader, #moduleLoader, .page-transition-ghost) .loading-mark { --loading-accent: #008db9; }
html[data-appearance=warm] :is(#appLoader, #moduleLoader, .page-transition-ghost) .loading-mark { --loading-accent: #f68c42; }
html[data-appearance=warm][data-theme=light] :is(#appLoader, #moduleLoader, .page-transition-ghost) .loading-mark { --loading-accent: #b95811; }
:is(#appLoader, #moduleLoader, .page-transition-ghost) .loading-mark::before, :is(#appLoader, #moduleLoader, .page-transition-ghost) .loading-mark::after { content: ""; position: absolute; inset: 0; box-sizing: border-box; border: 3px solid transparent; border-radius: 50%; pointer-events: none; }
:is(#appLoader, #moduleLoader, .page-transition-ghost) .loading-mark::before { border-color: color-mix(in srgb, var(--loading-accent) 18%, transparent); }
:is(#appLoader, #moduleLoader, .page-transition-ghost) .loading-mark::after { border-top-color: var(--loading-accent); border-right-color: color-mix(in srgb, var(--loading-accent) 45%, transparent); }
body.loading #appLoader .loading-mark::after, #moduleLoader:not([hidden]) .loading-mark::after { animation: dion-loading-orbit 1.4s linear infinite; }
.loading-mark :is(.loading-words, .loading-word) { color: inherit; font: inherit; }
.loading-mark .loading-words { position: absolute; inset: 8px; overflow: hidden; border-radius: 50%; }
.loading-mark .loading-word { position: absolute; inset: 0; display: grid; place-items: center; white-space: nowrap; opacity: 0; }
.loading-mark .loading-word:first-child { opacity: 1; }
body.loading #appLoader .loading-word, #moduleLoader:not([hidden]) .loading-word { animation: dion-loading-word 3.2s cubic-bezier(.4, 0, .2, 1) infinite; }
body.loading #appLoader .loading-word:nth-child(2), #moduleLoader:not([hidden]) .loading-word:nth-child(2) { animation-delay: 1.6s; }
.page-transition-ghost .loading-mark::after { animation: dion-loading-orbit 1.4s linear infinite; }
.page-transition-ghost .loading-word { animation: dion-loading-word 3.2s cubic-bezier(.4, 0, .2, 1) infinite; }
.page-transition-ghost .loading-word:nth-child(2) { animation-delay: 1.6s; }
@keyframes dion-loading-word { 0% { opacity: 0; transform: translateX(100%); } 10%, 40% { opacity: 1; transform: translateX(0); } 50%, 100% { opacity: 0; transform: translateX(-100%); } }
@keyframes dion-loading-orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { body.loading #appLoader .loading-mark::after, #moduleLoader:not([hidden]) .loading-mark::after, body.loading #appLoader .loading-word, #moduleLoader:not([hidden]) .loading-word { animation: none; } }
body.planner-shell .content, body[data-module=inbox] .content { gap: 12px !important; }
body.planner-shell .planner-controlbar { margin-bottom: 0 !important; }
body.planner-shell .content > [hidden], body[data-module=inbox] .content > [hidden] { display: none !important; }
body.planner-shell .schedule-vehicle-head { position: relative; display: grid !important; grid-template-columns: minmax(0, 1fr) !important; justify-items: center; padding-inline: 28px; }
body.planner-shell .schedule-vehicle-head > strong.planner-plate { max-width: 100% !important; min-height: 25px; justify-self: center; line-height: 25px; font-size: 17px; transform: none !important; transition: transform .16s ease; }
body.planner-shell .schedule-vehicle-head .planner-order-tools { position: absolute !important; right: 0; top: 50%; translate: 0 -50%; flex-direction: row; width: 50px !important; }
body.planner-shell .schedule-vehicle-head .planner-order-tools .mini { min-height: 20px !important; height: 20px !important; padding: 0 !important; }
body.planner-shell .planner-order-tools .mini svg { width: 16px; height: 16px; }
body.planner-shell .schedule-vehicle:is(:hover, :focus-within) strong.planner-plate { transform: translateX(-26px) !important; }
@media (prefers-reduced-motion: reduce) { body.planner-shell .schedule-vehicle-head > strong { transition: none; } }
@media (hover: none) { body.planner-shell .schedule-vehicle-head .planner-order-tools { opacity: 1 !important; visibility: visible !important; } body.planner-shell .schedule-vehicle-head strong.planner-plate { transform: translateX(-26px) !important; } }
body.finance-v3-shell .shell .main > .topbar { min-height: 84px; align-items: center !important; }
body.finance-v3-shell #financeWorkspaceHeader .fv3-heading { min-height: 64px; }
body.finance-v3-shell #financeWorkspaceHeader .fv3-filters { position: absolute !important; top: calc(100% + 10px); right: 0; width: min(390px, calc(100vw - 32px)) !important; max-width: none !important; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-strong) !important; box-shadow: var(--shadow); z-index: 10; }
.fv3-reading-review { margin-top: 8px; padding: 0 !important; }
.fv3-classification { padding-block: 16px; border-block: 1px solid var(--fv3-border); margin-bottom: 16px; }
.fv3-classification label { display: grid; gap: 6px; }
.fv3-classification select { width: 100%; }
.fv3-classification-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fv3-overpayment { border-top: 1px solid var(--fv3-border); padding-top: 16px; }
.fv3-overpayment p { overflow-wrap: anywhere; }
html:not([data-appearance=warm]) .shell .topbar #newItemButton { background: var(--cyan, #56d9ff) !important; color: #07161c !important; border-color: transparent !important; }
html:not([data-appearance=warm])[data-theme=light] .shell .topbar #newItemButton { background: #008db9 !important; color: #fff !important; }
.fv3-tabs { flex-wrap: wrap; }
.fv3-tabs button { flex-shrink: 0; }
.invoice-history-mobile-sort { display: none; }
@media (max-width: 760px) {
  body.finance-v3-shell #financeWorkspaceHeader .fv3-heading { display: grid !important; grid-template-columns: minmax(0, 1fr); grid-template-rows: 56px 48px; gap: 8px; min-height: 112px; }
  body.finance-v3-shell #financeWorkspaceHeader .fv3-title { display: block !important; grid-row: 1; }
  body.finance-v3-shell #financeWorkspaceHeader .fv3-actions { grid-row: 2; flex-wrap: nowrap !important; width: 100%; align-self: center; }
  body.finance-v3-shell #financeWorkspaceHeader .fv3-actions :is(button, .icon-only), body.finance-v3-shell #financeWorkspaceHeader .fv3-toolbar-control > button { width: 36px; height: 36px; min-height: 36px; min-width: 36px; }
  body.finance-v3-shell #financeWorkspaceHeader .fv3-actions > [data-action=toggle-actions] { width: 40px; height: 40px; min-height: 40px; }
  .invoice-history-mobile-sort { display: block; margin-top: 12px; }
  .invoice-history-mobile-sort .invoice-sort-control { display: flex; align-items: center; gap: 8px; }
  .invoice-history-mobile-sort select { min-width: 0; width: 100%; }
}

/* Route animation is decorative; ready content and navigation stay interactive. */
.page-transition-ghost { position: fixed; z-index: 2010; pointer-events: none; transform-origin: top left; }
#moduleLoader { pointer-events: none; }
