@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --jp-nav-width: 90px;
  --jp-topbar-height: 60px;
  --jp-workspace-height: calc(100vh - var(--jp-topbar-height));
  --jp-topbar-control-height: 28px;
  --jp-control-height: 34px;
  --jp-line-height-control: 18px;
  --jp-topbar-control-padding-x: 8px;
  --jp-topbar-group-padding-x: 10px;
  --jp-topbar-divider-gap: var(--jp-topbar-group-padding-x);
  --jp-app-min-width: 1180px;
  --jp-font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --jp-font-heading: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --jp-bg: #f6f7f8;
  --jp-surface: #ffffff;
  --jp-surface-muted: #f6f7f8;
  --jp-table-header-bg: #eef0f3;
  --jp-table-group-header-bg: #e5e8ec;
  --jp-table-outline: #9aa0a6;
  --jp-table-header-border: #b7bcc3;
  --jp-table-divider: #d9dce1;
  --jp-topbar-bg: #e5e6e7;
  --jp-surface-hover: #f9fafb;
  --jp-surface-inactive: #eceef1;
  --jp-surface-inactive-hover: #e2e5e9;
  --jp-border: #cbcccf;
  --jp-border-strong: #c8ccd2;
  --jp-border-soft: #eef0f3;
  --jp-workspace-divider: #8d9299;
  --jp-floating-panel-bg: #f7f8f9;
  --jp-floating-panel-border: #d9e0ea;
  --jp-floating-panel-shadow: 0 8px 24px rgba(18, 19, 22, 0.12);
  --jp-text: #1c1e21;
  --jp-text-muted: #5a5f66;
  --jp-text-secondary: #40464d;
  --jp-text-inverse: #ffffff;
  --jp-value-weight: 600;
  --jp-accent: #e0312b;
  --jp-accent-dark: #b92520;
  --jp-warning: #f97316;
  --jp-warning-bg: #fff3cd;
  --jp-interactive: #2563eb;
  --jp-interactive-hover: #3b82f6;
  --jp-interactive-muted: #eff6ff;
  --jp-interactive-border: #93c5fd;
  --jp-nav-bg: #121316;
  --jp-nav-bg-hover: #1c1e21;
  --jp-nav-border: #2d333d;
  --jp-warning-text: #7c4a03;
  --jp-status-inprogress: #65a30d;
  --jp-status-success: #16a34a;
  --jp-status-done: #166534;
  --jp-status-success-bg: #dff0d8;
  --jp-status-error-bg: #f2dede;
  --jp-status-error-border: #f3b3b3;
  --jp-status-info-bg: #d9edf7;
  --jp-cal-unscheduled: rgba(255, 223, 0, 0.21);
  --jp-cal-new: rgba(0, 255, 136, 0.15);
  --jp-overlay: rgba(15, 18, 23, 0.55);
  --jp-radius: 4px;
  --jp-radius-sm: 4px;
  --jp-shadow-sm: 0 2px 8px rgba(24, 28, 34, 0.08);
  --jp-card-shadow: 0 1px 4px rgba(18, 19, 22, 0.08);
  --jp-dropdown-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  --jp-button-shadow: 0 1px 3px rgba(0, 0, 0, 0.10);
  --jp-button-brand-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  --jp-border-hover: rgba(37, 99, 235, 0.60);
  --jp-focus: 0 0 8px 3px rgba(37, 99, 235, 0.16);
  --jp-focus-input: 0 0 4.8px 3px rgba(37, 99, 235, 0.16);
  --jp-popup-offset: 2px;
  --jp-duration: 0.16s;
  --jp-ease: ease;
  --jp-space-1: 4px;
  --jp-space-2: 8px;
  --jp-space-3: 12px;
  --jp-space-4: 16px;
  --jp-space-5: 20px;
  --jp-space-6: 24px;
  --jp-space-7: 32px;
  --jp-list-suborder-indent: 40px;
  --jp-text-sm: 12px;
  --jp-text-md: 13px;
  --jp-text-lg: 14px;
  --jp-text-xl: 16px;
  --jp-text-2xl: 18px;
  --jp-heading-md: 20px;
  --jp-modal-max-sm: 420px;
  --jp-modal-max-msm: 560px;
  --jp-modal-max-md: 760px;
  --jp-modal-max-lg: 1100px;
  --jp-modal-min-confirm: 360px;
  --jp-modal-max-confirm: 480px;
  --jp-modal-min-form: 640px;
  --jp-modal-max-form: 860px;
  --jp-modal-min-entity: 920px;
  --jp-modal-max-entity: 1180px;
  --jp-modal-min-entity-create: 960px;
  --jp-modal-max-entity-create: 1240px;
  --jp-modal-min-wide: 1040px;
  --jp-modal-max-wide: 1320px;
  --jp-modal-min-settings: 960px;
  --jp-modal-max-settings: 1180px;
  /* Stacking ladder — semantic z-index scale. Names express role, not magnitude.
     Generous gaps so future insertions don't force a renumber. For intra-component
     offsets use calc(var(--jp-z-X) + 1). See "Stacking / Z-Index" in DESIGN.md. */
  --jp-z-hide: -1;        /* scoped negative layer (card status tint behind content) */
  --jp-z-base: 0;         /* default content plane */
  --jp-z-raised: 1;       /* in-flow raised: active cards, local layering */
  --jp-z-sticky: 100;     /* sticky panel toolbars / table headers within a scroller */
  --jp-z-spinner: 800;    /* in-panel loading overlay (below floating menus) */
  --jp-z-dropdown: 1000;  /* dropdown / react-select / popover menus */
  --jp-z-overlay: 2000;   /* topbar floating surfaces: date/time pickers + topbar dropdown menus */
  --jp-z-drawer: 2050;    /* topbar filter drawer (below the modal backdrop) */
  --jp-z-modal: 2100;     /* modal backdrop + window (regular) */
  --jp-z-lightbox: 8000;  /* fancybox image lightbox (vendor file stays raw) */
  --jp-z-modal-top: 9000; /* nested/outer modal + pickers rendered inside a modal */
  --jp-z-tooltip: 9400;   /* hover tooltips — clear overlays/modals, yield to toasts */
  --jp-z-toast: 9500;     /* toasts / notifications — must outrank modals */
  --jp-z-max: 9999;       /* vendor escape hatch: TinyMCE aux, context menu */
}

*, *:before, *:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.428;
  background: var(--jp-surface);
  color: var(--jp-text);
  font-family: var(--jp-font-body);
  font-weight: 400;
}

input,
textarea,
select,
button {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.1;
  font-family: var(--jp-font-heading);
}

h1 {
  font-size: 36px;
  font-weight: 700;
}

h2 {
  font-size: 30px;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  font-weight: 700;
}

h4 {
  font-size: 18px;
  font-weight: 700;
}

h5 {
  font-size: 14px;
  font-weight: 700;
}

h6 {
  font-size: 12px;
  font-weight: 700;
}

/* Browser baseline — replaces Bootstrap normalize + scaffolding */

html {
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:active,
a:hover {
  outline: 0;
}

p {
  margin: 0 0 10px;
}

figure {
  margin: 0;
}

img {
  vertical-align: middle;
}

svg:not(:root) {
  overflow: hidden;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

td,
th {
  padding: 0;
}

textarea {
  overflow: auto;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

small {
  font-size: 80%;
}

/* UI */

.btn {
  border-radius: var(--jp-radius);
}

.jp-control,
.jp-textInput,
.jp-editable-text--edit,
.jp-text-area {
  background: var(--jp-surface);
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius-sm);
  color: var(--jp-text);
  outline: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.jp-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
}

.jp-control:hover,
.jp-textInput:hover,
.jp-editable-text--edit:hover,
.jp-text-area:hover {
  border-color: var(--jp-border-hover, rgba(37, 99, 235, 0.35));
  box-shadow: var(--jp-button-shadow, 0 1px 3px rgba(0, 0, 0, 0.10));
}

.jp-control:focus,
.jp-textInput:focus,
.jp-editable-text--edit:focus,
.jp-text-area:focus {
  border-color: var(--jp-interactive);
  box-shadow: var(--jp-focus-input);
}

.jp-control--compact {
  height: var(--jp-topbar-control-height);
  line-height: var(--jp-topbar-control-height);
  padding: 0 var(--jp-topbar-control-padding-x);
}

.jp-toolbar-control {
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius-sm);
  background: var(--jp-surface);
  color: var(--jp-text);
  height: var(--jp-topbar-control-height);
  min-height: var(--jp-topbar-control-height);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.jp-toolbar-control:hover {
  border-color: var(--jp-border-hover, rgba(37, 99, 235, 0.35));
  box-shadow: var(--jp-button-shadow, 0 1px 3px rgba(0, 0, 0, 0.10));
}

.jp-toolbar-control:focus-visible,
.jp-toolbar-control:active {
  outline: none;
  border-color: var(--jp-interactive);
  background: var(--jp-surface);
  box-shadow: var(--jp-focus-input);
}

.jp-toolbar-control:focus {
  outline: none;
}

.jp-chip {
  margin: 0;
  font-weight: 400;
  background-color: var(--jp-surface);
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius-sm);
  cursor: pointer;
  color: var(--jp-text);
  padding: 0 8px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

@media (hover: hover) {
  .jp-chip:hover {
    background-color: var(--jp-surface-hover);
    border-color: var(--jp-border-hover, rgba(37, 99, 235, 0.35));
    box-shadow: var(--jp-button-shadow, 0 1px 3px rgba(0, 0, 0, 0.10));
  }
}

.jp-chip:focus {
  outline: none;
}

.jp-chip:focus-visible {
  box-shadow: var(--jp-focus);
  outline: none;
}

.jp-chip--selected {
  border-color: rgba(37, 99, 235, 0.34);
  font-weight: 600;
  background-color: var(--jp-interactive-muted);
}

.jp-dropdown {
  color: var(--jp-text);
}

.jp-dropdown__item {
  color: var(--jp-text);
  background-color: transparent;
  border-bottom: 0;
  cursor: pointer;
  white-space: nowrap;
}

.jp-dropdown__item:nth-child(even) {
  background-color: var(--jp-surface-muted, #f6f7f8);
}

.jp-dropdown__item:hover {
  background-color: var(--jp-surface-hover);
}

.jp-dropdown__item--active {
  background-color: var(--jp-interactive-muted);
  box-shadow: inset 3px 0 0 var(--jp-interactive);
  font-weight: 600;
}

.button__icon--right i {
  padding-right: 8px;
}

.button__icon--left i {
  padding-left: 8px;
  padding-right: 0;
}

/*========================================*/

/* USERS TREE */

.content {
  position: absolute;
  top: var(--jp-topbar-height);
  left: var(--jp-nav-width);
  width: calc(100% - var(--jp-nav-width));
  height: calc(100% - var(--jp-topbar-height));
  min-width: var(--jp-app-min-width);
  background: var(--jp-surface);
}

.top-line {
  position: relative;
  left: var(--jp-nav-width);
  box-sizing: border-box;
  height: var(--jp-topbar-height);
  width: calc(100% - var(--jp-nav-width));
  min-width: var(--jp-app-min-width);
  background: var(--jp-topbar-bg);
  border-bottom: 1px solid var(--jp-workspace-divider);
  box-shadow: none;
  padding-right: 0;
  overflow: visible;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.top-line__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.top-line > .jp-navbar-left,
.top-line > .jp-topbar-calendar,
.top-line > .top-line__right {
  flex: 0 0 auto;
}
.top-line > .jp-navbar-left,
.top-line > .jp-topbar-calendar {
  border-left: 1px solid var(--jp-border-strong);
}
.top-line > .jp-navbar-left:first-child,
.top-line > .jp-topbar-calendar:first-child {
  border-left: 0;
}
.top-line .jp-navbar-left,
.top-line .jp-navbar-right {
  box-sizing: border-box;
  padding: 0 var(--jp-topbar-divider-gap);
  display: flex;
  align-items: center;
  height: var(--jp-topbar-height);
  min-height: var(--jp-topbar-height);
  margin: 0;
}
.top-line .jp-navbar-left {
  gap: 4px;
}
.top-line__right > .jp-navbar-right {
  border-left: 1px solid var(--jp-border-strong);
}
.top-line .btn {
  height: var(--jp-topbar-control-height);
  min-height: var(--jp-topbar-control-height);
  padding: 0 var(--jp-topbar-control-padding-x);
  border-radius: var(--jp-radius-sm);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: var(--jp-topbar-control-height);
  vertical-align: middle;
}
.top-line .btn:active,
.top-line .btn:focus-visible,
.top-line .btn:active:focus-visible {
  box-shadow: none;
  outline: none;
  border: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.top-line .btn:focus {
  outline: none;
}
.top-line .jp-button {
  box-shadow: none;
}
.top-line #filter #setFilter {
  float: right;
  height: var(--jp-topbar-control-height);
  padding: 0 var(--jp-topbar-group-padding-x);
  border-bottom: 2px solid transparent;
  margin: 5px 0;
  line-height: var(--jp-topbar-control-height);
}
.top-line #filter #setFilter:hover {
  background: var(--jp-surface-hover) !important;
}
.top-line #filter #setFilter:focus {
  background: var(--jp-surface-hover) !important;
  border-bottom: 2px solid var(--jp-interactive) !important;
}

.top-line .margin-right {
  margin-right: 18px;
}
.top-line .search {
  padding: 0 var(--jp-topbar-divider-gap);
}
.top-line .buttons {
  padding: 0 var(--jp-topbar-divider-gap);
  align-items: center;
}
.top-line .btn i {
  padding: 0;
}

@media (max-width: 767px), (max-width: 1023px) and (max-height: 599px) {
  .top-line {
    display: inline-flex;
  }
}

/* мои стили */

/* START text input */

/*.just-prop__input-container--label-left {*/
/*    display : flex;*/
/*    justify-content: space-between;*/
/*    padding: 20px 0;*/
/*    flex-wrap: wrap;*/
/*}*/

.jp-textInput {
  width: 100%;
  padding: 8px 10px 7px;
  display: inline-block;
  /*margin-bottom: 5px;*/
  background-clip: padding-box;
}

input.jp-textInput::placeholder {
  color: var(--jp-text-muted);
  opacity: 1;
}

input.jp-textInput::-webkit-input-placeholder {
  color: var(--jp-text-muted);
  opacity: 1;
}

input.jp-textInput::-moz-placeholder {
  color: var(--jp-text-muted);
  opacity: 1;
}

input.jp-textInput:-ms-input-placeholder {
  color: var(--jp-text-muted);
  opacity: 1;
}

.jp-textInput[disabled] {
  color: hsl(0, 0%, 60%);
  cursor: not-allowed;
}

/*.jp-textInput--label-left {*/
/*    width : 50%;*/
/*}*/

@media screen and (max-width: 1255px) {
  .jp-textInput {
    width: 100%;
  }

  .input-label-left__container {
    flex-direction: column;
  }

  .jp-textInput-title {
    padding-bottom: 15px;
  }
}

/* END text input */

/*START TABLE*/

/*END TABLE*/


/* START user-card */
/*.card__container {*/
/*    border-bottom: 2px solid #c0c0c0;*/
/*    box-sizing: border-box;*/
/*    margin-top: 0;*/
/*    transition: all 0.3s;*/
/*    cursor: pointer;*/
/*}*/

/*.card__container:not(:first-child) {*/
/*    padding-top: 10px;*/
/*}*/

.card__image {
  height: 48px;
  width: 48px;
  position: relative;
  display: block;
  float: left;
  margin-right: 10px;
  padding-right: 0 !important;
}

.card__image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.card__active {
  border-bottom: 2px solid var(--jp-accent);
}

.top-line-drop-down {
  position: relative;
  top: 0;
  align-items: center;
  padding: 0 var(--jp-topbar-group-padding-x);
}

.jp-pre-content-panel {
  width: calc(100% - 90px);
  display: flex;
  flex-direction: column;
  position: relative;
  left: 90px;
  border-bottom: 1px solid var(--jp-border);
}

.jp-pre-content-panel .column {
  display: flex;
  justify-content: flex-start;
}

.object-orders-types {
  margin: 0;
  padding: 0;
}

.object-orders-types li {
  list-style: none;
}

/*.card__container:hover {*/
/*    background-color: rgba(192, 192, 192, .1);*/
/*}*/
/* END user-card */

/*START TABLE*/

.table-label-left {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}

/*END TABLE*/

.jp--text-overflow {
  white-space: nowrap;
  overflow: hidden;
  padding: 2px;
  text-overflow: ellipsis;
  /*display: block;*/
}

.jp-editable-text {
  border-bottom: 1px solid var(--jp-border-strong);
}

.jp-editable-text--edit {
  padding: 8px 10px 7px;
  display: inline-block;
  margin-bottom: 5px;
  background-clip: padding-box;
}

.btn i.no-text {
  padding-right: 0;
}

input[type='checkbox'].indeterminate,
input[type='checkboxx']:indeterminate {
  position: relative;
}

input[type='checkbox'].indeterminate::after,
input[type='checkboxx']:indeterminate::after {
  content: '';
  position: relative;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--jp-text, #1c1e21);
  width: 100%;
  height: 0;
}

input::-moz-placeholder {
  color: hsl(0, 0%, 20%);
}

input::-webkit-input-placeholder {
  color: hsl(0, 0%, 20%);
}

.jp-text-area {
  resize: vertical;
  display: block;
  width: 100%;
  padding: 8px 10px 7px;
}

.equipment-dropzone {
  margin-top: 30px;
}

.with-module-expand {
  border-bottom: 1px dashed var(--jp-border-strong);
}

/* content для модулей  */

.jp-row-items {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.jp-row-items > *:first-child {
  flex-basis: 70%;
}

.jp-row-items > *:not(:first-child) {
  margin-left: 30px;
}

.jp-list-text {
  font-size: 13px;
  color: var(--jp-text-muted);
  margin: 0;
}

.jp-list-primary {
  font-size: var(--jp-text-md, 13px);
  font-weight: 600;
  color: var(--jp-text);
  line-height: 1.3;
  margin: 0 0 2px;
}

.jp-list-secondary {
  font-size: var(--jp-text-sm, 12px);
  color: var(--jp-text-muted);
  line-height: 1.35;
  margin: 0;
}

.jp-badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--jp-surface);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: var(--jp-interactive);
  border-radius: 10px;
}

.jp-text-center {
  text-align: center;
}

.jp-text-right {
  text-align: right;
}

.jp-text-danger {
  color: var(--jp-accent, #e0312b);
}

.jp-module {
  position: relative;
  right: calc(-1 * var(--jp-nav-width));
  display: grid;
  width: calc(100% - var(--jp-nav-width));
  min-width: var(--jp-app-min-width);
  min-height: var(--jp-workspace-height);
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-gap: 0;
  background: var(--jp-surface);
}

.jp-module.users {
  grid-template-columns: 1fr 1fr 2fr;
  grid-template-rows: auto;
}

.jp-module.jp-module--reference {
  grid-template-rows: minmax(0, 1fr);
}

/*.jp-module.users {*/
/*    grid-template-columns: 1fr 1fr 2fr;*/
/*    !*grid-template-rows: auto 1fr;*!*/
/*}*/

.jp-module .jp-panel {
  position: relative;
  border-right: 1px solid var(--jp-border);
  background: var(--jp-surface);
  overflow: auto;
  height: var(--jp-workspace-height);
  flex-basis: 100%;
}

.jp-module .jp-panel--list {
  border-right-color: var(--jp-workspace-divider);
}

.jp-module--reference > .jp-panel--list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.jp-module--reference > .jp-panel--list .jp-list-panel {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}

.jp-module .jp-panel--detail {
  border-right: none;
}

.jp-module > .jp-panel:only-child {
  border-right: none;
}

.jp-module .jp-panel--reference-content {
  padding: 0;
}

.jp-reference-content {
  min-height: 100%;
  padding: var(--jp-space-3, 12px);
  box-sizing: border-box;
  --jp-reference-label-width: minmax(200px, 24%);
  --jp-reference-compact-label-width: 160px;
  --jp-reference-control-width: minmax(320px, 900px);
  --jp-reference-control-max-width: 900px;
  --jp-reference-column-gap: var(--jp-space-4, 16px);
  --jp-reference-row-min-height: 46px;
  --jp-reference-row-padding-y: var(--jp-space-1, 4px);
}

.jp-reference-content > .jp-scroll-panel {
  height: auto;
  overflow: visible;
}

.jp-reference-content > h3,
.jp-reference-content > h4,
.jp-reference-form > h3,
.jp-reference-form > h4,
.jp-reference-form__title {
  margin: 0 0 var(--jp-space-4, 16px);
  color: var(--jp-text);
  font-family: var(--jp-font-heading);
  font-size: var(--jp-text-2xl, 18px);
  font-weight: 700;
  line-height: 24px;
}

.jp-reference-form {
  box-sizing: border-box;
  color: var(--jp-text);
  font-family: var(--jp-font-body);
  --jp-reference-label-width: minmax(200px, 24%);
  --jp-reference-compact-label-width: 160px;
  --jp-reference-control-width: minmax(320px, 900px);
  --jp-reference-control-max-width: 900px;
  --jp-reference-column-gap: var(--jp-space-4, 16px);
  --jp-reference-row-min-height: 46px;
  --jp-reference-row-padding-y: var(--jp-space-1, 4px);
}

.jp-reference-form > div:has(> .text-content):has(> .component) {
  display: grid;
  grid-template-columns: var(--jp-reference-label-width) var(--jp-reference-control-width);
  column-gap: var(--jp-reference-column-gap);
  align-items: center;
  min-height: var(--jp-reference-row-min-height);
  padding: var(--jp-reference-row-padding-y) 0;
}

.jp-reference-content > div:has(> .text-content):has(> .component) {
  display: grid !important;
  grid-template-columns: var(--jp-reference-label-width, minmax(200px, 24%)) var(--jp-reference-control-width, minmax(320px, 900px));
  column-gap: var(--jp-reference-column-gap, var(--jp-space-4, 16px));
  align-items: center;
  min-height: var(--jp-reference-row-min-height, 46px);
  padding: var(--jp-reference-row-padding-y, var(--jp-space-1, 4px)) 0;
}

.jp-reference-form .text-content {
  flex: none !important;
  max-width: none;
  min-width: 0;
  padding-right: 0;
  color: var(--jp-text);
  font-size: var(--jp-text-xl, 16px);
  font-weight: 600;
  line-height: 22px;
}

.jp-reference-form .component {
  flex: none !important;
  min-width: 0;
}

.jp-reference-form .component > :first-child {
  margin-top: 0 !important;
}

.jp-reference-form .component > * + * {
  margin-top: var(--jp-space-2, 8px);
}

.jp-reference-form .jp-textInput,
.jp-reference-form .jp-text-area,
.jp-reference-form .jp-inline-calendar__field {
  width: 100%;
  max-width: var(--jp-reference-control-max-width);
}

.jp-reference-form .component > .margin-top {
  margin-top: var(--jp-space-2, 8px);
}

.jp-reference-form .jp-button {
  margin-top: var(--jp-space-3, 12px);
}

.jp-reference-form > .jp-button {
  margin-left: calc(24% + var(--jp-reference-column-gap));
}

.jp-reference-form .jp-table-wrapper .jp-button,
.jp-reference-form .jp-details-toolbar .jp-button,
.jp-reference-form .jp-list-toolbar .jp-button {
  margin-top: 0;
}

.jp-reference-form .object-equipment-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--jp-space-2, 8px);
  width: 100%;
  max-width: var(--jp-reference-control-max-width);
  min-height: var(--jp-reference-row-min-height);
}

.jp-reference-form .object-gps-fields {
  display: grid;
  gap: var(--jp-space-1, 4px);
  max-width: 640px;
}

.jp-reference-form .object-gps-fields > div:has(> .text-content):has(> .component) {
  display: grid;
  grid-template-columns: minmax(110px, 140px) minmax(180px, 1fr);
  column-gap: var(--jp-space-3, 12px);
  align-items: center;
  min-height: 36px;
  padding: var(--jp-space-1, 4px) 0;
}

.jp-reference-form .object-gps-fields .text-content {
  font-size: var(--jp-text-lg, 14px);
  line-height: 20px;
}

.jp-reference-form .object-equipment-action-row > * {
  margin-left: 0;
}

.jp-reference-form .object-equipment-action-row > *:first-child {
  flex: 1 1 420px;
  max-width: 560px;
}

.jp-reference-form .object-equipment-action-row .jp-textInput {
  flex: 0 0 180px;
  width: 180px;
}

.jp-reference-form .object-equipment-action-row .jp-button {
  flex: 0 0 auto;
  margin-top: 0;
}

.jp-reference-form .jp-row-items .jp-button {
  margin-top: 0;
}

.jp-reference-content .text-content {
  flex: none !important;
  max-width: none;
  min-width: 0;
  padding-right: 0;
  color: var(--jp-text);
  font-size: var(--jp-text-xl, 16px);
  font-weight: 600;
  line-height: 22px;
}

.jp-reference-content .component {
  flex: none !important;
  min-width: 0;
}

.jp-reference-content .component > :first-child {
  margin-top: 0 !important;
}

.jp-reference-content .component > * + * {
  margin-top: var(--jp-space-2, 8px);
}

.jp-reference-content .jp-textInput,
.jp-reference-content .jp-text-area,
.jp-reference-content .jp-inline-calendar__field {
  width: 100%;
  max-width: var(--jp-reference-control-max-width, 900px);
}

.jp-reference-content .component > .margin-top {
  margin-top: var(--jp-space-2, 8px);
}

.jp-reference-content .jp-button {
  margin-top: var(--jp-space-3, 12px);
}

.jp-reference-content .jp-table-wrapper .jp-button,
.jp-reference-content .jp-details-toolbar .jp-button,
.jp-reference-content .jp-list-toolbar .jp-button {
  margin-top: 0;
}

@media screen and (max-width: 640px) {
  .jp-reference-form > div:has(> .text-content):has(> .component) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--jp-space-1, 4px);
    align-items: stretch;
  }

  .jp-reference-content > div:has(> .text-content):has(> .component) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--jp-space-1, 4px);
    align-items: stretch;
  }

  .jp-reference-form .text-content {
    flex: 0 0 auto !important;
    max-width: none;
    min-width: 0;
    padding-right: 0;
    padding-bottom: var(--jp-space-1, 4px) !important;
  }

  .jp-reference-form > .jp-button {
    margin-left: 0;
  }

  .jp-reference-content .text-content {
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
    padding-right: 0;
    padding-bottom: var(--jp-space-1, 4px);
  }
}

.jp-module .jp-panel--spacer {
  height: auto;
  overflow: visible;
  flex-basis: auto;
}

.jp-scroll-panel {
  overflow-y: auto;
  height: 100%;
}

.jp-list-panel {
  overflow-y: auto;
  height: 100%;
  padding: var(--jp-space-3, 12px);
  box-sizing: border-box;
}

.jp-module.orders,
.jp-module.regular-works,
.jp-module.acts,
.jp-module.work-orders,
.jp-module.tasks {
  display: flex;
}

.jp-module.orders .jp-panel--list,
.jp-module.acts .jp-panel--list,
.jp-module.regular-works .jp-panel--list,
.jp-module.tasks .jp-panel--list,
.jp-module.work-orders .jp-panel--list {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.jp-module.orders .jp-list-panel,
.jp-module.acts .jp-list-panel,
.jp-module.regular-works .jp-list-panel,
.jp-module.tasks .jp-list-panel,
.jp-module.work-orders .jp-list-panel {
  flex: 1;
  min-height: 0;
  height: auto;
}

.jp-callout {
  padding: var(--jp-space-3, 12px);
  background: var(--jp-surface-muted, #f2f3fa);
  border-radius: var(--jp-radius, 4px);
}
.jp-detail-heading,
.jp-callout h4 {
  margin: 0 0 var(--jp-space-2, 8px);
  color: var(--jp-text, #1c1e21);
  font-family: var(--jp-font-heading);
  font-size: 14px;
  font-weight: 600;
}

.jp-entity-title {
  margin: 0 0 var(--jp-space-4, 16px);
  color: var(--jp-text, #1c1e21);
  font-family: var(--jp-font-heading);
  font-size: var(--jp-heading-md, 20px);
  font-weight: 700;
  line-height: 1.25;
}

.jp-callout p {
  margin: 0;
  font-size: 14px;
}

.jp-detail-body {
  padding: var(--jp-space-3, 12px);
}
.jp-detail-body > * + * {
  margin-top: var(--jp-space-3, 12px);
}
.jp-detail-body .info-block {
  margin-left: calc(-1 * var(--jp-space-3, 12px));
  margin-right: calc(-1 * var(--jp-space-3, 12px));
  padding: 0 var(--jp-space-3, 12px) var(--jp-space-2, 8px);
}
.jp-detail-body .tabs .react-tabs__tab-list,
.jp-detail-body .jp-tabs:not(.jp-tabs--vertical) .react-tabs__tab-list {
  width: auto;
  margin-left: calc(-1 * var(--jp-space-3, 12px));
  margin-right: calc(-1 * var(--jp-space-3, 12px));
  padding-left: var(--jp-space-3, 12px);
  padding-right: var(--jp-space-3, 12px);
}
.jp-detail-body > .jp-tabs {
  margin-top: var(--jp-space-4, 16px);
}
.jp-detail-body .checklists-wrapper {
  margin-left: calc(-1 * var(--jp-space-3, 12px));
  margin-right: calc(-1 * var(--jp-space-3, 12px));
  padding-left: var(--jp-space-3, 12px);
  padding-right: var(--jp-space-3, 12px);
}
.jp-detail-fields {
  padding: 0;
}
.jp-detail-fields .jp-inline-calendar__field {
  margin-bottom: 0;
}

@media (max-width: 767px), (max-width: 1023px) and (max-height: 599px) {
  :root {
    --jp-topbar-height: 48px;
    --jp-workspace-height: calc(100vh - 48px - 56px - env(safe-area-inset-bottom));
    --jp-workspace-height: calc(100dvh - 48px - 56px - env(safe-area-inset-bottom));
  }

  .left-line {
    display: none;
  }

  .content {
    left: 0;
    bottom: calc(56px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 0;
  }

  .top-line {
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 48px;
    min-width: 0;
    overflow: visible;
  }

  body .Toastify__toast-container.Toastify__toast-container--bottom-right {
    right: 8px;
    bottom: calc(56px + env(safe-area-inset-bottom) + 8px);
    left: 8px;
    box-sizing: border-box;
    width: auto;
    max-width: calc(100vw - 16px);
    padding: 0;
  }

  body .Toastify__toast {
    width: 100%;
    max-width: 100%;
    margin-bottom: var(--jp-space-2, 8px);
  }

  .jp-module {
    right: 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    grid-template-columns: 1fr;
  }

  .jp-module .jp-panel--list,
  .jp-module .jp-panel--detail {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: var(--jp-workspace-height);
    min-width: 0;
  }

  .jp-module .jp-list-panel,
  .jp-module .jp-panel--detail {
    padding-bottom: var(--jp-space-3, 12px);
  }

  .jp-detail-body,
  .jp-detail-body > * {
    max-width: 100%;
    min-width: 0;
  }

  .jp-module.orders > .jp-panel--list,
  .jp-module.regular-works > .jp-panel--list,
  .jp-module.tasks > .jp-panel--list,
  .jp-module.orders.jp-module--detail-open > .jp-panel--detail,
  .jp-module.regular-works.jp-module--detail-open > .jp-panel--detail,
  .jp-module.tasks.jp-module--detail-open > .jp-panel--detail {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
  }

  .jp-module.orders > .jp-panel--detail,
  .jp-module.regular-works > .jp-panel--detail,
  .jp-module.tasks > .jp-panel--detail,
  .jp-module.orders.jp-module--detail-open > .jp-panel--list,
  .jp-module.regular-works.jp-module--detail-open > .jp-panel--list,
  .jp-module.tasks.jp-module--detail-open > .jp-panel--list {
    display: none;
  }

  .jp-module.orders.jp-module--detail-open > .jp-panel--detail,
  .jp-module.regular-works.jp-module--detail-open > .jp-panel--detail,
  .jp-module.tasks.jp-module--detail-open > .jp-panel--detail {
    flex-direction: column;
  }

  .jp-detail-back {
    position: sticky;
    top: 0;
    z-index: var(--jp-z-sticky);
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    align-self: stretch;
    gap: var(--jp-space-2, 8px);
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 var(--jp-space-3, 12px);
    border: 0;
    border-bottom: 1px solid var(--jp-border);
    border-radius: 0;
    background: var(--jp-surface);
    color: var(--jp-interactive, #2563eb);
    font: inherit;
    cursor: pointer;
  }

  .jp-detail-back:hover,
  .jp-detail-back:focus-visible {
    background: var(--jp-interactive-muted, #eff6ff);
    outline: none;
  }

  /* Form controls do not inherit the body font size — they sit on the browser
     default, measured at 13px. Safari zooms the page in when a field smaller
     than 16px takes focus and never zooms back out, so every control the phone
     can focus is raised to the 16px step. Desktop keeps the default. */
  .jp-textInput,
  .jp-text-area,
  .jp-control,
  textarea {
    font-size: var(--jp-text-xl, 16px);
  }
}
