/*
  app.cleaned.css
  - removed stray STYLE-TAG tags from original
  - deduped/merged duplicate selectors (last values preserved)
  - selectors/classes kept; no renames
*/

@layer reset, tokens, base, bootstrap, shell, components, tools, utilities, overrides;

@layer tokens {
  :root{
    /* 2026 Theme Tokens (neutral start) */
    --brand-500: #2d9c5c;
    --brand-600: #0284c7;

    --bg: #f6f7f9;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: rgba(15,23,42,.08);

    --radius-sm: .5rem;
    --radius-md: .75rem;
    --radius-lg: 1rem;

    --shadow-sm: 0 1px 2px rgba(15,23,42,.04);
    --shadow-md: 0 10px 30px rgba(15,23,42,.10);
  }
}

@layer bootstrap {
  .btn-primary{
    background-color: var(--brand-500);
    border-color: var(--brand-500);
  }
  .btn-primary:hover{
    background-color: var(--brand-600);
    border-color: var(--brand-600);
  }
}

@layer shell {
  body.app-shell{ /* … */ }
  body.app-shell .shell-nav{ /* … */ }
  body.app-shell .tool-frame{ /* … */ }
}

#xlsxList .list-group-item, #wcFields .list-group-item {
  cursor: pointer;
}

.map-row-invalid {
  background: #fff3cd;
}

.pane {
  display: flex;
  flex-direction: column;
}

.pane-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.map-table th:first-child, .map-table td:first-child {
  width: 40%;
}

.map-table th:last-child, .map-table td:last-child {
  width: 60%;
}

#xlsxList .btn, #wcFields .btn {
  white-space: nowrap;
}

.app-ribbon {
  background: var(--rbn-bg);
  color: var(--rbn-text);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(0,0,0,.15);
  z-index: 1030;
}

.ribbon-title .brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.25);
}

.ribbon-eyebrow {
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 2px;
}

.ribbon-actions .btn {
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.chip {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .85rem;
  border: 1px solid var(--rbn-border);
  backdrop-filter: saturate(120%) blur(2px);
  white-space: nowrap;
}

.chip-soft {
  background: var(--rbn-soft);
  color: var(--rbn-text);
}

.form-label {
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

.form-control {
  background: rgba(255,255,255,.95);
}

.btn-success {
  background: #10b981;
  border-color: #10b981;
}

.ribbon-row .form-group {
  min-width: 220px;
}

.vr {
  border-left: 1px solid var(--rbn-border);
  height: 40px;
}

.app-ribbon .brand-logo {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}

.app-ribbon .ribbon-actions {
  gap: .5rem .5rem;
}

.app-ribbon .chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 6px 12px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color: #ecf2f7;
  box-shadow: 0 1px 2px rgba(0,0,0,.15) inset;
}

.app-ribbon .chip i {
  opacity: .9;
}

.chip-ok {
  background: rgba(16,185,129,.18);
  border-color: rgba(16,185,129,.40);
}

.chip-warn {
  background: rgba(234,179,8,.20);
  border-color: rgba(234,179,8,.45);
}

.chip-bad {
  background: rgba(239,68,68,.20);
  border-color: rgba(239,68,68,.45);
}

.kpi .icon {
  width: 38px;
  height: 38px;
  border-radius: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
}

.btn-outline-primary {
  --bs-btn-hover-bg: #d6eaff;
  --bs-btn-hover-color: #0a3d62;
  --bs-btn-hover-border-color: #d6eaff;
  --bs-btn-color: #0e65a3;
  --bs-btn-border-color: #9cc7ea;
}

.btn-outline-primary:hover {
  background: #d6eaff;
  border-color: #d6eaff;
  color: #0a3d62;
}

.btn-outline-secondary {
  --bs-btn-color: #475569;
  --bs-btn-border-color: #cbd5e1;
}

.btn-outline-secondary:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #0f172a;
}

.badge-log {
  font-size: .72rem;
}

.badge-log.info {
  background: #e0f2fe;
  color: #075985;
}

.badge-log.warn {
  background: #fff3cd;
  color: #7c5b00;
}

.badge-log.error {
  background: #fee2e2;
  color: #991b1b;
}

.jsonbox {
  background: #0f172a;
  color: #e2e8f0;
  padding: 12px 14px;
  border-radius: 8px;
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  white-space: pre;
  overflow: auto;
  max-height: 60vh;
}

.def-group {
  border: 1px solid var(--bs-border-color);
  border-radius: .75rem;
  margin-bottom: 1rem;
}

.def-head {
  padding: .6rem .9rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--bs-border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.def-body {
  padding: .5rem .75rem;
  display: none;
}

.def-open .def-body {
  display: block;
}

.def-pill {
  font-size: .72rem;
  border-radius: 999px;
  padding: .2rem .5rem;
  background: #eef2ff;
  color: #3730a3;
}

.table-compact td, .table-compact th {
  padding: .35rem .5rem;
  vertical-align: middle;
}

.dash-row .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.log-table tbody tr + tr td {
  border-top-style: dashed;
  border-top-color: #e2e8f0;
}

.log-table td:first-child {
  color: #64748b;
}

.dash-row .card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  max-height: var(--dash-maxh, none);
}

.log-table th,.log-table td {
  padding: .25rem .5rem;
  white-space: nowrap;
}

@media (max-width:1199.98px) {
  .dash-row .card {
    max-height: none;
  }

  .log-pane {
    max-height: 600px;
  }

}

.app-subbar .form-label {
  font-size: .75rem;
  color: #64748b;
}

.app-subbar .vr {
  height: 28px;
}

.mapping-two-cols {
  max-width: 1200px;
  margin-inline: auto;
}

.list-compact .list-group-item + .list-group-item {
  border-top-style: dashed;
}

.card-header {
  padding: .5rem .75rem;
}

.app-subbar .form-control-sm {
  height: 32px;
  padding: .25rem .5rem;
}

.pane .card-body,
.pane-body {
  overflow-y: auto;
  overflow-x: hidden;
}

.list-compact .badge {
  white-space: nowrap;
}

.map-table {
  font: 13px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  border-top: 2px solid #0ea5e9;
  table-layout: auto;
}

.map-table th, .map-table td {
  padding: .35rem .5rem;
}

.map-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.map-table tbody tr:hover td {
  background: #f8fafc;
}

.map-table td:last-child {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.map-table td:last-child .form-select {
  flex: 0 1 520px;
  min-width: 260px;
}

.map-table td:last-child .btn-link {
  padding: 0;
  line-height: 1.2;
}

.pane.compact {
  max-height: 420px;
}

.imp-table td {
  vertical-align: middle;
}

.imp-thumb:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.asset-view {
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  line-height: 0;
  cursor: zoom-in;
}

.asset-view[data-kind="video"],
.asset-view[data-kind="file"] {
  cursor: pointer;
}

.asset-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.text-mono {
  font-family: ui-monospace, Menlo, Consolas, monospace;
}

#assetModal .modal-dialog {
  max-width: min(96vw, 1280px);
}

#assetModal .asset-modal-body {
  background: #0b1324;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  max-height: calc(100vh - 180px);
}

.viewer-media {
  max-width: 90vw;
  max-height: calc(100vh - 220px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  background: #000;
}

.html-box {
  max-width: 520px;
  max-height: 180px;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.html-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.imp-th .hdr {
  display: inline-block;
  max-width: 22ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.imp-th.full .hdr {
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.imp-th .hdr-dst {
  max-width: 22ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.imp-th.full .hdr-dst {
  max-width: none;
  white-space: normal;
  overflow: visible;
}

#list-weclapp .list-group-item {
  padding: .5rem .75rem;
}

#list-weclapp .fld-label {
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.05;
}

#list-weclapp .fld-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .8rem;
  color: #6c757d;
  display: block;
}

#list-weclapp .badge {
  opacity: .9;
}

.field-item .keyline,
.imp-field-sub,
.text-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .8rem;
  opacity: .8;
}

#wcFields .list-group-item {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .85rem;
  line-height: 1.2;
  padding: .5rem .75rem;
}

#wcFields .text-muted.small {
  font-size: .75rem;
}

#mapTable td {
  vertical-align: middle;
}

#mapTable .form-select.form-select-sm {
  font-size: .85rem;
}

.searchable-select .search-input {
  width: 100%;
  margin-bottom: .25rem;
  padding: .25rem .5rem;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.searchable-select select {
  width: 100%;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.searchable-select {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.searchable-select .searchbox {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .80rem;
  padding: .15rem .35rem;
  color: #6c757d;
  border-color: #ced4da;
}

.searchable-select select.form-select {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .80rem;
}

.file-row .name {
  font-weight: 600;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.logbox {
  background: #0b1020;
  color: #e5e7eb;
  border-radius: .5rem;
  padding: .75rem;
  white-space: pre-wrap;
}

.logbox .muted {
  color: #94a3b8;
}

.toolbar .btn {
  padding: .35rem .6rem;
}

.badge-soft {
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  color: #334155;
  padding: .15rem .45rem;
  border-radius: .4rem;
}

.table-files td {
  vertical-align: middle;
}

.table-files tbody tr {
  transition: background .15s ease;
}

.table-files tbody tr:hover {
  background: #f8fafc;
}

.table-files .name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.ext-badge {
  font-size: .7rem;
  padding: .15rem .45rem;
  border-radius: .4rem;
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #e5e7eb;
}

.cell-actions .btn {
  padding: .3rem .5rem;
}

.table-files {
  font-size: .875rem;
}

.table-files td, .table-files th {
  padding-top: .4rem;
  padding-bottom: .4rem;
}

#exportsScroll, #logScroll {
  border: 1px solid #eef2f7;
  border-radius: 6px;
}

#logScroll .logbox {
  background: #0b1020;
  color: #e5e7eb;
  padding: .75rem;
  white-space: pre-wrap;
}

.table-files thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.pv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.pv-badge {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  padding: .15rem .35rem;
  font: 12px/1.2 ui-monospace,monospace;
}

.pv-cell {
  min-height: 46px;
}

.pv-muted {
  color: #64748b;
}

.thumb {
  position: relative;
  display: inline-block;
}

.thumb-main::after {
  content: "★";
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 12px;
  line-height: 1;
  background: #0ea5e9;
  color: #fff;
  border-radius: 50%;
  padding: 2px 5px;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

.callout {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: .75rem;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.callout .lead {
  font-size: 1rem;
  margin: 0;
}

.callout .muted {
  color: #6b7280;
  font-size: .875rem;
}

.mapping-max {
  margin-inline: auto;
  max-width: 1600px;
}

pre.jsonbox {
  background: #0f172a;
  color: #e2e8f0;
  padding: 12px;
  border-radius: 6px;
  font-size: 12px;
}

#tbl {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
}

#tbl thead th {
  white-space: nowrap;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

#tbl tbody td {
  white-space: nowrap;
  vertical-align: top;
  padding: 6px 8px;
}

.cell-scroll {
  display: inline-block;
  max-width: 720px;
  overflow-x: auto;
  white-space: pre;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.3;
}

.cell-list {
  white-space: pre;
}

.desc-html {
  max-width: 720px;
  white-space: normal;
  line-height: 1.45;
}

.desc-html p {
  margin: 0 0 .5rem 0;
}

.desc-html ul, .desc-html ol {
  margin: .25rem 0 .5rem 1.25rem;
}

.desc-html a {
  text-decoration: underline;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.tool {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.tool-label {
  font-size: .75rem;
  color: #6c757d;
  line-height: 1;
  margin-left: 2px;
}

.tool-row .form-select,
    .tool-row .form-control,
    .tool-row .btn {
  height: 32px;
}

.tool--file {
  flex: 1 1 320px;
  min-width: 320px;
}

.tool--mapping {
  flex: 2 1 420px;
  min-width: 380px;
}

.tool--action {
  flex: 0 0 auto;
}

#selMapping {
  width: clamp(320px, 42vw, 520px);
}

.asset-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .15rem .4rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font: 12px/1.2 ui-monospace,monospace;
}

.asset-badge + .asset-badge {
  margin-left: .25rem;
}

.asset-vid {
  background: #eef6ff;
  border-color: #cfe3ff;
}

.asset-file {
  background: #f8fafc;
}

.asset-text {
  background: #f8fafc;
  color: #64748b;
}

.asset-modal-body {
  text-align: center;
  background: #0b1324;
}

.viewer-img, .viewer-video {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
}

.viewer-video {
  background: #000;
}

.var-badges {
  margin-top: .35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}

.var-badge .id {
  opacity: .7;
  margin-left: .35rem;
}

.tester-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(460px, 92vw);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15,23,42,.18);
  overflow: hidden;
  z-index: 1040;
}

.tester-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font: 600 14px/1.2 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.tester-close {
  line-height: 1;
  font-size: 22px;
  padding: 0 6px;
  background: transparent;
  border: 0;
  color: #475569;
  cursor: pointer;
}

.tester-close:hover {
  color: #0f172a;
}

.tester-body {
  padding: 14px;
  overflow: auto;
}

.tester-body .form-control,
.tester-body .form-select,
.tester-body .btn {
  margin-bottom: 10px;
}

.tester-body .btn {
  padding: .5rem .9rem;
}

.tester-body pre {
  background: #0b1220;
  color: #e5e7eb;
  border-radius: 10px;
  padding: 14px;
  max-height: 260px;
  overflow: auto;
  font: 13px/1.45 ui-monospace, Menlo, Consolas, monospace;
}

.tester-tab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  background: #0ea5e9;
  color: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(2,132,199,.35);
  cursor: pointer;
  z-index: 1039;
  display: none;
  font: 600 13px/1 ui-sans-serif, system-ui;
}

.tester-tab:hover {
  filter: brightness(0.95);
}

.tester-panel.is-closed {
  display: none;
}

.tester-tab.is-visible {
  display: inline-block;
}

.table-wrap {
  position: relative;
  overflow: auto;
  max-height: 65vh;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.table-wrap::before,
.table-wrap::after {
  content: "";
  position: sticky;
  top: 0;
  height: 0;
  display: block;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.06);
}

.table-wrap.is-scrolling::before {
  box-shadow: inset 0 8px 8px -8px rgba(15,23,42,.25);
}

.table-wrap.is-scrolling-x-left::after {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, rgba(15,23,42,.10), rgba(15,23,42,0));
}

.table-wrap.is-scrolling-x-right::before {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(270deg, rgba(15,23,42,.10), rgba(15,23,42,0));
}

.table-density-compact table.table tr>th,
.table-density-compact table.table tr>td {
  padding: .25rem .45rem;
  font-size: .88rem;
}

.table-density-comfort table.table tr>th,
.table-density-comfort table.table tr>td {
  padding: .55rem .65rem;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(#fff,#fff);
  box-shadow: 0 1px 0 #e5e7eb inset;
}

.table .col-sticky {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  box-shadow: 1px 0 0 #e5e7eb;
}

.cell-ellipsis {
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cell-ellipsis[data-full] {
  cursor: zoom-in;
}

.cell-pop {
  position: fixed;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  max-width: min(90vw, 1100px);
  max-height: 70vh;
  overflow: auto;
  background: #0b1220;
  color: #e5e7eb;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  font: 13px/1.45 ui-monospace, Menlo, Consolas, monospace;
  z-index: 1060;
}

.cell-pop .close {
  position: sticky;
  top: 0;
  float: right;
  background: #111827;
  color: #e5e7eb;
  border: 0;
  border-radius: 6px;
  padding: .2rem .5rem;
  margin-left: .5rem;
}

.colmgr {
  position: fixed;
  right: 18px;
  bottom: 78px;
  width: 320px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(15,23,42,.18);
  z-index: 1050;
  display: none;
}

.colmgr.is-open {
  display: block;
}

.colmgr h6 {
  margin: 0 0 .5rem 0;
  font-weight: 700;
}

.colmgr .list {
  max-height: 40vh;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: .5rem;
}

.colmgr .list label {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .35rem;
}

.kpi {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .5rem .75rem;
  border-radius: .5rem;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
}

.kpi .num {
  line-height: 1;
  font-weight: 700;
  font-size: 1.15rem;
}

.list-compact .list-group-item {
  cursor: pointer;
  border-color: #e2e8f0;
  white-space: normal;
  word-break: break-word;
  padding: .5rem .75rem;
}

.link-muted {
  text-decoration: none;
  color: inherit;
}

.link-muted:hover {
  text-decoration: underline;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: .75rem;
}

.tile {
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  background: #fff;
  padding: .9rem .95rem;
  display: flex;
  flex-direction: column;
  min-height: 140px;
}

.tile .tile-top {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .4rem;
}

.tile .tile-ico {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 1.1rem;
}

.tile h6 {
  margin: 0;
  font-weight: 700;
}

.tile small.badge-soft {
  margin-left: auto;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  color: #334155;
  padding: .1rem .45rem;
  border-radius: .4rem;
}

.tile p {
  margin: .35rem 0 .8rem 0;
  color: #475569;
  font-size: .9rem;
  line-height: 1.3;
}

.tile .tile-actions {
  margin-top: auto;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.tile .tile-actions .btn {
  padding: .35rem .6rem;
}

.tile .sub {
  font-size: .8rem;
  color: #64748b;
  margin-bottom: .25rem;
}

.tile .row-mini {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}

.tile .row-mini .right {
  white-space: nowrap;
}

#impSelectWrap .form-label {
  font-size: .85rem;
}

#impSelectWrap select {
  height: 34px;
  padding: .25rem .5rem;
}

.is-compact .tile p {
  display: none;
}

.is-compact .tile {
  min-height: 110px;
}

#bg-noise {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: .03;
  mix-blend-mode: multiply;
  background: repeating-linear-gradient(0deg,  #0002 0 2px, transparent 2px 4px),
      repeating-linear-gradient(90deg, #0002 0 2px, transparent 2px 4px);
  animation: bgShift 24s linear infinite;
}

@keyframes bgShift{ from{transform:translate3d(0,0,0)} to{transform:translate3d(48px,28px,0)} }

.app-ribbon, main, header, .card, .tile {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  #bg-noise {
    animation: none;
  }

}

#bgfx {
  inset: 0;
  position: fixed;
  z-index: 0;
  pointer-events: none;
  opacity: .28;
  filter: saturate(105%) contrast(102%);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

#bugRunner {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}

.bug {
  position: fixed;
  top: 0;
  left: 0;
  width: 56px;
  height: auto;
  pointer-events: none;
  z-index: 900;
  will-change: transform;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 2px 1.5px rgba(0,0,0,.35));
  display: block;
  contain: paint;
}

#rainCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .9;
}

.app-root, .container-fluid, main, header, .app-ribbon {
  position: relative;
  z-index: 1;
}

.action-head {
  font-weight: 700;
  font-size: .95rem;
  color: #334155;
  margin: 0 0 .5rem 2px;
}

.bg-grad-green {
  background: linear-gradient(135deg,#dcfce7,#e0f2fe);
}

.bg-grad-pink {
  background: linear-gradient(135deg,#fde2f3,#e9d5ff);
}

.bg-grad-lime {
  background: linear-gradient(135deg,#ecfccb,#e2fbe8);
}

@media (max-width: 576px) {
  .ribbon-actions {
    justify-content: flex-start;
  }

  .chip {
    display: none;
  }

  .app-ribbon .brand-logo {
    height: 22px;
  }

  .log-table {
    font-size: 11.5px;
  }

  .action-body .desc {
    display: none;
  }

}

.action-list.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}

@media (min-width: 768px) {
  .action-list.action-grid {
    grid-template-columns: 1fr 1fr;
  }

}

.action-list.action-grid .action-card {
  height: 100%;
}

.is-compact .action-card {
  padding: .65rem .75rem;
}

.panel .panel-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .25rem;
}

.panel .panel-title {
  margin: 0;
  font-weight: 700;
}

.panel-ico,.kpi-ico {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: #111827;
  font-size: 1.05rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.05) inset;
}

.bg-grad-blue {
  background: linear-gradient(135deg,#dbeafe,#bfdbfe);
}

.bg-grad-indigo {
  background: linear-gradient(135deg,#e0e7ff,#c7d2fe);
}

.bg-grad-purple {
  background: linear-gradient(135deg,#ede9fe,#ddd6fe);
}

.bg-grad-teal {
  background: linear-gradient(135deg,#ccfbf1,#99f6e4);
}

.bg-grad-slate {
  background: linear-gradient(135deg,#e5e7eb,#f3f4f6);
}

.bg-grad-orange {
  background: linear-gradient(135deg,#ffe4e6,#fecaca);
}

@media (min-width: 576px) {
  .kpi-grid {
    grid-template-columns: repeat(2,1fr);
  }

}

@media (min-width: 1200px) {
  .action-list.action-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .6rem .75rem;
  border: 1px solid #e5e7eb;
  border-radius: .65rem;
  background: #fff;
  margin-bottom: .5rem;
  transition: transform .12s ease, box-shadow .12s ease;
}

.list-clean > li:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
}

.list-clean > li .small {
  color: #94a3b8;
}

.list-skel {
  padding: .6rem .75rem;
  border: 1px dashed #e5e7eb;
  border-radius: .65rem;
}

.skeleton {
  min-height: 12px;
  background: linear-gradient(90deg,#eee,#f6f6f6,#eee);
  background-size: 200% 100%;
  animation: shine 1.2s infinite;
  border-radius: 4px;
  height: 12px;
}

@keyframes shine{0%{background-position:200% 0}100%{background-position:-200% 0}}

.log-scroll {
  max-height: 360px;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: .65rem;
  background: #fff;
}

.log-table td, .log-table th {
  vertical-align: middle;
}

.panel .card-body {
  padding: .95rem 1rem;
}

.panel {
  border: 1px solid #e5e7eb;
  border-radius: .9rem;
  box-shadow: 0 6px 24px rgba(15,23,42,.04);
}

.imp-thumb {
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  transition: transform .08s ease, box-shadow .12s ease;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  vertical-align: middle;
}

.imp-th {
  font: 12px/1.35 ui-monospace, Menlo, Consolas, monospace;
}

.imp-cell {
  font: 13px/1.35 ui-monospace, Menlo, Consolas, monospace;
}

.imp-subbar {
  /*background: #f1f5f9;*/
  padding: .5rem .75rem;
  /*border-bottom: 1px solid #e2e8f0;*/
}

.imp-table thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.log-pre {
  white-space: pre-wrap;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  margin: 0;
}

.fx-card {
  background: #0b1220;
  border: 1px solid #111827;
  color: #e5e7eb;
}

.fx-head {
  padding: .75rem .9rem;
  border-bottom: 1px solid #111827;
  font-weight: 600;
}

.fx-body {
  height: 65vh;
  overflow: auto;
  padding: .75rem .9rem;
  font: 13px/1.45 ui-monospace, Menlo, Consolas, monospace;
}

.fx-line {
  opacity: .9;
  margin: .15rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: fxPop .25s ease-out, fxPulse 2.2s ease-in-out 1;
}

.fx-line.ok {
  color: #34d399;
}

.fx-line.err {
  color: #fca5a5;
}

.fx-line.info {
  color: #93c5fd;
}

.fx-glow {
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, .4));
}

@keyframes fxPop { from { transform: scale(.98); opacity: 0 } to { transform: scale(1); opacity: .95 } }

@keyframes fxPulse { 0%, 100% { opacity: .9 } 50% { opacity: 1 } }

@media (min-width: 992px) {
  .app-subbar.sticky-top {
    top: 64px;
  }

  .pane.compact {
    max-height: 420px;
  }

  .map-col {
    height: auto !important;
  }

  .main-area {
    min-height: calc(100vh - 240px);
  }

  .log-col {
    flex: 0 0 auto;
    width: 62%;
  }

  .fx-col {
    flex: 0 0 auto;
    width: 38%;
  }

}

.ribbon-surface {
  --pad-x: 16px;
}

.ribbon-subbar .form-control-sm,
        .ribbon-subbar .form-select-sm,
        .ribbon-subbar .btn.btn-sm {
  height: calc(1.5rem + .5rem + 2px);
}

.ribbon-subbar .search-wrap {
  min-width: 260px;
  width: clamp(280px, 36vw, 420px);
}

.subbar-actions {
  align-items: flex-end;
}

.result-pane {
  max-height: 60vh;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: .5rem;
  background: #fff;
}

:root {
  --wb-primary: #2d9c5c;
  --wb-muted: #214c9c;
  --rbn-bg: linear-gradient(180deg, #214c9c 0%, #214c9c 100%);
  --rbn-surface: #214c9c;
  --rbn-text: #ecf2f7;
  --rbn-soft: rgba(255,255,255,.14);
  --rbn-border: rgba(255,255,255,.18);
  --bga: #ccc;
  --bgb: #f3f4f6;
  --spot1: rgba(148,163,184,.10);
  --spot2: rgba(203,213,225,.10);
  --spot3: rgba(100,116,139,.08);
  --vp-text: #0f172a;
  --vp-muted: #64748b;
  --vp-border: #e5e7eb;
  --vp-soft: #f8fafc;
}

.ribbon-h1 {
  font-size: clamp(1.1rem, 1.6vw + .6rem, 1.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .1px;
}

.card .card-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
}

.card .card-title .bi {
  opacity: .8;
}

.table {
  font-size: .925rem;
}

.table th {
  font-weight: 700;
  color: var(--vp-muted);
}

.table td, .table th {
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  background: #f8fafc;
}

.log-pane, .result-pane {
  border: 1px solid var(--vp-border);
  border-radius: .75rem;
  box-shadow: 0 6px 24px rgba(15,23,42,.04);
}

.opt-badge .muted {
  color: var(--vp-muted);
}

.var-badge {
  font: 12px/1.2 ui-monospace,monospace;
  background: #f8fafc;
  display: inline-block;
  font-size: .78rem;
  line-height: 1;
  padding: .18rem .48rem;
  border-radius: 999px;
  margin: 2px 6px 0 0;
  border: 1px solid;
}

.var-badge.ok {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.var-badge.miss {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.ribbon-subbar {
  margin: .5rem calc(var(--pad-x,16px)*-1) 0;
  padding: .75rem var(--pad-x,16px);
  background: #ffffffc9;
  backdrop-filter: saturate(105%) blur(2px);
  border-top: 1px solid var(--vp-border);
}

.ribbon-subbar .form-label {
  margin-bottom: .2rem;
  font-size: .85rem;
  color: var(--vp-muted);
  font-weight: 700;
}

.ribbon-subbar .input-group-text {
  background: #fff;
  border-color: var(--vp-border);
}

.ribbon-subbar .form-control,
.ribbon-subbar .form-select {
  border-color: var(--vp-border);
}

.text-muted {
  color: var(--vp-muted) !important;
}

.btn {
  border-radius: .6rem;
}

.btn-outline-secondary, .btn-outline-primary {
  border-color: var(--vp-border);
}

@media (max-width: 992px) {
  .table {
    font-size: .9rem;
  }

  .opt-badge, .var-badge {
    font-size: .76rem;
  }

}

#tbody tr + tr td, #xlResultBody tr + tr td {
  border-top: 1px dashed rgba(148,163,184,.35);
}

.card-title .bi {
  opacity: .7;
  margin-right: .35rem;
}

.table-fixed-head thead th {
  box-shadow: 0 1px 0 var(--vp-border) inset;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
}

.tech {
  font: 13px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: .01em;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.opt-badge {
  align-items: center;
  gap: .35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .78rem;
  line-height: 1;
  color: #0f172a;
  box-shadow: 0 1px 0 rgba(15,23,42,.03) inset;
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #f8fafc;
  margin: 2px 4px 0 0;
}

.pill {
  font-weight: 600;
  font-size: .875rem;
  color: #0f172a;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  line-height: 1.1;
}

.app-subbar {
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.06);
  padding: .4rem .75rem;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.subbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .75rem;
}

.subbar .form-select,.subbar .form-control,.subbar .btn {
  height: 34px;
}

.subbar .tool {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.subbar .tool-label {
  font-size: .75rem;
  color: #6c757d;
  line-height: 1;
  margin-left: 2px;
}

.vsep {
  width: 1px;
  align-self: stretch;
  background: rgba(0,0,0,.08);
}

.group-head {
  background: #f8fafc;
}

.group-head .pill {
  background: #fff;
}

.busy {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,.35);
  backdrop-filter: blur(2px);
}

.busy.d-none {
  display: none !important;
}

.busy-box {
  min-width: 260px;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.busy-text {
  font-weight: 600;
  color: #0f172a;
}

.dash-section {
  margin-top: 22px;
  background: #f9fafb;
  border-radius: 14px;
  padding: 1.2rem 1.5rem 1.4rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.dash-section .section-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.dash-section .section-head h5 {
  margin: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
}

.dash-section .section-head h5 i {
  font-size: 1.05rem;
  opacity: 0.8;
}

.dash-section .section-head .muted {
  margin-left: auto;
  font-size: 0.8rem;
  color: #6b7280;
}

.action-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 0;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem 1.1rem;
}

.action-card {
  --ring: rgba(99,102,241,.25);
  background: linear-gradient(180deg, #fff, #fafafa);
  color: inherit;
  box-shadow: 0 1px 1px rgba(0,0,0,.02);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    border-color 0.12s ease-out,
    background-color 0.12s ease-out;
  position: relative;
  background-color: #ffffff;
  cursor: pointer;
  overflow: hidden;
}

.action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-left: 4px solid rgba(56, 189, 248, 0.4);
  pointer-events: none;
}

.action-card:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
  background-color: #f9fafb;
}

.action-ico {
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  font-size: 1.1rem;
  color: #0f172a;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.action-ico.bg-grad-purple,
.action-ico.bg-grad-green,
.action-ico.bg-grad-slate,
.action-ico.bg-grad-blue,
.action-ico.bg-grad-lime,
.action-ico.bg-grad-indigo,
.action-ico.bg-grad-orange,
.action-ico.bg-grad-teal,
.action-ico.bg-grad-pink {
  background-image: none;
  background-color: #e5e7eb;
}

.action-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.action-body .title {
  line-height: 1.15;
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.action-body .desc {
  margin-top: .15rem;
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.25;
}

.action-chev {
  margin-left: auto;
  color: #9ca3af;
  flex: 0 0 auto;
  font-size: 1rem;
  opacity: 0.8;
  transition: transform 0.12s ease-out, color 0.12s ease-out;
}

.action-card:hover .action-chev {
  transform: translateX(2px);
  color: #4b5563;
}

.dash-tools > .d-flex h4 {
  font-size: 1.05rem;
}

.dash-tools.is-compact .dash-section {
  padding: 0.85rem 1rem 1rem;
  box-shadow: none;
}

.dash-tools.is-compact .action-grid {
  gap: 0.5rem 0.6rem;
}

.dash-tools.is-compact .action-card {
  padding: 0.7rem 0.8rem;
}

.dash-tools.is-compact .action-body .desc {
  font-size: 0.78rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dash-row .panel {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  background-color: #ffffff;
}

.dash-row .panel .card-body {
  padding: 0.9rem 1rem 1rem;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}

.panel-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.panel-ico {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.kpi-grid {
  display: grid;
  gap: 0.45rem 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.5rem;
}

.kpi-item {
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background-color: #f9fafb;
}

.kpi-body {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.kpi-label {
  font-size: 0.78rem;
  color: #6b7280;
}

.kpi-num {
  font-weight: 600;
  font-size: 0.95rem;
}

#list-mappings .list-group-item {
  padding: 0.35rem 0.6rem;
  font-size: 0.82rem;
}

.table.log-table thead th,
.table.log-table tbody td {
  padding: 0.25rem 0.45rem;
  font-size: 0.78rem;
}

.main-area .dash-row {
  row-gap: 0.9rem;
  margin-bottom: 1.2rem;
}

body.app-shell.api-explorer {
  min-height: 100vh;
  display: flex !important;
  flex-direction: column;
}

body.app-shell.api-explorer .app-main {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

body.app-shell.api-explorer .mapping-max {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.app-shell.api-explorer .mapping-max > .row {
  flex: 1 1 auto;
  min-height: 0;
}

body.app-shell.api-explorer .mapping-max > .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.app-shell.api-explorer .mapping-max > .row > [class*="col-"] .card.pane {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.app-shell.api-explorer .card.pane .pane-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  max-height: none !important;
}

.party-section {
  padding-top: .5rem;
  padding-bottom: .75rem;
  border-top: 1px solid rgba(0,0,0,.06);
}

.party-section:first-child {
  border-top: 0;
}

.party-section-title {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6c757d;
  margin-bottom: .25rem;
}

.party-label {
  font-size: .8rem;
  color: #6c757d;
}

.party-system-note {
  font-size: .75rem;
  color: #6c757d;
}

#logScroll {
  max-height: 300px;
  overflow-y: auto;
}

.shell-nav-head {
  padding: 0.2rem 0.25rem 0.6rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
}

.shell-nav .nav-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .5rem;
  margin-bottom: .15rem;
  border-radius: .5rem;
  color: #cbd5f5;
  font-size: .9rem;
}

.shell-nav .nav-link i {
  font-size: 1rem;
  opacity: .85;
}

.shell-nav .nav-link:hover {
  background: rgba(148,163,184,.18);
  color: #e5e7eb;
  text-decoration: none;
}

.shell-nav .nav-link.active {
  background: linear-gradient(135deg,#0ea5e9,#22c55e);
  color: #0f172a;
  font-weight: 600;
}

.shell-nav .nav-link.active i {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .pane.compact {
    max-height: none;
  }

  .shell-sidebar {
    display: none;
  }

  .app-main-inner {
    padding-inline: .5rem;
  }

  .tool-frame {
    /*border-radius: 0.5rem;*/
    min-height: calc(100vh - 110px);
  }

}

.app-ribbon .ribbon-surface {
 
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.app-shell-nav .nav-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .75rem;
  border-radius: .5rem;
  color: #e5e7eb;
  font-size: .8rem;
  font-weight: 500;
}

.app-shell-nav .nav-link:hover {
  background: rgba(148, 163, 184, .16);
  color: #fff;
}

.app-shell-nav .nav-link.active {
  background: rgba(59, 130, 246, .25);
  color: #fff;
}

.app-ribbon .chip-soft {
  background: rgba(15, 23, 42, .4);
  border-color: rgba(148, 163, 184, .9);
  color: #f9fafb;
}

.app-shell-layout {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

.shell-sidebar {
  border-right: 1px solid rgba(15,23,42,.7);
  width: 240px;
  background: #020617;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
}

.shell-sidebar-inner {
  padding: 0.75rem 0.75rem 0.75rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.shell-nav-foot {
  padding: .4rem .4rem 0;
  border-top: 1px solid rgba(15,23,42,.7);
  margin-top: auto;
  flex: 0 0 auto;
}

.shell-nav::-webkit-scrollbar {
  width: 4px;
}

.shell-nav::-webkit-scrollbar-track {
  background: transparent;
}

.shell-nav::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.app-main {
  display: flex;
  background: #f3f4f6;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
}

.app-main-inner {
  flex: 1 1 auto;
  min-height: 0;
  padding: .75rem .75rem .9rem;
  height: 100%;
}

.tool-frame {
  min-height: calc(100vh - 140px);
  /*border-radius: .9rem;*/
  box-shadow: 0 10px 30px rgba(15,23,42,.10);
  background: #fff;
  width: 100%;
  height: 100%;
  border: none;
}

.app-view-header {
  background: #f9fafb;
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0 12px;
  margin-bottom: 12px;
}

.app-view-header .view-sub {
  font-size: .8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}

.app-view-header .view-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}

.app-view-header .chip {
  border-radius: 999px;
  font-size: .8rem;
  padding-inline: .75rem;
  padding-block: .25rem;
  font-weight: 500;
}

.app-view-header .chip-soft {
  background: #e5edff;
  border-color: #c7d2fe;
  color: #111827;
  box-shadow: none;
}

.app-view-header .chip-soft i {
  color: #4f46e5;
}

.shell-nav {
  margin-bottom: 0.75rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.6) transparent;
  font-size: 0.85rem;
  font-weight: 800;
}

html,
body {
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: #64748b transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background-color: #64748b;
  border-radius: 999px;
  border: 1px solid transparent;
}

.dash-tools .action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .5rem;
}

.dash-tools .action-card {
  padding: .5rem .75rem;
  min-height: auto;
  border-radius: .5rem;
}

.dash-tools .action-ico {
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

.dash-tools .action-body .title {
  font-size: .875rem;
  font-weight: 600;
}

.dash-tools .action-body .desc {
  font-size: .75rem;
  opacity: .8;
}

.dash-tools {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.tool-tile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tool-tile {
  position: relative;
  flex: 0 0 135px;
  max-width: 140px;
  height: 135px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.9), rgba(245,247,250,0.9));
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 6px 12px rgba(15,23,42,0.04);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 120ms ease-out,
    box-shadow 120ms ease-out,
    border-color 120ms ease-out,
    background 120ms ease-out;
}

.tool-tile:hover,
.tool-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(15,23,42,0.08);
  border-color: rgba(59,130,246,0.4);
  outline: none;
}

.tool-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #e0f2fe, #eff6ff);
  color: #0f172a;
  font-size: 1.4rem;
}

.tool-tile-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: #0f172a;
}

.dash-tools.is-compact .tool-tile {
  flex: 0 0 110px;
  height: 110px;
  border-radius: 12px;
  padding: 0.5rem;
}

.dash-tools.is-compact .tool-tile-icon {
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.dash-tools.is-compact .tool-tile-label {
  font-size: 0.75rem;
}

.tool-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

@media (max-width: 767.98px) {
  .tool-row {
    flex-wrap: wrap;
  }

}

html, body.app-shell {
  height: 100%;
}

body.app-shell .app-shell-layout {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
}

body.app-shell .shell-sidebar {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.app-shell .shell-sidebar-inner {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.app-shell .shell-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

body.app-shell .app-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
}

body.app-shell .app-main-inner {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

body.app-shell .tool-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

.btn-primary {
  background: #0ea5e9;
  background-color: #0ea5e9;
  border-color: #0ea5e9;
}

.wb-navbar {
  background: var(--wb-primary);
}

body {
  color: var(--vp-text);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(255,255,255,.8), rgba(255,255,255,0)),
    linear-gradient(#f6f7f9, #eef0f4);
  background-attachment: fixed;
}

.dash-row {
  height: auto;
}

.dash-row > [class*="col-"] {
  display: block;
}

.log-pane {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  max-height: 600px;
  border: 1px solid var(--bs-border-color);
  border-radius: .5rem;
  background: #fff;
  overflow-y: auto;
  overflow-x: hidden;
}

.log-table {
  white-space: nowrap;
  font: 11.5px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  margin-bottom: 0;
  table-layout: fixed;
  width: 100%;
}

.log-table th, .log-table td {
  padding: .25rem .5rem;
  vertical-align: middle;
  white-space: nowrap;
}

.log-table thead th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  z-index: 1;
  border-bottom: 1px solid var(--bs-border-color);
}

.log-table .wrap {
  white-space: normal;
  word-break: break-word;
}

html, body {
  min-height: 100%;
  scrollbar-color: auto;
  scrollbar-width: auto;
}

body.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(100,116,139,.9) transparent;
}

body.app-shell::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

body.app-shell::-webkit-scrollbar-thumb {
  background-color: rgba(100,116,139,.9);
  border-radius: 999px;
}

body.app-shell::-webkit-scrollbar-track {
  background: transparent;
}

/* =========================================================
   Optional: Light/Dark Theme (opt-in)
   Usage:
     <html data-theme="light">  or  <html data-theme="dark">
   ========================================================= */

/* LIGHT (when explicitly enabled) */
:root[data-theme="light"]{
  --app-bg: #f6f7fb;
  --app-surface: rgba(255,255,255,.92);
  --app-surface-2: rgba(255,255,255,.72);
  --app-text: #0f172a;
  --app-muted: #475569;
  --app-border: rgba(15,23,42,.10);
  --app-shadow: 0 10px 30px rgba(15,23,42,.08);
  --app-shadow-soft: 0 6px 18px rgba(15,23,42,.06);
  --app-accent: #0ea5e9;   /* cyan-500-ish */
  --app-accent-2: #22c55e; /* green */
}

/* DARK (when explicitly enabled) */
:root[data-theme="dark"]{
  --app-bg: #0b1220;
  --app-surface: rgba(15,23,42,.82);
  --app-surface-2: rgba(15,23,42,.62);
  --app-text: rgba(255,255,255,.92);
  --app-muted: rgba(255,255,255,.70);
  --app-border: rgba(255,255,255,.12);
  --app-shadow: 0 14px 40px rgba(0,0,0,.45);
  --app-shadow-soft: 0 8px 22px rgba(0,0,0,.30);
  --app-accent: #60a5fa;
  --app-accent-2: #34d399;
}

/* Apply theme ONLY when html has data-theme attribute */
html[data-theme] body{
  background: var(--app-bg) !important;
  color: var(--app-text) !important;
}

/* Common surfaces */
html[data-theme] .card,
html[data-theme] .panel,
html[data-theme] .tile,
html[data-theme] .tool-frame{
  background: var(--app-surface) !important;
  border-color: var(--app-border) !important;
  box-shadow: var(--app-shadow-soft) !important;
}

/* Text helpers */
html[data-theme] .text-muted{ color: var(--app-muted) !important; }

/* Buttons (Bootstrap-ish) */
html[data-theme] .btn-primary{
  background-color: var(--app-accent) !important;
  border-color: var(--app-accent) !important;
}
html[data-theme] .btn-success{
  background-color: var(--app-accent-2) !important;
  border-color: var(--app-accent-2) !important;
}
html[data-theme] .btn-outline-primary{
  border-color: var(--app-border) !important;
}

/* Chips */
html[data-theme] .chip{
  border-color: var(--app-border) !important;
  background: var(--app-surface-2) !important;
  color: var(--app-text) !important;
}
/* =========================================================
   Sidebar Accordion (restores collapsible menu behavior)
   Requires markup:
   - .nav-top + .nav-link-top (Dashboard)
   - .nav-accordion
   - .nav-group (wrap)
   - .nav-group-toggle (button)
   - .nav-group-body (collapsible container)
   - .nav-group-caret (chevron)
   ========================================================= */

.shell-sidebar .nav-top{
  padding: .25rem .25rem .5rem;
}

.shell-sidebar .nav-link-top{
  display:flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .75rem;
  border-radius:12px;
  color:rgba(255,255,255,.88);
  text-decoration:none;
}
.shell-sidebar .nav-link-top:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}
.shell-sidebar .nav-link-top.active{
  background:rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.shell-sidebar .nav-accordion{
  display:flex;
  flex-direction:column;
  gap:.25rem;
}

.shell-sidebar .nav-group{
  border-radius:14px;
  overflow:hidden;
}

/* Toggle button: ensure it doesn't look like a select */
.shell-sidebar .nav-group-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:.55rem .75rem;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.90);
  text-align:left;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  outline:none;
}
.shell-sidebar .nav-group-toggle:hover{
  background:rgba(255,255,255,.06);
}

.shell-sidebar .nav-group-left{
  display:flex;
  align-items:center;
  gap:.55rem;
  min-width:0;
}
.shell-sidebar .nav-group-left span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.shell-sidebar .nav-group-caret{
  opacity:.75;
  transition:transform .15s ease, opacity .15s ease;
}

/* Collapsible body (height animated via JS) */
.shell-sidebar .nav-group-body{
  height:0;
  overflow:hidden;
  padding:0 .25rem;
  transition:height .18s ease;
}

/* When open: padding shown; height is set inline via JS */
.shell-sidebar .nav-group.is-open .nav-group-body{
  padding:.25rem .25rem .35rem;
}
.shell-sidebar .nav-group.is-open .nav-group-caret{
  transform:rotate(180deg);
  opacity:.95;
}

/* Inner links: keep your existing .nav-link styles but make them a touch more modern */
.shell-sidebar .app-shell-nav .nav-link{
  border-radius:12px;
  margin:.08rem .25rem;
  padding:.45rem .6rem;
  color:rgba(255,255,255,.78);
}
.shell-sidebar .app-shell-nav .nav-link:hover{
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
}
.shell-sidebar .app-shell-nav .nav-link.active{
  background:rgba(255,255,255,.12);
  color:#fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.shell-sidebar .app-shell-nav .nav-link i{
  opacity:.9;
}


/* =========================================================
   PATCH v3: Dashboard Quickactions cards (action-card)
   - in v2 base styles were accidentally truncated
   - this restores the "card" look without changing class names
   ========================================================= */

.action-card{
  position: relative;
  display:flex;
  align-items:center;
  gap:.85rem;
  padding:.9rem 1rem;
  border-radius: var(--radius, 16px);
  border:1px solid var(--border, rgba(15,23,42,.10));
  background: var(--surface, #fff);
  box-shadow: var(--shadow-soft, 0 6px 18px rgba(15,23,42,.06));
  text-decoration:none;
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background-color .12s ease;
  min-height: 84px;
}
.action-card:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow, 0 10px 30px rgba(15,23,42,.08));
  border-color: rgba(37,99,235,.22);
}
.action-ico{
  width:44px;
  height:44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-size: 1.2rem;
  flex: 0 0 auto;
  background: rgba(37,99,235,.10);
  color: var(--text, #0f172a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
:root[data-theme="dark"] .action-ico{
  background: rgba(96,165,250,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.action-body{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.action-body .title{
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.15;
  color: var(--text, #0f172a);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.action-body .desc{
  font-size: .86rem;
  color: var(--muted-2, #64748b);
  margin-top: .15rem;

  line-height: 1.25;
}
.action-chev{
  margin-left:auto;
  opacity:.65;
  flex: 0 0 auto;
  color: var(--muted-2, #64748b);
  transition: transform .12s ease, opacity .12s ease;
}
.action-card:hover .action-chev{
  transform: translateX(2px);
  opacity:.9;
}

/* Grid helper (falls nicht vorhanden) */
.action-list.action-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}
@media (min-width: 768px){
  .action-list.action-grid{ grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px){
  .action-list.action-grid{ grid-template-columns: 1fr 1fr 1fr; }
}

/* In compact mode keep it tighter */
.is-compact .action-card{ padding:.7rem .8rem; min-height:72px; }
.is-compact .action-ico{ width:38px; height:38px; border-radius:12px; font-size:1.05rem; }
.is-compact .action-body .desc{ display:none; }

/* Make plain anchors inside quickactions look like action-cards if they carry data-role */
a[data-role="action-card"]{ display:block; }

/* =========================
   Dashboard 2026 – Additions
   ========================= */

.dash-hero-text{
  max-width: 70ch;
}

.dash-mini-kpis{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.5rem;
}

.dash-mini-pill{
  border: 1px solid rgba(0,0,0,.06);
  padding: .55rem .65rem;
  font-weight: 500;
}

.dash-updates .dash-updates-body{
  line-height: 1.45;
}

.dash-action-card{
  display:flex;
  align-items:center;
  gap: .85rem;
  padding: 1rem 1rem;
  border-radius: 14px;
  text-decoration:none;
  color: inherit;
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  min-height: 88px;
}

.dash-action-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.10);
}

.dac-ico{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 1.25rem;
  background: rgba(13,110,253,.10); /* bootstrap primary tint */
  flex: 0 0 auto;
}

.dac-title{
  font-weight: 700;
  line-height: 1.1;
}

.dac-sub{
  font-size: .875rem;
  color: rgba(33,37,41,.70);
  margin-top: .15rem;
}

.dac-go{
  margin-left:auto;
  opacity: .65;
  flex: 0 0 auto;
}

.dash-action-card--ai .dac-ico{
  background: rgba(111,66,193,.12); /* bootstrap purple-ish tint */
}

@media (max-width: 575.98px){
  .dash-mini-kpis .btn{
    width:100%;
  }
}
/* Sidebar: Top-Link */
.nav-top { padding: .25rem .25rem .5rem; }
.nav-link-top{
  display:flex; align-items:center; gap:.55rem;
  padding:.55rem .75rem;
  border-radius:12px;
  color:rgba(255,255,255,.88);
  text-decoration:none;
}
.nav-link-top i{ opacity:.9; }
.nav-link-top:hover{ background:rgba(255,255,255,.08); }
.nav-link-top.active{
  background:rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}/* =========================
   Dashboard 2026 – Additions
   ========================= */

.dash-hero-text{
  max-width: 70ch;
}

.dash-mini-kpis{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.5rem;
}

.dash-mini-pill{
  border: 1px solid rgba(0,0,0,.06);
  padding: .55rem .65rem;
  font-weight: 500;
}

.dash-updates .dash-updates-body{
  line-height: 1.45;
}

.dash-action-card{
  display:flex;
  align-items:center;
  gap: .85rem;
  padding: 1rem 1rem;
  border-radius: 14px;
  text-decoration:none;
  color: inherit;
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  min-height: 88px;
}

.dash-action-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.10);
}

.dac-ico{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 1.25rem;
  background: rgba(13,110,253,.10); /* bootstrap primary tint */
  flex: 0 0 auto;
}

.dac-title{
  font-weight: 700;
  line-height: 1.1;
}

.dac-sub{
  font-size: .875rem;
  color: rgba(33,37,41,.70);
  margin-top: .15rem;
}

.dac-go{
  margin-left:auto;
  opacity: .65;
  flex: 0 0 auto;
}

.dash-action-card--ai .dac-ico{
  background: rgba(111,66,193,.12); /* bootstrap purple-ish tint */
}

@media (max-width: 575.98px){
  .dash-mini-kpis .btn{
    width:100%;
  }
}
/* Sidebar: Top-Link */
.nav-top { padding: .25rem .25rem .5rem; }
.nav-link-top{
  display:flex; align-items:center; gap:.55rem;
  padding:.55rem .75rem;
  border-radius:12px;
  color:rgba(255,255,255,.88);
  text-decoration:none;
}
.nav-link-top i{ opacity:.9; }
.nav-link-top:hover{ background:rgba(255,255,255,.08); }
.nav-link-top.active{
  background:rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

/* Accordion */
.nav-accordion { display:flex; flex-direction:column; gap:.25rem; }
.nav-group{ border-radius:14px; overflow:hidden; }

/* Toggle */
.nav-group-toggle{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:.75rem;
  padding:.55rem .75rem;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.90);
  text-align:left;
}
.nav-group-toggle:hover{ background:rgba(255,255,255,.06); }
.nav-group-left{ display:flex; align-items:center; gap:.55rem; }
.nav-group-caret{ opacity:.75; transition:transform .15s ease, opacity .15s ease; }

/* Body collapse 
.nav-group-body{
  max-height:0;
  overflow:hidden;
  transition:max-height .18s ease;
  padding:0 .25rem;
}*/
.nav-group.is-open .nav-group-body{
  max-height:600px; /* ausreichend groß */
  padding:.25rem .25rem .35rem;
}
.nav-group.is-open .nav-group-caret{
  transform:rotate(180deg);
  opacity:.95;
}

/* Links innen (wir nutzen deine bestehenden .nav-link Styles, nur leicht anpassen) */
.shell-sidebar .app-shell-nav .nav-link{
  border-radius:12px;
  margin:.08rem .25rem;
  padding:.45rem .6rem;
  color:rgba(255,255,255,.78);
}
.shell-sidebar .app-shell-nav .nav-link:hover{
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
}
.shell-sidebar .app-shell-nav .nav-link.active{
  background:rgba(255,255,255,.12);
  color:#fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.shell-sidebar .app-shell-nav .nav-link i{ opacity:.9; }


/* =========================================================
   Flexi Theme 2026: Luft + Kontrast + Light/Dark via vars
   ========================================================= */

/* Base variables (LIGHT) */
:root {
  --bg: #f5f7fb;
  --surface: rgba(255,255,255,.92);
  --surface-2: rgba(255,255,255,.72);
  --text: #0f172a;        /* slate-900 */
  --muted: #475569;       /* slate-600 */
  --muted-2: #64748b;     /* slate-500 */
  --border: rgba(15,23,42,.10);
  --shadow: 0 10px 30px rgba(15,23,42,.08);
  --shadow-soft: 0 6px 18px rgba(15,23,42,.06);

  --accent: #2563eb;      /* blue-600 */
  --accent-2: #22c55e;    /* green-500 (für Highlights) */

  --radius: 18px;
  --radius-sm: 12px;
}

/* DARK variables */
:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: rgba(15,23,42,.78);
  --surface-2: rgba(15,23,42,.55);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted-2: rgba(255,255,255,.56);
  --border: rgba(255,255,255,.10);
  --shadow: 0 14px 40px rgba(0,0,0,.42);
  --shadow-soft: 0 8px 22px rgba(0,0,0,.30);

  --accent: #60a5fa;      /* blue-400 */
  --accent-2: #34d399;    /* emerald-400 */
}

/* Global surfaces */
html, body { background: var(--bg); color: var(--text); }
a { color: var(--accent); }
.text-muted { color: var(--muted) !important; }

/* Ribbon / Header: weniger "Block", mehr Glass */



/* Sidebar: mehr Kontrast + ruhiger */
.shell-sidebar {
  background: radial-gradient(1200px 600px at 20% 0%, rgba(37,99,235,.22), transparent 55%),
              linear-gradient(180deg, rgba(2,6,23,.92), rgba(2,6,23,.86));
  border-right: 1px solid rgba(255,255,255,.08);
}
:root[data-theme="light"] .shell-sidebar {
  background: linear-gradient(180deg, rgba(15,23,42,.96), rgba(15,23,42,.90));
}

/* Cards: luftiger + stärkerer Kontrast */
.card, .panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.card .card-body { padding: 1.15rem; }

/* Dashboard header spacing */
.app-view-header { padding-top: .35rem; }
.view-title { letter-spacing: -0.02em; }
.main-area { padding-top: 1rem !important; padding-bottom: 1.25rem !important; }

/* Mehr Luft zwischen Bereichen */
.dash-section, .dash-tools, .dash-admin {
  margin-top: 1.1rem;
}

/* Buttons: moderner (nicht „hart gerahmt“) */
.btn {
  border-radius: 999px;
}
.btn-outline-secondary,
.btn-outline-primary {
  border-color: var(--border);
}
.btn-outline-secondary:hover,
.btn-outline-primary:hover {
  border-color: rgba(37,99,235,.35);
}

/* Chips: mehr Kontrast + weniger blass */
.chip {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
}
:root[data-theme="dark"] .chip { background: rgba(255,255,255,.06); }

/* Chip button (Theme toggle) */
.chip-btn {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.chip-btn:hover { filter: brightness(1.03); }
.chip-btn:active { transform: translateY(1px); }

/* Quickaction Tiles: mehr „luftig“ + klare Hover */
.tool-tile, .qa-tile, .quick-tile {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.tool-tile:hover, .qa-tile:hover, .quick-tile:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.22);
}

/* Accordion Sidebar: bessere Lesbarkeit im Dark */
.nav-group-toggle, .nav-link-top, .shell-sidebar .app-shell-nav .nav-link {
  color: rgba(255,255,255,.86);
}
.shell-sidebar .app-shell-nav .nav-link.active,
.nav-link-top.active {
  background: rgba(34,197,94,.18); /* grüner Accent statt blau */
  box-shadow: inset 0 0 0 1px rgba(34,197,94,.22);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tool-tile, .qa-tile, .quick-tile { transition: none !important; }
  .tool-tile:hover, .qa-tile:hover, .quick-tile:hover { transform: none !important; }
}


/* Accordion */
.nav-accordion { display:flex; flex-direction:column; gap:.25rem; }
.nav-group{ border-radius:14px; overflow:hidden; }

/* Toggle */
.nav-group-toggle{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:.75rem;
  padding:.55rem .75rem;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.90);
  text-align:left;
}
.nav-group-toggle:hover{ background:rgba(255,255,255,.06); }
.nav-group-left{ display:flex; align-items:center; gap:.55rem; }
.nav-group-caret{ opacity:.75; transition:transform .15s ease, opacity .15s ease; }

/* Body collapse */
.nav-group-body{
  max-height:0;
  overflow:hidden;
  transition:max-height .18s ease;
  padding:0 .25rem;
}
.nav-group.is-open .nav-group-body{
  max-height:600px; /* ausreichend groß */
  padding:.25rem .25rem .35rem;
}
.nav-group.is-open .nav-group-caret{
  transform:rotate(180deg);
  opacity:.95;
}

/* Links innen (wir nutzen deine bestehenden .nav-link Styles, nur leicht anpassen) */
.shell-sidebar .app-shell-nav .nav-link{
  border-radius:12px;
  margin:.08rem .25rem;
  padding:.45rem .6rem;
  color:rgba(255,255,255,.78);
}
.shell-sidebar .app-shell-nav .nav-link:hover{
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
}
.shell-sidebar .app-shell-nav .nav-link.active{
  background:rgba(255,255,255,.12);
  color:#fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.shell-sidebar .app-shell-nav .nav-link i{ opacity:.9; }


/* =========================================================
   Flexi Theme 2026: Luft + Kontrast + Light/Dark via vars
   ========================================================= */

/* Base variables (LIGHT) */
:root {
  --bg: #f5f7fb;
  --surface: rgba(255,255,255,.92);
  --surface-2: rgba(255,255,255,.72);
  --text: #0f172a;        /* slate-900 */
  --muted: #475569;       /* slate-600 */
  --muted-2: #64748b;     /* slate-500 */
  --border: rgba(15,23,42,.10);
  --shadow: 0 10px 30px rgba(15,23,42,.08);
  --shadow-soft: 0 6px 18px rgba(15,23,42,.06);

  --accent: #2563eb;      /* blue-600 */
  --accent-2: #22c55e;    /* green-500 (für Highlights) */

  --radius: 18px;
  --radius-sm: 12px;
}

/* DARK variables */
:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: rgba(15,23,42,.78);
  --surface-2: rgba(15,23,42,.55);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted-2: rgba(255,255,255,.56);
  --border: rgba(255,255,255,.10);
  --shadow: 0 14px 40px rgba(0,0,0,.42);
  --shadow-soft: 0 8px 22px rgba(0,0,0,.30);

  --accent: #60a5fa;      /* blue-400 */
  --accent-2: #34d399;    /* emerald-400 */
}

/* Global surfaces */
html, body { background: var(--bg); color: var(--text); }
a { color: var(--accent); }
.text-muted { color: var(--muted) !important; }




/* Sidebar: mehr Kontrast + ruhiger */
.shell-sidebar {
  background: radial-gradient(1200px 600px at 20% 0%, rgba(37,99,235,.22), transparent 55%),
              linear-gradient(180deg, rgba(2,6,23,.92), rgba(2,6,23,.86));
  border-right: 1px solid rgba(255,255,255,.08);
}
:root[data-theme="light"] .shell-sidebar {
  background: linear-gradient(180deg, rgba(15,23,42,.96), rgba(15,23,42,.90));
}

/* Cards: luftiger + stärkerer Kontrast */
.card, .panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.card .card-body { padding: 1.15rem; }

/* Dashboard header spacing */
.app-view-header { padding-top: .35rem; }
.view-title { letter-spacing: -0.02em; }
.main-area { padding-top: 1rem !important; padding-bottom: 1.25rem !important; }

/* Mehr Luft zwischen Bereichen */
.dash-section, .dash-tools, .dash-admin {
  margin-top: 1.1rem;
}

/* Buttons: moderner (nicht „hart gerahmt“) */
.btn {
  border-radius: 999px;
}
.btn-outline-secondary,
.btn-outline-primary {
  border-color: var(--border);
}
.btn-outline-secondary:hover,
.btn-outline-primary:hover {
  border-color: rgba(37,99,235,.35);
}

/* Chips: mehr Kontrast + weniger blass */
.chip {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
}
:root[data-theme="dark"] .chip { background: rgba(255,255,255,.06); }

/* Chip button (Theme toggle) */
.chip-btn {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.chip-btn:hover { filter: brightness(1.03); }
.chip-btn:active { transform: translateY(1px); }

/* Quickaction Tiles: mehr „luftig“ + klare Hover */
.tool-tile, .qa-tile, .quick-tile {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.tool-tile:hover, .qa-tile:hover, .quick-tile:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.22);
}

/* Accordion Sidebar: bessere Lesbarkeit im Dark */
.nav-group-toggle, .nav-link-top, .shell-sidebar .app-shell-nav .nav-link {
  color: rgba(255,255,255,.86);
}
.shell-sidebar .app-shell-nav .nav-link.active,
.nav-link-top.active {
  background: rgba(34,197,94,.18); /* grüner Accent statt blau */
  box-shadow: inset 0 0 0 1px rgba(34,197,94,.22);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tool-tile, .qa-tile, .quick-tile { transition: none !important; }
  .tool-tile:hover, .qa-tile:hover, .quick-tile:hover { transform: none !important; }
}


.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

/* =========================================================
   Sidebar: Hover/Active im LIGHT-Modus heller/kontrastreicher
   (append-only override)
   ========================================================= */

/* LIGHT = entweder explizit data-theme="light" ODER kein data-theme gesetzt */
html[data-theme="light"] .shell-sidebar .nav-link-top:hover,
html[data-theme="light"] .shell-sidebar .app-shell-nav .nav-link:hover,
html:not([data-theme])   .shell-sidebar .nav-link-top:hover,
html:not([data-theme])   .shell-sidebar .app-shell-nav .nav-link:hover{
  /*background: rgba(255,255,255,.10) !important;*/
  color: #fff !important;
}

/* ACTIVE: deutlich heller + “Ring” */
html[data-theme="light"] .shell-sidebar .nav-link-top.active,
html[data-theme="light"] .shell-sidebar .app-shell-nav .nav-link.active,
html:not([data-theme])   .shell-sidebar .nav-link-top.active,
html:not([data-theme])   .shell-sidebar .app-shell-nav .nav-link.active{
  /*background: rgba(255,255,255,.16) !important;*/
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14) !important;
}

/* Optional: kleiner Accent-Streifen links (macht “active” sofort sichtbar) */
html[data-theme="light"] .shell-sidebar .app-shell-nav .nav-link.active,
html:not([data-theme])   .shell-sidebar .app-shell-nav .nav-link.active{
  position: relative;
}
html[data-theme="light"] .shell-sidebar .app-shell-nav .nav-link.active::before,
html:not([data-theme])   .shell-sidebar .app-shell-nav .nav-link.active::before{
  content:"";
  position:absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  /*background: rgba(96,165,250,.95); /* helles Blau */
}

/* Fokus (Tastatur) – sauber sichtbar */
html[data-theme="light"] .shell-sidebar .app-shell-nav .nav-link:focus-visible,
html:not([data-theme])   .shell-sidebar .app-shell-nav .nav-link:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px rgba(96,165,250,.35), inset 0 0 0 1px rgba(255,255,255,.12) !important;
}

/* =========================================================
   Subbar: einzeilig, konsistent, scrollt horizontal statt Umbruch
   ========================================================= */

.app-subbar.subbar {
  background: #f8fafc;                 /* optional */
  /*border-bottom: 1px solid rgba(0,0,0,.06);
  /*border-radius: 12px;                 /* optional */
  padding: .55rem .75rem;
}

/* Der eigentliche “Row”-Container: NIE umbrechen */
.subbar__row{
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: nowrap;                   /* <--- wichtig */
  overflow-x: auto;                    /* <--- scroll statt wrap */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;                 /* <--- schützt auch Text */
}

/* Tool-Block (Datei/Mapping/etc.) */
.subbar__tool{
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;                      /* standard: nicht wachsen */
  min-width: 0;                        /* wichtig für shrink */
}

/* Tool darf wachsen (für selects) */
.subbar__tool--grow{
  flex: 1 1 420px;                     /* wächst, kann aber shrinken */
  min-width: 320px;                    /* deine “gefühlte” Untergrenze */
}

/* Label soll nie umbrechen */
.subbar__label{
  margin: 0;
  font-size: .75rem;
  color: #6c757d;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Select/Input sollen shrinken dürfen und nicht das Layout sprengen */
.subbar__row .form-select,
.subbar__row .form-control{
  min-width: 180px;
  max-width: 520px;
  flex: 1 1 auto;
}

/* Buttons NIE umbrechen */
.subbar__row .btn{
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Rechtsblock: immer rechts, niemals wrap */
.subbar__right{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Optional: dezente Scrollbar */
.subbar__row::-webkit-scrollbar{ height: 6px; }
.subbar__row::-webkit-scrollbar-thumb{
  background: rgba(100,116,139,.35);
  border-radius: 999px;
}

/* KI Tool */

.ki-panel-heading {
            font-size: .9rem;
            font-weight: 600;
        }
        .ki-small {
            font-size: .7rem;
        }
        .cell-ellipsis {
            max-width: 260px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ki-log {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            font-size: .8rem;
            max-height: 260px;
            overflow: auto;
            background: #0f172a;
            color: #e5e7eb;
        }
        .step-disabled {
            opacity: .5;
            pointer-events: none;
        }
		
/* Dashboard Updates: scrollbarer Body */
.dash-updates .dash-updates-body{
  max-height: 110px;   /* anpassen nach Geschmack */
  overflow: auto;
  padding-right: .25rem; /* damit Scrollbar nichts überdeckt */
}

.dash-updates .dash-updates-list li{
  margin-bottom: .35rem;
}

/* =========================================================
   Compact Subbar (Importer)
   ========================================================= */
.imp-subbar{
  padding: .5rem 0;
}
.imp-subbar .subbar-row{
  display:flex;
  align-items:center;
  gap:.45rem;
  flex-wrap:wrap;
}
.imp-subbar .subbar-row + .subbar-row{
  margin-top: .45rem;
}
.imp-subbar .subbar-spacer{
  flex: 1 1 auto;
}

/* uniform controls */
.imp-subbar .btn,
.imp-subbar .form-control,
.imp-subbar .form-select,
.imp-subbar .input-group-sm > .form-control,
.imp-subbar .input-group-sm > .input-group-text{
  height: 32px;
}
.imp-subbar .btn{
  padding: .25rem .55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  line-height: 1.1;
  white-space: nowrap;
}
.imp-subbar .btn span,
.imp-subbar button span{
  display:inline;
}
/* prevent “subtitle” look inside buttons */
.imp-subbar .btn .small,
.imp-subbar .btn small{
  display:none;
}

.imp-subbar .form-label,
.imp-subbar .tool-label{
  margin:0;
  font-size:.8rem;
  color: var(--muted, rgba(0,0,0,.6));
  white-space:nowrap;
}

.imp-subbar .subbar-chip{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  padding: .25rem .55rem;
  height: 32px;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}

.imp-subbar .form-check{
  display:flex;
  align-items:center;
  gap:.4rem;
  margin:0;
  white-space:nowrap;
}
.imp-subbar .form-check-label{
  font-size: .85rem;
}
.imp-subbar .vsep{
  width:1px;
  height: 22px;
  background: rgba(0,0,0,.10);
  margin:0 .15rem;
}

.imp-subbar input[type="file"]{ max-width: 240px; }
.imp-subbar #impFilter{ width: 200px; }

@media (min-width: 768px){
  .imp-subbar .subbar-row{ flex-wrap:nowrap; }
}
@media (max-width: 767.98px){
  .imp-subbar .subbar-row{ flex-wrap:wrap; }
}

/* =========================================================
   Topbar (compact)
   ========================================================= */
.app-topbar.app-ribbon{
  background: linear-gradient(180deg, #0b1220 0%, #0b1220 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
}
.app-topbar .ribbon-surface{
  padding: .45rem .25rem;
}

.topbar-iconbtn{
  width: 34px;
  height: 34px;
  padding: 0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  border-color: rgba(255,255,255,.14);
}

.brand-icon .brand-logo{
  height: 26px;
  width: auto;
  filter: none;
}

.topbar-crumb{
  color: rgba(255,255,255,.88);
  font-weight: 600;
  min-width: 0;
}
.topbar-crumb .crumb-app{ opacity:.9; }
.topbar-crumb .crumb-sep{ opacity:.5; margin: 0 .35rem; }

.pill{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  height: 34px;
  padding: 0 .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  line-height: 1;
  white-space: nowrap;
}
.pill i{ opacity:.9; }
.pill-btn{ cursor:pointer; user-select:none; }

/* =========================================================
   Sidebar collapse (icon-only)
   Toggle via body.sidebar-collapsed
   ========================================================= */
.shell-sidebar{ transition: width .18s ease; }

body.sidebar-collapsed .shell-sidebar{ width: 76px; }
body.sidebar-collapsed .shell-sidebar-inner{ padding: .75rem .5rem; }

/* hide labels in collapsed */
body.sidebar-collapsed .shell-nav-head,
body.sidebar-collapsed .shell-nav-foot,
body.sidebar-collapsed .nav-group-left span,
body.sidebar-collapsed .nav-link span,
body.sidebar-collapsed .nav-link-top span{
  display:none !important;
}

/* center icons */
body.sidebar-collapsed .shell-sidebar .nav-link,
body.sidebar-collapsed .shell-sidebar .nav-link-top{
  justify-content:center;
  padding: .55rem .5rem;
  margin: .12rem 0;
  border-radius: 14px;
}
body.sidebar-collapsed .shell-sidebar .nav-link i,
body.sidebar-collapsed .shell-sidebar .nav-link-top i{
  font-size: 1.05rem;
}

/* group toggle collapsed */
body.sidebar-collapsed .nav-group-toggle{
  justify-content:center;
  padding: .55rem .5rem;
}
body.sidebar-collapsed .nav-group-caret{ display:none !important; }

/* =========================================================
   Accordion behaviour (JS sets height) + Submenu styling (visual hierarchy)
   ========================================================= */

/* IMPORTANT: keep this height-based (because your JS animates height) */
.shell-sidebar .nav-group-body{
  height: 0;
  overflow: hidden;
  padding: 0 .25rem;
  transition: height .18s ease;
}

.shell-sidebar .nav-group.is-open .nav-group-body{
  padding: .25rem .25rem .35rem;
}

/* this exists in your HTML: <div class="nav-group-body-inner"> ... */
.shell-sidebar .nav-group-body-inner{
  margin-top: .12rem;
  padding: .35rem;

  /* visible “2nd level” surface */
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid rgba(34,197,94,.35);
  border-radius: 14px;

  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

/* open group toggle a touch different */
.shell-sidebar .nav-group.is-open > .nav-group-toggle{
  background: rgba(255,255,255,.06);
  border-radius: 14px;
}

/* sub links: feel “nested” (indent + smaller) */
.shell-sidebar .nav-group-body .nav-link{
  font-size: .82rem;
  margin: .06rem 0 !important;
  padding: .48rem .55rem .48rem .70rem !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: rgba(255,255,255,.82) !important;
}

.shell-sidebar .nav-group-body .nav-link:hover{
  background: rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.96) !important;
}

.shell-sidebar .nav-group-body .nav-link.active{
  background: rgba(34,197,94,.18) !important;
  box-shadow: inset 0 0 0 1px rgba(34,197,94,.22) !important;
  color: #fff !important;
}

/* collapsed: same hierarchy, just tighter */
body.sidebar-collapsed .nav-group-body-inner{
  padding: .25rem;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  border-left-color: rgba(34,197,94,.30);
}
body.sidebar-collapsed .nav-group-body .nav-link{
  justify-content: center !important;
  padding: .55rem .5rem !important;
}
