/* IzyShift — «Сети» (22.10.2026), net.js. Телефон по умолчанию; токены — из app.css / desk.css / mob.css.
   Всё — классы nt-*: у компаний без флага сети этих элементов нет. */
.nt-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); }

/* График: мультивыбор заведений */
.nt-locs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 12px 8px; }
.nt-chip { display: inline-flex; align-items: center; gap: 0; min-height: 30px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2, #CDD2D8); background: var(--surface, #fff); color: var(--muted, #6B7280); font: inherit; font-size: 13px; font-weight: 600;
  max-width: 100%; }
.nt-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-chip:not(.on) .nt-dot { opacity: .35; }
.nt-chip.on { color: var(--ink, #111827); border-color: var(--ink-2, #3E444C); background: var(--surface, #fff); box-shadow: inset 0 0 0 1px var(--ink-2, #3E444C); }
.nt-chip.nt-all.on { background: var(--ink, #111827); color: #fff; border-color: var(--ink, #111827); box-shadow: none; }
.nt-chip:focus-visible, .nt-locbtn:focus-visible { outline: 2px solid var(--accent, #2563EB); outline-offset: 2px; }
.nt-locbtn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line-2, #CDD2D8); background: var(--surface, #fff); color: var(--ink, #111827); font: inherit; font-size: 15px; text-align: left; }
.nt-locbtn .nt-dots { display: inline-flex; flex: none; }
.nt-locbtn .nt-dots .nt-dot { margin-right: -3px; width: 11px; height: 11px; box-shadow: 0 0 0 2px var(--surface, #fff); }
.nt-locbtn .nt-lbl { flex: 1; min-width: 0; margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-locbtn .nt-chev { color: var(--muted, #6B7280); }
body.mb #nt-locs { margin: 0; padding: 10px 16px 0; }
body.dk #view-schedule > .nt-locs { order: 2; margin: 0; }
body.dk .nt-chip { height: 30px; min-height: 0; font-size: var(--t-xs, 13px); }
.nt-pick .check { min-height: 44px; }
.nt-pick .nt-allrow { border-bottom: 1px solid var(--line, #E5E7EB); }

/* метки заведения у смен и заголовков */
.dk-bar.nt-sh { box-shadow: inset 4px 0 0 var(--nl); padding-left: 7px; }
.dk-bar.draft.nt-sh { box-shadow: inset 4px 0 0 var(--nl), inset 0 0 0 1px var(--rc); }
.chip.shift.nt-sh::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--nl); margin-right: 4px; }
.mb-wgrid .c.nt-sh { box-shadow: inset 0 -3px 0 var(--nl); }
.mb-shift.nt-sh { box-shadow: inset 3px 0 0 var(--nl); }
.sh2.nt-sh { box-shadow: inset 3px 0 0 var(--nl); }
.nt-lt { white-space: nowrap; }
.nt-lt .nt-dot { width: 7px; height: 7px; margin-right: 3px; }
.nt-cap { display: block; font-weight: 500; color: var(--muted, #6B7280); white-space: normal; }
.lab-day .nt-cap { flex-basis: 100%; }
.dk-grid tfoot th small.nt-cap { font-size: 10.5px; }

/* форма смены */
.nt-shd { margin: 0; }

/* лист */
.nt-sheet { max-height: 92vh; overflow-y: auto; }
.nt-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.nt-row .fld { flex: 1 1 160px; min-width: 0; }
.nt-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.nt-set h3, .nt-sheet h3, .nt-card h3 { margin: 14px 0 6px; font-size: 15px; }
.nt-pal { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 4px 0; }
.nt-pal legend, .nt-seg legend { font-size: 13px; color: var(--muted, #6B7280); padding: 0; margin-bottom: 4px; width: 100%; }
.nt-swatch { position: relative; cursor: pointer; }
.nt-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nt-swatch span { display: block; width: 36px; height: 36px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.nt-swatch input:checked + span { box-shadow: 0 0 0 2px var(--surface, #fff), 0 0 0 4px var(--ink, #111827); }
.nt-swatch input:focus-visible + span { outline: 2px solid var(--accent, #2563EB); outline-offset: 4px; }
.nt-seg { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 6px 0; }
.nt-seg label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line, #E5E7EB); border-radius: 10px; cursor: pointer; min-height: 40px; }
.nt-seg label:has(input:checked) { border-color: var(--accent, #2563EB); background: #EEF2FF; }
.nt-deps { display: flex; flex-direction: column; }
.nt-deps .check { padding: 6px 0; }

/* Настройки: список заведений, терминалы */
.nt-loclist { display: flex; flex-direction: column; }
.nt-locrow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line, #E5E7EB); }
.nt-locrow:last-child { border-bottom: 0; }
.nt-locrow .main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.nt-locrow small { color: var(--muted, #6B7280); font-size: 13px; }
.nt-sw { width: 14px; height: 36px; border-radius: 4px; flex: none; }
.nt-term { padding: 10px 0; border-bottom: 1px solid var(--line, #E5E7EB); }
.nt-term:last-child { border-bottom: 0; }
.nt-term-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nt-term-head .pill.bad { background: #FEE2E2; color: #991B1B; }
.nt-term-url { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.nt-term-url .inp { flex: 1 1 220px; min-width: 0; font-size: 13px; }
.nt-qr { margin-top: 8px; }
.nt-qr img { display: block; width: 180px; height: 180px; border: 1px solid var(--line, #E5E7EB); border-radius: 8px; background: #fff; }

/* Карточка сотрудника */
.nt-asg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line, #E5E7EB); }
.nt-asg-row .inp { min-width: 0; width: 100%; }
.nt-asg-row .nt-asg-ro { grid-column: 1 / -1; overflow-wrap: anywhere; }
.nt-rate { display: flex; align-items: center; gap: 6px; }
.nt-rate .inp { flex: 1; }
.nt-rate span { color: var(--muted, #6B7280); font-size: 13px; white-space: nowrap; }
.nt-del { justify-self: end; }
.nt-home { margin-top: 6px; }
.nt-pin > span { display: flex; align-items: center; }
.nt-pin .inp { max-width: 140px; }
@media (min-width: 1024px) {
  .nt-asg-row { grid-template-columns: 1.1fr 1fr 1fr auto; }
  .nt-asg-row.money { grid-template-columns: 1.1fr 1fr 1fr 130px auto; }
}

/* Отчёт сети */
.nt-rep-locs { margin: 0 0 10px; }
.nt-tbl td .nt-dot, .nt-tbl th .nt-dot { margin-right: 5px; }
.nt-tbl tr.nt-total td { font-weight: 700; border-top: 2px solid var(--line-2, #CDD2D8); }
.nt-rep-people h3 { margin: 16px 0 8px; font-size: 15px; }
.nt-ppl tbody tr { cursor: pointer; }
.nt-lcard { background: var(--surface, #fff); border: 1px solid var(--line, #E5E7EB); border-radius: 12px; padding: 10px 12px; margin: 0 0 8px; }
.nt-lcard.nt-total { border-color: var(--ink-2, #3E444C); }
.nt-lc-h { display: flex; align-items: center; margin-bottom: 6px; overflow-wrap: anywhere; }
.nt-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; }
.nt-tiles > div { display: flex; flex-direction: column; min-width: 0; }
.nt-tiles span { font-size: 12px; color: var(--muted, #6B7280); }
.nt-tiles b { font-size: 15px; overflow-wrap: anywhere; }
.nt-plist { display: flex; flex-direction: column; gap: 8px; }
.nt-pcard { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: var(--surface, #fff); border: 1px solid var(--line, #E5E7EB);
  border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.nt-pc-h { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.nt-pc-l { display: flex; align-items: center; gap: 0; font-size: 13px; color: var(--ink-2, #3E444C); margin-top: 4px; flex-wrap: wrap; }
.nt-pc-l span:nth-child(2) { flex: 1; min-width: 0; margin-right: 8px; }
body.mb #view-reports .nt-rep, body.mb #view-reports .nt-rep-people, body.mb #view-reports .nt-rep-locs { margin-left: 0; margin-right: 0; }

/* Сотрудник: часы и смены */
.nt-hrow span { display: inline-flex; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.nt-hrow b { text-align: right; }
.nt-hrow.nt-total { border-top: 1px solid var(--line, #E5E7EB); margin-top: 4px; padding-top: 6px; }
.nt-tag { display: inline-flex; align-items: center; font-size: 13px; color: var(--ink-2, #3E444C); font-weight: 600; }
.nt-myloc { margin: 0 12px 8px; flex-wrap: wrap; }
.nt-myloc .seg { display: inline-flex; align-items: center; }

/* Временный пароль — лист, который нельзя закрыть */
.nt-lock { position: fixed; inset: 0; background: rgba(17, 24, 39, .55); z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.nt-lock .sheet { width: 100%; max-width: 460px; }
@media (min-width: 700px) {
  .nt-lock { align-items: center; }
  .nt-lock .sheet { border-radius: 18px; }
}
@media (min-width: 900px) {
  .nt-sheet.wide { max-width: 760px; }
}
