:root {
  --dka: #18a999;
  --dka-hover: #108f83;
  --dka-navy: #10243e;
  --dka-navy-deep: #081c33;
  --dka-gold: #dca238;
  --dka-text: #17263a;
  --dka-muted: #6d7b8d;
  --dka-border: #dfe6ee;
  --dka-surface: #ffffff;
  --dka-canvas: #f3f6fa;
  --sidebar-width: 208px;
  --sidebar-compact-width: 60px;
  --topbar-height: 64px;
  --workspacebar-height: 44px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { color: var(--dka-text); background: var(--dka-canvas); }
a { color: inherit; }
.bg-dka { background-color: var(--dka-navy) !important; }
.text-dka { color: var(--dka) !important; }
.btn-dka { --bs-btn-color: #fff; --bs-btn-bg: var(--dka); --bs-btn-border-color: var(--dka); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--dka-hover); --bs-btn-hover-border-color: var(--dka-hover); --bs-btn-focus-shadow-rgb: 24, 169, 153; }
.hero-dka { background: radial-gradient(circle at 85% 15%, rgba(220,162,56,.2), transparent 32%), linear-gradient(135deg, #fff, #edf5f4); }
.py-lg-6 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.module-card { transition: transform .15s ease, box-shadow .15s ease; }
.module-card:hover { transform: translateY(-3px); box-shadow: 0 .75rem 1.5rem rgba(16,36,62,.12) !important; }

.skip-link { position: fixed; left: .75rem; top: -5rem; z-index: 3000; background: #fff; color: #000; padding: .75rem 1rem; border: 3px solid var(--dka-gold); border-radius: .4rem; }
.skip-link:focus { top: .75rem; }
:focus-visible { outline: 3px solid #c18313 !important; outline-offset: 3px; }

/* Application shell */
.app-body { min-height: 100vh; margin: 0; background: var(--dka-canvas); }
.app-shell { min-height: 100vh; }
.app-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 1045; width: var(--sidebar-width); display: flex; flex-direction: column; overflow: hidden; color: #fff; background: linear-gradient(180deg, #071a30, #0a2c4b 62%, #08243e); box-shadow: 8px 0 24px rgba(8,28,51,.08); transition: width .2s ease, transform .2s ease; }
.app-brand { min-height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.app-brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.app-brand-logo-frame { position: relative; width: 146px; height: 68px; display: block; overflow: hidden; border: 1px solid rgba(220,162,56,.42); border-radius: 7px; background: #fff; box-shadow: 0 7px 20px rgba(2,12,23,.2); }
.app-brand-logo-frame img { width: 170px; max-width: none; height: auto; display: block; transform: translate(-13px,-39px); }
.sidebar-close { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 0; border-radius: 6px; color: #fff; background: rgba(255,255,255,.07); font-size: 1rem; }
.app-nav-scroll { min-height: 0; flex: 1; overflow-x: hidden; overflow-y: auto; padding: 9px 0; scrollbar-color: rgba(255,255,255,.24) transparent; scrollbar-width: thin; }
.app-nav-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 6px; color: rgba(255,255,255,.45); font-size: .56rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.app-nav-heading small { font-size: .55rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.app-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 7px; }
.app-nav-link { width: 100%; min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 9px; overflow: hidden; border: 0; border-radius: 6px; color: rgba(255,255,255,.82); background: transparent; text-align: left; text-decoration: none; font-size: .72rem; font-weight: 550; white-space: nowrap; transition: background .16s ease, color .16s ease; }
.app-nav-link > i:first-child { width: 20px; flex: 0 0 20px; text-align: center; color: #8fc3c1; font-size: .94rem; }
.app-nav-link > span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; }
.app-nav-link:hover { color: #fff; background: rgba(255,255,255,.075); }
.app-nav-link:hover > i:first-child { color: #fff; }
.app-nav-link.active { color: #fff; background: linear-gradient(100deg, #0e9f96, #12b1a7); box-shadow: 0 6px 16px rgba(3,169,157,.21); }
.app-nav-link.active > i:first-child { color: #fff; }
.app-nav-count { min-width: 20px; padding: 2px 5px; border-radius: 9px; color: rgba(255,255,255,.62); background: rgba(255,255,255,.08); font-size: .55rem; text-align: center; }
.app-nav-chevron { width: 12px; flex: 0 0 12px; color: rgba(255,255,255,.42); font-size: .6rem; transition: transform .18s ease; }
.app-nav-group-toggle[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.055); }
.app-nav-group-toggle[aria-expanded="true"] .app-nav-chevron { transform: rotate(90deg); }
.app-subnav { position: relative; padding: 3px 0 5px; }
.app-subnav::before { content: ""; position: absolute; left: 19px; top: 3px; bottom: 7px; width: 1px; background: rgba(143,195,193,.27); }
.app-subnav-link { position: relative; min-height: 32px; display: flex; align-items: center; gap: 7px; margin: 1px 0; padding: 5px 8px 5px 33px; overflow: hidden; border-radius: 6px; color: rgba(255,255,255,.67); text-decoration: none; font-size: .66rem; line-height: 1.2; }
.app-subnav-link > i { width: 17px; flex: 0 0 17px; color: rgba(143,195,193,.72); text-align: center; font-size: .78rem; }
.app-subnav-link > span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-subnav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.app-subnav-link.active { color: #fff; background: rgba(24,169,153,.22); font-weight: 650; }
.app-subnav-link.active::before { content: ""; position: absolute; left: 17px; width: 5px; height: 5px; border-radius: 50%; background: var(--dka-gold); box-shadow: 0 0 0 3px rgba(220,162,56,.16); }
.app-nav-separator { height: 1px; margin: 8px 8px; background: rgba(255,255,255,.08); }
.app-nav-empty { margin: 8px 10px; color: rgba(255,255,255,.55); font-size: .68rem; }
.app-sidebar-footer { flex: 0 0 auto; display: flex; flex-direction: column; padding: 9px 14px 11px; border-top: 1px solid rgba(255,255,255,.08); }
.app-sidebar-footer > span:first-child { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.72); font-size: .67rem; white-space: nowrap; }
.app-sidebar-footer > span:first-child i { color: #72c4bc; font-size: .82rem; }
.app-version { margin-top: 5px; color: rgba(255,255,255,.37); font-size: .57rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.sidebar-backdrop { display: none; }
.app-main { min-height: 100vh; margin-left: var(--sidebar-width); transition: margin-left .2s ease; }
.sidebar-compact { --sidebar-width: var(--sidebar-compact-width); }
.sidebar-compact .app-brand { min-height: 60px; justify-content: center; padding: 10px; }
.sidebar-compact .app-brand-logo-frame { width: 38px; height: 38px; border-radius: 8px; }
.sidebar-compact .app-brand-logo-frame img { width: 124px; transform: translate(-10px,-29px); }
.sidebar-compact .app-nav-heading, .sidebar-compact .app-nav-link > span, .sidebar-compact .app-nav-count, .sidebar-compact .app-nav-chevron, .sidebar-compact .app-subnav, .sidebar-compact .app-nav-separator, .sidebar-compact .app-sidebar-footer > span:first-child > span, .sidebar-compact .app-version { display: none !important; }
.sidebar-compact .app-nav-scroll { padding-top: 10px; }
.sidebar-compact .app-nav { gap: 4px; padding-inline: 7px; }
.sidebar-compact .app-nav-link { min-height: 42px; justify-content: center; padding: 0; }
.sidebar-compact .app-nav-link > i:first-child { width: 22px; flex-basis: 22px; font-size: 1rem; }
.sidebar-compact .app-sidebar-footer { align-items: center; padding-inline: 8px; }
.app-topbar { position: sticky; top: 0; z-index: 1030; height: var(--topbar-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; border-bottom: 1px solid var(--dka-border); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.app-workspace-bar { position: sticky; top: var(--topbar-height); z-index: 1029; height: var(--workspacebar-height); display: flex; align-items: stretch; overflow: hidden; border-bottom: 1px solid var(--dka-border); background: rgba(248,250,252,.97); box-shadow: 0 2px 8px rgba(16,36,62,.025); backdrop-filter: blur(10px); }
.workspace-bar-label { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; padding: 0 13px 0 17px; border-right: 1px solid var(--dka-border); color: #536176; font-size: .61rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.workspace-bar-label i { color: var(--dka); font-size: .82rem; }
.workspace-tabs { min-width: 0; display: flex; align-items: stretch; flex: 1; overflow-x: auto; padding: 4px 7px; scrollbar-width: thin; }
.workspace-tab { position: relative; min-width: max-content; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 0; border-radius: 6px; color: #607086; background: transparent; font-size: .66rem; font-weight: 650; white-space: nowrap; }
.workspace-tab:hover { color: #087b73; background: #eaf6f5; }
.workspace-tab.active { color: #fff; background: linear-gradient(100deg,#0e958c,#13aaa0); box-shadow: 0 3px 10px rgba(3,169,157,.16); }
.workspace-tab small { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: #768497; background: #e6ebf0; font-size: .5rem; font-weight: 800; }
.workspace-tab.active small { color: #08766f; background: rgba(255,255,255,.88); }
.workspace-tab i { font-size: .76rem; }
.app-search { width: min(520px, 48vw); height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #d9e1ea; border-radius: 7px; background: #fff; color: #7e8997; }
.app-search:focus-within { border-color: var(--dka); box-shadow: 0 0 0 3px rgba(24,169,153,.12); }
.app-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--dka-text); background: transparent; font-size: .86rem; }
.app-search-shortcut { padding: 2px 6px; border: 1px solid #e1e6ed; border-radius: 4px; color: #96a0ad; font-size: .65rem; white-space: nowrap; }
.app-topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-icon { position: relative; width: 36px; height: 36px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; color: var(--dka-text); background: transparent; text-decoration: none; font-size: 1.05rem; }
.topbar-icon:hover { color: var(--dka); background: #eff8f7; }
.notification-badge { position: absolute; right: 2px; top: 1px; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; border-radius: 10px; color: #fff; background: var(--dka); font-size: .58rem; font-weight: 800; }
.topbar-dropdown { min-height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #dfe5ec; border-radius: 7px; color: var(--dka-text); background: #fff; font-size: .78rem; font-weight: 600; }
.topbar-dropdown .bi-chevron-down, .user-menu-button > .bi-chevron-down { margin-left: 4px; font-size: .7rem; }
.user-menu-button { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; color: var(--dka-text); background: transparent; text-align: left; }
.user-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--dka); font-size: .68rem; font-weight: 800; }
.user-menu-copy { display: flex; flex-direction: column; max-width: 150px; }
.user-menu-copy strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-copy small { color: var(--dka-muted); font-size: .65rem; }
.dropdown-menu { border-color: var(--dka-border); }
.dropdown-item { font-size: .84rem; }
.app-flash-container { position: relative; z-index: 5; padding: 12px 16px 0; }
.app-content { width: 100%; min-height: calc(100vh - var(--topbar-height) - var(--workspacebar-height)); }
.app-content > .container { width: 100%; max-width: none; margin: 0; padding: 14px 16px 28px !important; }

/* Dense, full-width workspace shared by operational screens */
.app-content .row.g-3 { --bs-gutter-x: .75rem; --bs-gutter-y: .75rem; }
.app-content .breadcrumb { margin-bottom: .7rem; font-size: .7rem; }
.app-content .h3 { font-size: 1.35rem; }
.app-content .h4 { font-size: 1.12rem; }
.app-content .h5 { font-size: .92rem; }
.app-content .card { border-radius: 7px; box-shadow: 0 2px 8px rgba(16,36,62,.045) !important; }
.app-content .card-body { padding: 12px 14px !important; }
.app-content .card-header { min-height: 44px; padding: 8px 12px; border-color: var(--dka-border); }
.app-content .table { font-size: .76rem; }
.app-content .table > :not(caption) > * > * { padding: .5rem .62rem; }
.app-content .table thead th { color: #425066; font-size: .69rem; white-space: nowrap; }
.app-content .form-label { margin-bottom: .3rem; color: #425066; font-size: .72rem; font-weight: 650; }
.app-content .form-control, .app-content .form-select { min-height: 36px; padding: .38rem .62rem; font-size: .78rem; }
.app-content textarea.form-control { min-height: 74px; }
.app-content .form-text { margin-top: .2rem; font-size: .64rem; }
.app-content .btn { --bs-btn-padding-y: .36rem; --bs-btn-padding-x: .7rem; --bs-btn-font-size: .76rem; }
.app-content .btn-sm { --bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .68rem; }
.app-content .alert { padding: .7rem .85rem; font-size: .76rem; }
.module-help-button { width: 18px; height: 18px; display: inline-grid; place-items: center; margin-left: 7px; padding: 0; vertical-align: .16em; border: 1px solid #8fc9c4; border-radius: 50%; color: #087b73; background: #eff9f8; font-family: inherit; font-size: .65rem; font-weight: 800; line-height: 1; cursor: help; transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease; }
.module-help-button:hover, .module-help-button:focus-visible { border-color: var(--dka); color: #fff; background: var(--dka); transform: translateY(-1px); }
.dka-help-popover { --bs-popover-max-width: 300px; --bs-popover-border-color: #cbdad9; --bs-popover-header-bg: #edf8f7; --bs-popover-header-color: #153a46; --bs-popover-body-color: #4b5b6d; box-shadow: 0 10px 28px rgba(16,36,62,.14); }
.dka-help-popover .popover-header { padding: .55rem .7rem; font-size: .76rem; }
.dka-help-popover .popover-body { padding: .65rem .7rem; font-size: .72rem; line-height: 1.45; }

/* Modern shared create/edit workspace */
.module-form-page { padding-top: 12px !important; }
.module-form-page .breadcrumb { margin-bottom: 9px; }
.module-form-page .breadcrumb a { color: #527087; text-decoration: none; }
.module-form-hero { min-height: 92px; display: grid; grid-template-columns: 50px minmax(0,1fr) auto; align-items: center; gap: 13px; margin-bottom: 11px; padding: 12px 14px; overflow: hidden; border: 1px solid #d8e5e4; border-radius: 9px; background: radial-gradient(circle at 88% 10%,rgba(220,162,56,.14),transparent 28%),linear-gradient(105deg,#fff,#f2faf9); box-shadow: 0 3px 12px rgba(16,36,62,.045); }
.module-form-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #c6e5e1; border-radius: 9px; color: #087e76; background: #e8f7f5; font-size: 1.2rem; box-shadow: inset 0 0 0 4px rgba(255,255,255,.55); }
.module-form-heading { min-width: 0; }
.module-form-eyebrow { display: block; margin-bottom: 2px; color: #0c8b82; font-size: .57rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.module-form-heading h1 { margin: 0; color: #132940; font-size: clamp(1.16rem,1.6vw,1.42rem); font-weight: 780; letter-spacing: -.025em; }
.module-form-heading p { max-width: 780px; margin: 3px 0 0; overflow: hidden; color: var(--dka-muted); font-size: .68rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.module-form-metrics { display: flex; align-items: center; gap: 7px; }
.module-form-metrics > span { min-height: 38px; display: grid; grid-template-columns: 18px auto; grid-template-rows: auto auto; align-items: center; column-gap: 5px; padding: 5px 9px; border: 1px solid #dce7e8; border-radius: 7px; color: #68788b; background: rgba(255,255,255,.78); font-size: .57rem; white-space: nowrap; }
.module-form-metrics i { grid-row: 1/3; color: #13a096; font-size: .88rem; }
.module-form-metrics strong { align-self: end; color: #24384e; font-size: .76rem; line-height: 1; }
.module-entry-form { display: flex; flex-direction: column; gap: 10px; }
.form-error-summary { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid #efb7b7; border-radius: 8px; color: #7d2929; background: #fff3f3; }
.form-error-summary > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: #d84b4b; }
.form-error-summary strong { display: block; font-size: .76rem; }
.form-error-summary p { margin: 2px 0 0; color: #9a5050; font-size: .65rem; }
.module-form-panel { overflow: hidden; border: 1px solid var(--dka-border); border-radius: 9px; background: #fff; box-shadow: 0 3px 12px rgba(16,36,62,.045); }
.module-form-panel-header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 13px; border-bottom: 1px solid #e6edf2; background: #fbfcfd; }
.module-form-panel-header > div:first-child { display: flex; align-items: center; gap: 9px; }
.module-form-panel-icon { width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; border-radius: 7px; color: #0a8d84; background: #e8f6f4; font-size: .9rem; }
.module-form-panel-header h2 { margin: 0; color: #1d3148; font-size: .82rem; font-weight: 760; }
.module-form-panel-header p { margin: 2px 0 0; color: #738093; font-size: .62rem; }
.module-form-security { display: inline-flex; align-items: center; gap: 5px; color: #688075; font-size: .6rem; white-space: nowrap; }
.module-form-security i { color: #1b9b6b; }
.module-form-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding: 6px; background: #eef2f5; }
.module-form-field { min-width: 0; padding: 10px 11px 11px; border: 3px solid #eef2f5; border-radius: 8px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.module-form-field:focus-within { z-index: 1; border-color: #bfe4e0; box-shadow: 0 0 0 1px #5abbb3; }
.module-form-field-wide { grid-column: 1/-1; }
.module-form-label-row { min-height: 19px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.module-form-label-row .form-label { margin: 0; color: #33485e; font-size: .68rem; font-weight: 720; }
.module-form-label-row > small { color: #9aa5b1; font-size: .55rem; }
.required-mark { margin-left: 3px; color: #d74343; font-size: .72rem; }
.module-entry-form .form-control, .module-entry-form .form-select { min-height: 39px; border-color: #d5dee7; border-radius: 6px; color: #21364c; background-color: #fff; font-size: .74rem; }
.module-entry-form .form-control::placeholder { color: #a5afba; }
.module-entry-form .form-control:focus, .module-entry-form .form-select:focus { border-color: #32a99f; box-shadow: 0 0 0 3px rgba(24,169,153,.11); }
.module-entry-form textarea.form-control { min-height: 92px; resize: vertical; }
.module-entry-form select[multiple] { min-height: 112px; }
.module-entry-form input[type="file"] { padding: .36rem .52rem; }
.module-entry-form input[type="file"]::file-selector-button { margin: -.36rem .6rem -.36rem -.52rem; padding: .5rem .7rem; border: 0; border-right: 1px solid #d5dee7; color: #38546b; background: #f3f7f8; font-size: .68rem; }
.module-entry-form .form-text { display: flex; align-items: flex-start; gap: 4px; margin-top: 5px; color: #788696; font-size: .59rem; line-height: 1.35; }
.module-entry-form .form-text i { margin-top: 1px; color: #1a9c92; }
.module-form-field.has-error { border-color: #f2baba; background: #fffafa; }
.module-entry-form .is-invalid { border-color: #dc5656; background-image: none; }
.field-error { display: flex; align-items: flex-start; gap: 4px; margin-top: 5px; color: #c03939; font-size: .61rem; font-weight: 600; }
.field-error i { margin-top: 1px; }
.module-form-toggle { display: flex; flex-direction: column; justify-content: center; }
.module-form-toggle .form-check { min-height: 39px; display: flex; align-items: center; gap: 9px; margin: 0; padding: 0; }
.module-form-toggle .form-check-input { width: 34px; height: 19px; flex: 0 0 34px; margin: 0; }
.module-form-toggle .form-check-input:checked { border-color: var(--dka); background-color: var(--dka); }
.module-form-toggle .form-check-label { display: flex; min-width: 0; flex-direction: column; color: #33485e; cursor: pointer; }
.module-form-toggle .form-check-label strong { font-size: .68rem; }
.module-form-toggle .form-check-label small { margin-top: 2px; color: #8995a3; font-size: .57rem; }
.module-form-actions { position: sticky; z-index: 20; bottom: 0; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 11px; border: 1px solid #cedadf; border-radius: 9px 9px 0 0; background: rgba(255,255,255,.96); box-shadow: 0 -6px 20px rgba(16,36,62,.08); backdrop-filter: blur(12px); }
.module-form-status { display: flex; align-items: center; gap: 8px; color: #748293; font-size: .64rem; }
.module-form-status i { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #138e85; background: #e9f7f5; font-size: .82rem; }
.module-form-status.is-dirty { color: #91681e; }
.module-form-status.is-dirty i { color: #a87313; background: #fff3d9; }
.module-form-status.is-saving { color: #087b73; }
.module-form-action-buttons { display: flex; align-items: center; gap: 7px; }
.module-form-action-buttons .btn { min-height: 39px; display: inline-flex; align-items: center; gap: 6px; padding-inline: 13px; border-radius: 6px; }
.module-form-submit { min-width: 156px; justify-content: center; box-shadow: 0 5px 13px rgba(24,169,153,.17); }
.module-form-submit small { margin-left: 5px; padding: 2px 5px; border: 1px solid rgba(255,255,255,.32); border-radius: 4px; color: rgba(255,255,255,.82); font-size: .52rem; }
.app-filter-bar { width: 100%; max-width: none; }
.workspace-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
.workspace-detail-field { min-width: 0; padding: 9px 12px; border-right: 1px solid #edf1f5; border-bottom: 1px solid #edf1f5; }
.workspace-detail-field:nth-child(3n) { border-right: 0; }
.workspace-detail-field dt { margin-bottom: 3px; color: var(--dka-muted); font-size: .62rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.workspace-detail-field dd { min-height: 18px; margin: 0; overflow-wrap: anywhere; color: #2e3d52; font-size: .76rem; }

/* Dashboard */
.dashboard-page { width: 100%; max-width: none; margin: 0; padding: 14px 16px 28px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.dashboard-heading h1 { margin: 0; color: #11243c; font-size: clamp(1.4rem, 1.7vw, 1.7rem); font-weight: 750; letter-spacing: -.035em; }
.dashboard-heading p { margin: 4px 0 0; color: var(--dka-muted); font-size: .85rem; }
.dashboard-primary-action { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; padding-inline: 14px; border-radius: 6px; font-size: .76rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.kpi-card { min-height: 94px; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--dka-border); border-radius: 7px; color: inherit; background: var(--dka-surface); text-decoration: none; box-shadow: 0 2px 8px rgba(16,36,62,.035); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.kpi-card:hover { transform: translateY(-2px); border-color: #bcd8d5; color: inherit; box-shadow: 0 10px 26px rgba(16,36,62,.08); }
.kpi-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 7px; font-size: 1.25rem; }
.kpi-icon-teal { color: #05978c; background: #e6f6f4; }
.kpi-icon-blue { color: #287cc6; background: #eaf3fc; }
.kpi-icon-gold { color: #a87413; background: #fff5df; }
.kpi-content { min-width: 0; display: flex; flex-direction: column; }
.kpi-label { color: #243248; font-size: .74rem; font-weight: 600; }
.kpi-content strong { margin: 1px 0 2px; color: var(--dka); font-size: 1.45rem; font-weight: 750; line-height: 1.1; letter-spacing: -.04em; }
.kpi-content strong.kpi-currency { font-size: clamp(1.05rem, 1.35vw, 1.35rem); white-space: nowrap; }
.kpi-content small { overflow: hidden; color: var(--dka-muted); font-size: .61rem; text-overflow: ellipsis; white-space: nowrap; }
.kpi-content small i { margin-right: 5px; color: #39a95a; }
.dashboard-card { border: 1px solid var(--dka-border); border-radius: 7px; background: var(--dka-surface); box-shadow: 0 2px 8px rgba(16,36,62,.035); }
.dashboard-card-header { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 13px; }
.dashboard-card-header h2 { margin: 0; color: #17273e; font-size: .86rem; font-weight: 750; }
.dashboard-card-header > a, .dashboard-card-header > span { color: var(--dka); font-size: .7rem; font-weight: 600; text-decoration: none; }
.dashboard-charts { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(300px, .75fr); gap: 12px; margin-bottom: 12px; }
.flow-card, .tender-card { min-height: 258px; }
.chart-legend { display: flex; gap: 21px; margin-top: 7px; color: var(--dka-muted); font-size: .65rem; }
.chart-legend span { display: flex; align-items: center; gap: 7px; }
.legend-line { width: 23px; height: 3px; display: inline-block; border-radius: 3px; }
.legend-teal { background: var(--dka); }
.legend-gold { background: #e8a52e; }
.period-chip { padding: 7px 9px; border: 1px solid var(--dka-border); border-radius: 6px; color: var(--dka-muted) !important; background: #fff; }
.period-chip i { margin-left: 6px; }
.line-chart { padding: 0 14px 10px; }
.line-chart svg { width: 100%; height: 160px; overflow: visible; }
.chart-grid line { stroke: #e8edf3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-area { fill: url(#orderArea); }
.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-line-created { stroke: var(--dka); }
.chart-line-completed { stroke: #e8a52e; }
.chart-labels { display: grid; grid-template-columns: repeat(7,1fr); color: #798696; font-size: .61rem; text-align: center; }
.tender-chart-layout { min-height: 200px; display: grid; grid-template-columns: 120px minmax(0,1fr); align-items: center; gap: 18px; padding: 6px 16px 16px; }
.donut-chart { width: 120px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--donut-gradient)); }
.donut-chart::before { content: ""; width: 68px; aspect-ratio: 1; grid-area: 1/1; border-radius: 50%; background: #fff; }
.donut-chart > div { z-index: 1; grid-area: 1/1; display: flex; flex-direction: column; align-items: center; }
.donut-chart strong { font-size: 1.55rem; line-height: 1; }
.donut-chart span { margin-top: 5px; color: var(--dka-muted); font-size: .7rem; }
.donut-legend { display: flex; flex-direction: column; gap: 11px; }
.donut-legend > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .69rem; }
.donut-label { display: flex; align-items: center; min-width: 0; color: #344257; }
.donut-label i { width: 9px; height: 9px; flex: 0 0 9px; margin-right: 8px; border-radius: 50%; background: var(--legend-color); }
.donut-legend strong { white-space: nowrap; }
.donut-legend small { color: var(--dka-muted); font-weight: 500; }
.dashboard-bottom-grid { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(300px,.75fr); gap: 12px; margin-bottom: 12px; }
.priorities-table { font-size: .69rem; }
.priorities-table thead th { padding: 9px 14px; border-top: 1px solid var(--dka-border); border-bottom-color: var(--dka-border); color: #465469; background: #fbfcfd; font-size: .63rem; font-weight: 700; white-space: nowrap; }
.priorities-table tbody td { padding: 8px 12px; border-color: #edf1f5; color: #3f4d61; }
.priorities-table tbody td:first-child a { color: #1b3659; font-weight: 700; text-decoration: none; }
.due-date { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.due-danger { color: #dd3131; }
.due-warning { color: #b77910; }
.responsible-cell { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.responsible-cell i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #168e88; font-size: .56rem; font-style: normal; font-weight: 700; }
.status-pill { display: inline-block; max-width: 135px; padding: 4px 9px; overflow: hidden; border-radius: 12px; font-size: .59rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.status-info { color: #1761a0; background: #e9f3fc; }
.status-warning { color: #9b6812; background: #fff3d9; }
.status-success { color: #278549; background: #e9f7ee; }
.empty-dashboard-state { padding: 35px !important; color: var(--dka-muted) !important; text-align: center; }
.empty-dashboard-state i { margin-right: 8px; color: var(--dka); }
.alerts-list { padding: 0 13px 7px; }
.alert-row { min-height: 46px; display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 8px; border-top: 1px solid #edf1f5; }
.alert-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: .75rem; }
.alert-critical { background: #e43b3b; }
.alert-high { background: #f0a129; }
.alert-normal, .alert-low { background: #2581c4; }
.alert-row a { min-width: 0; display: flex; flex-direction: column; text-decoration: none; }
.alert-row a strong { overflow: hidden; color: #334156; font-size: .67rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.alert-row a small { overflow: hidden; color: var(--dka-muted); font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.alert-row time { color: var(--dka-muted); font-size: .57rem; white-space: nowrap; }
.empty-alerts { min-height: 166px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--dka-muted); text-align: center; }
.empty-alerts i { margin-bottom: 8px; color: #48ad69; font-size: 1.8rem; }
.empty-alerts strong { color: var(--dka-text); font-size: .82rem; }
.empty-alerts span { font-size: .66rem; }
.financial-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-bottom: 14px; overflow: hidden; border: 1px solid var(--dka-border); border-radius: 7px; background: var(--dka-border); }
.financial-summary > div { display: flex; flex-direction: column; padding: 9px 13px; background: #fff; }
.financial-summary span { color: var(--dka-muted); font-size: .64rem; }
.financial-summary strong { margin-top: 3px; color: #23344c; font-size: .98rem; }
.all-modules-section { scroll-margin-top: calc(var(--topbar-height) + var(--workspacebar-height) + 12px); }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.section-heading h2 { margin: 0; font-size: 1.05rem; font-weight: 750; }
.section-heading p { margin: 4px 0 0; color: var(--dka-muted); font-size: .72rem; }
.section-heading > i { color: #9aa6b4; font-size: 1.3rem; }
.module-groups-accordion { display: flex; flex-direction: column; gap: 6px; }
.module-groups-accordion details { border: 1px solid var(--dka-border); border-radius: 8px; background: #fff; }
.module-groups-accordion summary { min-height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; cursor: pointer; list-style: none; font-size: .72rem; font-weight: 700; }
.module-groups-accordion summary::-webkit-details-marker { display: none; }
.module-groups-accordion summary > span:last-child { color: var(--dka-muted); font-size: .62rem; font-weight: 500; }
.module-groups-accordion summary i { margin-left: 8px; transition: transform .18s ease; }
.module-groups-accordion details[open] summary i { transform: rotate(180deg); }
.compact-module-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 6px; padding: 0 9px 9px; }
.compact-module-grid > a { min-height: 48px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid #ebeff4; border-radius: 6px; color: inherit; text-decoration: none; }
.compact-module-grid > a:hover { border-color: #b8dcd8; background: #f6fbfa; }
.compact-module-grid > a > i:first-child { color: var(--dka); font-size: 1rem; }
.compact-module-grid > a > i:last-child { color: #a7b0bc; font-size: .7rem; }
.compact-module-grid span { min-width: 0; display: flex; flex-direction: column; }
.compact-module-grid strong { overflow: hidden; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.compact-module-grid small { color: var(--dka-muted); font-size: .56rem; }

/* Unified operational lists and object pages */
.module-list-page, .module-detail-page { padding-top: 12px !important; }
.module-list-page .breadcrumb, .module-detail-page .breadcrumb { margin-bottom: 9px; }
.module-list-page .breadcrumb a, .module-detail-page .breadcrumb a { color: #527087; text-decoration: none; }
.module-page-header, .object-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; padding: 12px 14px; border: 1px solid #dbe5eb; border-radius: 9px; background: linear-gradient(112deg,#fff 0%,#f8fbfc 68%,#edf8f6 100%); box-shadow: 0 3px 12px rgba(16,36,62,.04); }
.module-page-identity, .object-header-main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.module-page-icon, .object-header-icon { width: 44px; height: 44px; display: grid; flex: 0 0 44px; place-items: center; border: 1px solid #c7e4e1; border-radius: 9px; color: #07877f; background: #e9f7f5; font-size: 1.08rem; box-shadow: inset 0 0 0 3px rgba(255,255,255,.5); }
.module-page-eyebrow { display: block; margin-bottom: 1px; color: #0b8c83; font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.module-page-header h1, .object-header h1 { margin: 0; overflow: hidden; color: #132940; font-size: clamp(1.12rem,1.5vw,1.38rem); font-weight: 780; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.module-page-header p, .object-header p { max-width: 760px; margin: 3px 0 0; overflow: hidden; color: #728092; font-size: .66rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.object-header p i { margin-right: 4px; color: #1a9c92; }
.module-page-actions, .object-header-actions, .object-secondary-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.module-page-actions .btn, .object-header-actions .btn, .object-secondary-actions .btn { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; white-space: nowrap; }

.module-list-toolbar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; padding: 7px 9px; border: 1px solid var(--dka-border); border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(16,36,62,.03); }
.module-search-form { min-width: 280px; max-width: 680px; display: flex; align-items: center; flex: 1; gap: 7px; }
.module-search-form > i { margin-left: 4px; color: #8190a2; }
.module-search-form input { min-width: 0; height: 34px; flex: 1; padding: 0 5px; border: 0; outline: 0; color: #21364c; background: transparent; font-size: .76rem; }
.module-search-form > a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #84909e; text-decoration: none; }
.module-search-form > a:hover { color: #c13737; background: #fff0f0; }
.module-search-form .btn { min-height: 34px; padding-inline: 13px; border-radius: 6px; }
.module-list-summary { display: flex; align-items: center; gap: 7px; padding: 0 7px 0 12px; border-left: 1px solid #e6ebf0; color: #718092; font-size: .66rem; white-space: nowrap; }
.module-list-summary i { color: #159b91; font-size: .84rem; }
.module-list-summary strong { color: #26394f; }

.module-table-card, .object-section-card, .object-tool-panel, .object-decision-panel { overflow: hidden; border: 1px solid var(--dka-border); border-radius: 9px; background: #fff; box-shadow: 0 3px 12px rgba(16,36,62,.04); }
.module-data-table { --bs-table-hover-bg: #f4faf9; font-size: .73rem !important; }
.module-data-table thead { position: sticky; top: calc(var(--topbar-height) + var(--workspacebar-height)); z-index: 3; }
.module-data-table thead th { height: 38px; padding: .45rem .68rem !important; border-top: 0; border-bottom: 1px solid #dce4eb; color: #506075 !important; background: #f7f9fb !important; font-size: .61rem !important; font-weight: 780; letter-spacing: .035em; text-transform: uppercase; }
.module-data-table tbody td { max-width: 320px; padding: .5rem .68rem !important; overflow: hidden; border-color: #edf1f4; color: #34455a; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.module-data-table tbody tr[data-row-href] { cursor: pointer; transition: background .12s ease, box-shadow .12s ease; }
.module-data-table tbody tr[data-row-href]:hover, .module-data-table tbody tr[data-row-href]:focus { position: relative; z-index: 1; outline: 0 !important; background: #f4faf9; box-shadow: inset 3px 0 #18a999; }
.module-data-table tbody tr[data-row-href] td:first-child { color: #203a58; font-weight: 680; }
.module-row-action { width: 44px; }
.module-row-action a { width: 27px; height: 27px; display: inline-grid; place-items: center; border: 1px solid #d8e3e8; border-radius: 6px; color: #168d84; background: #fff; text-decoration: none; }
.module-row-action a:hover { border-color: #18a999; color: #fff; background: #18a999; }
.module-empty-state { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #788696; text-align: center; }
.module-empty-state > span { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 50%; color: #118f86; background: #eaf7f5; font-size: 1.15rem; }
.module-empty-state strong { color: #33475d; font-size: .8rem; }
.module-empty-state p { margin: 3px 0 0; font-size: .65rem; }
.module-empty-state.is-compact { min-height: 110px; }
.module-empty-state.is-compact > span { width: 34px; height: 34px; margin-bottom: 5px; font-size: .86rem; }
.module-pagination { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 10px; font-size: .67rem; }
.module-pagination a, .module-pagination > span { min-height: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid var(--dka-border); border-radius: 6px; background: #fff; text-decoration: none; }
.module-pagination a:hover { border-color: #8accc6; color: #087b73; background: #f2faf9; }
.module-pagination > span:nth-child(2) { border: 0; background: transparent; }
.module-pagination .disabled { color: #a0a9b3; background: #f5f6f8; }

.object-action-strip { display: grid; grid-template-columns: 116px minmax(0,1fr); align-items: stretch; margin-bottom: 10px; overflow: hidden; border: 1px solid #d9e5e5; border-radius: 9px; background: #fff; box-shadow: 0 3px 12px rgba(16,36,62,.04); }
.object-action-label { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; color: #fff; background: linear-gradient(145deg,#0c8079,#13a49b); font-size: .62rem; font-weight: 760; text-transform: uppercase; }
.object-action-label i { color: #ffe099; }
.object-action-list { min-width: 0; display: flex; align-items: stretch; overflow-x: auto; padding: 5px; }
.object-action-list > a, .object-action-list > form button { min-width: 168px; min-height: 52px; display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 7px; padding: 6px 9px; border: 0; border-right: 1px solid #edf1f4; color: #33465b; background: transparent; text-align: left; text-decoration: none; }
.object-action-list > form { display: flex; margin: 0; }
.object-action-list > a:hover, .object-action-list > form button:hover { border-radius: 6px; color: #087b73; background: #eef9f7; }
.object-action-list > a > i, .object-action-list > form button > i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 7px; color: #0b8d84; background: #e7f6f4; font-size: .9rem; }
.object-action-list > a.is-primary > i { color: #fff; background: #119b92; }
.object-action-list span { min-width: 0; display: flex; flex-direction: column; }
.object-action-list strong { overflow: hidden; font-size: .66rem; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.object-action-list small { margin-top: 2px; overflow: hidden; color: #8190a1; font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
.object-tool-panel { display: grid; grid-template-columns: 230px minmax(0,1fr); align-items: center; gap: 12px; margin-bottom: 10px; padding: 10px 12px; }
.object-tool-heading { display: flex; align-items: center; gap: 9px; }
.object-tool-heading > i { width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; border-radius: 7px; color: #087f77; background: #e8f7f5; }
.object-tool-heading div { display: flex; flex-direction: column; }
.object-tool-heading strong { color: #2b3e54; font-size: .7rem; }
.object-tool-heading small { color: #7c8998; font-size: .57rem; }
.object-tool-form { display: flex; align-items: flex-end; gap: 7px; }
.object-tool-form > div:first-child { width: 145px; flex: 0 0 145px; }
.object-tool-form .btn { min-height: 36px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.object-secondary-actions { min-height: 0; margin-bottom: 10px; }
.object-secondary-actions:empty { display: none; }
.object-secondary-actions form { margin: 0; }
.object-decision-panel { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; margin-bottom: 10px; padding: 11px; }
.object-decision-panel textarea { min-height: 58px !important; }
.object-decision-panel > div:last-child { display: flex; gap: 7px; }
.object-section-card { margin-bottom: 10px; }
.object-section-card > header { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 11px; border-bottom: 1px solid #e6edf2; background: #fbfcfd; }
.object-section-card > header > div { display: flex; align-items: center; gap: 8px; }
.object-section-card > header > div > span { width: 31px; height: 31px; display: grid; flex: 0 0 31px; place-items: center; border-radius: 7px; color: #0a8d84; background: #e8f6f4; font-size: .82rem; }
.object-section-card h2 { margin: 0; color: #24384e; font-size: .78rem; font-weight: 760; }
.object-section-card header p { margin: 2px 0 0; color: #7d8997; font-size: .57rem; }
.object-section-card header .btn { display: inline-flex; align-items: center; gap: 5px; }
.object-child-section { margin-top: 10px; }

/* Optional comfortable density; compact remains the operational default */
.ui-comfortable .app-content .table { font-size: .82rem; }
.ui-comfortable .module-data-table thead th { height: 44px; padding: .62rem .78rem !important; }
.ui-comfortable .module-data-table tbody td { padding: .72rem .78rem !important; }
.ui-comfortable .workspace-detail-field { padding: 13px 14px; }
.ui-comfortable .module-form-field { padding: 13px 14px 14px; }
.ui-comfortable .module-form-grid { gap: 2px; padding: 8px; }
.ui-comfortable .kpi-card { min-height: 108px; padding: 15px; }
.app-topbar.is-scrolled { box-shadow: 0 5px 18px rgba(16,36,62,.08); }
.dka-spin { animation: dka-spin .8s linear infinite; }
@keyframes dka-spin { to { transform: rotate(360deg); } }

/* System manual */
.manual-page { scroll-behavior: smooth; }
.manual-hero { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 20px; overflow: hidden; border: 1px solid #d6e4e3; border-radius: 9px; background: radial-gradient(circle at 88% 12%, rgba(220,162,56,.2), transparent 28%), linear-gradient(135deg,#fff,#eef8f7); }
.manual-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 6px; color: #0b8f86; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.manual-hero h1 { margin: 0; color: #10243e; font-size: clamp(1.35rem,2vw,1.8rem); font-weight: 780; letter-spacing: -.035em; }
.manual-hero p { max-width: 760px; margin: 5px 0 0; color: var(--dka-muted); font-size: .76rem; }
.manual-print { flex: 0 0 auto; background: rgba(255,255,255,.76); }
.manual-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 10px 0; }
.manual-search { min-width: 0; max-width: 760px; flex: 1; height: 40px; display: flex; align-items: center; gap: 9px; padding-left: 12px; border: 1px solid var(--dka-border); border-radius: 7px; background: #fff; box-shadow: 0 2px 8px rgba(16,36,62,.035); }
.manual-search > i { color: var(--dka); }
.manual-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--dka-text); background: transparent; font-size: .76rem; }
.manual-search > a { color: #8a96a5; }
.manual-search .btn { height: 40px; margin: -1px -1px -1px 0; border-radius: 0 7px 7px 0; }
.manual-stats { display: flex; align-items: center; gap: 14px; color: var(--dka-muted); font-size: .65rem; white-space: nowrap; }
.manual-stats span { display: flex; align-items: center; gap: 5px; }
.manual-stats strong, .manual-stats i { color: var(--dka); }
.manual-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); align-items: start; gap: 12px; }
.manual-index { position: sticky; top: calc(var(--topbar-height) + var(--workspacebar-height) + 12px); }
.manual-index-card { overflow: hidden; border: 1px solid var(--dka-border); border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(16,36,62,.035); }
.manual-index-card h2 { margin: 0; padding: 11px 12px 7px; color: #1c2e46; font-size: .75rem; font-weight: 750; }
.manual-index-card nav { display: flex; flex-direction: column; padding: 0 6px 7px; }
.manual-index-card nav a { min-height: 35px; display: grid; grid-template-columns: 19px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 6px; color: #526074; text-decoration: none; font-size: .65rem; }
.manual-index-card nav a:hover { color: #086e68; background: #edf8f7; }
.manual-index-card nav a i { color: #159f95; text-align: center; }
.manual-index-card nav a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manual-index-card nav a small { min-width: 18px; padding: 2px 4px; border-radius: 8px; color: #7c8795; background: #f0f3f6; font-size: .52rem; text-align: center; }
.manual-index-empty { padding: 12px; color: var(--dka-muted); font-size: .65rem; }
.manual-dashboard-link { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-top: 1px solid var(--dka-border); color: #31506f; text-decoration: none; font-size: .64rem; font-weight: 650; }
.manual-content { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.manual-result-note { padding: 8px 11px; border: 1px solid #cfe6e3; border-radius: 7px; color: #31506f; background: #f1faf9; font-size: .7rem; }
.manual-result-note i { margin-right: 6px; color: var(--dka); }
.manual-section-card { scroll-margin-top: calc(var(--topbar-height) + var(--workspacebar-height) + 12px); overflow: hidden; border: 1px solid var(--dka-border); border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(16,36,62,.035); }
.manual-section-header { min-height: 66px; display: grid; grid-template-columns: 38px minmax(0,1fr) 28px; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #edf1f5; }
.manual-section-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 7px; color: #078f86; background: #e7f6f4; font-size: 1rem; }
.manual-section-header h2 { margin: 0; color: #1a2c44; font-size: .9rem; font-weight: 760; }
.manual-section-header p { margin: 3px 0 0; color: var(--dka-muted); font-size: .65rem; }
.manual-back-top { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #8b96a4; text-decoration: none; font-size: .7rem; }
.manual-back-top:hover { color: var(--dka); background: #eef8f7; }
.manual-quick-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-bottom: 1px solid #edf1f5; color: var(--dka-muted); font-size: .61rem; }
.manual-quick-links > span { margin-right: 2px; font-weight: 650; }
.manual-quick-links a { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid #cce3e0; border-radius: 12px; color: #087a72; background: #f4fbfa; text-decoration: none; }
.manual-flow { display: flex; align-items: center; gap: 5px; padding: 9px 12px; overflow-x: auto; border-bottom: 1px solid #edf1f5; scrollbar-width: thin; }
.manual-flow span { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #e2e8ee; border-radius: 5px; color: #35475e; background: #f8fafc; font-size: .59rem; font-weight: 650; }
.manual-flow i { flex: 0 0 auto; color: #d2a23d; font-size: .55rem; }
.manual-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 0; padding: 0; background: #edf1f5; list-style: none; }
.manual-steps > li { min-width: 0; display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 9px; padding: 11px 12px; background: #fff; }
.manual-step-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: #087d75; background: #e8f6f4; font-size: .59rem; font-weight: 800; }
.manual-step-copy h3 { margin: 1px 0 4px; color: #26384f; font-size: .74rem; font-weight: 750; }
.manual-step-copy > p { margin: 0; color: #59677a; font-size: .66rem; line-height: 1.45; }
.manual-step-copy ul { display: flex; flex-direction: column; gap: 3px; margin: 6px 0 0; padding: 0; list-style: none; }
.manual-step-copy ul li { display: flex; align-items: flex-start; gap: 5px; color: #6a7788; font-size: .61rem; line-height: 1.4; }
.manual-step-copy ul i { margin-top: 1px; color: #19a077; }
.manual-empty-state { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border: 1px solid var(--dka-border); border-radius: 8px; background: #fff; text-align: center; }
.manual-empty-state > i { color: #9eabb8; font-size: 2rem; }
.manual-empty-state h2 { margin: 9px 0 4px; font-size: 1rem; }
.manual-empty-state p { color: var(--dka-muted); font-size: .7rem; }

@media (max-width: 1280px) {
  .user-menu-copy { display: none; }
}

@media (max-width: 1120px) {
  .kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .module-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .manual-layout { grid-template-columns: 185px minmax(0,1fr); }
  .manual-steps { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  .app-sidebar { transform: translateX(-105%); transition: transform .2s ease; }
  .app-main { margin-left: 0; }
  .app-body.sidebar-open { overflow: hidden; }
  .sidebar-open .app-sidebar { transform: translateX(0); }
  .sidebar-open .sidebar-backdrop { position: fixed; inset: 0; z-index: 1040; display: block; background: rgba(5,20,36,.52); }
  .app-topbar { padding-inline: 16px; gap: 12px; }
  .app-search { width: min(480px, 55vw); }
  .organization-menu { display: none; }
  .app-content > .container, .dashboard-page { padding-inline: 12px !important; }
  .dashboard-charts, .dashboard-bottom-grid { grid-template-columns: 1fr; }
  .tender-chart-layout { grid-template-columns: minmax(130px,180px) minmax(0,1fr); }
  .workspace-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workspace-detail-field:nth-child(3n) { border-right: 1px solid #edf1f5; }
  .workspace-detail-field:nth-child(2n) { border-right: 0; }
  .workspace-bar-label span { display: none; }
  .workspace-bar-label { padding-inline: 12px; }
  .manual-layout { grid-template-columns: 1fr; }
  .manual-index { position: static; }
  .manual-index-card nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .object-tool-panel { grid-template-columns: 1fr; }
  .object-tool-form { flex-wrap: wrap; }
  .object-tool-form > div:nth-child(2) { min-width: 260px; }
}

@media (max-width: 680px) {
  :root { --topbar-height: 62px; --workspacebar-height: 42px; }
  .app-topbar { height: 62px; }
  .app-search { flex: 1; width: auto; }
  .app-search-shortcut, .notification-button, .density-toggle, .user-menu-button > .bi-chevron-down { display: none; }
  .app-topbar-actions { gap: 5px; }
  .workspace-bar-label { display: none; }
  .workspace-tabs { padding-inline: 5px; }
  .workspace-tab { padding-inline: 8px; font-size: .62rem; }
  .app-content > .container, .dashboard-page { padding: 12px 10px 24px !important; }
  .dashboard-heading { align-items: flex-start; }
  .dashboard-heading p { font-size: .75rem; }
  .dashboard-primary-action { width: 36px; min-height: 36px; justify-content: center; padding: 0; font-size: 0; }
  .dashboard-primary-action i { font-size: 1rem; }
  .kpi-grid { grid-template-columns: 1fr; gap: 9px; }
  .kpi-card { min-height: 88px; }
  .tender-chart-layout { grid-template-columns: 1fr; justify-items: center; }
  .donut-legend { width: 100%; }
  .financial-summary { grid-template-columns: repeat(2,1fr); }
  .compact-module-grid { grid-template-columns: 1fr; }
  .workspace-detail-grid { grid-template-columns: 1fr; }
  .workspace-detail-field, .workspace-detail-field:nth-child(2n), .workspace-detail-field:nth-child(3n) { border-right: 0; }
  .module-form-hero { grid-template-columns: 40px minmax(0,1fr); padding: 10px; }
  .module-form-icon { width: 38px; height: 38px; }
  .module-form-heading p { white-space: normal; }
  .module-form-metrics { display: none; }
  .module-form-panel-header { align-items: flex-start; }
  .module-form-security { display: none; }
  .module-form-grid { grid-template-columns: 1fr; padding: 4px; }
  .module-form-field-wide { grid-column: auto; }
  .module-form-actions { align-items: stretch; flex-direction: column; }
  .module-form-status { display: none; }
  .module-form-action-buttons { width: 100%; }
  .module-form-action-buttons .btn { flex: 1; justify-content: center; }
  .module-form-submit { min-width: 0; }
  .module-form-submit small { display: none; }
  .manual-hero { min-height: 0; align-items: flex-start; padding: 14px; }
  .manual-print, .manual-stats { display: none; }
  .manual-toolbar { display: block; }
  .manual-index-card nav { grid-template-columns: 1fr; }
  .manual-search { max-width: none; }
  .manual-section-header { grid-template-columns: 34px minmax(0,1fr); }
  .manual-back-top { display: none; }
  .manual-steps > li { grid-template-columns: 27px minmax(0,1fr); padding: 10px; }
  .module-page-header, .object-header { align-items: stretch; flex-direction: column; gap: 10px; }
  .module-page-header p, .object-header p { white-space: normal; }
  .module-page-actions, .object-header-actions { justify-content: stretch; }
  .module-page-actions .btn, .object-header-actions .btn { flex: 1; justify-content: center; }
  .object-delete-action { flex: 0 0 36px !important; padding-inline: 0 !important; }
  .object-delete-action span { display: none; }
  .module-list-toolbar { align-items: stretch; flex-direction: column; }
  .module-search-form { min-width: 0; max-width: none; }
  .module-list-summary { justify-content: flex-end; padding: 5px 3px 0; border-top: 1px solid #e6ebf0; border-left: 0; }
  .module-data-table tbody td { max-width: 230px; }
  .object-action-strip { grid-template-columns: 1fr; }
  .object-action-label { min-height: 32px; justify-content: flex-start; padding-inline: 12px; }
  .object-action-list > a, .object-action-list > form button { min-width: 158px; }
  .object-tool-form { display: grid; grid-template-columns: 1fr; }
  .object-tool-form > div:first-child, .object-tool-form > div:nth-child(2) { width: auto; min-width: 0; }
  .object-tool-form .btn { justify-content: center; }
  .object-decision-panel { grid-template-columns: 1fr; }
  .object-decision-panel > div:last-child .btn { flex: 1; }
}

@media print {
  .app-sidebar, .app-topbar, .app-workspace-bar, .sidebar-backdrop, .manual-toolbar, .manual-index, .manual-print, .manual-back-top, .module-help-button { display: none !important; }
  .app-main { margin-left: 0 !important; }
  .manual-page { padding: 0 !important; }
  .manual-hero, .manual-section-card { break-inside: avoid; box-shadow: none !important; }
  .manual-layout { display: block; }
  .manual-section-card { margin-top: 10px; }
  .manual-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* SAP Fiori Horizon-inspired application layer */
:root {
  --dka: #0070f2;
  --dka-hover: #0057d2;
  --dka-navy: #1d2d3e;
  --dka-navy-deep: #142337;
  --dka-gold: #e76500;
  --dka-text: #1d2d3e;
  --dka-muted: #556b82;
  --dka-border: #d5dadd;
  --dka-surface: #ffffff;
  --dka-canvas: #f5f6f7;
  --sidebar-width: 224px;
  --sidebar-compact-width: 52px;
  --topbar-height: 48px;
  --workspacebar-height: 42px;
  --sap-blue-1: #ebf8ff;
  --sap-blue-2: #d1efff;
  --sap-shadow-0: 0 0 .125rem rgba(34,53,72,.16);
  --sap-shadow-1: 0 .125rem .5rem rgba(34,53,72,.12);
}

body { font-family: "72", "72full", Arial, Helvetica, sans-serif; }
.btn-dka {
  --bs-btn-bg: #0070f2;
  --bs-btn-border-color: #0070f2;
  --bs-btn-hover-bg: #0057d2;
  --bs-btn-hover-border-color: #0057d2;
  --bs-btn-focus-shadow-rgb: 0,112,242;
}
.text-dka { color: #0070f2 !important; }
.app-body { background: #f5f6f7; }
.app-shell { padding-top: var(--topbar-height); }

.app-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1060;
  width: 100%;
  height: var(--topbar-height);
  gap: 6px;
  padding: 0 10px;
  border-bottom: 1px solid #d5dadd;
  background: #fff;
  box-shadow: 0 1px 4px rgba(34,53,72,.14);
  backdrop-filter: none;
}
.sap-shell-brand {
  width: 176px;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 0 3px;
  overflow: hidden;
  color: #1d2d3e;
  text-decoration: none;
  transition: width .2s ease;
}
.sap-shell-brand:hover { color: #0057d2; }
.sap-shell-brand > span {
  position: relative;
  width: 27px;
  height: 27px;
  display: block;
  flex: 0 0 27px;
  overflow: hidden;
  contain: paint;
  border: 1px solid #c7cdd2;
  border-radius: 6px;
  background: #fff;
}
.sap-shell-brand img {
  position: absolute;
  top: -20px;
  left: -7px;
  width: 84px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  transform: none;
}
.sap-shell-brand strong { overflow: hidden; font-size: .88rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-compact .sap-shell-brand { width: 42px; }
.sidebar-compact .sap-shell-brand strong { display: none; }
.app-topbar > [data-sidebar-toggle] { border-radius: 6px; }
.sap-shell-page-title {
  max-width: 210px;
  padding-left: 9px;
  overflow: hidden;
  border-left: 1px solid #d5dadd;
  color: #354a5f;
  font-size: .72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-icon { width: 34px; height: 34px; border-radius: 6px; color: #1d2d3e; }
.topbar-icon:hover { color: #0057d2; background: #eaecee; }
.app-search {
  width: min(620px,46vw);
  height: 34px;
  margin-inline: auto;
  border-color: #89919a;
  border-radius: 6px;
  background: #fff;
}
.app-search:focus-within { border-color: #0064d9; box-shadow: 0 0 0 1px #0064d9; }
.app-search input { font-size: .78rem; }
.topbar-dropdown { min-height: 34px; border: 0; background: transparent; }
.topbar-dropdown:hover, .user-menu-button:hover { color: #0057d2; }
.user-avatar { width: 32px; height: 32px; background: #eaf6ff; color: #0064d9; }

.app-sidebar {
  inset: var(--topbar-height) auto 0 0;
  z-index: 1045;
  color: #1d2d3e;
  background: #fff;
  box-shadow: 1px 0 3px rgba(34,53,72,.16);
}
.app-brand { display: none; }
.app-nav-scroll { padding: 8px 0; scrollbar-color: #89919a transparent; }
.app-nav-heading { padding: 4px 13px 7px; color: #556b82; font-size: .6rem; }
.app-nav-heading small { color: #758ca4; }
.app-nav { gap: 1px; padding: 0 6px; }
.app-nav-link {
  min-height: 38px;
  gap: 9px;
  padding: 0 10px;
  border-radius: 6px;
  color: #223548;
  font-size: .75rem;
  font-weight: 500;
}
.app-nav-link > i:first-child { color: #3b536b; font-size: 1rem; }
.app-nav-link:hover { color: #1d2d3e; background: #eaecee; }
.app-nav-link:hover > i:first-child { color: #0057d2; }
.app-nav-link.active {
  color: #004b9b;
  background: #eaf6ff;
  box-shadow: inset 3px 0 #0070f2;
  font-weight: 700;
}
.app-nav-link.active > i:first-child { color: #0070f2; }
.app-nav-group-toggle[aria-expanded="true"] { color: #1d2d3e; background: #f5f6f7; }
.app-nav-count { color: #556b82; background: #eaecee; }
.app-nav-chevron { color: #556b82; }
.app-subnav { padding-block: 2px 4px; }
.app-subnav::before { left: 22px; background: #d5dadd; }
.app-subnav-link {
  min-height: 34px;
  padding-left: 34px;
  border-radius: 5px;
  color: #475e75;
  font-size: .69rem;
}
.app-subnav-link > i { color: #5b738b; }
.app-subnav-link:hover { color: #1d2d3e; background: #f0f1f2; }
.app-subnav-link.active { color: #004b9b; background: #eaf6ff; }
.app-subnav-link.active::before { left: 20px; width: 4px; height: 4px; background: #0070f2; box-shadow: 0 0 0 3px #d1efff; }
.app-nav-separator { background: #e5e8ea; }
.app-sidebar-footer { border-color: #e5e8ea; }
.app-sidebar-footer > span:first-child { color: #475e75; }
.app-sidebar-footer > span:first-child i { color: #188918; }
.app-version { color: #758ca4; }

.app-main { margin-left: var(--sidebar-width); transition: margin-left .2s ease; }
.app-workspace-bar {
  top: var(--topbar-height);
  height: var(--workspacebar-height);
  border-bottom-color: #d5dadd;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}
.workspace-bar-label { border-color: #d5dadd; color: #475e75; }
.workspace-bar-label i { color: #0070f2; }
.workspace-tabs { padding: 0 8px; }
.workspace-tab {
  min-height: 100%;
  padding: 0 13px;
  border-radius: 0;
  color: #354a5f;
  font-size: .7rem;
}
.workspace-tab:hover { color: #0057d2; background: #f5f6f7; }
.workspace-tab.active {
  color: #004b9b;
  background: transparent;
  box-shadow: inset 0 -3px #0070f2;
}
.workspace-tab small { color: #475e75; background: #eaecee; }
.workspace-tab.active small { color: #fff; background: #0070f2; }
.workspace-tab i { color: inherit; }
.app-content { min-height: calc(100vh - var(--topbar-height) - var(--workspacebar-height)); }
.app-content > .container, .dashboard-page { padding: 12px 14px 28px !important; }

.module-page-header, .object-header, .module-form-hero {
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sap-shadow-0);
}
.module-page-icon, .object-header-icon, .module-form-icon {
  border: 0;
  border-radius: 8px;
  color: #0057d2;
  background: #eaf6ff;
  box-shadow: none;
}
.module-page-eyebrow, .module-form-eyebrow { color: #556b82; }
.module-page-header h1, .object-header h1, .module-form-heading h1 { color: #1d2d3e; font-weight: 700; }
.module-help-button { border-color: transparent; color: #0064d9; background: transparent; }
.module-help-button:hover, .module-help-button:focus-visible { border-color: #0070f2; background: #0070f2; }
.module-page-actions .btn, .object-header-actions .btn { border-radius: 6px; }
.module-page-actions .btn i, .object-header-actions .btn i { font-size: .8rem; }

.module-list-toolbar {
  min-height: 60px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sap-shadow-0);
}
.module-list-toolbar.is-collapsed { min-height: 38px; padding-block: 3px; }
.module-list-toolbar.is-collapsed .module-search-form { display: none; }
.module-search-form { max-width: 760px; min-height: 36px; border: 1px solid #89919a; border-radius: 6px; padding-left: 7px; }
.module-search-form:focus-within { border-color: #0064d9; box-shadow: 0 0 0 1px #0064d9; }
.module-search-form input { height: 34px; }
.module-search-form .btn { align-self: stretch; border-radius: 0 5px 5px 0; }
.module-list-summary { border: 0; }
.module-list-summary button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: #354a5f;
  background: transparent;
}
.module-list-summary button:hover { color: #0057d2; background: #eaecee; }
.module-list-toolbar.is-collapsed .module-list-summary button i { transform: rotate(180deg); }

.module-table-card, .object-section-card, .object-tool-panel, .object-decision-panel, .module-form-panel {
  position: relative;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--sap-shadow-0);
}
.fiori-table-toolbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 9px 0 13px;
  border-bottom: 1px solid #e5e8ea;
  background: #fff;
}
.fiori-table-toolbar > div { display: flex; align-items: baseline; gap: 5px; }
.fiori-table-toolbar h2 { margin: 0; color: #1d2d3e; font-size: .78rem; font-weight: 700; }
.fiori-table-toolbar span { color: #556b82; font-size: .68rem; }
.fiori-table-toolbar button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: #354a5f;
  background: transparent;
}
.fiori-table-toolbar button:hover, .fiori-table-toolbar button[aria-pressed="true"] { color: #0057d2; background: #eaf6ff; }
.module-data-table thead { position: static; }
.module-data-table thead th {
  height: 40px;
  border-bottom-color: #a9b4be;
  color: #354a5f !important;
  background: #fff !important;
  font-size: .65rem !important;
  text-transform: none;
}
.module-data-table tbody td { height: 40px; color: #223548; }
.module-data-table tbody tr[data-row-href]:hover, .module-data-table tbody tr[data-row-href]:focus {
  background: #eaf6ff;
  box-shadow: inset 3px 0 #0070f2;
}
.module-table-card.table-cozy .module-data-table tbody td { height: 50px; padding-block: .72rem !important; }
.module-row-action a { border: 0; color: #0064d9; background: transparent; }
.module-row-action a:hover { color: #fff; background: #0070f2; }

.column-settings-popover {
  position: absolute;
  right: 10px;
  top: 42px;
  z-index: 1050;
  width: min(290px,calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid #89919a;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 .5rem 2rem rgba(34,53,72,.22);
}
.column-settings-popover header { padding: 10px 12px; border-bottom: 1px solid #d5dadd; font-size: .75rem; font-weight: 700; }
.column-settings-list { max-height: 280px; overflow-y: auto; padding: 6px; }
.column-settings-list label { min-height: 34px; display: flex; align-items: center; gap: 9px; padding: 5px 7px; border-radius: 5px; color: #223548; font-size: .7rem; }
.column-settings-list label:hover { background: #f5f6f7; }
.column-settings-list input { accent-color: #0070f2; }
.column-settings-popover footer { display: flex; justify-content: flex-end; gap: 6px; padding: 7px; border-top: 1px solid #d5dadd; }

.object-header { display: grid; grid-template-columns: minmax(260px,1.25fr) minmax(280px,1fr) auto; }
.object-header-facets { min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.object-header-facets > div { min-width: 0; padding-left: 11px; border-left: 1px solid #d5dadd; }
.object-header-facets span { display: block; overflow: hidden; color: #556b82; font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
.object-header-facets strong { display: block; margin-top: 3px; overflow: hidden; color: #1d2d3e; font-size: .7rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.object-anchor-bar {
  position: sticky;
  top: calc(var(--topbar-height) + var(--workspacebar-height));
  z-index: 1015;
  min-height: 40px;
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin-bottom: 10px;
  overflow-x: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sap-shadow-0);
}
.object-anchor-bar a { min-width: max-content; display: flex; align-items: center; gap: 5px; padding: 0 13px; color: #354a5f; font-size: .68rem; font-weight: 600; text-decoration: none; }
.object-anchor-bar a:hover { color: #0057d2; background: #f5f6f7; }
.object-anchor-bar a.active { color: #004b9b; box-shadow: inset 0 -3px #0070f2; }
.object-anchor-bar a span { min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 9px; color: #475e75; background: #eaecee; font-size: .54rem; }
.object-section-card, .object-child-section { scroll-margin-top: calc(var(--topbar-height) + var(--workspacebar-height) + 50px); }
.object-action-strip { border: 0; border-radius: 8px; box-shadow: var(--sap-shadow-0); }
.object-action-label { color: #1d2d3e; background: #eaf6ff; }
.object-action-label i { color: #0070f2; }
.object-action-list > a > i, .object-action-list > form button > i { color: #0057d2; background: #eaf6ff; }
.object-action-list > a.is-primary > i { background: #0070f2; }
.object-action-list > a:hover, .object-action-list > form button:hover { color: #004b9b; background: #f5f6f7; }
.object-section-card > header, .module-form-panel-header { background: #fff; }
.object-section-card > header > div > span, .module-form-panel-icon { color: #0057d2; background: #eaf6ff; }

.module-form-grid { gap: 0; padding: 6px 10px 10px; background: #fff; }
.module-form-field {
  padding: 9px 10px 10px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.module-form-field:focus-within { border-color: transparent; box-shadow: none; }
.module-entry-form .form-control, .module-entry-form .form-select { min-height: 36px; border-color: #89919a; border-radius: 4px; }
.module-entry-form .form-control:hover, .module-entry-form .form-select:hover { border-color: #475e75; }
.module-entry-form .form-control:focus, .module-entry-form .form-select:focus { border-color: #0064d9; box-shadow: 0 0 0 1px #0064d9; }
.module-form-field.has-error { background: #fff8f8; box-shadow: inset 3px 0 #aa0808; }
.module-form-actions { border: 0; border-radius: 8px 8px 0 0; box-shadow: 0 -.25rem 1rem rgba(34,53,72,.14); }

.dashboard-heading {
  min-height: 70px;
  margin-bottom: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sap-shadow-0);
}
.dashboard-heading h1 { color: #1d2d3e; font-weight: 700; }
.dashboard-heading p { color: #556b82; }
.kpi-grid { gap: 8px; margin-bottom: 10px; }
.kpi-card {
  min-height: 88px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--sap-shadow-0);
}
.kpi-card:hover { border: 0; box-shadow: var(--sap-shadow-1); }
.kpi-icon { border-radius: 8px; }
.kpi-icon-teal, .kpi-icon-blue { color: #0057d2; background: #eaf6ff; }
.kpi-icon-gold { color: #e76500; background: #fff3e8; }
.kpi-content strong { color: #0057d2; }
.dashboard-card { border: 0; border-radius: 8px; box-shadow: var(--sap-shadow-0); }
.dashboard-card-header { border-bottom: 1px solid #e5e8ea; }
.dashboard-card-header h2 { color: #1d2d3e; }
.module-groups-accordion details { border: 0; border-radius: 8px; box-shadow: var(--sap-shadow-0); }
.module-groups-accordion summary { min-height: 44px; }
.compact-module-grid > a { border-color: #e5e8ea; }
.compact-module-grid > a:hover { border-color: #0070f2; background: #eaf6ff; }
.compact-module-grid > a > i:first-child { color: #0070f2; }

@media (max-width: 1240px) {
  .object-header { grid-template-columns: minmax(250px,1fr) minmax(260px,1fr); }
  .object-header-actions { grid-column: 1/-1; }
}

@media (max-width: 991.98px) {
  :root { --sidebar-width: 224px; }
  .sap-shell-brand { width: auto; min-width: 112px; }
  .app-sidebar { top: var(--topbar-height); }
  .app-brand {
    min-height: 46px;
    display: flex;
    padding: 6px 8px;
    border-bottom-color: #e5e8ea;
  }
  .app-brand-logo-frame { width: 34px; height: 34px; border-color: #c7cdd2; box-shadow: none; }
  .app-brand-logo-frame img { width: 112px; transform: translate(-9px,-26px); }
  .sidebar-close { color: #1d2d3e; background: #eaecee; }
  .app-main { margin-left: 0; }
  .object-header { grid-template-columns: 1fr; }
  .object-header-actions { grid-column: auto; justify-content: flex-start; }
  .app-search { width: min(480px,48vw); }
  .sap-shell-page-title { display: none; }
}

@media (max-width: 680px) {
  :root { --topbar-height: 48px; --workspacebar-height: 42px; }
  .app-shell { padding-top: 48px; }
  .app-topbar { height: 48px; padding-inline: 6px; }
  .sap-shell-brand { min-width: 36px; width: 36px; padding: 0; }
  .sap-shell-brand strong { display: none; }
  .sap-shell-brand > span { width: 27px; height: 27px; flex-basis: 27px; }
  .app-topbar > [data-sidebar-toggle] { order: -1; }
  .app-search { width: auto; }
  .workspace-tab span { display: none; }
  .workspace-tab { min-width: 42px; justify-content: center; padding: 0 8px; }
  .workspace-tab small { display: none; }
  .module-list-toolbar { display: flex; }
  .module-list-toolbar.is-collapsed { flex-direction: row; justify-content: flex-end; }
  .module-search-form { width: 100%; }
  .module-list-summary > span { display: none; }
  .object-header-facets { grid-template-columns: 1fr; gap: 6px; }
  .object-header-facets > div { padding: 4px 0 4px 9px; }
  .object-anchor-bar { top: calc(var(--topbar-height) + var(--workspacebar-height)); }
}

/* Modern task-oriented forms */
.form-mode-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 16px;
  color: #004b9b;
  background: #eaf6ff;
  font-size: .64rem;
  font-weight: 700;
  white-space: nowrap;
}
.modern-form-workspace {
  display: grid;
  grid-template-columns: 196px minmax(0,1fr);
  align-items: start;
  gap: 10px;
}
.modern-form-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + var(--workspacebar-height) + 10px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-progress-card, .form-section-navigation, .form-sidebar-note {
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sap-shadow-0);
}
.form-progress-card { padding: 11px; }
.form-progress-heading { display: flex; align-items: center; justify-content: space-between; color: #354a5f; font-size: .65rem; }
.form-progress-heading strong { color: #0057d2; font-size: .72rem; }
.form-progress-track { height: 5px; margin: 8px 0 6px; overflow: hidden; border-radius: 3px; background: #e5e8ea; }
.form-progress-track span { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#0070f2,#19a974); transition: width .25s ease; }
.form-progress-card > small { color: #758ca4; font-size: .56rem; }
.form-section-navigation { overflow: hidden; padding: 5px; }
.form-section-navigation a {
  min-height: 48px;
  display: grid;
  grid-template-columns: 26px minmax(0,1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  border-radius: 6px;
  color: #354a5f;
  text-decoration: none;
}
.form-section-navigation a:hover { background: #f5f6f7; }
.form-section-navigation a.active { color: #004b9b; background: #eaf6ff; box-shadow: inset 3px 0 #0070f2; }
.form-section-navigation > a > i { color: #0064d9; font-size: .85rem; }
.form-section-navigation a > span { min-width: 0; display: flex; flex-direction: column; }
.form-section-navigation strong { overflow: hidden; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.form-section-navigation small { margin-top: 2px; color: #758ca4; font-size: .53rem; }
.form-section-navigation em { color: #758ca4; font-size: .52rem; font-style: normal; }
.form-section-navigation a.is-complete em { color: #188918; }
.form-sidebar-note { display: flex; align-items: flex-start; gap: 7px; padding: 9px 10px; color: #61758a; font-size: .56rem; line-height: 1.4; }
.form-sidebar-note i { margin-top: 1px; color: #188918; }
.modern-form-sections { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.modern-form-section {
  scroll-margin-top: calc(var(--topbar-height) + var(--workspacebar-height) + 12px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sap-shadow-0);
}
.modern-form-section > header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px 7px 12px;
  border-bottom: 1px solid #e5e8ea;
}
.modern-form-section-title { min-width: 0; display: flex; align-items: center; gap: 9px; }
.modern-form-section-title > span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 7px;
  color: #0057d2;
  background: #eaf6ff;
}
.modern-form-section-title h2 { margin: 0; color: #1d2d3e; font-size: .75rem; font-weight: 700; }
.modern-form-section-title p { margin: 2px 0 0; color: #758ca4; font-size: .56rem; }
.modern-form-section-meta { display: flex; align-items: center; gap: 7px; }
.modern-form-section-meta > span { color: #758ca4; font-size: .55rem; white-space: nowrap; }
.modern-form-section-meta button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: #354a5f;
  background: transparent;
}
.modern-form-section-meta button:hover { color: #0057d2; background: #eaecee; }
.modern-form-section-meta button i { transition: transform .18s ease; }
.modern-form-section.is-collapsed .modern-form-section-content { display: none; }
.modern-form-section.is-collapsed .modern-form-section-meta button i { transform: rotate(180deg); }
.modern-form-section-content { padding: 5px 8px 9px; }
.modern-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 16px; row-gap: 2px; }
.modern-form-field {
  position: relative;
  min-width: 0;
  padding: 8px 7px 9px;
  border-radius: 6px;
  transition: background .15s ease;
}
.modern-form-field:focus-within { background: #f7fbff; }
.modern-form-field-wide { grid-column: 1/-1; }
.modern-form-label-row { min-height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.modern-form-label-row label { margin: 0; color: #354a5f; font-size: .65rem; font-weight: 600; }
.modern-form-label-row > span { color: #89919a; font-size: .52rem; }
.modern-control-wrap { position: relative; }
.modern-control-wrap .form-control, .modern-control-wrap .form-select {
  min-height: 40px;
  padding: .48rem 2rem .48rem .68rem;
  border: 1px solid #89919a;
  border-radius: 5px;
  color: #1d2d3e;
  background-color: #fff;
  font-size: .73rem;
}
.modern-control-wrap .form-control:hover, .modern-control-wrap .form-select:hover { border-color: #354a5f; }
.modern-control-wrap .form-control:focus, .modern-control-wrap .form-select:focus { border-color: #0064d9; box-shadow: 0 0 0 1px #0064d9; }
.modern-control-wrap textarea.form-control { min-height: 94px; padding-right: .68rem; line-height: 1.5; }
.modern-control-wrap select[multiple] { min-height: 120px; padding-right: .68rem; }
.modern-control-wrap input[type="file"] { padding-right: .5rem; }
.control-state {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 18px;
  height: 18px;
  display: none;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #fff;
  background: #188918;
  font-size: .65rem;
  pointer-events: none;
}
.modern-form-field.is-complete:not(.has-error) .control-state { display: grid; }
.modern-form-field-wide .control-state, .modern-form-field:has(textarea) .control-state, .modern-form-field:has(input[type="file"]) .control-state { display: none !important; }
.modern-form-field .form-text { display: flex; align-items: flex-start; gap: 4px; margin-top: 4px; color: #758ca4; font-size: .55rem; line-height: 1.35; }
.modern-form-field .form-text i { margin-top: 1px; color: #0064d9; }
.modern-form-field.has-error { background: #fff1f1; box-shadow: inset 3px 0 #aa0808; }
.modern-form-field.has-error .form-control, .modern-form-field.has-error .form-select { border-color: #aa0808; }
.modern-form-toggle { display: flex; align-items: center; }
.modern-form-toggle .form-check { min-height: 54px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 5px 7px; }
.modern-form-toggle .form-check-input { width: 38px; height: 21px; flex: 0 0 38px; margin: 0; }
.modern-form-toggle .form-check-label { display: flex; flex-direction: column; color: #354a5f; cursor: pointer; }
.modern-form-toggle .form-check-label strong { font-size: .65rem; }
.modern-form-toggle .form-check-label small { margin-top: 2px; color: #758ca4; font-size: .54rem; }
.module-form-actions { min-height: 56px; margin-left: 206px; }
.module-form-submit { box-shadow: none; }

@media (min-width: 1500px) {
  .modern-form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 991.98px) {
  .modern-form-workspace { grid-template-columns: 1fr; }
  .modern-form-sidebar { position: static; }
  .form-section-navigation { display: flex; overflow-x: auto; }
  .form-section-navigation a { min-width: 170px; }
  .form-sidebar-note { display: none; }
  .module-form-actions { margin-left: 0; }
}

@media (max-width: 680px) {
  .form-mode-pill { display: none; }
  .form-progress-card { padding: 9px 10px; }
  .form-section-navigation { display: none; }
  .modern-form-grid { grid-template-columns: 1fr; }
  .modern-form-field-wide { grid-column: auto; }
  .modern-form-section > header { align-items: flex-start; }
  .modern-form-section-title p, .modern-form-section-meta > span { display: none; }
  .modern-form-section-content { padding-inline: 4px; }
}

/* DKA enterprise shell — aligned with the approved SAP-style reference */
:root {
  --sidebar-width: 188px;
  --sidebar-compact-width: 56px;
  --topbar-height: 56px;
  --workspacebar-height: 64px;
  --dka-navy: #062f55;
  --dka-navy-deep: #032541;
  --dka-gold: #c89b18;
  --sap-page-gap: 12px;
}

.app-shell { padding-top: 0; }
.app-sidebar {
  inset: 0 auto 0 0;
  color: #fff;
  background: linear-gradient(180deg, #05365f 0%, #032b4d 58%, #022641 100%);
  box-shadow: 1px 0 0 rgba(0,0,0,.2);
}
.app-brand {
  min-height: var(--topbar-height);
  display: flex;
  gap: 7px;
  padding: 5px 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sidebar-brand-toggle {
  width: 32px;
  height: 36px;
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: transparent;
  font-size: 1.15rem;
}
.sidebar-brand-toggle:hover { background: rgba(255,255,255,.12); }
.app-brand-link { min-width: 0; flex: 1; }
.app-brand-logo-frame {
  width: 128px;
  height: 44px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
}
.app-brand-logo-frame img {
  width: 142px;
  max-width: none;
  height: auto;
  transform: translate(-7px,-32px);
}
.app-nav-scroll { padding-top: 9px; scrollbar-color: rgba(255,255,255,.25) transparent; }
.app-nav-heading { color: rgba(255,255,255,.58); }
.app-nav-heading small { color: rgba(255,255,255,.45); }
.app-nav-link { color: rgba(255,255,255,.86); }
.app-nav-link > i:first-child, .app-subnav-link > i { color: #9dcbd4; }
.app-nav-link:hover, .app-nav-group-toggle[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.09); }
.app-nav-link:hover > i:first-child { color: #fff; }
.app-nav-link.active {
  color: #fff;
  background: #075d91;
  box-shadow: inset 3px 0 var(--dka-gold);
}
.app-nav-link.active > i:first-child { color: #fff; }
.app-nav-count { color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); }
.app-nav-chevron { color: rgba(255,255,255,.55); }
.app-subnav::before { background: rgba(255,255,255,.17); }
.app-subnav-link { color: rgba(255,255,255,.72); }
.app-subnav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.app-subnav-link.active { color: #fff; background: rgba(3,164,196,.23); }
.app-subnav-link.active::before { background: var(--dka-gold); box-shadow: 0 0 0 3px rgba(200,155,24,.2); }
.app-nav-separator, .app-sidebar-footer { border-color: rgba(255,255,255,.12); }
.app-nav-separator { background: rgba(255,255,255,.12); }
.app-sidebar-footer > span:first-child, .app-version { color: rgba(255,255,255,.62); }
.app-sidebar-footer > span:first-child i { color: #70d6c9; }

.app-main {
  min-width: 0;
  margin-left: var(--sidebar-width);
  padding-top: var(--topbar-height);
}
.app-topbar {
  inset: 0 0 auto var(--sidebar-width);
  width: auto;
  height: var(--topbar-height);
  padding: 0 16px;
  transition: left .2s ease;
}
.sap-shell-brand {
  width: auto;
  min-width: max-content;
  padding: 0 14px 0 4px;
  gap: 7px;
}
.sap-shell-brand strong { font-size: .78rem; }
.sap-shell-brand > i { color: #556b82; font-size: .62rem; }
.sap-shell-page-title { max-width: 190px; font-size: .68rem; }
.app-search { width: min(540px,42vw); }
.app-topbar-actions { margin-left: auto; }

.app-workspace-bar {
  top: var(--topbar-height);
  height: var(--workspacebar-height);
  overflow-x: auto;
  background: #fff;
}
.workspace-bar-label { display: none; }
.workspace-tabs {
  width: 100%;
  min-width: 760px;
  display: grid;
  grid-template-columns: repeat(8,minmax(88px,1fr));
  padding: 0 14px;
}
.workspace-tab {
  position: relative;
  min-width: 0;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-size: .68rem;
}
.workspace-tab small {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #c7cdd2;
  border-radius: 50%;
  background: #fff;
}
.workspace-tab i { font-size: .92rem; }
.workspace-tab:not(:last-child)::after {
  content: "\203A";
  position: absolute;
  right: -4px;
  color: #89919a;
  font-size: 1.15rem;
  font-weight: 300;
}
.workspace-tab.active small { border-color: #0a6ed1; background: #0a6ed1; }

.app-content { min-height: calc(100vh - var(--topbar-height) - var(--workspacebar-height)); }
.app-content > .container, .dashboard-page {
  max-width: none;
  padding: var(--sap-page-gap) 16px 28px !important;
}
.app-content .breadcrumb { margin-bottom: 6px; }
.module-page-header, .object-header, .module-form-hero {
  margin-bottom: 10px;
  padding: 8px 4px 10px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.module-page-icon, .object-header-icon, .module-form-icon { width: 38px; height: 38px; flex-basis: 38px; }
.module-page-header h1, .object-header h1, .module-form-heading h1 { font-size: 1.32rem; }
.module-page-header p, .object-header p, .module-form-heading p { max-width: 850px; font-size: .65rem; }
.module-page-actions .btn, .object-header-actions .btn { min-height: 34px; }
.module-list-toolbar { border: 1px solid #d5dadd; box-shadow: none; }
.module-table-card, .object-section-card, .object-tool-panel, .object-decision-panel,
.modern-form-section, .form-progress-card, .form-section-navigation, .form-sidebar-note,
.dashboard-card, .kpi-card, .module-groups-accordion details {
  border: 1px solid #d5dadd;
  box-shadow: 0 1px 2px rgba(34,53,72,.06);
}
.module-data-table tbody tr:nth-child(even) { background: #fbfcfd; }
.module-data-table tbody tr[data-row-href]:hover { background: #edf7ff; }
.modern-form-workspace { grid-template-columns: 205px minmax(0,1fr); gap: 12px; }
.modern-control-wrap .form-control, .modern-control-wrap .form-select { min-height: 38px; }
.module-form-actions { margin-left: 217px; }
.btn-dka { --bs-btn-bg: #0a6ed1; --bs-btn-border-color: #0a6ed1; --bs-btn-hover-bg: #085caf; --bs-btn-hover-border-color: #085caf; }

.public-body { background: linear-gradient(135deg,#edf4fa 0%,#fff 52%,#eef7f5 100%); }
.public-body .navbar.bg-dka { background: #062f55 !important; }
.public-body .card { border: 1px solid #d5dadd !important; border-radius: 10px !important; box-shadow: 0 12px 36px rgba(6,47,85,.12) !important; }
.public-body .form-control { min-height: 42px; border-color: #89919a; border-radius: 5px; }
.public-body .form-control:focus { border-color: #0a6ed1; box-shadow: 0 0 0 1px #0a6ed1; }

.sidebar-compact .app-brand { justify-content: center; padding: 6px; }
.sidebar-compact .sidebar-brand-toggle { width: 40px; flex-basis: 40px; }
.sidebar-compact .app-brand-link { display: none; }
.sidebar-compact .app-topbar { left: var(--sidebar-compact-width); }
.sidebar-compact .app-main { margin-left: var(--sidebar-compact-width); }

@media (min-width: 1440px) {
  .modern-form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 1180px) {
  .workspace-tabs { grid-template-columns: repeat(8,minmax(82px,1fr)); }
  .workspace-tab { padding-inline: 8px; }
  .workspace-tab i { display: none; }
  .organization-menu { display: none; }
}

@media (max-width: 991.98px) {
  :root { --sidebar-width: 224px; --workspacebar-height: 48px; }
  .app-sidebar { top: 0; }
  .app-main { margin-left: 0; }
  .app-topbar { left: 0; padding-inline: 8px; }
  .app-brand { min-height: var(--topbar-height); }
  .topbar-mobile-menu { display: grid !important; }
  .workspace-tabs { min-width: 680px; padding-inline: 6px; }
  .workspace-tab { gap: 5px; }
  .workspace-tab small { width: 20px; height: 20px; }
  .modern-form-workspace { grid-template-columns: 1fr; }
  .module-form-actions { margin-left: 0; }
}

@media (max-width: 680px) {
  :root { --topbar-height: 52px; --workspacebar-height: 46px; }
  .app-shell { padding-top: 0; }
  .app-topbar { height: var(--topbar-height); }
  .sap-shell-brand { min-width: 0; width: auto; padding-right: 4px; }
  .sap-shell-brand strong { display: block; max-width: 116px; }
  .app-search { flex: 1; }
  .app-search-shortcut, .sap-shell-page-title { display: none; }
  .workspace-tabs { min-width: 520px; }
  .workspace-tab span, .workspace-tab i { display: none; }
  .workspace-tab small { display: grid; }
  .workspace-tab:not(:last-child)::after { right: -2px; }
  .app-content > .container, .dashboard-page { padding-inline: 9px !important; }
  .module-page-header, .object-header, .module-form-hero { padding-inline: 2px; }
}

/* Fixed navigation requested for the development phase */
:root { --workspacebar-height: 0px; }
.app-workspace-bar { display: none !important; }
.app-nav-group-label {
  cursor: default;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.055);
  font-weight: 650;
}
.app-nav-group-label:hover { color: rgba(255,255,255,.88); background: rgba(255,255,255,.055); }
.app-nav-group-label:hover > i:first-child { color: #9dcbd4; }
.app-nav-group + .app-nav-group { margin-top: 3px; }
.app-subnav { display: block !important; height: auto !important; visibility: visible !important; }
.object-anchor-bar { top: var(--topbar-height); }
.modern-form-sidebar { top: calc(var(--topbar-height) + 10px); }
.modern-form-section { scroll-margin-top: calc(var(--topbar-height) + 12px); }
.object-section-card, .object-child-section { scroll-margin-top: calc(var(--topbar-height) + 50px); }
