/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --bg: #eef2f7;
  --text: #1e2a3b;
  --muted: #6c7a8c;
  --border: #dbe3ee;
  --blue: #2c78c5;
  --orange: #f28c1b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app-shell { min-height: 100vh; padding: 18px; }
.app-frame {
  background: #f7f9fc;
  border-radius: 28px;
  box-shadow: 0 16px 30px rgba(18, 40, 63, 0.12);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.global-topbar {
  height: 72px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
}

.brand-area { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-divider { width: 1px; height: 32px; background: var(--border); }
.brand-title { font-size: 18px; font-weight: 600; color: #2a3c55; }

.topbar-actions { display: flex; align-items: center; gap: 12px; }

.login-btn {
  border: 1px solid var(--border);
  background: #ffffff;
  color: #2a3c55;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}

.login-btn:hover { background: #f2f5fa; }

.no-access {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f6;
  padding: 24px;
}

.no-access-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(25, 45, 78, 0.12);
  text-align: center;
}

.no-access-title {
  font-size: 26px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 12px;
}

.no-access-message {
  color: #5c6b80;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.avatar-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.avatar-menu {
  position: relative;
  display: inline-block;
}

.avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(17, 41, 64, 0.2);
}

.avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
}

.avatar-tooltip {
  position: absolute;
  right: 0;
  top: -34px;
  background: #1f2a3b;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 200;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: transparent;
}

.notif-menu { position: relative; }

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f28c1b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(242, 140, 27, 0.35);
}

.notif-dropdown {
  position: absolute;
  right: 0;
  top: 42px;
  width: 300px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(17, 41, 64, 0.16);
  overflow: hidden;
  z-index: 140;
}

.notif-header {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #2a3c55;
  border-bottom: 1px solid var(--border);
}

.notif-empty {
  padding: 14px 12px;
  font-size: 12px;
  color: var(--muted);
}

.notif-item {
  padding: 10px 12px;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  cursor: pointer;
  border-bottom: 1px solid #edf2f8;
}

.notif-item.unread { background: #f3f8ff; }
.notif-item:last-child { border-bottom: none; }

.notif-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e2a3b;
}

.notif-message {
  font-size: 12px;
  color: var(--muted);
}

.top-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #7b8ba3;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avatar-wrap:hover .avatar-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.avatar-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(17, 41, 64, 0.15);
  padding: 6px;
  min-width: 120px;
  z-index: 10;
}

.avatar-dropdown-item {
  width: 100%;
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}

.avatar-dropdown-item:hover {
  background: #f2f5fa;
}

.app-footer {
  padding: 16px 24px 20px;
  font-size: 12px;
  color: #7a8798;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #fff;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}

.body-grid { display: grid; grid-template-columns: 260px 1fr; }
.sidebar {
  background: linear-gradient(180deg, #4b617a 0%, #2d3f55 100%);
  color: #fff;
  padding: 18px 16px;
}
.nav { display: grid; grid-gap: 8px; gap: 8px; }
.nav-item {
  width: 100%;
  border: none;
  background: transparent;
  color: #e7eef7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 15px;
  cursor: pointer;
  text-align: left;
}
.nav-item.active { background: linear-gradient(90deg, #2b8ad7 0%, #1d6fb6 100%); color: #fff; }
.nav-group { display: grid; grid-gap: 6px; gap: 6px; }
.nav-caret { margin-left: auto; font-size: 12px; opacity: 0.8; transition: transform 0.2s ease; }
.nav-caret.open { transform: rotate(180deg); }
.nav-sub { display: grid; grid-gap: 6px; gap: 6px; padding-left: 34px; }
.nav-sub-item {
  width: 100%;
  border: none;
  background: transparent;
  color: #d7e2ef;
  text-align: left;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
}
.nav-sub-item.active { background: rgba(255,255,255,0.12); color: #fff; }

.nav-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-icon {
  stroke-width: 1.6;
}

.content { padding: 22px 24px 28px; }
.section-title { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 12px; }

.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(18, 40, 63, 0.08);
  padding: 16px 18px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.filter-combo {
  position: relative;
  min-width: 220px;
  flex: 1 1 240px;
}

.filter-input {
  width: 100%;
}

.filter-dropdown {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(17, 41, 64, 0.12);
  z-index: 20;
  max-height: 240px;
  overflow: auto;
}

.filter-item {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
  color: #1f2a44;
}

.filter-item:hover {
  background: #f2f5fa;
}

.filter-empty {
  padding: 8px 10px;
  font-size: 12px;
  color: #6c7a8c;
}

.required::after {
  content: " *";
  color: #d14b4b;
  font-weight: 600;
}

.field-error {
  font-size: 12px;
  color: #d14b4b;
  margin-top: 4px;
}

.input,
.select,
.button {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
}

.input { min-width: 220px; }
.select { min-width: 160px; background: #fff; }
.textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  min-height: 90px;
  resize: vertical;
  background: #fff;
}

.button {
  background: #2c78c5;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.button:disabled {
  background: #c7d1dd;
  color: #ffffff;
  cursor: not-allowed;
}

.button.secondary {
  background: #f2f5fa;
  color: #2a3c55;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.35;
}

.table th,
.table td {
  padding: 8px 8px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
}

.table th { color: #5b6b7f; font-weight: 600; }

.table-actions {
  display: flex;
  gap: 8px;
}

.table-link {
  background: transparent;
  border: none;
  color: #2c78c5;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: #edf4ff;
  color: #2c78c5;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
  font-size: 12px;
  color: #6c7a8c;
}

.pagination button {
  border: 1px solid var(--border);
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.table-empty {
  text-align: center;
  color: #6c7a8c;
  padding: 20px 0;
}

.dashboard {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.dashboard-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kpi-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(18, 40, 63, 0.08);
  padding: 16px;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.kpi-label {
  font-size: 12px;
  color: #6c7a8c;
}

.kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.dashboard-panels {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-panels-wide {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.dashboard-left,
.dashboard-right {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.chart-card {
  min-height: 200px;
}

.bar-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

.bar-label {
  color: #5b6b7f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-track {
  background: #eef2f7;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2b8ad7, #49a1e0);
}

.donut-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-gap: 16px;
  gap: 16px;
  align-items: center;
}

.donut-chart {
  width: 100%;
  height: 190px;
  position: relative;
}

.donut-legend {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  font-size: 12px;
}

.donut-legend-item {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
}

.donut-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.donut-legend-name {
  color: #4f5d70;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.donut-legend-value {
  color: #243247;
  font-weight: 600;
}

.donut-tooltip {
  background: #1f2a3b;
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 10px 24px rgba(16, 26, 40, 0.2);
}

.donut-tooltip-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.donut-tooltip-line {
  color: #d7e1ef;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

.donut-center-value {
  font-size: 20px;
  font-weight: 700;
  color: #1f2a44;
}

.donut-center-label {
  font-size: 11px;
  color: #6c7a8c;
}

.manual-guide {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.manual-note {
  color: #5b6b7f;
  font-size: 13px;
}

.manual-sections {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.manual-section-title {
  font-weight: 600;
  color: #1f2a44;
  margin-bottom: 6px;
}

.manual-section ul {
  margin: 0;
  padding-left: 18px;
  color: #3a4a60;
  font-size: 13px;
  line-height: 1.6;
}

.code-block {
  background: #f7f9fc;
  border: 1px solid #e6edf6;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  white-space: pre-wrap;
}

.access-control {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.perm-grid {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.perm-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #2a3c55;
}

@media (max-width: 900px) {
  .perm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .perm-grid {
    grid-template-columns: 1fr;
  }
}

.table-summary {
  font-size: 12px;
  color: #6c7a8c;
  margin-bottom: 6px;
}

.input.error,
.select.error {
  border-color: #e36b6b;
}

.helper-text {
  font-size: 12px;
  color: #8b97a8;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: #5b6b7f;
  margin-top: 4px;
  display: block;
}

.field-group {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.invite-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
  padding: 6px 0;
}

.invite-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #3a4b63;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: grid;
  place-items: center;
  z-index: 300;
}

.modal {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(18, 40, 63, 0.2);
  width: min(1040px, 92vw);
  padding: 18px 20px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.modal-body {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

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

.modal-large {
  max-height: 82vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.modal-scroll {
  overflow: auto;
  padding-right: 6px;
}

.modal-header.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  padding-bottom: 10px;
}

.modal-actions.sticky {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: 10px;
  z-index: 2;
}

.po-modal-content {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.po-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.form-grid .input,
.form-grid .select {
  min-width: 0;
  width: 100%;
}

.form-grid .textarea {
  width: 100%;
}

.form-span {
  grid-column: 1 / -1;
}

.po-form-span {
  grid-column: 1 / -1;
}

.po-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.customer-detail {
  display: grid;
  grid-template-columns: 1fr 280px;
  grid-gap: 18px;
  gap: 18px;
}

.customer-info {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.customer-contacts {
  background: #f7f9fc;
  border: 1px solid #e6edf6;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-split {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.customer-split.with-panel {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.customer-list {
  min-width: 0;
}

.customer-panel {
  background: #ffffff;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  align-content: start;
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  height: max-content;
}

.customer-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customer-panel-title {
  font-weight: 600;
  color: var(--text);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.contact-split.with-panel {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.contact-list {
  min-width: 0;
}

.contact-panel {
  background: #ffffff;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  align-content: start;
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  height: max-content;
}

.contact-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-panel-title {
  font-weight: 600;
  color: var(--text);
}

.opps-split {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.opps-split.with-panel {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.opps-list {
  min-width: 0;
}

.opps-panel {
  background: #ffffff;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  align-content: start;
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  height: max-content;
}

.opps-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.opps-panel-title {
  font-weight: 600;
  color: var(--text);
}

.po-split {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.po-split.with-panel {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.po-list {
  min-width: 0;
}

.po-panel {
  background: #ffffff;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  align-content: start;
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  height: max-content;
}

.po-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.po-panel-title {
  font-weight: 600;
  color: var(--text);
}

.po-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.po-items {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 10px 0 4px;
  border-top: 1px dashed #dbe3ee;
}

.po-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.6fr) minmax(0, 0.6fr) minmax(0, 0.8fr) auto;
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
}

.po-item-row .input {
  min-width: 0;
}

.po-item-row .select {
  min-width: 0;
  width: 100%;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-weight: 600;
  color: var(--text);
}

.drawer-form {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #dbe3ee;
}

.drawer-list {
  max-height: 280px;
  overflow: auto;
}

.contact-cards {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #e8eef7;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.contact-name {
  font-weight: 600;
  color: var(--text);
}

.contact-meta {
  font-size: 12px;
  color: #6c7a8c;
}

@media (max-width: 900px) {
  .customer-detail {
    grid-template-columns: 1fr;
  }
  .customer-split.with-panel {
    grid-template-columns: 1fr;
  }
  .customer-panel {
    position: static;
  }
  .contact-split.with-panel {
    grid-template-columns: 1fr;
  }
  .contact-panel {
    position: static;
  }
  .opps-split.with-panel {
    grid-template-columns: 1fr;
  }
  .opps-panel {
    position: static;
  }
  .po-split.with-panel {
    grid-template-columns: 1fr;
  }
  .po-panel {
    position: static;
  }
  .po-inline {
    grid-template-columns: 1fr;
  }
  .po-item-row {
    grid-template-columns: 1fr;
  }
  .po-row {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-panels {
    grid-template-columns: 1fr;
  }
  .dashboard-panels-wide {
    grid-template-columns: 1fr;
  }
  .donut-wrap {
    grid-template-columns: 1fr;
  }
  .donut-chart {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .bar-row {
    grid-template-columns: 1fr;
  }
  .bar-value {
    text-align: left;
  }
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #6c7a8c;
}

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

