:root {
  color: #172a31;
  --nav: #142e38;
  --lime: #c7ed53;
  --line: #dfe8ea;
  background: #f3f6f7;
  font-family: Inter, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.shell {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  background: var(--nav);
  color: #9db1b8;
  flex-direction: column;
  width: 245px;
  padding: 24px 16px;
  display: flex;
}
.brand {
  color: #fff;
  align-items: center;
  gap: 10px;
  margin: 0 8px 30px;
  display: flex;
}
.brand > b,
.login-logo {
  background: var(--lime);
  width: 35px;
  height: 35px;
  color: var(--nav);
  border-radius: 9px;
  place-items: center;
  font-size: 20px;
  display: grid;
}
.brand strong,
.brand small {
  letter-spacing: 0.13em;
  display: block;
}
.brand small {
  color: #789098;
  font-size: 8px;
}
.online {
  border: 1px solid #34525b;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 11px;
  font-size: 11px;
}
.online i {
  background: var(--lime);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
}
.sidebar nav {
  gap: 3px;
  display: grid;
}
.sidebar nav button {
  color: #9db1b8;
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 8px;
  padding: 11px;
}
.sidebar nav button.active,
.sidebar nav button:hover {
  color: #fff;
  background: #294852;
}
.sidebar nav span {
  width: 28px;
  font-size: 16px;
  display: inline-block;
}
.account {
  border-top: 1px solid #294852;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  display: grid;
}
.account small {
  display: block;
}
.account button {
  color: #93a9b0;
  cursor: pointer;
  background: 0 0;
  border: 0;
}
.avatar {
  color: #294852;
  background: #dce9eb;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 700;
  display: grid;
}
.content {
  flex: 1;
  padding: 32px 40px;
  overflow: auto;
}
.top {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px;
  display: flex;
}
.top small {
  letter-spacing: 0.13em;
  color: #8b9ba1;
  font-weight: 700;
}
.top h1 {
  margin: 7px 0 0;
  font-size: 30px;
}
.primary {
  background: var(--lime);
  color: #203941;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 800;
}
.hero {
  color: #fff;
  background: linear-gradient(110deg, #1c3b45, #2c5962);
  border-radius: 14px;
  padding: 29px 33px;
}
.hero small {
  letter-spacing: 0.14em;
  color: #a9bec3;
}
.hero h2 {
  margin: 13px 0 7px;
  font-size: 30px;
}
.hero em {
  color: var(--lime);
  font-style: normal;
}
.hero p {
  color: #adc0c5;
}
.stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 14px 0;
  display: grid;
}
.stats article,
.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 18px;
}
.stats span {
  color: #829198;
  font-size: 10px;
  display: block;
}
.stats b {
  margin-top: 6px;
  font-size: 27px;
  display: block;
}
.panel h3 {
  margin-top: 0;
}
.bar {
  grid-template-columns: 150px 1fr 35px;
  align-items: center;
  gap: 10px;
  margin: 11px 0;
  display: grid;
}
.bar i {
  background: #e8eeee;
  border-radius: 7px;
  height: 9px;
  overflow: hidden;
}
.bar i b {
  background: var(--lime);
  height: 100%;
  display: block;
}
.toolbar {
  justify-content: space-between;
  margin-bottom: 15px;
  display: flex;
}
.toolbar input {
  border: 1px solid var(--line);
  border-radius: 8px;
  width: min(380px, 70%);
  padding: 10px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid #edf1f2;
  padding: 12px 9px;
  font-size: 12px;
}
th {
  color: #8b9ba1;
  font-size: 9px;
}
.link {
  cursor: pointer;
  color: #244953;
  background: 0 0;
  border: 0;
  font-weight: 700;
}
.status {
  color: #678315;
  background: #eff6dc;
  border-radius: 12px;
  padding: 5px 8px;
}
.danger {
  color: #a94b4b;
  cursor: pointer;
  background: #fff0f0;
  border: 0;
  border-radius: 6px;
  padding: 6px 8px;
}
.empty {
  text-align: center;
  color: #8b9ba1;
  padding: 50px;
}
.modal {
  z-index: 20;
  background: #10232a88;
  justify-content: flex-end;
  display: flex;
  position: fixed;
  inset: 0;
}
.modal form {
  background: #f7f9f9;
  width: min(620px, 100%);
  height: 100%;
  padding: 25px;
  overflow: auto;
}
.modal header,
.modal footer {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.modal header button {
  background: 0 0;
  border: 0;
  font-size: 26px;
}
.fields {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 25px 0;
  display: grid;
}
.fields label {
  color: #73868d;
  font-size: 10px;
  font-weight: 800;
}
.fields input,
.fields textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  display: block;
}
.fields textarea {
  min-height: 110px;
}
.wide {
  grid-column: 1/-1;
}
.modal footer {
  justify-content: flex-end;
  gap: 8px;
}
.modal footer button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 14px;
}
.conflict,
.error {
  color: #9a651d;
  background: #fff0dd;
  border-radius: 8px;
  margin: 12px 0;
  padding: 12px;
}
.conflict pre {
  background: #fff;
  max-height: 180px;
  padding: 9px;
  overflow: auto;
}
.login {
  background: linear-gradient(130deg, #132d37, #28535c);
  place-items: center;
  min-height: 100vh;
  display: grid;
}
.login form {
  background: #fff;
  border-radius: 16px;
  width: min(390px, 92%);
  padding: 32px;
}
.login-logo {
  margin-bottom: 16px;
}
.login h1 {
  margin: 0;
}
.login p {
  color: #789098;
}
.login label {
  margin: 14px 0;
  font-size: 11px;
  font-weight: 800;
  display: block;
}
.login input {
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  display: block;
}
.login .primary {
  width: 100%;
  margin-top: 8px;
}
@media (width<=760px) {
  .sidebar {
    width: 72px;
    padding: 18px 8px;
  }
  .brand div,
  .online,
  .sidebar nav button:not(.active) {
    font-size: 0;
  }
  .brand {
    margin-left: 9px;
  }
  .sidebar nav button {
    text-align: center;
    font-size: 0;
  }
  .sidebar nav span {
    width: auto;
    font-size: 20px;
  }
  .account > div:not(.avatar),
  .account button {
    display: none;
  }
  .account {
    grid-template-columns: 1fr;
  }
  .content {
    padding: 20px 14px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .bar {
    grid-template-columns: 100px 1fr 30px;
  }
}
.drone-card-hero {
  color: #fff;
  background: #173943;
  border-radius: 12px;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  margin: 18px 0;
  padding: 14px;
  display: grid;
}
.drone-photo {
  text-align: center;
  color: #91a7ad;
  border: 1px dashed #6d8a91;
  border-radius: 9px;
  place-items: center;
  height: 120px;
  font-size: 10px;
  display: grid;
  overflow: hidden;
}
.drone-photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.drone-card-hero small {
  color: #a9bdc2;
  letter-spacing: 0.12em;
  font-size: 8px;
}
.drone-card-hero p {
  color: #b7c8cc;
  margin: 7px 0;
  font-size: 10px;
}
.quick-status {
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 12px;
  display: flex;
}
.quick-status button {
  color: #d6e1e3;
  background: #244953;
  border: 1px solid #45636b;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 9px;
}
.quick-status button.active {
  background: var(--lime);
  color: #173943;
  border-color: var(--lime);
}
.part-picks,
.user-picks {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 7px;
  display: grid;
}
.part-picks label,
.user-picks label {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 8px;
  display: grid;
}
.part-picks input,
.user-picks input {
  width: auto;
  margin: 0;
}
.part-picks small,
.user-picks small {
  color: #93a1a6;
}
.related-list {
  gap: 8px;
  margin: 20px 0;
  display: grid;
}
.related-list article,
.related-list a {
  border: 1px solid var(--line);
  color: #294953;
  background: #fff;
  border-radius: 9px;
  grid-template-columns: 1fr auto;
  gap: 5px;
  padding: 12px;
  text-decoration: none;
  display: grid;
}
.related-list small {
  color: #87969b;
  grid-column: 1/-1;
}
.upload-button {
  background: var(--lime);
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  margin: 20px 0 10px;
  padding: 11px;
  font-size: 11px;
  font-weight: 800;
  display: block;
}
.upload-button input {
  display: none;
}
@media (width<=600px) {
  .drone-card-hero,
  .part-picks,
  .user-picks {
    grid-template-columns: 1fr;
  }
}
.drone-qr {
  background: #fff;
  border-radius: 8px;
  align-self: start;
  place-items: center;
  padding: 6px;
  display: grid;
}
.drone-qr img {
  width: 82px;
  height: 82px;
}
.drone-qr small {
  color: #294953;
  margin-top: 3px;
  font-size: 6px;
}
.drone-card-hero {
  grid-template-columns: 150px 1fr auto;
}
@media (width<=600px) {
  .drone-card-hero {
    grid-template-columns: 1fr;
  }
  .drone-qr {
    justify-self: start;
  }
}
:is(
  .content:has(> .screen-stack) > .top .header-buttons > .primary,
  .content:has(> .panel.screen-stack) > .top .header-buttons > .primary
) {
  display: none;
}
.screen-stack {
  gap: 14px;
  display: grid;
}
.panel-title {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  display: flex;
}
.panel-title h3 {
  margin: 4px 0 0;
}
.panel-title small {
  color: #87989d;
  letter-spacing: 0.13em;
  font-size: 8px;
}
.inline-form,
.stock-form {
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  display: grid;
}
.stock-form {
  grid-template-columns: repeat(3, 1fr);
}
.inline-form input,
.inline-form select,
.stock-form input,
.stock-form select,
.global-search input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}
.user-table,
.document-list,
.search-results {
  gap: 7px;
  display: grid;
}
.user-table article {
  border: 1px solid var(--line);
  border-radius: 9px;
  grid-template-columns: 36px 1fr 170px auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  display: grid;
}
.user-table small {
  color: #819096;
  display: block;
}
.user-table select,
.user-table button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 8px;
}
.document-list article {
  border-bottom: 1px solid #edf1f2;
  grid-template-columns: 1fr auto;
  gap: 4px;
  padding: 10px;
  display: grid;
}
.document-list small {
  color: #839398;
  grid-column: 1/-1;
}
.global-search {
  grid-template-columns: 1fr auto;
  gap: 8px;
  display: grid;
}
.search-results article {
  border: 1px solid var(--line);
  border-radius: 9px;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 11px;
  display: grid;
}
.search-results article > span {
  color: #71868d;
  background: #eef3f4;
  border-radius: 6px;
  height: max-content;
  padding: 6px;
  font-size: 9px;
}
.search-results small {
  color: #839398;
  margin-top: 4px;
  display: block;
}
.system-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}
.system-grid article {
  color: #fff;
  background: #173943;
  border-radius: 11px;
  padding: 18px;
}
.system-grid small,
.system-grid span {
  color: #9db3b8;
  display: block;
}
.system-grid b {
  margin: 8px 0;
  font-size: 25px;
  display: block;
}
@media (width<=900px) {
  .inline-form,
  .stock-form {
    grid-template-columns: 1fr 1fr;
  }
  .system-grid {
    grid-template-columns: 1fr;
  }
  .user-table article {
    grid-template-columns: 36px 1fr;
  }
  .user-table select,
  .user-table button {
    grid-column: 2;
  }
}
@media (width<=600px) {
  .inline-form,
  .stock-form,
  .global-search,
  .search-results article {
    grid-template-columns: 1fr;
  }
}
.registry-controls {
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
  display: flex;
}
.registry-controls select,
.registry-controls input,
.registry-controls button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 7px;
  font-size: 10px;
}
.registry-controls form {
  gap: 5px;
  display: flex;
}
.repair-form {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  display: grid;
}
.repair-form h3,
.repair-form .wide,
.repair-form > .primary {
  grid-column: 1/-1;
}
.repair-form label {
  color: #71858b;
  font-size: 9px;
  font-weight: 800;
}
.repair-form input,
.repair-form select,
.repair-form textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  width: 100%;
  margin-top: 5px;
  padding: 9px;
  display: block;
}
.repair-form textarea {
  min-height: 75px;
}
.related-list article p {
  color: #647980;
  grid-column: 1/-1;
  margin: 4px 0;
  font-size: 10px;
}
@media (width<=600px) {
  .repair-form {
    grid-template-columns: 1fr;
  }
  .repair-form h3,
  .repair-form .wide,
  .repair-form > .primary {
    grid-column: auto;
  }
}
.sidebar nav button span {
  white-space: nowrap;
}
.history-head {
  align-items: center;
  gap: 10px;
  display: flex;
}
.history-head small {
  color: #819197;
  margin-top: 3px;
  display: block;
}
.history-mark {
  color: #2a525c;
  background: #eff5f6;
  border-radius: 8px;
  place-items: center;
  width: 30px;
  height: 30px;
  font-weight: 900;
  display: grid;
}
.goods-history article {
  border-left: 3px solid var(--lime);
}
.history-changes {
  gap: 6px;
  margin: 11px 0 0 40px;
  display: grid;
}
.history-changes p {
  border-top: 1px solid #edf1f2;
  grid-template-columns: 125px minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin: 0;
  padding-top: 7px;
  font-size: 10px;
  display: grid;
}
.history-changes p > b {
  color: #72868c;
}
.history-changes p > span {
  color: #9a6b6b;
  text-decoration: line-through;
}
.history-changes p > i {
  color: #8da0a6;
  font-style: normal;
}
.history-changes p > strong {
  color: #294953;
}
@media (width<=600px) {
  .history-changes {
    margin-left: 0;
  }
  .history-changes p {
    grid-template-columns: 1fr auto 1fr;
  }
  .history-changes p > b {
    grid-column: 1/-1;
  }
}
.goods-stage-tabs,
.goods-status-picks {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}
.goods-stage-tabs {
  border-bottom: 1px solid var(--line);
  margin: 0 0 16px;
  padding-bottom: 15px;
}
.goods-stage-tabs button,
.goods-status-picks button {
  color: #5d737a;
  cursor: pointer;
  background: #f6f9f9;
  border: 1px solid #d9e3e5;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
}
.goods-stage-tabs button b {
  background: #e7edef;
  border-radius: 9px;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 5px;
  font-size: 9px;
  display: inline-grid;
}
.goods-stage-tabs button.active,
.goods-status-picks button.active {
  color: #fff;
  background: #173943;
  border-color: #173943;
}
.goods-status-picks {
  margin-top: 7px;
}
.goods-status-picks button[data-stage="0"].active {
  background: #5d6872;
  border-color: #5d6872;
}
.goods-status-picks button[data-stage="1"].active {
  background: #6652a3;
  border-color: #6652a3;
}
.goods-status-picks button[data-stage="2"].active {
  background: #bc7a22;
  border-color: #bc7a22;
}
.goods-status-picks button[data-stage="3"].active {
  background: #39815b;
  border-color: #39815b;
}
.goods-status-picks button[data-stage="4"].active {
  background: #277486;
  border-color: #277486;
}
.card-tabs {
  border-bottom: 1px solid var(--line);
  gap: 6px;
  margin-top: 18px;
  display: flex;
}
.card-tabs button {
  cursor: pointer;
  background: 0 0;
  border: 0;
  padding: 10px 13px;
}
.card-tabs button.active {
  color: #294b54;
  border-bottom: 3px solid var(--lime);
  font-weight: 800;
}
.card-tabs b {
  background: #e7eef0;
  border-radius: 10px;
  padding: 2px 6px;
}
.history-list {
  gap: 10px;
  margin: 20px 0;
  display: grid;
}
.history-list article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 13px;
}
.history-list small {
  color: #829198;
  margin-top: 4px;
  display: block;
}
.history-list details {
  margin-top: 10px;
}
.history-compare {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}
.history-compare pre {
  white-space: pre-wrap;
  background: #f3f6f7;
  max-height: 230px;
  padding: 9px;
  font-size: 10px;
  overflow: auto;
}
.fields select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  display: block;
}
.folder-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  margin-bottom: 14px;
  padding: 18px;
}
.folder-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}
.folder-head small {
  letter-spacing: 0.13em;
  color: #8b9ba1;
  font-weight: 800;
}
.folder-head h3 {
  margin: 5px 0 0;
}
.folder-head > span {
  color: #829198;
  font-size: 11px;
}
.folder-branch {
  position: relative;
}
.folder-row {
  border: 1px solid #e4eaec;
  border-left: 3px solid var(--lime);
  background: #f7f9f9;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  padding: 9px 11px;
  display: flex;
}
.folder-row > small {
  color: #829198;
}
.folder-actions {
  gap: 5px;
  margin-left: auto;
  display: flex;
}
.folder-actions button {
  border: 1px solid var(--line);
  cursor: pointer;
  color: #415b63;
  background: #fff;
  border-radius: 6px;
  padding: 6px 8px;
}
.folder-actions button:hover {
  background: #edf5d8;
}
@media (width<=700px) {
  .history-compare {
    grid-template-columns: 1fr;
  }
  .folder-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .folder-actions {
    width: 100%;
    margin-left: 0;
  }
  .folder-head > span {
    display: none;
  }
}
.header-buttons {
  gap: 8px;
  display: flex;
}
.header-buttons > button:not(.primary) {
  border: 1px solid var(--line);
  color: #405860;
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  padding: 10px 13px;
  font-weight: 700;
}
@media (width<=600px) {
  .header-buttons {
    flex-wrap: wrap;
    margin-top: 12px;
  }
  .top {
    display: block;
  }
}
.old-task-view {
  padding: 2px;
}
.old-task-head {
  justify-content: space-between;
  align-items: center;
  margin: 0 0 14px;
  display: flex;
}
.old-task-head small {
  color: #8a999e;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 800;
  display: block;
}
.old-task-head h3 {
  margin: 0;
  font-size: 16px;
}
.old-task-head > span {
  color: #7f8e93;
  font-size: 10px;
}
.task-board {
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  align-items: start;
  gap: 12px;
  padding-bottom: 8px;
  display: grid;
  overflow-x: auto;
}
.task-column {
  background: #edf2f3;
  border-radius: 11px;
  min-height: 420px;
  padding: 12px;
}
.task-column-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
}
.task-column-head b {
  background: #dfe6e8;
  border-radius: 12px;
  padding: 3px 7px;
}
.task-card {
  cursor: pointer;
  background: #fff;
  border: 1px solid #dde6e8;
  border-radius: 9px;
  margin-bottom: 9px;
  padding: 13px;
  transition:
    border-color 0.15s,
    transform 0.15s;
  box-shadow: 0 3px 9px #18303909;
}
.task-card:hover {
  border-color: #c5dd75;
  transform: translateY(-1px);
}
.task-card h4 {
  margin: 7px 0 8px;
  font-size: 13px;
}
.task-card p {
  color: #7b8b91;
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.45;
}
.task-meta {
  color: #849399;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  display: flex;
}
.task-meta .overdue {
  color: #b95047;
  font-weight: 800;
}
.priority {
  border-radius: 9px;
  padding: 3px 6px;
  font-size: 9px;
  display: inline-block;
}
.priority-high {
  color: #b04d45;
  background: #ffe2df;
}
.priority-normal {
  color: #668414;
  background: #e8f2d0;
}
.priority-low {
  color: #617680;
  background: #e8eef3;
}
.task-status-select {
  color: #405860;
  background: #fff;
  border: 1px solid #e1e8ea;
  border-radius: 6px;
  width: 100%;
  margin-top: 10px;
  padding: 7px;
  font-size: 10px;
}
.task-empty {
  text-align: center;
  color: #93a0a4;
  padding: 25px 5px;
  font-size: 11px;
}
@media (width<=640px) {
  .task-board {
    scroll-snap-type: x mandatory;
    grid-template-columns: repeat(4, 82vw);
    margin: 0 -15px;
    padding: 0 15px 15px;
  }
  .task-column {
    scroll-snap-align: start;
  }
  .old-task-head {
    padding: 0 2px;
  }
}
.task-filters {
  flex-wrap: wrap;
  gap: 6px;
  margin: -4px 0 14px;
  display: flex;
}
.task-filters button {
  color: #65777d;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dce5e7;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 10px;
}
.task-filters button.active {
  color: #fff;
  background: #183d47;
  border-color: #183d47;
  font-weight: 800;
}
.task-people {
  color: #829196;
  gap: 3px;
  margin: 9px 0;
  font-size: 9px;
  display: grid;
}
.task-people b {
  color: #526970;
}

/* Operational status palette: each color has one stable warehouse meaning. */
.status {
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
}
.status[data-status="Заказано"] {
  color: #52616b;
  background: #edf1f3;
  border-color: #d7e0e4;
}
.status[data-status="Оплачено"] {
  color: #6047a7;
  background: #eee9ff;
  border-color: #d9cff8;
}
.status[data-status="В пути"] {
  color: #9a5b06;
  background: #fff1cf;
  border-color: #f1d38c;
}
.status[data-status="На складе"] {
  color: #24704a;
  background: #dff4e8;
  border-color: #b9dfca;
}
.status[data-status="Выдано"] {
  color: #28667c;
  background: #dceff5;
  border-color: #b7d9e4;
}
.status[data-status="Не пришло"] {
  color: #a33b35;
  background: #ffe4e1;
  border-color: #efbbb5;
}
.status[data-status="Отменено"] {
  color: #5f666b;
  background: #e8ebed;
  border-color: #ccd2d5;
}
.goods-stage-tabs button[data-status="Заказано"].active {
  background: #52616b;
  border-color: #52616b;
}
.goods-stage-tabs button[data-status="Оплачено"].active {
  background: #6047a7;
  border-color: #6047a7;
}
.goods-stage-tabs button[data-status="В пути"].active {
  background: #b66c08;
  border-color: #b66c08;
}
.goods-stage-tabs button[data-status="На складе"].active {
  background: #24704a;
  border-color: #24704a;
}
.goods-stage-tabs button[data-status="Выдано"].active {
  background: #28667c;
  border-color: #28667c;
}
.goods-stage-tabs button[data-status="Не пришло"].active {
  background: #a33b35;
  border-color: #a33b35;
}
.goods-stage-tabs button[data-status="Отменено"].active {
  background: #5f666b;
  border-color: #5f666b;
}
