@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@500;600;650;700;750;800&display=swap");
:root {
  --accent: #6055e8;
  --bg: #f5f6fa;
  --surface: #fff;
  --text: #172238;
  --muted: #7c879c;
  --border: #e9ecf3;
  --sidebar: #101b31;
  --shadow: 0 3px 14px #15274d04;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:hover,
a:hover {
  filter: brightness(0.96);
}
.icon {
  flex-shrink: 0;
  vertical-align: middle;
}
aside {
  width: 246px;
  background: var(--sidebar);
  color: #a8b3c9;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 27px 16px 16px;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  padding: 0 12px 27px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 43px;
  border-radius: 12px;
  background: linear-gradient(140deg, #8c77ff, #6553df);
  box-shadow: 0 5px 20px #5549d944;
}
.brand-mark svg {
  width: 25px;
  height: 29px;
}
.brand strong {
  font-family: Manrope, sans-serif;
  font-size: 26px;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  color: #aeb8d5;
  margin-top: 0;
}
.shop {
  border: 1px solid #ffffff17;
  border-radius: 9px;
  background: #ffffff06;
  padding: 11px 12px;
  margin-bottom: 21px;
}
.shop small {
  font-size: 11px;
  color: #8290aa;
  display: block;
  margin-bottom: 7px;
}
.shop select {
  width: 100%;
  color: #ecf0ff;
  background: transparent;
  border: 0;
  font-weight: 600;
  outline: none;
}
.shop option {
  color: #172238;
}
.nav-search {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #ffffff0b;
  border-radius: 7px;
  background: #ffffff06;
}
.nav-search input {
  width: 100%;
  background: none;
  border: 0;
  outline: none;
  color: white;
  font-size: 12px;
}
.nav-search svg {
  width: 16px;
}
.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  margin: 24px 12px 10px;
  color: #64738f;
}
nav {
  overflow: auto;
  scrollbar-width: none;
  flex: 1;
}
nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 39px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 7px;
  margin: 2px 0;
}
nav a svg {
  width: 17px;
  height: 17px;
}
nav a .chev {
  margin-left: auto;
  width: 12px;
  color: #63738f;
}
nav a.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px #6055e830;
}
nav a:hover {
  background: #ffffff0a;
  color: white;
}
nav a.active:hover {
  background: var(--accent);
}
.subnav {
  padding-left: 29px;
  border-left: 1px solid #ffffff14;
  margin: 5px 0 8px 20px;
}
.subnav a {
  font-size: 11px;
  min-height: 31px;
  padding: 5px 7px;
}
.subnav a.selected {
  color: #c9c2ff;
}
.sidebar-bottom {
  border-top: 1px solid #ffffff0c;
  padding-top: 14px;
  margin-top: 10px;
  display: grid;
  gap: 9px;
}
.sidebar-bottom button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  font-size: 12px;
}
.switch {
  margin-left: auto;
  width: 29px;
  height: 17px;
  border-radius: 30px;
  background: #354159;
  padding: 3px;
}
.switch:before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  background: #dce2f0;
  border-radius: 50%;
}
.main {
  margin-left: 246px;
}
header {
  height: 79px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 31px;
  gap: 20px;
}
.breadcrumbs {
  font-size: 12px;
  white-space: nowrap;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #98a1b2;
}
.breadcrumbs strong {
  font-weight: 500;
  color: #45516b;
}
.global-search {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 285px;
  color: #929bad;
}
.global-search input {
  background: none;
  border: 0;
  width: 100%;
  font-size: 12px;
  outline: none;
}
.key {
  font-size: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 5px;
}
.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.icon-button {
  position: relative;
  padding: 5px;
  color: #637089;
}
.notification-dot {
  position: absolute;
  top: 2px;
  right: 5px;
  width: 6px;
  height: 6px;
  background: #f28a75;
  border-radius: 50%;
  border: 1px solid white;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--border);
  padding-left: 19px;
  font-size: 12px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ebe7fd;
  color: #6253c7;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.profile small {
  display: block;
  color: #9ba3b3;
  font-size: 10px;
  margin-top: 3px;
}
.profile svg {
  width: 13px;
}
main {
  max-width: 1800px;
  margin: auto;
  padding: 28px 31px 20px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.eyebrow {
  font-size: 11px;
  color: #919aaa;
  margin-bottom: 6px;
}
.page-heading h1 {
  font-family: Manrope, sans-serif;
  font-size: 25px;
  letter-spacing: -0.9px;
  line-height: 1.5;
  margin: 0;
  font-weight: 800;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 0;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 4px 9px #6055e81a;
}
.btn.soft {
  background: #eeecff;
  color: #6558d7;
  border-color: #eeecff;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b83aa;
  font-size: 10px;
  margin-bottom: 18px;
}
.demo-bar span:first-child {
  background: #eeebff;
  color: #7866c5;
  padding: 3px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 21px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.kpi {
  padding: 17px 17px 14px;
}
.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #8590a3;
  font-size: 11px;
}
.kpi-icon {
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--tint);
  color: var(--ink);
  width: 32px;
  height: 32px;
}
.kpi-icon svg {
  width: 17px;
}
.kpi-value {
  font-family: Manrope;
  font-size: 23px;
  letter-spacing: -0.8px;
  font-weight: 800;
  white-space: nowrap;
}
.kpi-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #929bae;
  margin-top: 8px;
}
.growth {
  color: #20a97e;
  background: #e9f8f1;
  font-weight: 600;
  padding: 3px 4px;
  border-radius: 4px;
  font-size: 10px;
}
.charts {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0;
  gap: 12px;
}
.card h2 {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0;
}
.card-sub {
  color: #9aa3b4;
  font-size: 10px;
  margin-top: 6px;
}
.card-head .small-link {
  color: var(--accent);
  font-size: 10px;
  white-space: nowrap;
}
.legend {
  display: flex;
  gap: 15px;
  color: #7c879b;
  font-size: 10px;
}
.legend i,
.revenue-key i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 5px;
  background: var(--c);
}
.chart-wrap {
  padding: 10px 19px 14px;
}
.chart-wrap svg {
  width: 100%;
  height: 218px;
  overflow: visible;
}
.chart-wrap text {
  font-family: "DM Sans";
  font-size: 10px;
  fill: #a2aabd;
}
.chart-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 0;
}
.chart-tools .tabs {
  display: flex;
  gap: 5px;
}
.chart-tools button {
  font-size: 9px;
  color: #8b94a6;
  padding: 5px 9px;
  border-radius: 4px;
}
.chart-tools button.on {
  color: var(--accent);
  background: #f0edff;
}
.donut-layout {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 26px 24px 27px;
}
.donut {
  position: relative;
  width: 171px;
  flex-shrink: 0;
  height: 171px;
}
.donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-center small {
  font-size: 10px;
  color: #939cb0;
  margin-bottom: 7px;
}
.donut-center strong {
  font-family: Manrope;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.7px;
}
.donut-center span {
  font-size: 9px;
  color: #9da6b5;
  margin-top: 6px;
}
.revenue-key {
  flex: 1;
  display: grid;
  gap: 17px;
}
.revenue-key div {
  display: flex;
  align-items: center;
  font-size: 10px;
  color: #7b869b;
  white-space: nowrap;
}
.revenue-key b {
  margin-left: auto;
  padding-left: 8px;
  color: #3c485f;
  font-size: 11px;
}
.widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.widget .card-head {
  padding: 17px 18px 14px;
  border-bottom: 1px solid var(--border);
}
.rows {
  padding: 0 17px;
}
.row {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 67px;
  border-bottom: 1px solid var(--border);
}
.row:last-child {
  border: 0;
}
.thumb {
  width: 34px;
  height: 39px;
  background: #f3f4f8;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.device-art {
  width: 16px;
  height: 28px;
  background: linear-gradient(140deg, #445b72, #101e31 60%, #567b94);
  border-radius: 4px;
  border: 2px solid #28384b;
  box-shadow: 2px 2px 3px #0002;
  transform: rotate(-9deg);
  position: relative;
}
.device-art:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  background: #91a5b8;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.thumb.purple {
  background: #f0edff;
  color: #8472ed;
}
.thumb.orange {
  background: #fff5e9;
  color: #dca149;
}
.row-text {
  min-width: 0;
  flex: 1;
}
.row-title {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-meta {
  font-size: 10px;
  color: #9aa3b2;
  margin-top: 5px;
}
.row-end {
  text-align: right;
  font-size: 11px;
  white-space: nowrap;
}
.row-end strong {
  font-weight: 600;
}
.badge {
  font-size: 9px;
  display: inline-block;
  padding: 4px 7px;
  border-radius: 4px;
  margin-top: 4px;
  white-space: nowrap;
}
.green {
  color: #27a278;
  background: #eaf8f1;
}
.red {
  color: #dd6b70;
  background: #ffedef;
}
.blue {
  color: #5c84d6;
  background: #edf3ff;
}
.amber {
  color: #d49b43;
  background: #fff5e5;
}
.purple {
  color: #8873d5;
  background: #f1edff;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 15px;
}
.quick-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 12px 1px;
  font-size: 9px;
  color: #738098;
}
.quick-grid button svg {
  width: 20px;
  height: 20px;
  color: var(--c);
}
footer {
  display: flex;
  justify-content: space-between;
  color: #a2aaba;
  font-size: 9px;
  padding: 21px 0 0;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-field,
input,
select,
textarea {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
  padding: 10px 12px;
}
.search-field {
  display: flex;
  gap: 8px;
  align-items: center;
}
.search-field input {
  border: 0;
  padding: 0;
  outline: none;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  white-space: nowrap;
}
th {
  font-weight: 500;
  color: #8b96aa;
  font-size: 10px;
  background: #fafbfe;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
}
td:first-child {
  font-weight: 600;
}
.product-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.table-foot {
  padding: 16px 20px;
  color: var(--muted);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.empty {
  text-align: center;
  padding: 65px 25px;
  color: var(--muted);
}
.empty svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 15px;
}
.empty h2 {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 9px;
}
.empty p {
  max-width: 450px;
  margin: 0 auto 20px;
  line-height: 1.7;
}
.module-tabs {
  display: flex;
  gap: 5px;
  overflow: auto;
  border-bottom: 1px solid var(--border);
  margin: -5px 0 22px;
  padding-bottom: 10px;
}
.module-tabs a {
  font-size: 11px;
  padding: 8px 12px;
  white-space: nowrap;
  color: var(--muted);
  border-radius: 6px;
}
.module-tabs a.selected {
  background: #eeebff;
  color: var(--accent);
}
dialog {
  width: min(650px, 94vw);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 30px 100px #101b3144;
}
dialog::backdrop {
  background: #101b3177;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid var(--border);
}
.modal-head h2 {
  font-family: Manrope;
  font-size: 18px;
  margin: 0;
}
.form-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #67758b;
}
.field.full {
  grid-column: 1/-1;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--text);
  min-width: 0;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  gap: 10px;
}
.error {
  color: #d45c65;
  font-size: 12px;
  grid-column: 1/-1;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.settings-tile {
  padding: 23px;
  display: block;
  transition: transform 0.2s;
}
.settings-tile:hover {
  transform: translateY(-2px);
}
.settings-tile svg {
  color: var(--accent);
  margin-bottom: 16px;
}
.settings-tile h2 {
  font-size: 14px;
  margin-bottom: 8px;
}
.settings-tile p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
  line-height: 1.7;
}
.settings-form {
  max-width: 850px;
}
.settings-form .form-body {
  padding: 25px;
}
.notice {
  padding: 13px 16px;
  background: #f0edff;
  color: #8275b4;
  font-size: 12px;
  border-radius: 7px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.pos {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.product-tile {
  text-align: left;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.product-tile .thumb {
  width: 100%;
  height: 90px;
  margin-bottom: 15px;
}
.product-tile strong {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}
.product-tile small {
  font-size: 10px;
  color: var(--muted);
}
.product-tile b {
  display: block;
  color: var(--accent);
  margin-top: 14px;
}
.cart {
  padding: 22px;
  align-self: start;
}
.cart h2 {
  margin-bottom: 18px;
}
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 9px;
}
.quantity button {
  border: 1px solid var(--border);
  width: 22px;
  height: 22px;
  border-radius: 4px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 10px 0;
}
.summary-line.total {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.kanban-col {
  background: #edf0f6;
  border-radius: 10px;
  padding: 15px;
}
.kanban-col h2 {
  font-size: 12px;
  margin: 0 0 17px;
}
.kanban-item {
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
}
.kanban-item h3 {
  font-size: 12px;
  margin: 0 0 10px;
}
.kanban-item p {
  font-size: 11px;
  color: var(--muted);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 16px;
}
.calendar-cell {
  min-height: 100px;
  border: 1px solid var(--border);
  padding: 10px;
  font-size: 11px;
}
.calendar-cell strong {
  display: block;
  color: #9aa3b2;
  margin-bottom: 10px;
}
.calendar-cell button {
  background: #eeebff;
  color: #695ac3;
  text-align: left;
  font-size: 10px;
  padding: 7px 5px;
  border-radius: 4px;
  margin: 3px 0;
  width: 100%;
}
.calendar-day {
  padding: 10px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #192940;
  color: white;
  padding: 13px 22px;
  border-radius: 8px;
  z-index: 100;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.collapsed aside {
  width: 77px;
}
.collapsed .main {
  margin-left: 77px;
}
.collapsed .brand {
  padding: 0 0 25px;
  justify-content: center;
}
.collapsed .brand div:last-child,
.collapsed .shop,
.collapsed .nav-search,
.collapsed .nav-label,
.collapsed nav a span,
.collapsed nav .chev,
.collapsed .sidebar-bottom button span,
.collapsed .subnav {
  display: none;
}
.collapsed nav a {
  justify-content: center;
  padding: 13px;
}
.collapsed .sidebar-bottom button {
  justify-content: center;
  padding: 8px;
}
.dark {
  --bg: #101827;
  --surface: #192338;
  --text: #e2e7f0;
  --muted: #8995ad;
  --border: #29334a;
}
.dark th {
  background: #1d293f;
}
.dark .thumb {
  background: #27344a;
}
.dark .kanban-col {
  background: #141f32;
}
.dark .notice {
  background: #292647;
}
.dark .switch:before {
  transform: translateX(12px);
}
.mobile-menu {
  display: none;
}
.load {
  padding: 120px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1600px) {
  :root {
    font-size: 16px;
  }
  .kpi-value {
    font-size: 27px;
  }
  .chart-wrap svg {
    height: 255px;
  }
  .row {
    min-height: 75px;
  }
  nav a {
    font-size: 13px;
    min-height: 42px;
  }
  .row-title,
  .row-end {
    font-size: 12px;
  }
  .row-meta {
    font-size: 11px;
  }
  .donut-layout {
    padding: 40px 28px;
    gap: 30px;
  }
  .donut {
    width: 190px;
    height: 190px;
  }
}
@media (max-width: 1200px) {
  aside {
    width: 215px;
  }
  .main {
    margin-left: 215px;
  }
  main {
    padding: 24px;
  }
  .kpis {
    grid-template-columns: repeat(3, 1fr);
  }
  .charts {
    grid-template-columns: 1.5fr 1fr;
  }
  .donut-layout {
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }
  .revenue-key {
    width: 100%;
    gap: 8px;
  }
  .widgets {
    grid-template-columns: repeat(2, 1fr);
  }
  .global-search {
    width: 210px;
  }
  .profile div:not(.avatar) {
    display: none;
  }
  .settings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 850px) {
  aside {
    transform: translateX(-100%);
    width: 246px;
    transition: 0.2s;
  }
  .main,
  .collapsed .main {
    margin: 0;
  }
  .mobile-menu {
    display: block;
  }
  header {
    padding: 0 18px;
    height: 65px;
    gap: 14px;
  }
  .global-search {
    width: auto;
    flex: 1;
  }
  .global-search .key,
  .breadcrumbs,
  .profile {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  .mobile-open aside {
    transform: translateX(0);
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .page-heading p {
    max-width: 250px;
    line-height: 1.6;
  }
  .charts {
    grid-template-columns: 1fr;
  }
  .donut-layout {
    flex-direction: row;
    justify-content: space-around;
  }
  .revenue-key {
    max-width: 220px;
    gap: 15px;
  }
  .pos {
    grid-template-columns: 1fr;
  }
  .kanban {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  main {
    padding: 22px 14px;
  }
  .page-heading {
    display: block;
  }
  .page-heading .actions {
    justify-content: flex-start;
    margin-top: 17px;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .kpi {
    padding: 14px;
  }
  .kpi-value {
    font-size: 22px;
  }
  .widgets,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .donut {
    width: 145px;
    height: 145px;
  }
  .donut-layout {
    padding: 24px 16px;
    gap: 16px;
  }
  .revenue-key div {
    font-size: 9px;
  }
  .legend {
    gap: 10px;
    font-size: 9px;
  }
  .card-head {
    padding: 17px 15px 0;
  }
  .chart-tools {
    padding: 15px;
  }
  .demo-bar {
    font-size: 9px;
  }
  .form-body {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kanban {
    grid-template-columns: 1fr;
  }
  .calendar-grid {
    padding: 5px;
  }
  .calendar-cell {
    padding: 5px;
    min-height: 80px;
    overflow: hidden;
  }
  .calendar-cell button {
    font-size: 8px;
  }
  .header-actions .mail {
    display: none;
  }
  footer {
    font-size: 8px;
  }
}
@media (min-width: 1201px) and (max-width: 1400px) {
  .donut-layout {
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }
  .revenue-key {
    width: 100%;
    gap: 10px;
  }
  .kpi {
    padding: 15px 12px;
  }
  .kpi-foot {
    flex-wrap: wrap;
  }
  .growth {
    white-space: nowrap;
  }
  .kpi-value {
    font-size: 20px;
  }
}
