@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");
@import url("https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css");

:root {
  --navy: #101a31;
  --blue: #2463eb;
  --ink: #10203e;
  --muted: #71809a;
  --line: #e3e7ee;
  --surface: #fff;
  --bg: #f7f8fb;
  --green: #12b886;
  --red: #ed3b4b;
  --amber: #f59f00;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Barlow, sans-serif;
  font-size: 14px;
}
.app-shell {
  min-height: 100vh;
}
.module-summary-table.bom-table tbody tr {
  transition: background-color 0.15s ease;
}
.module-summary-table.bom-table {
  width: 100%;
  min-width: 980px;
  table-layout: fixed;
}
.module-summary-table.bom-table th:nth-child(1),
.module-summary-table.bom-table td:nth-child(1) { width: 10%; }
.module-summary-table.bom-table th:nth-child(2),
.module-summary-table.bom-table td:nth-child(2) { width: 16%; }
.module-summary-table.bom-table th:nth-child(3),
.module-summary-table.bom-table td:nth-child(3) { width: 11%; }
.module-summary-table.bom-table th:nth-child(4),
.module-summary-table.bom-table td:nth-child(4) { width: 21%; }
.module-summary-table.bom-table th:nth-child(5),
.module-summary-table.bom-table td:nth-child(5) { width: 12%; }
.module-summary-table.bom-table th:nth-child(6),
.module-summary-table.bom-table td:nth-child(6) { width: 9%; }
.module-summary-table.bom-table th:nth-child(7),
.module-summary-table.bom-table td:nth-child(7) { width: 9%; }
.module-summary-table.bom-table th:nth-child(8),
.module-summary-table.bom-table td:nth-child(8) { width: 12%; }
.module-summary-table.bom-table th,
.module-summary-table.bom-table td {
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: -0.1px;
  font-weight: 400;
}
.module-summary-table.bom-table tbody tr:not(.bom-editor-row) > td:nth-child(4) {
  white-space: normal;
  overflow-wrap: anywhere;
}
.module-summary-table .bom-top-row {
  background: #dcebf8;
  color: #10203e;
  font-weight: 400;
  border-top: 2px solid #6fa8d2;
}
.module-summary-table .bom-lvl-cell {
  text-align: left;
  padding: 0;
  vertical-align: middle;
  overflow: visible;
  white-space: nowrap;
}
.module-summary-table .bom-level-inner {
  display: flex;
  align-items: center;
  min-height: 24px;
  white-space: nowrap;
}
.module-summary-table .bom-part-number-cell {
  white-space: normal;
  vertical-align: middle;
}
.module-summary-table .bom-row-part-number,
.module-summary-table .bom-row-item-type,
.module-summary-table .bom-row-quantity {
  display: block;
  line-height: 1.2;
}
.module-summary-table .bom-row-item-type {
  color: #64748b;
  font-size: 11px;
}
.module-summary-table .bom-row-quantity {
  color: #52627b;
  font-size: 11px;
}
.module-summary-table .bom-level-inner > .bom-level-label {
  margin-left: 0.4rem;
}
.module-summary-table .bom-level-inner > .bom-level-label {
  margin-top: 0;
}
.module-summary-table .bom-part-number-cell > .bom-row-part-number {
  margin-top: 0;
}
.module-summary-table .bom-top-row .bom-level-inner {
  min-height: 52px;
}
.module-summary-table .bom-top-row .bom-level-inner > .bom-level-label,
.module-summary-table .bom-top-row .bom-level-inner > button {
  margin-top: 0;
}
.module-summary-table .bom-level-inner > .bom-level-label {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}
.module-summary-table .bom-row-part-number {
  flex: 1 1 auto;
  min-width: 0;
}
.module-summary-table .bom-item-row > td {
  border-top: 0;
  border-bottom: 0;
}
.module-summary-table .bom-item-row[data-bom-level="1"] {
  background: #f7f9fd;
  font-weight: 400;
}
.module-summary-table .bom-item-row[data-bom-level="2"] {
  background: #fffaf0;
}
.module-summary-table .bom-item-row[data-bom-level="3"] {
  background: #f4fbf8;
}
.module-summary-table .bom-item-row[data-bom-level="4"] {
  background: #fbf5fc;
}
.module-summary-table.bom-table tbody tr:not(.bom-editor-row):hover > td {
  background-color: #e8edf5;
}
.bom-level-spacer {
  display: block;
  width: calc(var(--bom-level) * 18px);
  min-width: calc(var(--bom-level) * 18px);
  height: 52px;
  min-height: 52px;
  align-self: stretch;
  background: #fff;
}
.bom-row-part-number {
  overflow: hidden;
  text-overflow: ellipsis;
}
.bom-item-type,
.bom-item-code {
  display: block;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bom-item-type {
  color: #52627b;
}
.bom-item-code {
  color: #1f2d3d;
}
.module-summary-table .bom-level-inner > button,
.module-summary-table .bom-level-inner > .bom-toggle-placeholder {
  flex: 0 0 18px;
  width: 18px;
  min-width: 18px;
  height: 22px;
  margin: 0;
  line-height: 1;
}
.module-summary-table .bom-level-inner > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.module-summary-table .bom-actions-cell {
  white-space: nowrap;
  overflow: visible;
}
.module-summary-table .bom-actions-cell .btn {
  padding: 0.2rem 0.35rem;
}
.bom-toggle-placeholder {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}
.module-summary-table .bom-level-label {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  color: #52627b;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  flex: 0 0 auto;
  letter-spacing: 0;
}
.module-summary-table .bom-item-row[data-bom-level="2"] .bom-level-label { color: #9a6500; }
.module-summary-table .bom-item-row[data-bom-level="3"] .bom-level-label { color: #087f5b; }
.module-summary-table .bom-item-row[data-bom-level="4"] .bom-level-label { color: #862e9c; }
.module-summary-table .bom-editor-row {
  background: #fff;
  box-shadow: inset 4px 0 0 var(--blue);
}
.module-summary-table .bom-editor-row > td {
  overflow: visible;
  white-space: normal;
}
.bom-editor-wrap {
  padding: 14px 16px 16px;
  background: #f7faff;
  border: 1px solid #c8d9ec;
  border-left: 3px solid var(--blue);
  white-space: normal;
}
.bom-editor-heading,
.bom-editor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bom-editor-heading {
  justify-content: space-between;
  margin-bottom: 10px;
  color: #193254;
}
.bom-editor-heading span {
  color: var(--muted);
  font-size: 12px;
}
.bom-editor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
}
.bom-editor-grid label,
.bom-field-group label {
  min-width: 0;
  margin: 0;
  color: #52627b;
  font-size: 11px;
  font-weight: 600;
}
.bom-editor-grid input,
.bom-editor-grid select,
.bom-editor-grid textarea {
  width: 100%;
  min-width: 0;
  margin-top: 3px;
}
.bom-editor-wide { grid-column: 1 / -1; }
.bom-editor-wrap > .bom-editor-wide {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.bom-editor-wrap > .bom-editor-wide textarea {
  display: block;
  width: 100%;
}
.bom-field-group {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #9fabff;
}
.bom-field-group-title {
  margin-bottom: 7px;
  color: #193254;
  font: 600 12px "Space Grotesk", sans-serif;
}
.bom-editor-actions { justify-content: flex-end; margin-top: 12px; }
.bom-row-transition {
  transition: none;
}
.material-rollup-row td:nth-child(2) strong,
.material-rollup-row td:nth-child(2) small {
  display: block;
}
.material-rollup-row td:nth-child(2) small {
  color: var(--muted);
  font-size: 11px;
}
.material-group-child td:first-child { border-left: 3px solid #b8d2ea; }
.material-deep-link-target { background: #fff3bf !important; }
@media (max-width: 900px) {
  .bom-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bom-editor-wide { grid-column: 1 / -1; }
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  background: var(--navy);
  color: #b7c4da;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  height: 105px;
  padding: 27px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand img {
  max-width: 205px;
  max-height: 55px;
}
.main-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 15px 8px;
  scrollbar-color: rgba(0, 0, 0, 0.42) transparent;
  scrollbar-width: thin;
}
.main-nav::-webkit-scrollbar {
  width: 6px;
}
.main-nav::-webkit-scrollbar-track {
  background: transparent;
}
.main-nav::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.42);
  border-radius: 6px;
}
label {
  letter-spacing: 0.01em;
  font-size: 13px;
  margin-top: 10px;
}
input.form-control,
select.form-select,
textarea.form-control {
  padding-bottom: 0.28rem;
  padding-top: 0.28rem;
}
label > input,
label > select,
label > textarea,
label > .form-control,
label > .form-select {
  margin-right: 8px;
  max-width: calc(100% - 8px);
}
.nav-item {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #aebbd1;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 2px 0;
}
.nav-item:hover,
.nav-item.active {
  background: #2161ec;
  color: white;
}
.nav-item i {
  font-size: 16px;
  width: 17px;
}
.nav-item span {
  font-size: 14px;
}
.nav-rule {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  margin: 10px 0;
}
.sidebar-user {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.sidebar-user strong,
.sidebar-user small {
  display: block;
}
.sidebar-user strong {
  color: #fff;
  font-size: 13px;
}
.sidebar-user small {
  color: #8190aa;
  font-size: 12px;
}
.avatar {
  width: 30px;
  height: 30px;
  background: #2161ec;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.topbar {
  position: fixed;
  left: 240px;
  right: 0;
  top: 0;
  height: 61px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 18px;
  z-index: 10;
}
.topbar strong,
.topbar small {
  display: block;
}
.topbar strong {
  font-family: "Space Grotesk";
  font-size: 14px;
}
.topbar small {
  color: #91a0b7;
  font-size: 12px;
}
.menu-toggle,
.icon-button {
  border: 0;
  background: transparent;
  color: #1c273b;
  position: relative;
}
.icon-button {
  font-size: 18px;
  padding: 6px;
}
.icon-button b {
  position: absolute;
  background: #e83246;
  color: #fff;
  border-radius: 10px;
  font: 10px Barlow;
  top: 0;
  right: 0;
  padding: 1px 4px;
}
.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search,
.tracker-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
  padding: 6px 10px;
  color: #94a1b6;
}
.search input,
.tracker-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 240px;
  color: var(--ink);
}
.content {
  margin-left: 240px;
  padding: 92px 24px 40px;
  min-height: 100vh;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.page-heading h1 {
  font: 700 28px "Space Grotesk";
  margin: 0 0 3px;
}
.page-heading p {
  color: var(--muted);
  margin: 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #6780ac !important;
  font-weight: 600;
  margin-bottom: 8px !important;
}
.heading-actions {
  display: flex;
  gap: 10px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.metric,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.metric {
  padding: 24px;
}
.metric span {
  display: flex;
  justify-content: space-between;
  color: #28507e;
}
.metric strong {
  display: block;
  font: 600 30px "Space Grotesk";
  margin: 28px 0 2px;
}
.metric small,
.panel p {
  color: var(--muted);
}
.danger {
  color: var(--red);
}
.success {
  color: #00a86b;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.chart-panel {
  height: 350px;
  padding: 24px;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.panel-title h2 {
  font: 600 16px "Space Grotesk";
  margin: 0;
}
.panel-title p {
  margin: 5px 0 0;
}
.fake-chart {
  height: 240px;
  position: relative;
  border-bottom: 1px solid #bac4d0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 47px,
    #e3e7ee 48px
  );
}
.chart-line {
  position: absolute;
  left: 7%;
  right: 4%;
  top: 31%;
  height: 55%;
  border-top: 3px solid #f34a4d;
  transform: skewY(-10deg) rotate(-2deg);
  border-radius: 50%;
}
.chart-labels {
  position: absolute;
  bottom: -23px;
  left: 5%;
  right: 3%;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.donut {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
    #3980ed 0 42%,
    #13b783 42% 64%,
    #8658e9 64% 75%,
    #f59f00 75% 100%
  );
  margin: 35px auto;
  display: grid;
  place-items: center;
}
.donut:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 50%;
}
.donut span {
  z-index: 1;
  text-align: center;
  font: 600 24px "Space Grotesk";
}
.donut small {
  font: 12px Barlow;
  color: var(--muted);
}
.bars {
  height: 230px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  border-bottom: 1px solid #bac4d0;
  padding: 15px 30px 0;
}
.bars i {
  width: 12%;
  background: #3980ed;
  position: relative;
}
.bars b {
  position: absolute;
  bottom: -23px;
  left: 50%;
  transform: translateX(-50%);
  font: 12px Barlow;
  color: var(--muted);
}
.h-bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 32px;
}
.h-bars i {
  height: 28px;
  background: #8759e8;
  color: #fff;
  font-style: normal;
  padding: 5px 10px;
  border-radius: 2px;
}
.table-panel,
.activity-panel {
  padding: 24px;
  margin-bottom: 22px;
}
.table-panel .form-select {
  width: 160px;
}
.table {
  --bs-table-bg: transparent;
}
.table th {
  font-size: 13px;
  color: #365375;
  font-weight: 500;
  border-bottom-color: var(--line);
}
.table td {
  border-bottom-color: var(--line);
}
.table a {
  color: #125ce5;
  text-decoration: none;
  font-weight: 500;
}
.status-pill,
.priority {
  display: inline-flex;
  border-radius: 8px;
  background: #edf0f5;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
}
.status-pill.dark {
  background: #0d1022;
  color: #fff;
}
.priority {
  padding: 4px 8px;
}
.priority.high {
  background: #ffe3e4;
  color: #d32037;
}
.priority.medium {
  background: #fff1bf;
  color: #986900;
}
.priority.low {
  background: #f0f3f7;
  color: #4d627f;
}
.activity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.activity div {
  border-left: 3px solid var(--blue);
  padding-left: 13px;
}
.activity b,
.activity small {
  display: block;
}
.activity small {
  color: var(--muted);
  margin-top: 4px;
}
.tracker-search {
  width: 257px;
  margin-bottom: 18px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kanban-heading {
  display: flex;
  justify-content: space-between;
  color: #193254;
  font-size: 12px;
  margin: 0 4px 10px;
}
.kanban-heading em {
  color: #91a0b7;
  font-style: normal;
}
.kanban-heading b {
  background: #e9edf4;
  padding: 3px 8px;
  border-radius: 8px;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  margin-bottom: 9px;
  transition: box-shadow 0.15s ease;
}
.quote-card:hover {
  box-shadow: 0 4px 12px rgba(15, 35, 67, 0.12);
}
.quote-card-top {
  display: flex;
  justify-content: space-between;
}
.quote-card a {
  color: #0e5ce4;
  font-size: 12px;
}
.quote-card h3 {
  font: 500 13px "Space Grotesk";
  margin: 16px 0 0;
}
.quote-card p {
  margin: 3px 0 10px;
  color: var(--muted);
  font-size: 12px;
}
.quote-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 8px 0;
  color: #8490a3;
  font-size: 12px;
}
.module-statuses {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  gap: 3px;
}
.module-status {
  text-align: center;
  min-width: 0;
  flex: 1;
  color: #96a2b5;
}
.module-status span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: auto;
  background: #f0f2f6;
}
.module-status i {
  font-size: 12px;
}
.module-status small {
  display: block;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.module-status.done {
  color: #13aa78;
}
.module-status.done span {
  background: #d8f8e9;
}
.module-status.progress {
  color: #2463eb;
}
.module-status.progress span {
  background: #dce8ff;
}
.empty-column {
  border: 1px dashed var(--line);
  border-radius: 10px;
  text-align: center;
  color: #c0c7d2;
  padding: 28px;
}
.breadcrumb-line {
  display: flex;
  gap: 12px;
  color: var(--muted);
  margin: -18px 0 16px;
}
.breadcrumb-line a,
.detail-toolbar a {
  color: #325b94;
  text-decoration: none;
}
.detail-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 -24px 24px;
  padding: 12px 24px;
  background: #fff;
}
.detail-toolbar div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.detail-toolbar strong {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.detail-toolbar .form-select {
  width: 220px;
}
.module-tabs {
  display: flex;
  background: #e9ebef;
  border-radius: 20px;
  width: max-content;
  margin-bottom: 24px;
  padding: 3px;
}
.module-tabs button {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 17px;
}
.module-tabs button.active {
  background: #fff;
}
.detail-panel {
  padding: 24px;
}
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.score-grid div {
  background: #f7f8fb;
  padding: 20px;
  border-radius: 8px;
}
.score-grid small,
.score-grid strong {
  display: block;
}
.score-grid strong {
  font: 600 22px "Space Grotesk";
  margin-top: 8px;
}
.score-grid strong span {
  font-size: 12px;
  color: var(--muted);
}
.warning-text {
  color: #e18a00;
}
.success-pill {
  background: #d9f8e9;
  color: #08764f;
}
.risk-table input {
  min-width: 240px;
}
.risk-rank {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 24px;
  border-radius: 7px;
  font-weight: 600;
}
.risk-rank.h {
  color: #d9273a;
  background: #ffe5e6;
}
.risk-rank.m {
  color: #a67100;
  background: #fff1c5;
}
.risk-rank.l {
  color: #0a9b6c;
  background: #dcf8ea;
}
.table-note {
  font-size: 12px;
  margin: 15px 0 0;
}
.recommendation {
  background: #ecf8f4;
  border: 1px solid #b9eddb;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  gap: 14px;
}
.recommendation-icon {
  font-size: 24px;
  color: #0a9d6e;
}
.recommendation h3 {
  font: 600 17px "Space Grotesk";
  margin: 0;
}
.recommendation p {
  margin: 5px 0 0;
}
.subheading {
  font: 600 15px "Space Grotesk";
  margin: 25px 0 10px;
}
.mitigation-list {
  padding-left: 22px;
}
.form-panel {
  padding: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.form-grid label {
  font-weight: 500;
  color: #395572;
}
.form-grid input {
  margin-top: 6px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.part-select {
  width: 270px;
}
.loader {
  position: fixed;
  inset: 0;
  background: #fff8;
  z-index: 100;
  display: grid;
  place-items: center;
}
.required-marker {
  color: #c62828;
  font-weight: 700;
  margin-right: 4px;
}
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #101a31 0%, #1b3159 52%, #2463eb 100%);
  display: grid;
  place-items: center;
}
.login-shell {
  width: min(420px, calc(100% - 32px));
  background: #fff;
  border-radius: 16px;
  padding: 42px;
  box-shadow: 0 20px 60px #08112680;
}
.login-logo {
  width: 220px;
  margin-bottom: 28px;
}
.login-shell h1 {
  font: 700 28px "Space Grotesk";
  margin: 0;
}
.login-copy {
  color: var(--muted);
  margin-bottom: 22px;
}
.login-form label {
  display: block;
  color: #405570;
  font-weight: 500;
  margin-bottom: 15px;
}
.login-form input {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px;
  margin-top: 6px;
}
.login-shell small {
  display: block;
  text-align: center;
  color: #9aa6b8;
  margin-top: 18px;
}
@media (max-width: 1000px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .kanban {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
  }
  .sidebar-collapsed .sidebar {
    transform: translateX(0);
  }
  .topbar {
    left: 0;
    padding: 0 12px;
  }
  .topbar-actions .search {
    display: none;
  }
  .content {
    margin-left: 0;
    padding: 82px 14px 25px;
  }
  .metric-grid,
  .kanban,
  .score-grid,
  .form-grid,
  .activity {
    grid-template-columns: 1fr;
  }
  .page-heading {
    gap: 15px;
    flex-wrap: wrap;
  }
  .detail-toolbar {
    margin: 0 -14px 20px;
    padding: 12px 14px;
    align-items: flex-start;
    gap: 10px;
  }
  .detail-toolbar div {
    flex-wrap: wrap;
  }
  .detail-toolbar .form-select {
    width: 170px;
  }
  .module-tabs {
    max-width: 100%;
    overflow: auto;
  }
  .chart-panel {
    height: 310px;
  }
}
