* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --purple: #5b247e;
  --purple2: #7b3aa1;
  --purple3: #35134c;
  --orange: #ef7d19;
  --bg: #f1f2f6;
  --surface: #fff;
  --line: #e2e5ec;
  --text: #252735;
  --muted: #818696;
  --green: #2f8b58;
  --red: #c94242;
  --blue: #3978bc;
  --yellow: #c68422;
  --soft-purple: #f0e7f6;
  --soft-orange: #fff0e3;
  --soft-green: #e7f5ec;
  --soft-red: #ffeded;
  --sidebar: 248px;
  --topbar: 60px;
}
html {
  background: var(--bg);
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.45 Segoe UI,
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
.hidden {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.loading-screen,
.auth-screen {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 0, #f3e8f8 0, #faf9fb 45%, #eef0f4);
}
.auth-card {
  width: min(430px, 100%);
  padding: 30px;
  border: 1px solid #e4dbe9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 65px #361e4421;
  text-align: center;
}
.auth-card.compact {
  width: 340px;
}
.auth-logo {
  width: 185px;
  height: 92px;
  margin: 0 auto 14px;
  display: block;
  object-fit: contain;
}
.auth-card h1 {
  font-size: 22px;
  margin: 5px 0 6px;
  color: var(--purple3);
}
.auth-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 17px;
}
.auth-card label {
  display: block;
  text-align: left;
  color: #5d6170;
  font-size: 12px;
  font-weight: 650;
  margin: 11px 0 5px;
}
.auth-card input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #fafbfc;
  color: var(--text);
}
.auth-card input:focus {
  border-color: #a97ac1;
  box-shadow: 0 0 0 3px #f2eafa;
}
.auth-card .btn {
  width: 100%;
  height: 42px;
  margin-top: 14px;
}
.auth-switch {
  margin-top: 9px;
  border: 0;
  background: none;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
}
.auth-link {
  display: inline-block;
  margin-top: 13px;
  color: var(--blue);
  font-size: 12px;
}
.message {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--soft-red);
  color: var(--red);
  font-size: 12px;
  text-align: left;
}
.message.ok {
  background: var(--soft-green);
  color: var(--green);
}
.waiting-icon {
  width: 56px;
  height: 56px;
  margin: 8px auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--soft-orange);
  color: var(--orange);
  font-size: 27px;
}
.account-box {
  margin: 18px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fafbfc;
  text-align: left;
}
.account-box b,
.account-box small {
  display: block;
}
.account-box small {
  margin-top: 3px;
  color: var(--muted);
}
.spinner {
  width: 28px;
  height: 28px;
  margin: 10px auto 14px;
  border: 3px solid #eadff0;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#app {
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--line);
}
.brand {
  height: 94px;
  padding: 6px 15px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand img {
  width: 170px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}
.brand span {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.7px;
}
.org-card {
  margin: 12px 13px 5px;
  padding: 10px 12px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
}
.org-card .org-mark {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #ffffff2e;
  font-weight: 800;
}
.org-card b,
.org-card small {
  display: block;
}
.org-card b {
  font-size: 12.5px;
}
.org-card small {
  margin-top: 2px;
  font-size: 10px;
  opacity: 0.82;
}
.nav-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 5px 0 10px;
}
.nav-group {
  padding: 13px 20px 5px;
  color: #9a9eaa;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.nav-link {
  width: calc(100% - 24px);
  min-height: 38px;
  margin: 2px 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #565c6c;
  text-align: left;
  font-size: 13px;
  transition: 0.12s;
}
.nav-link:hover {
  background: #f7f4f9;
  color: var(--purple);
}
.nav-link.active {
  background: var(--soft-purple);
  color: var(--purple);
  font-weight: 700;
}
.nav-link .ico {
  width: 18px;
  height: 18px;
  display: grid;
  flex: 0 0 18px;
  place-items: center;
}
.nav-link .ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-link .count {
  margin-left: auto;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}
.sidebar-user {
  padding: 11px 13px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 35px 1fr 28px;
  align-items: center;
  gap: 8px;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft-purple);
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
}
.sidebar-user b,
.sidebar-user small {
  display: block;
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-user b {
  font-size: 11px;
}
.sidebar-user small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}
.icon-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #656a78;
}
.sidebar-close {
  display: none;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  height: var(--topbar);
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fffffff5;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.menu-btn {
  display: none;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb b {
  color: var(--text);
}
.search {
  position: relative;
  flex: 1;
  max-width: 420px;
}
.search input {
  width: 100%;
  height: 35px;
  padding: 0 12px 0 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  outline: none;
  background: var(--bg);
  font-size: 12px;
}
.search input:focus {
  border-color: #bca3c9;
  background: #fff;
}
.search span {
  position: absolute;
  left: 12px;
  top: 7px;
  color: #9a9daa;
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.sync {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}
.sync.loading {
  background: var(--soft-orange);
  color: var(--yellow);
}
.content {
  max-width: 1520px;
  margin: 0 auto;
  padding: 20px 22px 44px;
}
.view {
  display: grid;
  gap: 15px;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 122px;
  padding: 21px 24px;
  border-radius: 19px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(
    115deg,
    var(--purple3),
    var(--purple) 70%,
    #8750a3
  );
  color: #fff;
}
.hero:after {
  content: "";
  position: absolute;
  right: -30px;
  top: -70px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px #ffffff0d,
    0 0 0 68px #ffffff09;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 21px;
  margin-bottom: 5px;
}
.hero p {
  font-size: 12px;
  opacity: 0.82;
}
.hero .today {
  margin-left: auto;
  text-align: right;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.page-head {
  min-height: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.page-head h1 {
  font-size: 22px;
  color: var(--purple3);
}
.page-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  min-height: 37px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--purple);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px #5b247e24;
}
.btn:hover {
  filter: brightness(0.97);
}
.btn.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: #59606f;
  box-shadow: none;
}
.btn.orange {
  background: var(--orange);
}
.btn.green {
  background: var(--green);
}
.btn.red {
  background: var(--red);
}
.btn.small {
  min-height: 29px;
  padding: 0 9px;
  font-size: 10px;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.kpi {
  min-height: 101px;
  padding: 16px 17px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8e9ef;
  box-shadow: 0 2px 11px #2d283909;
  position: relative;
  overflow: hidden;
}
.kpi:after {
  content: "";
  position: absolute;
  right: -23px;
  bottom: -27px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--soft-purple);
}
.kpi.orange:after {
  background: var(--soft-orange);
}
.kpi.green:after {
  background: var(--soft-green);
}
.kpi.blue:after {
  background: #e7f0fa;
}
.kpi > * {
  position: relative;
  z-index: 1;
}
.kpi .label {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.55px;
}
.kpi strong {
  display: block;
  margin: 7px 0 4px;
  font-size: 25px;
  line-height: 1;
  color: var(--purple3);
}
.kpi small {
  color: var(--muted);
  font-size: 10.5px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7e8ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 11px #2d283909;
}
.panel-head {
  min-height: 58px;
  padding: 13px 16px;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.panel-head h2 {
  font-size: 14px;
  color: var(--purple3);
}
.panel-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
}
.panel-head button.link {
  padding: 3px;
  border: 0;
  background: none;
  color: var(--purple);
  font-size: 10.5px;
  font-weight: 700;
}
.panel-body {
  padding: 15px 16px;
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.pipeline-step {
  padding: 12px;
  border-radius: 11px;
  background: #f8f6f9;
  border: 1px solid #ece8ef;
}
.pipeline-step span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.pipeline-step strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  color: var(--purple);
}
.list {
  display: grid;
}
.list-row {
  min-height: 55px;
  padding: 9px 15px;
  border-bottom: 1px solid #eef0f4;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 9px;
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row b,
.list-row small {
  display: block;
}
.list-row b {
  font-size: 12px;
}
.list-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.list-row time {
  color: var(--purple);
  font-size: 10.5px;
  font-weight: 700;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--soft-orange);
}
.empty {
  min-height: 150px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
  color: var(--muted);
}
.empty .empty-icon {
  font-size: 30px;
  opacity: 0.65;
}
.empty b {
  color: #555b68;
  font-size: 12px;
}
.empty span {
  font-size: 11px;
}
.toolbar {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.toolbar input,
.toolbar select {
  height: 35px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
  outline: none;
  font-size: 11.5px;
}
.toolbar input {
  min-width: 230px;
  flex: 1;
}
.toolbar .spacer {
  margin-left: auto;
}
.table-card {
  overflow: auto;
  border: 1px solid #e6e8ee;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2px 10px #2d283908;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}
th,
td {
  height: 50px;
  padding: 9px 12px;
  border-bottom: 1px solid #eef0f4;
  white-space: nowrap;
  text-align: left;
}
th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 39px;
  background: #f8f9fb;
  color: #8b8f9d;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}
tbody tr:hover td {
  background: #fbf9fc;
}
td.money {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #b45618;
}
.person {
  display: flex;
  align-items: center;
  gap: 8px;
}
.person b,
.person small {
  display: block;
}
.person small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
}
.status {
  min-height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 700;
  background: #edf0f4;
  color: #646a78;
}
.status.green {
  background: var(--soft-green);
  color: var(--green);
}
.status.orange {
  background: var(--soft-orange);
  color: #ad631a;
}
.status.red {
  background: var(--soft-red);
  color: var(--red);
}
.status.purple {
  background: var(--soft-purple);
  color: var(--purple);
}
.status.blue {
  background: #e7f0fa;
  color: var(--blue);
}
.inline-select {
  height: 30px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #565b68;
  font-size: 10px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.kanban-col {
  min-height: 430px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #e9ebf0;
}
.kanban-head {
  height: 34px;
  padding: 0 3px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
}
.kanban-head span {
  min-width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #6b707e;
  font-size: 9px;
}
.task-card {
  margin-bottom: 9px;
  padding: 12px;
  border: 1px solid #e3e4e9;
  border-radius: 11px;
  background: #fff;
}
.task-card h3 {
  margin: 8px 0 4px;
  font-size: 12px;
}
.task-card p {
  color: var(--muted);
  font-size: 10px;
}
.task-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f7481;
  font-size: 9.5px;
}
.priority {
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--soft-orange);
  color: #ad631a;
  font-size: 9px;
  font-weight: 800;
}
.priority.urgent,
.priority.high {
  background: var(--soft-red);
  color: var(--red);
}
.priority.low {
  background: var(--soft-green);
  color: var(--green);
}
.schedule {
  display: grid;
  gap: 9px;
}
.schedule-row {
  min-height: 65px;
  padding: 10px 12px;
  border: 1px solid #e6e8ee;
  border-left: 4px solid var(--purple);
  border-radius: 11px;
  background: #fff;
  display: grid;
  grid-template-columns: 95px 1fr auto;
  align-items: center;
  gap: 12px;
}
.schedule-row.orange {
  border-left-color: var(--orange);
}
.schedule-row.green {
  border-left-color: var(--green);
}
.schedule-row time {
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
}
.schedule-row b,
.schedule-row small {
  display: block;
}
.schedule-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.progress {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: #e9eaf0;
}
.progress i {
  height: 100%;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), #985eb8);
}
.report-bars {
  height: 260px;
  padding: 25px 25px 15px;
  display: flex;
  align-items: flex-end;
  gap: 15px;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 49px,
    #eef0f4 50px
  );
}
.report-bars > div {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
}
.report-bars i {
  width: min(45px, 70%);
  min-height: 3px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(to top, var(--purple), #a66fc0);
}
.academy-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.academy-card .num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--soft-purple);
  color: var(--purple);
  font-weight: 800;
}
.academy-card h3 {
  margin: 12px 0 5px;
  font-size: 14px;
}
.academy-card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.approval-row {
  min-height: 69px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef0f4;
  display: grid;
  grid-template-columns: 38px minmax(180px, 1fr) 170px auto auto;
  align-items: center;
  gap: 9px;
}
.approval-row:last-child {
  border-bottom: 0;
}
.approval-row select {
  height: 33px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 10.5px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 18px;
  display: grid;
  place-items: center;
  background: #2116286e;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal {
  width: min(650px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 25px 80px #1e122647;
}
.modal-head {
  height: 67px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h2 {
  font-size: 17px;
  color: var(--purple3);
}
.modal-form {
  padding: 17px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-form label {
  display: grid;
  gap: 5px;
  color: #5d6270;
  font-size: 10.5px;
  font-weight: 700;
}
.modal-form label.full {
  grid-column: 1/-1;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  min-height: 39px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #fafbfc;
  font-size: 11.5px;
}
.modal-form textarea {
  min-height: 78px;
  resize: vertical;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: #ac84c0;
  box-shadow: 0 0 0 3px #f2eafa;
}
.modal-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: #fafbfc;
}
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  min-height: 42px;
  max-width: 360px;
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  background: #2e2932;
  color: #fff;
  box-shadow: 0 12px 30px #180f1d3b;
  font-size: 11px;
}
.toast.ok {
  background: #287a4d;
}
.toast.error {
  background: #a93636;
}
@media (max-width: 1100px) {
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .search {
    display: none;
  }
  .pipeline {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow: auto;
  }
  .kanban {
    grid-template-columns: repeat(3, 270px);
    overflow: auto;
  }
}
@media (max-width: 900px) {
  #app {
    grid-template-columns: 1fr;
  }
  .sidebar {
    transform: translate(-105%);
    transition: 0.2s;
  }
  .sidebar.open {
    transform: translate(0);
  }
  .sidebar-close {
    display: grid;
    margin-left: auto;
  }
  .sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
    border: 0;
    background: #1e142461;
  }
  .main {
    grid-column: 1;
  }
  .menu-btn {
    display: grid;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .approval-row {
    grid-template-columns: 38px 1fr;
  }
  .approval-row select,
  .approval-row .btn {
    grid-column: auto;
  }
  .topbar {
    padding: 0 13px;
  }
  .content {
    padding: 16px 13px 35px;
  }
}
@media (max-width: 650px) {
  .auth-screen,
  .loading-screen {
    padding: 13px;
  }
  .auth-card {
    padding: 25px 19px;
  }
  .hero {
    min-height: 140px;
    padding: 19px;
    align-items: flex-start;
  }
  .hero .today {
    display: none;
  }
  .page-head {
    align-items: flex-start;
  }
  .page-head h1 {
    font-size: 19px;
  }
  .kpis {
    gap: 9px;
  }
  .kpi {
    min-height: 112px;
    padding: 13px;
  }
  .kpi strong {
    font-size: 21px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .toolbar input {
    min-width: 100%;
  }
  .schedule-row {
    grid-template-columns: 75px 1fr;
  }
  .schedule-row > .status {
    display: none;
  }
  .modal-form {
    grid-template-columns: 1fr;
  }
  .modal-form label.full {
    grid-column: auto;
  }
  .top-actions .sync {
    display: none;
  }
  .breadcrumb {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 430px) {
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .kpi {
    min-height: 105px;
  }
  .kpi small {
    display: none;
  }
  .top-actions .btn {
    width: 37px;
    padding: 0;
    font-size: 0;
  }
  .top-actions .btn span {
    font-size: 16px;
  }
  .approval-row .btn {
    min-height: 34px;
  }
  .hero h1 {
    font-size: 19px;
  }
}
