/* Local assets only: the workspace remains usable without a CDN. */
:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #252641;
  background: #f6f7fb;
  font-synthesis: none;
  --purple: #6857db;
  --muted: #8b8da3;
  --line: #ececf4;
  --green: #29a382;
}
* {
  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:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: var(--purple);
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.3;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
p {
  line-height: 1.6;
}
.sidebar {
  width: 236px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px 18px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.8px;
  padding: 0 10px;
}
.brand-logo {
  background: var(--purple);
  color: white;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px #6857db30;
}
.brand-logo svg {
  width: 24px;
  height: 24px;
}
.brand span:last-child {
  color: var(--purple);
}
.brand-sub {
  font-size: 10px;
  color: #aaaabd;
  letter-spacing: 1.7px;
  margin: 8px 0 35px 57px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #aaaabd;
  font-weight: 650;
  margin: 15px 14px 10px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  text-align: left;
  color: #85859b;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 550;
}
.nav:hover {
  background: #f7f5ff;
  color: var(--purple);
}
.nav.active {
  background: #efecfe;
  color: var(--purple);
}
.nav .count {
  margin-left: auto;
  background: white;
  color: var(--purple);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11px;
}
.sidebar-bottom {
  margin-top: auto;
}
.workspace-note {
  background: #f8f7fe;
  border: 1px solid #eeeafc;
  border-radius: 12px;
  padding: 14px;
  margin: 22px 3px 12px;
}
.workspace-note p {
  font-size: 11px;
  color: #9290a7;
  margin-top: 6px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #36b491;
  border-radius: 50%;
  margin-right: 6px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 4px 0;
  margin-top: 16px;
}
.avatar {
  width: 36px;
  height: 36px;
  background: #e9e5fb;
  color: #7461bf;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 650;
  font-size: 12px;
  flex-shrink: 0;
}
.profile strong {
  display: block;
  font-size: 12px;
}
.profile small {
  text-transform: capitalize;
  font-size: 10px;
}
.profile button {
  margin-left: auto;
  color: #aaa;
}
.main {
  margin-left: 236px;
}
.topbar {
  height: 82px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 38px;
  gap: 22px;
}
.breadcrumbs {
  font-size: 12px;
  color: #a1a0b4;
  white-space: nowrap;
}
.breadcrumbs span {
  color: #4e4e67;
  margin-left: 10px;
}
.top-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fc;
  border: 1px solid #f0f0f5;
  border-radius: 8px;
  padding: 9px 12px;
  width: 285px;
  color: #a6a7b8;
}
.top-search input {
  border: 0;
  background: none;
  width: 100%;
  font-size: 11px;
  outline: none;
}
.key {
  font-size: 10px;
  background: #fff;
  border: 1px solid #e8e8f1;
  border-radius: 4px;
  padding: 1px 4px;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  color: #8c8ca3;
}
.icon-btn:hover {
  background: #f1eefc;
}
.notification-dot {
  position: absolute;
  right: 8px;
  top: 7px;
  width: 5px;
  height: 5px;
  background: #f09c77;
  border: 1px solid white;
  border-radius: 50%;
}
.content {
  padding: 31px 38px 45px;
  max-width: 1700px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 20px;
}
.page-head p {
  font-size: 12px;
  color: #9393aa;
  margin-top: 8px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--purple);
  font-weight: 650;
  margin-bottom: 7px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  border: 1px solid #e5e5ee;
  background: #fff;
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 550;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px #2622410c;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
  box-shadow: 0 4px 9px #6857db25;
}
.btn.danger {
  color: #d86373;
}
.btn.small {
  font-size: 11px;
  padding: 7px 11px;
}
.filters {
  display: flex;
  gap: 10px;
  margin: 0 0 23px;
  flex-wrap: wrap;
  align-items: center;
}
.filters select,
.filters input {
  border: 1px solid #e6e6f0;
  background: #fff;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 11px;
  color: #797b93;
  min-width: 135px;
}
.filters .spacer {
  flex: 1;
}
.filter-note {
  font-size: 10px;
  color: #a1a2b5;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 23px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 20px 16px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9291a7;
  margin-bottom: 12px;
}
.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.purple {
  background: #eeeaff;
  color: #8370de;
}
.mint {
  background: #e5f8f0;
  color: #4aaf94;
}
.peach {
  background: #fff0e5;
  color: #dda372;
}
.blue {
  background: #e8f1ff;
  color: #729bde;
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.9px;
}
.stat-value .currency {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  margin-right: 4px;
  color: #9795ae;
}
.stat-foot {
  font-size: 10px;
  color: #a5a4b6;
  margin-top: 10px;
  display: flex;
  gap: 7px;
}
.positive {
  color: #40a78b;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 22px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 22px;
}
.card-head p {
  font-size: 10px;
  color: #a1a0b5;
  margin-top: 6px;
}
.link-btn {
  color: var(--purple);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-btn svg {
  width: 13px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 550;
  padding: 5px 9px;
  border-radius: 5px;
  background: #f1effb;
  color: #8a79bf;
  white-space: nowrap;
}
.badge.green {
  color: #4d9c83;
  background: #e9f7ef;
}
.badge.orange {
  color: #c99851;
  background: #fff5e5;
}
.badge.red {
  color: #d97b85;
  background: #fff0f2;
}
.badge.blue {
  color: #6797cf;
  background: #edf4ff;
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 22px 23px;
  gap: 10px;
}
.stage-tile {
  border: 1px solid #eeedf5;
  border-radius: 8px;
  padding: 13px 11px;
  text-align: left;
  position: relative;
  transition: background 0.2s;
}
.stage-tile:hover {
  background: #f8f6ff;
}
.stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: var(--c);
  display: inline-block;
  margin-right: 6px;
}
.stage-title {
  font-size: 10px;
  color: #9391a8;
  white-space: nowrap;
}
.stage-count {
  font-size: 22px;
  font-weight: 650;
  margin: 8px 0 4px;
}
.stage-money {
  font-size: 9px;
  color: #a6a4b7;
}
.stage-bar {
  height: 3px;
  background: #f1f0f7;
  margin-top: 12px;
  border-radius: 9px;
  overflow: hidden;
}
.stage-bar i {
  display: block;
  height: 100%;
  background: var(--c);
  border-radius: 9px;
}
.priority {
  border: 1px solid #f3e6dc;
  background: #fffcf9;
}
.priority .card-head {
  padding-bottom: 15px;
}
.priority h2 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.priority h2 svg {
  color: #db9b6d;
  width: 17px;
}
.priority-order {
  margin: 0 17px 11px;
  padding: 13px;
  background: #fff;
  border: 1px solid #f2e9e1;
  border-radius: 8px;
  cursor: pointer;
}
.priority-order .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.priority-order strong {
  font-size: 11px;
}
.priority-order p {
  font-size: 11px;
  color: #8e8997;
}
.priority-order small {
  font-size: 9px;
}
.priority-foot {
  font-size: 10px;
  color: #c39d7f;
  margin: 14px 20px 18px;
  line-height: 1.6;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #fbfbfd;
  border-block: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #a3a2b6;
  font-weight: 550;
  padding: 13px 16px;
}
td {
  padding: 15px 16px;
  font-size: 11px;
  color: #75768e;
  border-bottom: 1px solid #f2f2f7;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fdfcff;
}
td strong {
  color: #55566e;
  font-weight: 600;
}
td small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
td .order-link {
  color: #7e6ccc;
  font-weight: 600;
  font-size: 11px;
}
.check {
  accent-color: var(--purple);
  width: 13px;
  height: 13px;
  cursor: pointer;
}
.customer-cell {
  display: flex;
  gap: 9px;
  align-items: center;
}
.customer-cell .avatar {
  width: 29px;
  height: 29px;
  font-size: 9px;
  background: #f2eefc;
  color: #a18dc5;
}
.table-footer {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #a5a4b7;
}
.activity {
  padding: 0 22px 10px;
}
.activity-item {
  display: flex;
  gap: 12px;
  padding: 0 0 22px;
  position: relative;
}
.activity-item:not(:last-child):before {
  content: '';
  position: absolute;
  left: 13px;
  top: 28px;
  width: 1px;
  height: calc(100% - 27px);
  background: #eeecf7;
}
.activity-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-icon svg {
  width: 13px;
}
.activity-item p {
  font-size: 10px;
  color: #88849d;
  line-height: 1.7;
}
.activity-item strong {
  color: #67617b;
  font-weight: 550;
}
.activity-item small {
  font-size: 9px;
  color: #b0aabd;
}
.progress {
  height: 6px;
  background: #f0edf9;
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0;
}
.progress i {
  height: 100%;
  background: var(--purple);
  display: block;
  border-radius: 8px;
}
.team-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 22px;
}
.team-row:last-child {
  padding-bottom: 21px;
}
.team-row p {
  font-size: 11px;
}
.team-row small {
  font-size: 9px;
}
.team-row .score {
  margin-left: auto;
  color: #7d6cc5;
  font-size: 11px;
}
.bottom-caption {
  font-size: 10px;
  color: #b3afc2;
  text-align: center;
  margin-top: 10px;
}
.bulkbar {
  background: #eeebfc;
  border: 1px solid #e4defa;
  padding: 12px 15px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
}
.bulkbar select {
  padding: 7px;
  border: 1px solid #ddd6f4;
  border-radius: 6px;
  background: #fff;
  font-size: 11px;
}
.board {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 20px;
  min-height: 490px;
}
.board-column {
  min-width: 250px;
  width: 250px;
  background: #f0eff6;
  border-radius: 10px;
  padding: 13px;
}
.board-title {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 15px;
}
.job {
  background: white;
  border: 1px solid #e9e6f3;
  border-radius: 9px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: 0 2px 3px #2d204503;
}
.job h3 {
  font-size: 12px;
  margin: 10px 0 4px;
}
.job p {
  font-size: 10px;
  color: #9390a5;
}
.job-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  border-top: 1px solid #f3f0f8;
  padding-top: 12px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.padded {
  padding: 22px;
}
.empty {
  text-align: center;
  padding: 42px 20px;
  color: #a7a2b7;
  font-size: 12px;
}
.empty svg {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}
.note {
  background: #fff;
  min-height: 160px;
  padding: 20px;
  border: 1px solid #ebe8f3;
  border-radius: 10px;
  border-top: 3px solid #bdafe9;
}
.note:nth-child(3n + 2) {
  border-top-color: #efbb8f;
}
.note:nth-child(3n + 3) {
  border-top-color: #8ec6b6;
}
.note p {
  font-size: 12px;
  color: #8f889f;
  margin-top: 12px;
  white-space: pre-wrap;
}
.note.done {
  opacity: 0.55;
}
.note.done h3 {
  text-decoration: line-through;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #29233e66;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  animation: fade 0.15s;
}
.modal {
  background: white;
  border-radius: 17px;
  width: min(780px, 100%);
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 30px 100px #24173e33;
  animation: rise 0.2s;
}
.modal.wide {
  width: min(1000px, 100%);
}
.modal-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.modal-body {
  padding: 24px 26px;
}
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 17px 26px;
  background: #fcfbff;
  position: sticky;
  bottom: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: #80798f;
}
.field input,
.field textarea,
.field select,
.field-input {
  padding: 11px 12px;
  border: 1px solid #e5e0ef;
  border-radius: 7px;
  background: #fff;
  color: #50495e;
  width: 100%;
  font-size: 12px;
}
.field textarea {
  min-height: 75px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #a28ce0;
  outline: 2px solid #f0eafa;
}
.full {
  grid-column: 1/-1;
}
.section-label {
  font-size: 10px;
  letter-spacing: 1.1px;
  color: #a395b8;
  font-weight: 650;
  margin: 24px 0 14px;
}
.product-row {
  display: grid;
  grid-template-columns: 1fr 65px 110px 35px;
  gap: 9px;
  margin-bottom: 10px;
}
.product-row input,
.product-row select {
  min-width: 0;
  border: 1px solid #e5e0ef;
  padding: 9px;
  border-radius: 7px;
  font-size: 11px;
}
.summary-box {
  background: #f7f5fc;
  border-radius: 9px;
  padding: 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: #8e829f;
}
.summary-box strong {
  font-size: 17px;
  color: var(--purple);
}
.error {
  background: #fff1f2;
  color: #c76575;
  font-size: 12px;
  border-radius: 7px;
  padding: 10px 13px;
  margin-bottom: 14px;
}
.hidden {
  display: none !important;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: calc(50% + 90px);
  transform: translateX(-50%) translateY(80px);
  background: #32294c;
  color: white;
  box-shadow: 0 8px 40px #30204822;
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  transition: 0.25s;
  max-width: 80vw;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.detail-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.detail-top p {
  font-size: 12px;
  color: #9690a5;
  margin-top: 8px;
}
.detail-qr {
  width: 112px;
  height: 112px;
  border: 1px solid #eee8f6;
  border-radius: 9px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.detail-item small {
  font-size: 10px;
}
.detail-item p {
  font-size: 12px;
  margin-top: 5px;
  white-space: pre-wrap;
}
.timeline {
  margin-top: 15px;
  border-left: 2px solid #e8e1f5;
  margin-left: 7px;
  padding-left: 20px;
}
.timeline-item {
  margin-bottom: 17px;
  position: relative;
}
.timeline-item:before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  left: -25px;
  top: 5px;
  border-radius: 50%;
  background: #aa96dd;
  border: 2px solid white;
}
.timeline-item p {
  font-size: 12px;
}
.timeline-item small {
  font-size: 10px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: #6253cc;
  color: #fff;
  padding: 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-art:before,
.login-art:after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  right: -180px;
  top: 120px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  pointer-events: none;
}
.login-art:after {
  width: 700px;
  height: 700px;
  right: -280px;
  top: 20px;
}
.login-art .brand {
  color: white;
  padding: 0;
}
.login-art .brand span:last-child {
  color: #dad3ff;
}
.login-art h1 {
  font-size: 48px;
  max-width: 460px;
  line-height: 1.2;
  letter-spacing: -2px;
}
.login-art p {
  color: #c7bfee;
  font-size: 14px;
  max-width: 350px;
  margin-top: 22px;
}
.login-art small {
  color: #c4bbed;
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcfbff;
  padding: 40px;
}
.login-form form {
  width: 340px;
}
.login-form h1 {
  font-size: 27px;
}
.login-form p {
  font-size: 12px;
  color: #9a90aa;
  margin: 10px 0 30px;
}
.login-form .field {
  margin-bottom: 18px;
}
.login-form .btn {
  width: 100%;
  margin-top: 5px;
}
.demo-logins {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.demo-logins button {
  font-size: 10px;
  color: #9685bb;
  border: 1px solid #e7dff4;
  border-radius: 5px;
  padding: 7px;
  flex: 1;
}
.login-note {
  border: 1px solid #ece5f6;
  border-radius: 8px;
  padding: 13px;
  font-size: 10px;
  color: #a093b3;
  margin-top: 27px;
  line-height: 1.7;
}
.tracking-page {
  max-width: 640px;
  margin: 60px auto;
  padding: 20px;
}
.tracking-page .brand {
  margin-bottom: 35px;
}
.report-chart {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  height: 180px;
  padding: 20px 0;
}
.chart-col {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: #9b8eae;
}
.chart-col i {
  display: block;
  background: #b4a4e9;
  border-radius: 5px 5px 0 0;
  min-height: 3px;
  margin: 8px auto;
  width: 70%;
}
.chart-col b {
  font-size: 10px;
  font-weight: 500;
}
.setting-template {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.setting-template .field {
  margin-top: 9px;
}
.setting-template textarea {
  min-height: 55px;
}
.settings-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.settings-tabs button {
  padding: 12px;
  font-size: 12px;
  color: #91829e;
}
.settings-tabs button.active {
  color: var(--purple);
  border-bottom: 2px solid var(--purple);
}
.form-help {
  font-size: 10px;
  color: #a596b4;
  line-height: 1.7;
}
.overdue {
  color: #cd8694;
}
.page-head .heading-icon {
  display: none;
}
.mobile-menu {
  display: none;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes rise {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 1500px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .pipeline {
    gap: 15px;
  }
  .stage-tile {
    padding: 16px;
  }
  .stats {
    gap: 22px;
  }
  .content {
    padding-top: 35px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding-inline: 13px;
  }
  .main {
    margin-left: 205px;
  }
  .content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .dashboard-aside .card {
    margin-bottom: 0;
  }
  .dashboard-aside .card:last-child {
    display: none;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 24px;
  }
  .top-search {
    width: 225px;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    width: 230px;
    box-shadow: 0 0 0 100vw #20173555;
  }
  .main {
    margin-left: 0;
  }
  .mobile-menu {
    display: block;
  }
  .topbar {
    height: 65px;
    padding: 0 15px;
    gap: 10px;
  }
  .breadcrumbs {
    display: none;
  }
  .top-search {
    width: auto;
    flex: 1;
  }
  .content {
    padding: 24px 16px;
  }
  .page-head {
    align-items: flex-start;
  }
  .page-head h1 {
    font-size: 24px;
  }
  .page-head .actions .btn:not(.primary) {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-top {
    font-size: 10px;
  }
  .pipeline {
    grid-template-columns: 1fr 1fr;
    padding-inline: 15px;
  }
  .dashboard-aside,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-head {
    padding: 18px 20px;
  }
  .bulkbar {
    flex-wrap: wrap;
  }
  .product-row {
    grid-template-columns: 1fr 50px 75px 25px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .login-form {
    min-height: 100vh;
    padding: 30px;
  }
  .summary-box {
    flex-wrap: wrap;
  }
  .filters input,
  .filters select {
    min-width: 0;
    max-width: 48%;
  }
  #toast {
    left: 50%;
  }
  .detail-top {
    gap: 10px;
  }
  .detail-qr {
    width: 90px;
    height: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .no-print {
    display: none !important;
  }
}
.dashboard-grid > *,
.grid-2 > *,
.grid-3 > *,
.main,
.content {
  min-width: 0;
}
@media (max-width: 760px) {
  .sidebar {
    transition: none;
  }
  .page-head > div:first-child {
    min-width: 0;
  }
  .page-head .actions {
    flex-shrink: 0;
  }
  .top-search {
    min-width: 0;
  }
  .top-search input {
    min-width: 0;
  }
  .card table {
    min-width: 580px;
  }
  .card:has(> table) {
    overflow-x: auto;
  }
}
