:root {
  --omt-sidebar-bg: #14213d;
  --omt-sidebar-fg: #c9d3e6;
  --omt-sidebar-active: #1f4e79;
  --omt-sidebar-width: 236px;
  --omt-body-bg: #f4f6f9;
}
body { background: var(--omt-body-bg); font-size: .925rem; }
.omt-shell { display: flex; min-height: 100vh; }
.omt-sidebar {
  width: var(--omt-sidebar-width); background: var(--omt-sidebar-bg); color: var(--omt-sidebar-fg);
  flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.omt-sidebar .brand { color: #fff; font-weight: 700; font-size: 1.1rem; padding: 1rem 1.1rem; display: block; text-decoration: none; }
.omt-sidebar .brand small { display: block; font-weight: 400; font-size: .72rem; color: var(--omt-sidebar-fg); letter-spacing: .04em; }
.omt-sidebar .nav-section { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #7d8bab; padding: .9rem 1.1rem .3rem; }
.omt-sidebar a.nav-link { color: var(--omt-sidebar-fg); padding: .42rem 1.1rem; display: flex; align-items: center; gap: .6rem; border-left: 3px solid transparent; }
.omt-sidebar a.nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.omt-sidebar a.nav-link.active { color: #fff; background: var(--omt-sidebar-active); border-left-color: #7fb3ff; }
.omt-sidebar a.nav-link .bi { font-size: 1rem; width: 1.1rem; }
.omt-main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.omt-topbar { background: #fff; border-bottom: 1px solid #e3e7ee; padding: .55rem 1.25rem; position: sticky; top: 0; z-index: 1020; }
.omt-content { padding: 1.25rem; }
.page-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.page-header h1 { font-size: 1.4rem; margin: 0; font-weight: 600; }
.page-header .subtitle { color: #6c757d; font-size: .88rem; }
.card { border-color: #e3e7ee; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card-header { background: #fff; font-weight: 600; }
.table > :not(caption) > * > * { padding: .5rem .6rem; }
.table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: #6c757d; font-weight: 600; background: #fafbfc; }
.dl-grid { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0; }
.dl-grid dt { color: #6c757d; font-weight: 500; }
.dl-grid dd { margin: 0; }
.stat-card .stat-value { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.stat-card .stat-label { color: #6c757d; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 .9rem 1.6rem; border-left: 2px solid #e3e7ee; margin-left: .45rem; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li .dot { position: absolute; left: -.5rem; top: .1rem; width: .95rem; height: .95rem; border-radius: 50%; background: #fff; border: 2px solid #7d8bab; }
.timeline li .when { color: #6c757d; font-size: .78rem; }
.flag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .03em; padding: .15rem .4rem; border-radius: .25rem; text-transform: uppercase; }
.flag-danger { background: #dc3545; color: #fff; }
.flag-warning { background: #ffc107; color: #212529; }
.flag-info { background: #0dcaf0; color: #212529; }
.required-mark { color: #dc3545; }
.form-help { font-size: .8rem; color: #6c757d; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.search-results .list-group-item small { color: #6c757d; }
@media (max-width: 991.98px) {
  .omt-sidebar { position: fixed; left: calc(-1 * var(--omt-sidebar-width)); z-index: 1040; transition: left .2s; }
  .omt-sidebar.show { left: 0; box-shadow: 0 0 30px rgba(0,0,0,.3); }
  .omt-content { padding: .85rem; }
}
@media print {
  .omt-sidebar, .omt-topbar, .no-print { display: none !important; }
  body { background: #fff; }
}
