:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #f1f2f4;
  --border: #e5e7eb;
  --border-2: #eceef1;
  --text: #1f2937;
  --text-2: #374151;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --accent: #2563eb;
  --accent-weak: #e8f0fe;
  --accent-bar: #2563eb;
  --violet: #7c5cfc;
  --violet-weak: #efeaff;
  --ok: #16a34a;
  --ok-weak: #e7f6ec;
  --excel-bg: #e8f7ee;
  --excel-fg: #15803d;
  --warn: #f59e0b;
  --warn-weak: #fef3e2;
  --danger: #e11d48;
  --danger-weak: #fde8ec;
  --pink: #ec4899;
  --pink-weak: #fce7f3;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-md: 0 8px 30px rgba(16, 24, 40, .12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
}

.brand-mark {
  display: none !important;
}

.brand-name {
  color: var(--text);
  font-weight: 700;
}

.brand-sub,
.nav-label {
  color: var(--muted);
}

.folder,
.folder.open,
.folder-body {
  background: transparent !important;
}

.nav-item,
.home-link,
.folder-head {
  background: transparent !important;
  color: #41485a;
  border-radius: 10px;
  font-weight: 500;
}

.folder-head .txt,
.folder-head .count,
.folder-head .chev,
.fic,
.fic svg {
  color: var(--muted) !important;
}

.nav-item:hover,
.home-link:hover,
.folder-head:hover {
  background: var(--surface-2) !important;
}

.nav-item.active,
.home-link.active {
  background: var(--accent-weak) !important;
  color: var(--accent) !important;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--accent-bar);
}

.sidebar-foot {
  border-top: 1px solid var(--border);
}

.avatar {
  background: var(--accent);
  color: #fff;
}

.crumb .tag {
  background: var(--surface-3);
  color: var(--muted);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  text-transform: none;
}

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.crumb {
  color: var(--muted);
}

.crumb b {
  color: var(--text);
}

.main {
  background: var(--bg);
}

#app-content {
  padding: 22px;
}

.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 2px;
}

.section-sub {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
}

.stepper {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 8px 0 20px;
}

.step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  flex: none;
  background: var(--surface);
}

.step.current .num {
  border-color: var(--accent);
  color: var(--accent);
}

.step.done .num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.step .st {
  font-weight: 600;
  font-size: 14px;
}

.step .sd {
  color: var(--muted);
  font-size: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.form-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

input,
select,
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-weak);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  background: var(--surface);
  color: var(--text);
  transition: filter .12s, background .12s, border-color .12s, box-shadow .12s, transform .04s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-icon {
  padding: 0;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, .25);
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 2px 8px rgba(37, 99, 235, .3);
}

.btn-dark {
  background: #111827;
  color: #fff;
}

.btn-light,
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-2);
}

.btn-light:hover,
.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  filter: brightness(.96);
}

.btn-outline-danger {
  background: var(--surface);
  border-color: var(--danger);
  color: var(--danger);
}

.btn-excel {
  background: var(--excel-bg);
  color: var(--excel-fg);
}

.btn-link {
  background: transparent;
  color: var(--muted);
  border: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

thead th {
  text-align: left;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 13px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-2);
}

tbody tr:hover td {
  background: var(--surface-2);
}

.empty,
.view-loading,
.view-error {
  color: var(--muted);
  text-align: center;
  padding: 28px 0;
  font-size: 14px;
}

.view-error {
  color: var(--danger);
}

.view-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  max-width: 360px;
  margin: 28px auto;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.view-notice svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.view-notice .vn-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.view-notice .vn-sub {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.view-notice .vn-act {
  margin-top: 6px;
}

.act-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.act-btn:hover {
  background: var(--surface-2);
  color: var(--accent);
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid transparent;
  white-space: nowrap;
}

.badge.warn {
  background: var(--warn-weak);
  color: #b45309;
  border-color: #f3d6a6;
}

.badge.ok {
  background: var(--ok-weak);
  color: #15803d;
  border-color: #bce5c8;
}

.badge.blue {
  background: var(--accent-weak);
  color: var(--accent);
  border-color: #c7dcfb;
}

.badge.red {
  background: var(--danger-weak);
  color: var(--danger);
  border-color: #f5c6d1;
}

.badge.violet {
  background: var(--violet-weak);
  color: var(--violet);
  border-color: #ded3fe;
}

.pl-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.pl-input {
  flex: 1 1 240px;
  width: auto;
  min-width: 180px;
}

.pl-search {
  position: relative;
  flex: 1 1 260px;
  min-width: 180px;
}

.pl-search>svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-2);
  pointer-events: none;
}

.pl-search input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
  font-family: inherit;
}

.pl-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-weak);
}

.pl-dates {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pl-dates label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.pl-dates input {
  width: 150px;
}

.pl-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.pl-filters .pf-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.pl-filters .pf-field select {
  width: 150px;
  padding: 6px 8px;
  font-size: 10px;
}

.pl-filters .pf-field input {
  width: 122px;
  padding: 6px 8px;
  font-size: 10px;
}

.pl-filters .pf-field select:disabled {
  background: var(--surface-3);
  color: var(--muted-2);
  cursor: not-allowed;
}

.table-scroll th[data-col] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.table-scroll th[data-col]:hover {
  color: var(--accent);
}

.table-scroll .sort-ind {
  font-size: 9px;
  color: var(--muted-2);
  margin-left: 2px;
}

.table-scroll .sort-ind.on {
  color: var(--accent);
}

.pl-approvers {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
}

.pl-toolbar-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}

.id-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.urgent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  flex: none;
  box-shadow: 0 0 0 3px var(--danger-weak);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  min-width: 720px;
}

.table-scroll thead th {
  font-size: 10px;
  padding: 10px 12px;
}

.table-scroll tbody td {
  font-size: 10.5px;
  padding: 10px 12px;
}

.table-scroll .badge {
  font-size: 10px;
  padding: 3px 7px;
}

.table-scroll .pl-approvers {
  font-size: 10.5px;
  max-width: 130px;
}

.pl-pager {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}

.pl-pager .btn {
  padding: 7px 11px;
}

.dropzone {
  display: block;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
}

.dropzone:hover {
  border-color: var(--accent);
  background: var(--accent-weak);
}

.dropzone .dz-ic {
  color: var(--text-2);
}

.dropzone b {
  color: var(--text);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.kpi .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}

.kpi .ic.orange {
  background: var(--warn-weak);
  color: var(--warn);
}

.kpi .ic.pink {
  background: var(--pink-weak);
  color: var(--pink);
}

.kpi .ic.violet {
  background: var(--violet-weak);
  color: var(--violet);
}

.kpi .ic.green {
  background: var(--ok-weak);
  color: var(--ok);
}

.kpi .lbl {
  color: var(--muted);
  font-size: 13px;
}

.kpi .val {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, .45);
  display: grid;
  place-items: center;
  z-index: 80;
  padding: 20px;
}

.modal-box {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 24px;
  width: 560px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
}

.modal-box.lg {
  width: 980px;
}

.modal-box.xl {
  width: 1180px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-box.xl.no-doc {
  width: 620px;
  height: 80vh;
}

.modal-box.xl .tabs {
  flex: 0 0 auto;
}

.modal-box.xl .pane {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.modal-box.xl .pd-doc-frame {
  min-height: 0;
}

.pane[hidden] {
  display: none !important;
}

.pd-detail {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.pd-fields {
  flex: 0 0 320px;
  min-width: 0;
}

.modal-box.no-doc .pd-fields {
  flex: 1 1 auto;
}

.pd-fields h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.pd-field {
  margin-bottom: 11px;
}

.pd-field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.pd-field-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
  min-height: 38px;
}

.pd-doc {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pd-doc-tabs {
  display: flex;
  gap: 4px;
}

.pd-doc-tab {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
}

.pd-doc-tab.active {
  background: var(--accent-weak);
  color: var(--accent);
  border-color: var(--accent);
}

.pd-doc-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pd-doc-frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 560px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-3);
}

@media (max-width: 900px) {
  .pd-detail {
    flex-direction: column;
  }

  .pd-fields {
    flex: 1 1 auto;
  }

  .pd-doc-frame {
    min-height: 60vh;
  }
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
}

.modal-title {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 6px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.timeline li {
  position: relative;
  padding: 0 0 18px 30px;
}

.timeline li:last-child {
  padding-bottom: 2px;
}

.timeline .tl-dot {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--surface);
}

.timeline li:first-child .tl-dot {
  background: var(--ok, #16a34a);
}

.timeline .tl-card {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 9px 12px;
}

.timeline .tl-act {
  font-weight: 600;
  color: var(--text-2);
  font-size: 14px;
}

.timeline .tl-meta {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}

.validate-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.validate-table .vr {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.validate-table .vr:nth-child(odd) {
  background: var(--surface-2);
}

.validate-table .vk {
  padding: 12px 16px;
  font-weight: 600;
  color: var(--text-2);
}

.validate-table .vv {
  padding: 12px 16px;
  color: #5b6b9c;
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.cols-3 section {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.cols-3 h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.col-body .row-u {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 13px;
}

.u-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-2);
}

.u-card:last-child {
  border-bottom: 0;
}

.u-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.u-id b {
  font-size: 13px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-sub {
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
}

.u-tag {
  flex-shrink: 0;
  white-space: nowrap;
}

.modal-box.approvers {
  width: 1100px;
}

.modal-box.approvers h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.apv-proc {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.apv-proc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-weak);
  color: var(--accent);
  flex: none;
}

.apv-proc-icon svg {
  width: 22px;
  height: 22px;
}

.apv-proc-label {
  font-size: 12px;
  color: var(--muted);
}

.apv-proc-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.apv-proc-status {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 2px;
}

.apv-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.apv-col {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.apv-col h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.apv-sub {
  margin: 2px 0 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.apv-search {
  position: relative;
  margin-bottom: 12px;
}

.apv-search svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--muted-2);
}

.apv-search input {
  width: 100%;
  padding: 9px 11px 9px 32px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  font-size: 13px;
  font-family: inherit;
}

.apv-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-weak);
}

.apv-body {
  flex: 1 1 auto;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.apv-empty {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  color: var(--muted);
  padding: 24px 8px;
}

.apv-empty-ic {
  color: var(--muted-2);
}

.apv-empty-ic svg {
  width: 30px;
  height: 30px;
}

.apv-empty-t {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}

.apv-empty-s {
  font-size: 12px;
  color: var(--muted);
}

.apv-next {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.apv-next-ic {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--warn-weak);
  color: var(--warn);
  flex: none;
}

.apv-next-ic svg {
  width: 18px;
  height: 18px;
}

.apv-next b {
  display: block;
  font-size: 13.5px;
  color: var(--text);
}

.apv-next span {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .apv-cols {
    grid-template-columns: 1fr;
  }

  .apv-body {
    min-height: 160px;
  }
}

.proc-head {
  color: var(--muted);
  margin: 4px 0 6px;
}

.proc-head b {
  color: var(--text);
  font-size: 18px;
}

.fld {
  margin: 8px 0;
}

.fld label {
  font-size: 12px;
  color: var(--muted);
}

.fld .val {
  font-weight: 600;
}

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.tab {
  border: 0;
  background: var(--surface-2);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
}

.tab.active {
  background: var(--accent-weak);
  color: var(--accent);
  font-weight: 600;
}

.docs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {

  .kpis,
  .form-grid,
  .form-grid.cols-2,
  .filters-row,
  .cols-3 {
    grid-template-columns: 1fr;
  }

  .modal-box.lg {
    width: 100%;
  }

  .validate-table .vr {
    grid-template-columns: 1fr;
  }
}