

/* Start:/local/templates/new/css/tc-kp.css?179150946948597*/
/* Telcon — КП на продажу, стиль D (2026-10). Список «Мои КП» и редактор. */
.tc-kpp, .tc-kpp-modal { --tc-ink: #16181d; --tc-bg2: #f6f7f9; --tc-mute: #6b7280; }
.tc-kpp { --k-ink: #16181d; --k-ink2: #374151; --k-mute: #6b7280; --k-mute2: #9ca3af; --k-line: #e6e8ec; --k-line2: #d5d9e0; --k-bg2: #f6f7f9; --k-amber: #b45309;
	font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif; color: var(--k-ink); font-size: 14px; line-height: 1.5; padding: 4px 0 64px; }
.tc-kpp *, .tc-kpp *::before, .tc-kpp *::after { box-sizing: border-box; }
.tc-kpp a { color: var(--k-ink); text-decoration: none; }
.tc-kpp a:hover { color: #0a5bd3; }
.tc-kpp button, .tc-kpp input, .tc-kpp select { font: inherit; }
.tc-kpp .tc-num { font-variant-numeric: tabular-nums; }
.tc-kpp__mute { color: var(--k-mute); }
.tc-kpp__small { font-size: 12px; }
.tc-kpp__r { text-align: right; }
.tc-kpp__nowrap { white-space: nowrap; }
.tc-kpp__one { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-kpp .tc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tc-kpp__h1 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.25; }
.tc-kpp__h1 .tc-num { font-size: 15px; font-weight: 400; color: var(--k-mute); }
.tc-kpp__guest { max-width: 560px; padding: 24px 0; }
.tc-kpp__guest p { color: var(--k-ink2); }
.tc-kpp__empty { padding: 20px 0; color: var(--k-mute); margin: 0; }
.tc-kpp .tc-b { gap: 8px; }

/* ---------- список ---------- */
.tc-kpp__list { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.tc-kpp__top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.tc-kpp__top .tc-b { flex: none; }
.tc-kpp__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 10px 0; border-top: 1px solid var(--k-ink); border-bottom: 1px solid var(--k-line); }
.tc-kpp__search { flex: 0 1 360px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--k-line2); border-radius: 6px; color: var(--k-mute); margin: 0; }
.tc-kpp__search:focus-within { border-color: var(--k-ink); }
.tc-kpp__search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 13px; color: var(--k-ink); }
.tc-kpp__tabs { display: flex; flex-wrap: wrap; gap: 2px; }
.tc-kpp__tabs button { height: 32px; padding: 0 12px; border: 0; border-radius: 4px; background: transparent; color: #4b5563; font-size: 13px; font-weight: 500; cursor: pointer; }
.tc-kpp__tabs button:hover { background: var(--k-bg2); }
.tc-kpp__tabs button.is-on { background: var(--k-ink); color: #fff; }
.tc-kpp__author { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4b5563; margin: 0; }
.tc-kpp__author select { height: 32px; border: 1px solid var(--k-line2); border-radius: 4px; padding: 0 8px; background: #fff; font-size: 13px; max-width: 220px; }
.tc-kpp__tablebox { overflow-x: auto; }
.tc-kpp__table { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; }
.tc-kpp__table th { padding: 8px 10px; font-size: 12px; font-weight: 500; color: var(--k-mute); text-align: left; }
.tc-kpp__table th.tc-kpp__r { text-align: right; }
.tc-kpp__table td { padding: 12px 10px; border-top: 1px solid var(--k-line); vertical-align: middle; }
.tc-kpp__lrow { transition: background-color .15s ease; }
.tc-kpp__lrow:hover { background: var(--k-bg2); }
.tc-kpp__lname { max-width: 0; }
.tc-kpp__lname b { font-weight: 600; }
.tc-kpp__lname .tc-kpp__mute { font-size: 13px; }
.tc-kpp__w70 { width: 70px; } .tc-kpp__w84 { width: 84px; } .tc-kpp__w100 { width: 100px; } .tc-kpp__w110 { width: 110px; } .tc-kpp__w130 { width: 130px; } .tc-kpp__w150 { width: 150px; }
.tc-kpp__st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.tc-kpp__st i { width: 7px; height: 7px; border-radius: 50%; }
.tc-kpp__st--act { color: #15803d; } .tc-kpp__st--act i { background: #16a34a; }
.tc-kpp__st--wait { color: var(--k-amber); } .tc-kpp__st--wait i { background: #d97706; }
.tc-kpp__st--done { color: #0a5bd3; } .tc-kpp__st--done i { background: #0a5bd3; }
.tc-kpp__st--acc { color: #7c3aed; } .tc-kpp__st--acc i { background: #7c3aed; }   /* v41: «Принят» */
.tc-kpp__ib { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: transparent; color: #4b5563; cursor: pointer; vertical-align: middle; }
.tc-kpp__ib:hover { background: #eef0f3; }
.tc-kpp__ib--del { color: var(--k-mute2); }
.tc-kpp__ib--del.is-sure { color: #fff; background: #b91c1c; }
.tc-kpp__morebox { display: flex; justify-content: center; padding-top: 4px; }

/* ---------- редактор ---------- */
.tc-kpp__edit { display: flex; flex-direction: column; gap: 16px; }
.tc-kpp__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.tc-kpp__back { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--k-line2); border-radius: 6px; flex: none; }
.tc-kpp__title { flex: 1 1 360px; min-width: 0; margin: 0; }
.tc-kpp__title input { width: 100%; border: 0; border-bottom: 1px dashed var(--k-line2); padding: 2px 0; font-size: 24px; font-weight: 600; color: var(--k-ink); outline: none; background: transparent; }
.tc-kpp__title input:focus { border-bottom-color: var(--k-ink); }
.tc-kpp__stsel { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--k-mute); margin: 0; }
.tc-kpp__stsel select, .tc-kpp__in { height: 36px; border: 1px solid var(--k-line2); border-radius: 6px; padding: 0 10px; font-size: 14px; color: var(--k-ink); background: #fff; width: 100%; outline: none; }
.tc-kpp__stsel select { width: auto; height: 34px; }
.tc-kpp__in:focus, .tc-kpp__stsel select:focus { border-color: var(--k-ink); }
.tc-kpp__in.is-saved, .tc-kpp__title input.is-saved { border-color: #16a34a; }
.tc-kpp__cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.tc-kpp__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tc-kpp__client { border-top: 1px solid var(--k-ink); padding-top: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; align-items: start; }
.tc-kpp__client .tc-kpp__fld { gap: 2px; font-size: 11px; }
.tc-kpp__client .tc-kpp__in { height: 32px; font-size: 13px; padding: 0 8px; }
.tc-kpp__client textarea.tc-kpp__in, .tc-kpp__auto { height: 32px; min-height: 32px; padding: 6px 8px; line-height: 18px; resize: none; overflow: hidden; display: block; font: inherit; font-size: 13px; }
.tc-kpp__fld { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--k-mute); margin: 0; }
.tc-kpp__span2 { grid-column: span 2; }
.tc-kpp__span3 { grid-column: span 3; }
.tc-kpp__sh { display: flex; align-items: baseline; gap: 12px; padding-bottom: 8px; }
.tc-kpp__sh h2 { margin: 0; font-size: 17px; font-weight: 600; }
.tc-kpp__sh h2 .tc-num { font-size: 14px; font-weight: 400; color: var(--k-mute); }
.tc-kpp__link { margin-left: auto; font-size: 13px; color: #0a5bd3 !important; }
.tc-kpp__rows { border-top: 1px solid var(--k-ink); position: relative; }

.tc-kpp__row { position: relative; display: grid; grid-template-columns: 28px 88px minmax(0, 1fr) 112px 134px 112px 28px; gap: 14px; align-items: center;
	padding: 12px 6px; border-bottom: 1px solid var(--k-line); background: #fff; transition: background-color .4s ease; }
.tc-kpp__row:hover { background: var(--k-bg2); }
.tc-kpp__row.is-moved { background: #eef4ff; z-index: 1; }
.tc-kpp__arrows { display: flex; flex-direction: column; gap: 2px; }
.tc-kpp__arrows button { width: 28px; height: 28px; padding: 0; border: 1px solid var(--k-line); border-radius: 4px; background: #fff; color: #4b5563; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tc-kpp__arrows button:hover:not(:disabled) { border-color: var(--k-ink); color: var(--k-ink); }
.tc-kpp__arrows button:disabled { color: var(--k-line2); cursor: default; }
/* перетаскивание мышью */
.tc-kpp__grip { width: 28px; height: 18px; display: flex; align-items: center; justify-content: center; color: var(--k-mute2); cursor: grab; touch-action: none; border-radius: 4px; }
.tc-kpp__grip:hover { color: var(--k-ink); background: #eef0f3; }
.tc-kpp__row .tc-kpp__img { cursor: grab; }
.tc-kpp__row.is-drag { z-index: 5; background: #fff; box-shadow: 0 10px 28px rgba(22, 24, 29, .18); border-radius: 6px; }
body.tc-kpp-dragging, body.tc-kpp-dragging * { cursor: grabbing !important; user-select: none !important; }
.tc-kpp__img { width: 88px; height: 88px; border-radius: 4px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tc-kpp__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tc-kpp__img:empty { background: #f3f4f6; }
.tc-kpp__nums { display: contents; }
.tc-kpp__info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tc-kpp__name { font-weight: 600; font-size: 15px; }
.tc-kpp__desc { font-size: 13px; line-height: 1.45; color: #4b5563; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tc-kpp__qty { display: inline-flex; align-items: center; border: 1px solid var(--k-line2); border-radius: 4px; height: 32px; justify-self: start; background: #fff; }
.tc-kpp__qty button { width: 28px; height: 30px; border: 0; background: transparent; color: #4b5563; cursor: pointer; padding: 0; }
.tc-kpp__qty input { width: 48px; height: 30px; border: 0; border-left: 1px solid var(--k-line); border-right: 1px solid var(--k-line); text-align: center; font-size: 13px; padding: 0; outline: none; }
.tc-kpp__price { display: flex; align-items: center; gap: 4px; }
.tc-kpp__price input { height: 32px; width: 100%; min-width: 0; border: 1px solid var(--k-line2); border-radius: 4px; background: #fff; text-align: right; padding: 0 8px; font-size: 14px; outline: none; }
.tc-kpp__price input:focus { border-color: var(--k-ink); }
.tc-kpp__price input.is-manual { border-color: #d97706; background: #fff7ed; }
.tc-kpp__price input.is-zero { color: #b91c1c; }
.tc-kpp__reset { flex: none; width: 22px; height: 32px; border: 0; background: transparent; color: var(--k-amber); padding: 0; font-size: 15px; cursor: pointer; }
.tc-kpp__sum { text-align: right; font-weight: 600; white-space: nowrap; }
.tc-kpp__x { width: 28px; height: 28px; border: 0; background: transparent; color: var(--k-mute2); font-size: 18px; padding: 0; cursor: pointer; border-radius: 4px; }
.tc-kpp__x:hover { color: #b91c1c; background: #fef2f2; }
.tc-kpp__gt { display: flex; justify-content: flex-end; gap: 24px; padding: 10px 40px 0 6px; }
.tc-kpp__gt span:first-child { color: var(--k-mute); }
.tc-kpp__gt span:last-child { font-weight: 600; min-width: 112px; text-align: right; }
.tc-kpp__soon { margin: 0; font-size: 12px; color: var(--k-mute); }

/* правый блок */
.tc-kpp__side { flex: 1 1 320px; max-width: 360px; min-width: 0; align-self: stretch; position: relative; }
.tc-kpp__aside { width: 100%; background: #fff; border: 1px solid var(--k-ink); border-radius: 6px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px;
	max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; z-index: 20; }
.tc-kpp__aside.is-fixed { position: fixed; top: 16px; }
.tc-kpp__aside.is-bottom { position: absolute; bottom: 0; left: 0; }
/* итоги — первым блоком, при прокрутке правого блока остаются сверху */
.tc-kpp__aside > .tc-kpp__totals { position: sticky; top: -16px; z-index: 2; background: #fff; margin: -16px -18px 0; padding: 16px 18px 12px; border-bottom: 1px solid var(--k-line); }
.tc-kpp__atabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; border: 1px solid var(--k-line2); border-radius: 6px; padding: 2px; flex: none; }
.tc-kpp__atabs button { height: 32px; border: 0; border-radius: 4px; background: transparent; color: #4b5563; font-weight: 600; font-size: 13px; cursor: pointer; }
.tc-kpp__atabs button:hover { background: var(--k-bg2); }
.tc-kpp__atabs button.is-on { background: var(--k-ink); color: #fff; }
.tc-kpp__pane { display: flex; flex-direction: column; gap: 14px; }
.tc-kpp__pane[hidden] { display: none; }
.tc-kpp__hint { display: block; font-size: 11px; color: var(--k-amber); line-height: 1.3; }
.tc-kpp__tl--big.is-changed span:last-child { animation: tcKpFlash 1.2s ease; border-radius: 4px; }
@keyframes tcKpFlash { 0% { background: #fde68a; } 100% { background: transparent; } }
.tc-kpp__delta { text-align: right; font-size: 12px; font-weight: 600; margin-top: -2px; }
.tc-kpp__delta.is-up { color: #b91c1c; } .tc-kpp__delta.is-down { color: #15803d; }
.tc-kpp__blk { display: flex; flex-direction: column; gap: 10px; }
.tc-kpp__blk + .tc-kpp__blk { border-top: 1px solid var(--k-line); padding-top: 14px; }
.tc-kpp__cap { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--k-mute); }
.tc-kpp__seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--k-line2); border-radius: 6px; padding: 2px; gap: 2px; }
.tc-kpp__seg button { height: 30px; border: 0; border-radius: 4px; background: transparent; color: #4b5563; font-weight: 500; font-size: 13px; cursor: pointer; }
.tc-kpp__seg button.is-on { background: var(--k-ink); color: #fff; }
.tc-kpp__disc { display: flex; gap: 8px; align-items: center; }
.tc-kpp__disc input { width: 90px; text-align: right; }
.tc-kpp__disc small { font-size: 12px; color: var(--k-mute); line-height: 1.35; }
.tc-kpp__chk { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; margin: 0; }
.tc-kpp__chk input { width: 16px; height: 16px; margin: 0; accent-color: var(--k-ink); }
.tc-kpp__totals { gap: 6px; }
.tc-kpp__tl { display: flex; justify-content: space-between; gap: 12px; }
.tc-kpp__tl span:first-child { color: #4b5563; }
.tc-kpp__tl--dash { border-top: 1px dashed var(--k-line); padding-top: 6px; }
.tc-kpp__tl--big { align-items: baseline; border-top: 1px solid var(--k-ink); padding-top: 10px; margin-top: 4px; }
.tc-kpp__tl--big span:first-child { color: var(--k-ink); font-weight: 600; }
.tc-kpp__tl--big span:last-child { font-size: 22px; font-weight: 700; }
.tc-kpp__share { display: flex; gap: 12px; align-items: center; }
.tc-kpp__qr { flex: none; width: 136px; height: 136px; border: 1px solid var(--k-line); border-radius: 4px; padding: 2px; background: #fff; cursor: zoom-in; }
.tc-kpp__qr svg { width: 130px; height: 130px; display: block; }
.tc-kpp-qrmodal .tc-kpp-modal__box { max-width: 380px; align-items: center; }
.tc-kpp-qrmodal .tc-kpp-modal__head { width: 100%; }
.tc-kpp-qrmodal__code { background: #fff; width: 320px; max-width: 100%; }
.tc-kpp-qrmodal__code svg { width: 100%; height: auto; display: block; }
.tc-kpp-qrmodal .tc-kpp-modal__note { word-break: break-all; text-align: center; }
.tc-kpp__sharer { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tc-kpp__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tc-kpp__two .tc-b { width: 100%; }
.tc-kpp__b32 { height: 32px !important; font-size: 13px !important; padding: 0 10px !important; }
.tc-kpp__b36 { height: 36px !important; font-size: 13px !important; }
.tc-kpp__danger { grid-column: 1 / -1; color: #b91c1c !important; border-color: var(--k-line2) !important; height: 36px !important; }
.tc-kpp__aside small { font-size: 12px; line-height: 1.45; }
.tc-kpp .tc-b:disabled { opacity: .5; cursor: default; }

@media (max-width: 1100px) { .tc-kpp__side { max-width: none; flex-basis: 100%; } .tc-kpp__aside, .tc-kpp__aside.is-fixed, .tc-kpp__aside.is-bottom { position: static; max-height: none; overflow: visible; } .tc-kpp__aside > .tc-kpp__totals { position: static; } }
@media (max-width: 900px) and (min-width: 768px) { .tc-kpp__client { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.tc-kpp__h1 { font-size: 21px; }
	.tc-kpp__client { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tc-kpp__span2, .tc-kpp__span3 { grid-column: 1 / -1; }
	.tc-kpp__title input { font-size: 19px; }
	.tc-kpp__row { grid-template-columns: 28px 64px minmax(0, 1fr) 28px; grid-template-areas: 'ar img info x' 'ar nums nums nums'; gap: 8px 10px; padding: 12px 0; align-items: start; }
	.tc-kpp__arrows { grid-area: ar; } .tc-kpp__img { grid-area: img; width: 64px; height: 64px; } .tc-kpp__info { grid-area: info; } .tc-kpp__x { grid-area: x; }
	.tc-kpp__nums { grid-area: nums; display: flex; align-items: center; gap: 8px; }
	.tc-kpp__nums .tc-kpp__price { flex: 1 1 100px; min-width: 0; }
	.tc-kpp__nums .tc-kpp__sum { min-width: 84px; }
	.tc-kpp__qty input { width: 40px; }
	.tc-kpp__gt { padding-right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .tc-kpp__row { transition: none; } }

/* реквизиты для КП — окно */
.tc-kpp__top .tc-kpp__reqbtn { margin-left: auto; }
.tc-kpp__textbtn { border: 0; background: none; padding: 0; color: #0a5bd3; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.tc-kpp-modal { position: fixed; inset: 0; z-index: 120; background: rgba(22, 24, 29, .45); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px 16px; overflow-y: auto;
	font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif; font-size: 14px; color: #16181d; }
.tc-kpp-modal *, .tc-kpp-modal *::before, .tc-kpp-modal *::after { box-sizing: border-box; }
.tc-kpp-modal__box { width: 100%; max-width: 520px; background: #fff; border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.tc-kpp-modal__head { display: flex; align-items: center; justify-content: space-between; font-size: 17px; }
.tc-kpp-modal__head button { width: 32px; height: 32px; border: 0; background: transparent; font-size: 22px; color: #6b7280; cursor: pointer; }
.tc-kpp-modal__note { margin: 0; font-size: 12px; color: #6b7280; }
.tc-kpp-modal__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tc-kpp-modal__logo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: #16181d; }
.tc-kpp-modal__logo img { max-height: 44px; max-width: 180px; border: 1px solid #e6e8ec; border-radius: 4px; padding: 4px; }
.tc-kpp-modal__btns { display: flex; gap: 8px; padding-top: 4px; }
.tc-kpp-modal .tc-kpp__fld { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #6b7280; margin: 0; }
.tc-kpp-modal .tc-kpp__in { height: 36px; border: 1px solid #d5d9e0; border-radius: 6px; padding: 0 10px; font: inherit; font-size: 14px; color: #16181d; background: #fff; width: 100%; outline: none; }
.tc-kpp-modal .tc-kpp__in:focus { border-color: #16181d; }
.tc-kpp-modal .tc-kpp__ta { height: auto; padding: 8px 10px; resize: vertical; }
.tc-kpp-modal .tc-kpp__chk { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #16181d; margin: 0; }
@media (max-width: 560px) { .tc-kpp-modal__row { grid-template-columns: minmax(0, 1fr); } }
.tc-kpp__nums .tc-kpp__price input { min-width: 84px; }
.tc-kpp__delta { animation: tcKpFade 5s ease forwards; }
@keyframes tcKpFade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

/* v32: просмотр чужого КП */
.tc-kpp__robar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 14px; border-radius: 6px; background: #eef4ff; color: #1e3a8a; font-size: 13px; }
.tc-kpp__robar--warn { background: #fff7ed; color: #9a3412; }
.tc-kpp__edit.is-ro .tc-kpp__arrows, .tc-kpp__edit.is-ro .tc-kpp__x, .tc-kpp__edit.is-ro .tc-kpp__qty button, .tc-kpp__edit.is-ro .tc-kpp__reset, .tc-kpp__edit.is-ro .tc-kpp__link { visibility: hidden; }
.tc-kpp__edit.is-ro .tc-kpp__row .tc-kpp__img { cursor: pointer; }
.tc-kpp__edit.is-ro input:disabled, .tc-kpp__edit.is-ro select:disabled, .tc-kpp__edit.is-ro textarea:disabled { background: var(--k-bg2); color: var(--k-ink); opacity: 1; -webkit-text-fill-color: var(--k-ink); }
.tc-kpp__edit.is-ro .tc-kpp__title input:disabled { background: transparent; border-bottom-color: transparent; }

/* v33: скрытый каталог */
.tc-kpp__textbtn2 { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; cursor: pointer; }
.tc-kpp__link--2 { margin-left: 16px !important; }
.tc-kpp__hid { display: inline-block; vertical-align: 2px; padding: 1px 6px; border-radius: 3px; background: #eef0f3; color: #4b5563; font-size: 11px; font-weight: 500; }
.tc-hc-modal .tc-hc__box { max-width: 760px; }
.tc-hc__tabs { margin: 0; }
.tc-hc__bar { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 8px; margin-bottom: 8px; }
.tc-hc__list { max-height: 56vh; overflow-y: auto; border-top: 1px solid #e6e8ec; }
.tc-hc__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid #e6e8ec; }
.tc-hc__img { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: #f3f4f6; border-radius: 4px; overflow: hidden; }
.tc-hc__img img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.tc-hc__info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tc-hc__one { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-hc__mute { color: #6b7280; font-size: 13px; }
.tc-hc__small { font-size: 12px; }
.tc-hc__price { text-align: right; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-hc__price small { color: #6b7280; font-size: 11px; }
.tc-hc__empty { padding: 16px 0; color: #6b7280; margin: 0; }
.tc-hc__more { display: flex; justify-content: center; padding: 10px 0; }
.tc-hc__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.tc-hc__span2 { grid-column: 1 / -1; }
.tc-hc__req { color: #b91c1c; font-style: normal; }
.tc-hc__secrow { display: flex; gap: 8px; }
.tc-hc__secrow select { flex: 1; min-width: 0; }
.tc-hc__secnew { display: flex; gap: 8px; margin-top: 6px; }
.tc-hc-modal .tc-hc__ta { height: auto; min-height: 64px; padding: 8px 10px; resize: vertical; line-height: 1.4; }
.tc-hc__photo { display: flex; gap: 10px; align-items: center; color: #16181d; }
.tc-hc__photoctl { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 12px; }
.tc-hc__photoctl input[type=file] { max-width: 100%; font-size: 12px; }
.tc-hc__prices { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; padding: 12px; background: #f6f7f9; border-radius: 6px; }
.tc-hc__lets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tc-hc__let { display: flex; flex-direction: column; gap: 2px; margin: 0; color: #16181d; }
.tc-hc__let b { font-size: 12px; }
.tc-hc__letin { display: flex; align-items: center; gap: 2px; }
.tc-hc__letin input { text-align: right; min-width: 0; }
.tc-hc-modal .tc-kpp__in.is-manual { border-color: #d97706; background: #fff7ed; }
.tc-hc-modal .tc-kpp__in.is-bad { border-color: #b91c1c; background: #fef2f2; }
.tc-hc__let small { font-size: 11px; color: #6b7280; font-variant-numeric: tabular-nums; }
.tc-hc-modal .tc-kpp__reset { flex: none; width: 20px; height: 32px; border: 0; background: transparent; color: #b45309; padding: 0; font-size: 15px; cursor: pointer; }
.tc-hc-modal .tc-kpp__seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid #d5d9e0; border-radius: 6px; padding: 2px; gap: 2px; }
.tc-hc-modal .tc-kpp__seg button { height: 32px; border: 0; border-radius: 4px; background: transparent; color: #4b5563; font-weight: 600; font-size: 13px; cursor: pointer; }
.tc-hc-modal .tc-kpp__seg button.is-on { background: #16181d; color: #fff; }
.tc-hc-modal .tc-kpp__textbtn { border: 0; background: none; padding: 0; color: #0a5bd3; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.tc-hc-modal .tc-b { gap: 6px; }
.tc-hc-modal .tc-kpp__b32 { height: 32px !important; font-size: 13px !important; padding: 0 12px !important; }
.tc-hc__dup { border: 1px solid #f59e0b; background: #fffbeb; border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.tc-hc__dup .tc-hc__row { grid-template-columns: 56px minmax(0, 1fr) auto; border-bottom-color: #fde68a; }
.tc-hc__rate { margin-left: auto; align-self: center; }
.tc-hc__table .tc-hc__img { width: 48px; height: 48px; }
.tc-hc__w64 { width: 64px; } .tc-hc__w70 { width: 70px; }
.tc-hc__man { color: #b45309; }
.tc-hc__page { max-width: 1200px; }
@media (max-width: 640px) {
	.tc-hc__form, .tc-hc__prices { grid-template-columns: minmax(0, 1fr); }
	.tc-hc__lets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tc-hc__bar { grid-template-columns: minmax(0, 1fr); }
	.tc-hc__row { grid-template-columns: 48px minmax(0, 1fr) auto; } .tc-hc__row .tc-hc__price { display: none; }
}
.tc-hc-modal [hidden], .tc-hc__page [hidden] { display: none !important; }
/* v35: скрытый каталог — дерево групп + список товаров */
.tc-hc-modal--wide .tc-hc__box { max-width: 1120px; }
.tc-hc__br { display: flex; flex-direction: column; gap: 10px; }
.tc-hc__brtop { display: flex; gap: 8px; align-items: center; }
.tc-hc__brtop input { flex: 1; min-width: 0; }
.tc-hc__cols { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 16px; align-items: start; }
.tc-hc__tree { display: flex; flex-direction: column; border-right: 1px solid #e6e8ec; padding-right: 10px; max-height: 62vh; overflow-y: auto; }
.tc-hc__page .tc-hc__tree { max-height: none; position: sticky; top: 16px; }
.tc-hc__node { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 32px; padding: 4px 8px 4px calc(var(--d, 0) * 14px + 4px); border: 0; border-radius: 4px; background: transparent; color: #16181d; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.tc-hc__node:hover { background: #f3f4f6; }
.tc-hc__node.is-on { background: #16181d; color: #fff; }
.tc-hc__node.is-on small { color: #d1d5db; }
.tc-hc__node span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-hc__node[style*="--d:1"] span { font-weight: 600; }
.tc-hc__node small { flex: none; font-size: 11px; color: #6b7280; font-variant-numeric: tabular-nums; }
.tc-hc__tw { flex: none; width: 14px; height: 14px; position: relative; }
.tc-hc__tw.is-closed::before, .tc-hc__tw.is-open::before { content: ''; position: absolute; left: 3px; top: 3px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; }
.tc-hc__tw.is-open::before { transform: rotate(45deg); left: 4px; top: 2px; }
.tc-hc__main { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tc-hc__bar2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-bottom: 8px; border-bottom: 1px solid #16181d; }
.tc-hc__crumb { font-size: 15px; font-weight: 600; margin-right: auto; }
.tc-hc__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tc-hc__danger { color: #b91c1c !important; }
.tc-hc-modal .tc-hc__list { max-height: 56vh; overflow-y: auto; border-top: 0; }
.tc-hc__page .tc-hc__list { max-height: none; }
.tc-hc__row--pick { grid-template-columns: 56px minmax(0, 1fr) auto auto auto; }
.tc-hc__row--page { grid-template-columns: 56px minmax(0, 1fr) auto auto; }
.tc-hc__nums { display: flex; gap: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-hc__nums span { display: flex; flex-direction: column; align-items: flex-end; min-width: 44px; font-size: 13px; }
.tc-hc__nums small { font-size: 10px; color: #6b7280; }
.tc-hc__btns { display: flex; gap: 2px; }
.tc-hc-ask .tc-hc__box { max-width: 440px; }
.tc-hc__askf { display: flex; flex-direction: column; gap: 12px; }
.tc-kpp__ib { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: transparent; color: #4b5563; cursor: pointer; }
.tc-kpp__ib:hover { background: #eef0f3; }
.tc-kpp__ib--del.is-sure { color: #fff; background: #b91c1c; }
@media (max-width: 760px) {
	.tc-hc__cols { grid-template-columns: minmax(0, 1fr); }
	.tc-hc__tree { border-right: 0; border-bottom: 1px solid #e6e8ec; padding: 0 0 8px; max-height: 32vh; }
	.tc-hc__row--page { grid-template-columns: 48px minmax(0, 1fr) auto; } .tc-hc__row--page .tc-hc__nums { grid-column: 2 / -1; flex-wrap: wrap; }
	.tc-hc__row--pick { grid-template-columns: 48px minmax(0, 1fr) auto auto; } .tc-hc__row--pick .tc-hc__price { display: none; }
}
.tc-hc__nums .is-cur { font-weight: 700; color: #16181d; } .tc-hc__nums .is-cur small { color: #16181d; } .tc-hc__row--pick .tc-hc__nums span { min-width: 64px; }
/* v37: заполнение товара через ИИ */
.tc-hc__ai { border: 1px solid #c7d2fe; background: #eef2ff; border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.tc-hc__ai > b { font-size: 13px; color: #3730a3; }
.tc-hc__airow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tc-hc__airow .tc-kpp__in { flex: 1 1 260px; min-width: 0; }
.tc-hc__aitext { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tc-hc__aitext[hidden] { display: none; }
.tc-hc__aitext textarea { width: 100%; }
.tc-hc__ai [data-ai-st]:empty { display: none; }
.tc-hc__ai .is-busy::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 2px solid #6366f1; border-right-color: transparent; border-radius: 50%; animation: tcHcSpin .8s linear infinite; vertical-align: -1px; }
@keyframes tcHcSpin { to { transform: rotate(360deg); } }
.tc-hc-modal .tc-hc__aifilled { background: #f5f7ff; }
/* v37c: скриншоты для ИИ */
.tc-hc__shots { border: 1px dashed #a5b4fc; border-radius: 6px; background: #fff; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; cursor: text; font-size: 12px; }
.tc-hc__shots:focus { outline: 2px solid #6366f1; outline-offset: 1px; }
.tc-hc__shotlist { display: flex; gap: 8px; flex-wrap: wrap; }
.tc-hc__shotlist:empty { display: none; }
.tc-hc__shot { position: relative; width: 96px; height: 64px; border: 1px solid #e5e7eb; border-radius: 4px; overflow: hidden; background: #f3f4f6; }
.tc-hc__shot img { width: 100%; height: 100%; object-fit: cover; }
.tc-hc__shot button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(17,24,39,.75); color: #fff; font-size: 14px; line-height: 20px; padding: 0; cursor: pointer; }
/* v37d: крестик фото, кнопка «+ группа» в форме */
.tc-hc__pbox { position: relative; display: inline-flex; flex: none; }
.tc-hc__px { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(17,24,39,.8); color: #fff; font-size: 14px; line-height: 20px; padding: 0; cursor: pointer; }
.tc-hc__px[hidden] { display: none; }
.tc-hc__form .tc-kpp__fld > span .tc-kpp__textbtn { margin-left: 8px; }
/* v37e: большое фото в форме, просмотр, ожидание ИИ, «Очистить», валюта в списке */
.tc-hc-modal .tc-hc__img--form { width: 160px; height: 160px; cursor: zoom-in; border: 1px solid #e5e7eb; background: #fff; }
.tc-hc-modal .tc-hc__img--form:empty { cursor: default; background: #f3f4f6; }
.tc-hc-zoom { cursor: zoom-out; }
.tc-hc-zoom .tc-hc__box { width: auto; max-width: min(92vw, 1000px); padding: 12px; background: #fff; }
.tc-hc-zoom img { display: block; max-width: 100%; max-height: 85vh; margin: 0 auto; object-fit: contain; }
.tc-hc__ai { position: relative; }
.tc-hc__ai.is-busy { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.tc-hc__ai.is-busy::after { content: attr(data-busy); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; background: rgba(238,242,255,.88); color: #3730a3; font-weight: 600; font-size: 14px; border-radius: 6px; white-space: pre-line; line-height: 1.6; }
.tc-hc__form.is-aiwait > :not(.tc-hc__ai), .tc-hc__form.is-saving > :not(.tc-kpp-modal__btns) { opacity: .55; transition: opacity .2s; }
.tc-hc-modal .tc-hc__flash { background: #e0e7ff; transition: background .2s; }
.tc-hc__clear { margin-left: auto; color: #6b7280; }
.tc-hc__clear.is-sure { color: #b91c1c; font-weight: 600; }
.tc-hc__curnote { font-size: 12px; color: #6b7280; text-align: right; padding: 4px 0 6px; }
/* v38: товар есть в КП — корзина неактивна */
.tc-hc__delno { opacity: .3; cursor: not-allowed; display: inline-flex; align-items: center; justify-content: center; }
/* v39: монтаж в КП */
.tc-kpp__mont .tc-kpp__mrows { border-top: 1px solid var(--k-ink); }
.tc-kpp__mgh { display: flex; justify-content: space-between; gap: 12px; padding: 10px 46px 4px 6px; font-size: 12px; font-weight: 600; color: var(--k-mute); text-transform: uppercase; letter-spacing: .02em; }
.tc-kpp__mrow { display: grid; grid-template-columns: 28px minmax(0, 1fr) 150px 96px 112px 28px; gap: 12px; align-items: center; padding: 8px 6px; border-bottom: 1px solid var(--k-line); background: #fff; }
.tc-kpp__mrow:hover { background: var(--k-bg2); }
.tc-kpp__mrow.is-off .tc-kpp__minfo, .tc-kpp__mrow.is-off .tc-kpp__mp, .tc-kpp__mrow.is-off .tc-kpp__mq { opacity: .45; }
.tc-kpp__mon { display: flex; align-items: center; justify-content: center; margin: 0; cursor: pointer; }
.tc-kpp__mon input { width: 16px; height: 16px; cursor: pointer; }
.tc-kpp__minfo { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tc-kpp__mname { font-size: 14px; line-height: 1.35; }
.tc-kpp__mtag { display: inline-block; font-size: 10.5px; padding: 0 6px; border-radius: 9px; background: #eef0f3; color: var(--k-mute); vertical-align: 1px; }
.tc-kpp__mopts { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-kpp__msel { height: 28px; border: 1px solid var(--k-line2); border-radius: 4px; background: #fff; font-size: 12.5px; padding: 0 6px; max-width: 100%; color: var(--k-ink); }
.tc-kpp__msel--w { flex: 1 1 260px; min-width: 0; }
.tc-kpp__msel.is-manual { border-color: #d97706; background: #fff7ed; }
.tc-kpp__mq { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.tc-kpp__mq input { width: 72px; height: 32px; border: 1px solid var(--k-line2); border-radius: 4px; text-align: right; padding: 0 8px; font-size: 14px; outline: none; background: #fff; }
.tc-kpp__mq input:focus { border-color: var(--k-ink); }
.tc-kpp__mq input.is-manual { border-color: #d97706; background: #fff7ed; }
.tc-kpp__mp { text-align: right; font-size: 13px; color: #4b5563; white-space: nowrap; }
.tc-kpp__mstale { margin: 0 0 8px; padding: 8px 10px; border: 1px solid #f59e0b; background: #fffbeb; border-radius: 6px; font-size: 13px; }
.tc-kpp__mnone { margin-top: 10px; font-size: 13px; color: var(--k-mute); }
.tc-kpp__mnone summary { cursor: pointer; }
.tc-kpp__mnone ul { margin: 4px 0 0; padding-left: 18px; }
.tc-kpp__mnone p { margin: 6px 0 0; }
.tc-kpp__mfind { width: min(640px, 94vw); }
.tc-kpp__mlist { display: flex; flex-direction: column; max-height: 60vh; overflow: auto; margin-top: 8px; border-top: 1px solid var(--k-line); }
.tc-kpp__mitem { display: flex; justify-content: space-between; gap: 12px; align-items: center; text-align: left; padding: 8px 6px; border: 0; border-bottom: 1px solid var(--k-line); background: #fff; font: inherit; font-size: 13.5px; cursor: pointer; color: var(--k-ink); }
.tc-kpp__mitem:hover { background: var(--k-bg2); }
.tc-kpp__mitem small { display: block; font-size: 11.5px; color: var(--k-mute); }
.tc-kpp__mitem > span:last-child { white-space: nowrap; color: #4b5563; }
.tc-kpp__edit.is-ro .tc-kpp__mrow .tc-kpp__x, .tc-kpp__edit.is-ro .tc-kpp__mrow .tc-kpp__reset { visibility: hidden; }
#tcKpPane-mont .tc-kpp__blk { display: flex; flex-direction: column; gap: 10px; }
#tcKpPane-mont .is-sure { border-color: #b91c1c; color: #b91c1c; }
@media (max-width: 760px) {
	.tc-kpp__mrow { grid-template-columns: 24px minmax(0, 1fr) 28px; grid-template-areas: 'on info x' '. q sum'; gap: 6px 8px; }
	.tc-kpp__mon { grid-area: on; } .tc-kpp__minfo { grid-area: info; } .tc-kpp__mrow .tc-kpp__x { grid-area: x; }
	.tc-kpp__mq { grid-area: q; } .tc-kpp__mp { display: none; } .tc-kpp__mrow .tc-kpp__sum { grid-area: sum; }
	.tc-kpp__mgh { padding-right: 6px; }
}
button.tc-kpp__link { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; cursor: pointer; }
button.tc-kpp__link:hover { text-decoration: underline; }
/* v40: монтаж — итоги КП работ, проверка КП, блокировка */
.tc-kpp__mg { display: flex; justify-content: space-between; gap: 16px; padding: 10px 46px 10px 6px; border-bottom: 1px solid var(--k-line); font-size: 14px; }
.tc-kpp__mg span:last-child { font-weight: 600; min-width: 112px; text-align: right; }
.tc-kpp__mdisc { display: flex; justify-content: flex-end; align-items: center; gap: 24px; padding: 10px 46px 0 6px; font-size: 13px; color: var(--k-mute); }
.tc-kpp__mdisc label { display: flex; align-items: center; gap: 8px; margin: 0; }
.tc-kpp__mdisc input { width: 80px; height: 32px; text-align: right; }
.tc-kpp__mdisc > span { min-width: 112px; text-align: right; color: var(--k-ink); }
.tc-kpp__checks { border: 1.5px solid #f59e0b; border-radius: 8px; padding: 12px 14px; background: #fffdf5; }
.tc-kpp__checks .tc-kpp__sh { padding-bottom: 4px; }
.tc-kpp__chk-i { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid #fde68a; font-size: 13.5px; }
.tc-kpp__chk-i:first-of-type { border-top: 0; }
.tc-kpp__chk-i > div { flex: 1; min-width: 0; }
.tc-kpp__chk-i.is-block b { color: #b91c1c; }
.tc-kpp__chk-i.is-info b { font-weight: 500; }
.tc-kpp__chk-i ul { margin: 4px 0 0; padding-left: 18px; color: var(--k-mute); }
.tc-kpp__chk-ic { flex: none; width: 20px; text-align: center; }
.tc-kpp__chk-b { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tc-kpp__chk-b .is-sure { border-color: #b91c1c; color: #b91c1c; }
.tc-kpp__chkbadge { width: 100%; margin-top: 8px; padding: 8px 10px; border: 1px solid #fca5a5; background: #fef2f2; color: #b91c1c; border-radius: 6px; font: inherit; font-size: 12.5px; font-weight: 600; text-align: left; cursor: pointer; }
.tc-kpp__blk.is-blocked { opacity: .5; }
a.is-blocked { pointer-events: none; }
@media (max-width: 760px) { .tc-kpp__mg, .tc-kpp__mdisc { padding-right: 6px; } .tc-kpp__chk-i { flex-wrap: wrap; } }
/* v40b: этапы монтажа в сетке товаров (макет 05.10) */
.tc-kpp__row--mont { padding-top: 8px; padding-bottom: 8px; }
.tc-kpp__row--mont .tc-kpp__mico { height: 56px; background: #f6f7f9; }
.tc-kpp__row--mont .tc-kpp__name { font-weight: 600; }
.tc-kpp__row--mont .tc-kpp__desc { color: var(--k-mute); }
.tc-kpp__gt--disc label { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.tc-kpp__gt--disc input { width: 72px; height: 30px; text-align: right; }
@media (max-width: 760px) {
	.tc-kpp__row--mont { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: none; align-items: center; }
	.tc-kpp__row--mont > div:empty { display: none; }
	.tc-kpp__row--mont .tc-kpp__img, .tc-kpp__row--mont .tc-kpp__info, .tc-kpp__row--mont .tc-kpp__sum { grid-area: auto; }
	.tc-kpp__row--mont .tc-kpp__img { width: 64px; height: 48px; }
	.tc-kpp__row--mont .tc-kpp__one { white-space: normal; }
}
.tc-kpp__mfrozen { margin: 6px 0; padding: 8px 10px; border-radius: 6px; background: #f5f3ff; color: #5b21b6; font-size: 13px; display: block; }
/* v41b: строки этапов ниже (в одну строку), пиктограмма — в прямоугольнике по ширине столбца фото */
.tc-kpp__row--mont { padding-top: 4px; padding-bottom: 4px; }
.tc-kpp__row--mont .tc-kpp__mico { height: 34px; border-radius: 4px; }
.tc-kpp__row--mont .tc-kpp__mico svg { width: 24px; height: 24px; }
.tc-kpp__row--mont .tc-kpp__name { font-size: 14px; }
.tc-kpp__msub { font-weight: 400; color: var(--k-mute); font-size: 13px; }
@media (max-width: 760px) { .tc-kpp__row--mont .tc-kpp__img { width: 64px; height: 30px; } }
.tc-kpp__row--mont .tc-kpp__one { white-space: normal; overflow: visible; } .tc-kpp__msub { white-space: nowrap; }

/* v42b: количество / цена / сумма — на одной линии; остаток и поступление — одной строкой под ними (второй ряд сетки) */
.tc-kpp__row[data-pid] { grid-template-rows: minmax(0, 1fr) auto; row-gap: 0; }
.tc-kpp__row[data-pid] > .tc-kpp__arrows { grid-column: 1; grid-row: 1 / span 2; }
.tc-kpp__row[data-pid] > .tc-kpp__img { grid-column: 2; grid-row: 1 / span 2; }
.tc-kpp__row[data-pid] > .tc-kpp__info { grid-column: 3; grid-row: 1 / span 2; }
.tc-kpp__row[data-pid] > .tc-kpp__x { grid-column: 7; grid-row: 1 / span 2; }
.tc-kpp__row[data-pid] .tc-kpp__nums > .tc-kpp__qty { grid-column: 4; grid-row: 1; }
.tc-kpp__row[data-pid] .tc-kpp__nums > .tc-kpp__price { grid-column: 5; grid-row: 1; }
.tc-kpp__row[data-pid] .tc-kpp__nums > .tc-kpp__sum { grid-column: 6; grid-row: 1; }
.tc-kpp__stock { grid-column: 4 / 7; grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin-top: 4px; font-size: 11.5px; line-height: 1.3; color: var(--k-mute); font-variant-numeric: tabular-nums; }
.tc-kpp__stock .is-yes { color: #15803d; }
.tc-kpp__stock .is-no { color: var(--k-mute); }
.tc-kpp__stock .is-arr { color: #1056cc; }
.tc-kpp__sep { color: var(--k-mute2); }
@media (max-width: 767px) {
	.tc-kpp__row[data-pid] { grid-template-rows: none; row-gap: 8px; }
	.tc-kpp__row[data-pid] > .tc-kpp__arrows { grid-area: ar; } .tc-kpp__row[data-pid] > .tc-kpp__img { grid-area: img; }
	.tc-kpp__row[data-pid] > .tc-kpp__info { grid-area: info; } .tc-kpp__row[data-pid] > .tc-kpp__x { grid-area: x; }
	.tc-kpp__nums { flex-wrap: wrap; }
	.tc-kpp__stock { flex: 1 1 100%; order: 9; margin-top: -2px; }
}

/* v42: калькулятор закупочной цены (альтернативный каталог) */
.tc-hc__pur { position: relative; }
.tc-hc__purin { display: flex; gap: 4px; align-items: center; }
.tc-hc__purin input { flex: 1; min-width: 0; }
.tc-hc__calcbtn { flex: none; width: 34px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d5d9e0; border-radius: 6px; background: #fff; color: #1056cc; cursor: pointer; padding: 0; }
.tc-hc__calcbtn:hover { border-color: #1056cc; background: #eef4fd; }
.tc-hc__calchint { font-size: 11px; line-height: 1.3; color: #6b7280; }
.tc-calc { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; width: 292px; max-width: calc(100vw - 32px); padding: 10px; background: #fff; border: 1px solid #d5d9e0; border-radius: 8px; box-shadow: 0 14px 34px rgba(22, 24, 29, .18); display: flex; flex-direction: column; gap: 8px; color: #16181d; font-size: 13px; }
.tc-calc__head { display: flex; align-items: center; justify-content: space-between; }
.tc-calc__head button { width: 26px; height: 26px; border: 0; background: none; font-size: 18px; color: #6b7280; cursor: pointer; border-radius: 4px; }
.tc-calc__head button:hover { background: #f6f7f9; }
.tc-calc__expr { width: 100%; height: 36px; padding: 0 10px; border: 1px solid #d5d9e0; border-radius: 6px; font-size: 15px; text-align: right; outline: none; box-sizing: border-box; }
.tc-calc__expr:focus { border-color: #1056cc; }
.tc-calc__res { min-height: 18px; text-align: right; font-size: 15px; font-weight: 600; }
.tc-calc__res.is-err { color: #b91c1c; font-weight: 400; font-size: 12px; }
.tc-calc__keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.tc-calc__keys button { height: 34px; border: 1px solid #e6e8ec; border-radius: 6px; background: #f6f7f9; font: inherit; font-size: 15px; color: #16181d; cursor: pointer; }
.tc-calc__keys button:hover { background: #eef0f3; }
.tc-calc__keys button.is-op { background: #eef4fd; color: #1056cc; border-color: #d6e4fb; }
.tc-calc__keys button[data-ck="="] { background: #1056cc; color: #fff; border-color: #1056cc; }
.tc-calc__acts { display: flex; flex-wrap: wrap; gap: 4px; }
.tc-calc__acts button { height: 28px; padding: 0 8px; border: 1px solid #d5d9e0; border-radius: 6px; background: #fff; font: inherit; font-size: 12px; color: #16181d; cursor: pointer; white-space: nowrap; }
.tc-calc__acts button:hover { border-color: #1056cc; color: #1056cc; }
.tc-calc__div { display: inline-flex; gap: 2px; }
.tc-calc__div input { width: 54px; height: 28px; padding: 0 6px; border: 1px solid #d5d9e0; border-radius: 6px; font-size: 12px; text-align: right; box-sizing: border-box; }
.tc-calc__foot { display: flex; align-items: center; gap: 12px; }
.tc-calc__foot .tc-b { border: 0; }

/* v43: вес и размеры в форме альтернативного каталога */
.tc-hc__size { display: flex; align-items: center; gap: 4px; }
.tc-hc__size input { flex: 1; min-width: 0; text-align: right; }
.tc-hc__size i { font-style: normal; color: #9ca3af; }
/* v43t: альтернативный каталог — таблица «товары и цены» */
.tc-hc__tbl { display: flex; flex-direction: column; }
.tc-hc__th, .tc-hc__tr { display: grid; grid-template-columns: 56px minmax(0, 1fr) repeat(var(--nc, 4), 84px) 76px; gap: 0 12px; align-items: center; }
.tc-hc__tbl--pick .tc-hc__th, .tc-hc__tbl--pick .tc-hc__tr { grid-template-columns: 56px minmax(0, 1fr) repeat(var(--nc, 4), 84px) 118px; }
.tc-hc__th { padding: 6px 2px; border-bottom: 1px solid #16181d; font-size: 11px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .03em; position: sticky; top: 0; background: #fff; z-index: 1; }
.tc-hc__tr { padding: 10px 2px; border-bottom: 1px solid #e6e8ec; }
.tc-hc__tr:hover { background: #fafafb; }
.tc-hc__n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 13px; color: #16181d; }
.tc-hc__n small { display: none; }
.tc-hc__n b { font-weight: 600; }
.tc-hc__tr .tc-hc__n.is-cur { font-weight: 700; }
.tc-hc__tr .tc-hc__man::before, .tc-hc__mdot { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #d97706; margin-right: 5px; vertical-align: 2px; }
.tc-hc__mdot { margin: 0 2px 0 0; }
.tc-hc__tr .tc-hc__man { color: #16181d; }
.tc-hc__two { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.tc-hc__sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.tc-hc__sort:hover, .tc-hc__sort.is-on { color: #16181d; }
.tc-hc__tr .tc-hc__btns { justify-content: flex-end; align-items: center; gap: 4px; }
.tc-hc__curnote { text-align: right; font-size: 12px; color: #6b7280; }
@media (max-width: 760px) {
	.tc-hc__th { display: none; }
	/* телефон: 1-я строка — фото, название, кнопки; 2-я — цены с подписями */
	.tc-hc__tr, .tc-hc__tbl--pick .tc-hc__tr { grid-template-columns: repeat(var(--mc, 4), minmax(0, 1fr)); gap: 8px 6px; }
	.tc-hc__tr .tc-hc__img { grid-column: 1; grid-row: 1; width: 48px; height: 48px; }
	.tc-hc__tr .tc-hc__info { grid-column: 2 / -2; grid-row: 1; }
	.tc-hc__tr .tc-hc__btns { grid-column: -2 / -1; grid-row: 1; flex-wrap: wrap; }
	.tc-hc__tbl--pick .tc-hc__tr .tc-hc__info { grid-column: 2 / -1; }
	.tc-hc__tbl--pick .tc-hc__tr .tc-hc__btns { grid-column: 1 / -1; grid-row: 3; justify-content: flex-end; }
	.tc-hc__tr .tc-hc__n { grid-row: 2; display: flex; flex-direction: column; align-items: flex-end; font-size: 12.5px; }
	.tc-hc__tr .tc-hc__n small { display: block; font-size: 10px; color: #6b7280; }
}

/* End */


/* Start:/local/templates/new/css/tc-calc2.css?179160972319788*/
/* Telcon v61 — новый «Расчёт работ» (/tools/calc/) в дизайне КП. Основа — tc-kp.css (.tc-kpp…), здесь — своё. */
.tc-c2 [hidden] { display: none !important; }
.tc-c2__sp { flex: 1 1 auto; }
.tc-c2__h1 { flex: 1 1 auto; }
.tc-c2__lead { margin: 0; font-size: 15px; color: #4b5563; max-width: 760px; }
.tc-c2__client { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tc-c2__client .tc-kpp__in.is-invalid, .tc-c2 .is-invalid { border-color: #dc2626 !important; background: #fef2f2; }

/* шапка: ссылка на КП товаров (появляется, если КП работ привязано), плашка КП */
.tc-c2 .tc-back:not(.is-sales) { display: none; }
.tc-c2 .tc-back.is-sales { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 6px; background: #ee4630; color: #fff !important; font-weight: 500; font-size: 13px; }
.tc-c2 .tc-back.is-sales::before { content: '←'; }
.tc-c2 .tc-back.is-sales:hover { background: #d63a27; }
.tc-c2__banner { margin-top: -6px; padding: 10px 14px; border: 1px solid #e6e8ec; border-radius: 6px; background: #f6f7f9; font-size: 13px; }
.tc-c2__banner .tc-kp-banner-main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: #6b7280; }
.tc-c2__banner .tc-kp-number { color: #16181d; font-size: 14px; }
.tc-c2__banner .tc-kp-banner-note { margin-top: 3px; color: #6b7280; }
.tc-c2__banner .tc-kp-sales { display: none; }   /* ссылка на КП товаров — красной кнопкой в шапке */
.tc-c2 .tc-kp-dirty { color: #b45309; font-weight: 500; }
.tc-c2 .tc-kp-acc { color: #15803d; }
.tc-c2 .tc-kp-status { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 600; background: #e7eef8; color: #16181d; }
.tc-c2 .tc-kp-status.is-accepted { background: #e7f6ec; color: #15803d; }
.tc-c2 .tc-kp-status.is-expired { background: #f0f1f3; color: #6b7280; }
.tc-c2 .tc-kp-status.is-rejected { background: #fff4e0; color: #b45309; }
.tc-c2__warn { padding: 10px 14px; border-radius: 6px; background: #fff7ed; color: #9a3412; font-size: 13px; }
.tc-c2__note { margin-top: 8px; padding: 8px 12px; border-radius: 6px; background: #fff7ed; color: #9a3412; font-size: 12.5px; }

/* заголовок «Работы» */
.tc-c2 .tc-kpp__sh { flex-wrap: wrap; align-items: center; gap: 8px; }
.tc-c2__clear { color: #6b7280 !important; font-size: 13px; }

/* строки работ */
.tc-c2__empty { display: flex; flex-direction: column; gap: 4px; padding: 28px 6px; color: #6b7280; }
.tc-c2__empty b { color: #16181d; font-weight: 600; }
.tc-c2__grp { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 8px 8px 12px; border-left: 3px solid #1c355e; background: #f3f6fb;
	font-size: 12.5px; font-weight: 600; color: #1c355e; border-bottom: 1px solid #dbe3ef; }   /* v61f (Азер 10.10): заголовок группы — тёмно-синий, обычный шрифт (без курсива), чуть меньше */
.tc-c2__grp b { margin-left: auto; padding: 3px 10px; border-radius: 12px; background: #1c355e; color: #fff; font-size: 13px; font-style: normal; white-space: nowrap; }   /* итог группы — выделен */
.tc-c2__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 124px 112px 112px 28px; grid-template-areas: 'ico name name name name x' 'ico info qty pr sum x';
	gap: 4px 14px; align-items: center; padding: 10px 6px; border-bottom: 1px solid #e6e8ec; background: #fff; transition: background-color .4s ease; }   /* v61d: название на всю строку */
.tc-c2__row > .tc-c2__ico { grid-area: ico; align-self: start; } .tc-c2__row > .tc-c2__name { grid-area: name; } .tc-c2__row > .tc-c2__info { grid-area: info; }
.tc-c2__row > .tc-c2__qty { grid-area: qty; } .tc-c2__row > .tc-c2__pr { grid-area: pr; } .tc-c2__row > .tc-kpp__sum { grid-area: sum; } .tc-c2__row > .tc-kpp__x { grid-area: x; align-self: start; }
.tc-c2__row:hover { background: #f6f7f9; }
.tc-c2__row.is-zero .tc-kpp__sum { color: #9ca3af; }
.tc-c2__row.is-flash { animation: tcC2Flash 1.2s ease; }
@keyframes tcC2Flash { 0% { background: #fde68a; } 100% { background: #fff; } }
.tc-c2__ico { width: 44px; height: 34px; border-radius: 4px; background: #f6f7f9; display: flex; align-items: center; justify-content: center; color: #4b5563; }
.tc-c2__info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tc-c2__name { font-weight: 600; font-size: 14px; line-height: 1.35; }
.tc-c2__num { display: inline-block; min-width: 34px; margin-right: 6px; font-weight: 400; font-size: 12px; color: #9ca3af; font-variant-numeric: tabular-nums; }
.tc-c2__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: #6b7280; }
.tc-c2 .tc-badge-min2 { font-size: 11.5px; font-weight: 600; color: #b45309; background: #fff7ed; border-radius: 4px; padding: 1px 6px; }
.tc-c2 .tc-price-diff { color: #b45309; }
.tc-c2 .tc-row-height { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: #4b5563; }
.tc-c2 .tc-row-height label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.tc-c2 .tc-h-select { height: 24px; font: inherit; font-size: 12px; padding: 0 6px; border: 1px solid #d5d9e0; border-radius: 4px; background: #fff; color: #374151; }
.tc-c2 .tc-h-select.is-high { border-color: #d97706; background: #fff7ed; }
.tc-c2 .tc-h-split { font: inherit; font-size: 12px; background: none; border: 0; padding: 0; color: #0a5bd3; cursor: pointer; }
.tc-c2__qty input { width: 56px; -moz-appearance: textfield; }
.tc-c2__qty input::-webkit-outer-spin-button, .tc-c2__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tc-c2__pr { text-align: right; color: #374151; white-space: nowrap; }
.tc-c2__pr small { font-size: 12px; color: #6b7280; margin-left: 2px; }
.tc-c2 .tc-kpp__gt b { font-weight: 600; }

/* правый блок */
.tc-c2__aside.is-pinned { position: fixed; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; z-index: 20; }   /* v61c: закрепление — tcPin() в tc-calc2.js */
.tc-c2__stages { display: flex; flex-direction: column; gap: 4px; }
.tc-c2__stages .tc-kt-row { display: flex; gap: 8px; font-size: 13px; color: #4b5563; }
.tc-c2__stages .tc-kt-row.is-empty { display: none; }
.tc-c2__stages .tc-kt-idx { display: none; }
.tc-c2__stages .tc-kt-name { flex: 1; min-width: 0; }
.tc-c2__stages .tc-kt-val { font-variant-numeric: tabular-nums; white-space: nowrap; color: #1c355e; font-weight: 700; }   /* v61f: итоги по группам — тёмно-синие, жирные */
.tc-c2__stages .tc-kt-val::after { content: ' ₼'; }
.tc-c2__tabs { grid-template-columns: 1fr 1fr; }
.tc-c2__crew { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; border: 1px solid #d5d9e0; border-radius: 6px; padding: 2px; }
.tc-c2__crew button { height: 30px; border: 0; border-radius: 4px; background: transparent; font: inherit; font-weight: 500; font-size: 13px; color: #4b5563; cursor: pointer; }
.tc-c2__crew button:hover { background: #f6f7f9; }
.tc-c2__crew button.is-on { background: #16181d; color: #fff; }
.tc-c2__time { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tc-c2__time div { border: 1px solid #e6e8ec; border-radius: 6px; padding: 6px 8px; }
.tc-c2__time small { display: block; font-size: 11px; color: #6b7280; line-height: 1.3; }
.tc-c2__time b { font-size: 16px; }
.tc-c2__int { background: #f6f7f9; border-radius: 6px; padding: 8px 10px; font-size: 12.5px; color: #374151; display: flex; flex-direction: column; gap: 3px; }
.tc-c2__int div { display: flex; justify-content: space-between; gap: 8px; }
.tc-c2__int em { font-style: normal; font-size: 11px; color: #b45309; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.tc-c2__qr { width: 104px; height: 104px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; color: #9ca3af; padding: 6px; cursor: pointer; }
.tc-c2__qr.has-qr { padding: 2px; }
.tc-c2__qr svg { width: 100%; height: 100%; display: block; }
.tc-c2__save { width: 100%; }
.tc-c2__guest { border: 1px solid #16181d; border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.tc-c2__guest .tc-b { width: 100%; }
.tc-c2__guest small { font-size: 12px; color: #6b7280; line-height: 1.45; }
.tc-c2__guest a { color: #0a5bd3 !important; }
.tc-c2__err { padding: 8px 10px; border-radius: 6px; background: #fef2f2; color: #b91c1c; font-size: 12.5px; }
.tc-c2__inst { display: flex; flex-direction: column; gap: 6px; }
.tc-c2 .tc-inst-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) 84px; gap: 6px; align-items: center; }
.tc-c2 .tc-inst-idx { font-size: 12px; color: #9ca3af; text-align: right; }
.tc-c2 .tc-inst-name, .tc-c2 .tc-inst-h { height: 32px; width: 100%; border: 1px solid #d5d9e0; border-radius: 6px; padding: 0 8px; font: inherit; font-size: 13px; outline: none; }
.tc-c2 .tc-inst-name:focus, .tc-c2 .tc-inst-h:focus { border-color: #16181d; }
.tc-c2 .tc-inst-hours { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #6b7280; }
.tc-c2 .tc-inst-h { text-align: right; padding: 0 6px; }
.tc-c2__metrics { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.tc-c2 .tc-metric { display: flex; justify-content: space-between; gap: 8px; }
.tc-c2 .tc-metric span { color: #4b5563; }
.tc-c2 .tc-metric.is-accent { background: #f6f7f9; border-radius: 6px; padding: 6px 8px; }
.tc-c2 .tc-metric.is-accent strong { color: #b45309; }
.tc-c2__ta { height: 64px !important; padding: 6px 8px !important; resize: vertical; font: inherit; font-size: 13px; }
.tc-c2__seo { max-width: 860px; color: #374151; line-height: 1.6; }
.tc-c2__seo h2 { font-size: 18px; margin: 12px 0 6px; color: #16181d; }

/* список «КП на работы» */
.tc-c2__list .tc-kpp__top { align-items: center; }
.tc-c2__draft { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 14px; border-radius: 6px; background: #eef4ff; font-size: 14px; }
.tc-c2__draft span { flex: 1; }
.tc-c2__table tbody tr { cursor: pointer; }
.tc-c2__table td b { font-weight: 600; }

/* окно «Добавить работы» */
html.tc-c2-lock, html.tc-c2-lock body { overflow: hidden; }
.tc-c2m { position: fixed; inset: 0; z-index: 130; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px 16px; }
.tc-c2m__bg { position: absolute; inset: 0; background: rgba(22, 24, 29, .45); }
.tc-c2m__box { position: relative; width: 1000px; max-width: 100%; height: 88vh; max-height: 860px; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 8px;
	box-shadow: 0 20px 60px rgba(22, 24, 29, .25); font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif; font-size: 14px; color: #16181d; }
.tc-c2m__head { display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-bottom: 1px solid #e6e8ec; }
.tc-c2m__head h3 { margin: 0; font-size: 18px; font-weight: 600; white-space: nowrap; }
.tc-c2m__search { flex: 1 1 auto !important; position: relative; }
.tc-c2m__clr { border: 0; background: none; color: #9ca3af; cursor: pointer; font-size: 14px; padding: 0 4px; }
.tc-c2m__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.tc-c2m__nav { border-right: 1px solid #e6e8ec; padding: 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.tc-c2m__nav button { text-align: left; border: 0; background: transparent; border-radius: 4px; padding: 8px 10px; font: inherit; font-size: 13px; color: #374151; display: flex; justify-content: space-between; gap: 8px; cursor: pointer; line-height: 1.3; }
.tc-c2m__nav button:hover { background: #f6f7f9; }
.tc-c2m__nav button.is-on { background: #16181d; color: #fff; }
.tc-c2m__nav small { opacity: .6; }
.tc-c2m__list { position: relative; overflow-y: auto; padding: 0 20px 16px; overscroll-behavior: contain; }
.tc-c2m__gh, .tc-c2m .tc-group-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; width: 100%; padding: 14px 0 6px; border: 0; background: #fff;
	font: inherit; font-size: 12px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .03em; text-align: left; pointer-events: none; border-bottom: 1px solid #16181d; }
.tc-c2m .tc-chev { display: none; }
.tc-c2m .tc-group-count { margin-left: auto; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 9px; background: #16a34a; color: #fff; font-size: 11px; line-height: 18px; text-align: center; letter-spacing: 0; }
.tc-c2m ul { list-style: none; margin: 0; padding: 0; }
.tc-c2m .tc-group-items { display: block !important; }
.tc-c2m li { margin: 0; padding: 0; }
.tc-c2m li::before { content: none !important; }
.tc-c2m .tc-item { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 4px; border: 0; border-bottom: 1px solid #e6e8ec;
	background: #fff; font: inherit; text-align: left; color: #16181d; cursor: pointer; transition: background-color .15s; }
.tc-c2m .tc-item:hover { background: #f6f7f9; }
.tc-c2m .tc-item-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tc-c2m .tc-item-name { font-weight: 500; }
.tc-c2m .tc-item-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: #6b7280; }
.tc-c2m .tc-item-num { color: #9ca3af; font-variant-numeric: tabular-nums; }
.tc-c2m .tc-item-state { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px; border: 1px solid #16181d; border-radius: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.tc-c2m .tc-item-state::before { content: '+ Добавить'; }
.tc-c2[data-lang="az"] .tc-c2m .tc-item-state::before { content: '+ Əlavə et'; }
.tc-c2m .tc-item.is-added { background: #f0fdf4; }
.tc-c2m .tc-item.is-added .tc-item-state { border-color: transparent; color: #15803d; }
.tc-c2m .tc-item.is-added .tc-item-state::before { content: '✓ в расчёте'; }
.tc-c2[data-lang="az"] .tc-c2m .tc-item.is-added .tc-item-state::before { content: '✓ hesablamada'; }
.tc-c2m .tc-item.just-added { animation: tcC2Flash 1s ease; }
.tc-c2m .tc-mark { background: #fde68a; color: inherit; padding: 0; }
.tc-c2m .tc-search-empty { padding: 24px 0; color: #6b7280; margin: 0; }
.tc-c2m__foot { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid #e6e8ec; }

/* окно «Ссылка и QR-код» (из script.js) */
.tc-modal-wrap { position: fixed; inset: 0; z-index: 140; display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px; font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif; font-size: 14px; color: #16181d; }
.tc-modal-wrap[hidden] { display: none; }
.tc-modal-backdrop { position: absolute; inset: 0; background: rgba(22, 24, 29, .45); }
.tc-modal { position: relative; width: 520px; max-width: 100%; background: #fff; border-radius: 8px; box-shadow: 0 20px 60px rgba(22, 24, 29, .25); }
.tc-modal-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e6e8ec; }
.tc-modal-head .tc-panel-title { margin: 0; flex: 1; font-size: 16px; font-weight: 600; }
.tc-modal-close { border: 0; background: none; font-size: 16px; color: #6b7280; cursor: pointer; }
.tc-modal-body { padding: 16px 18px 18px; }
.tc-share-hint { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: #4b5563; }
.tc-share-link { display: flex; gap: 8px; }
.tc-share-link input { flex: 1; min-width: 0; font: inherit; font-size: 13px; height: 36px; padding: 0 10px; border: 1px solid #d5d9e0; border-radius: 6px; }
.tc-share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tc-share-qr { text-align: center; margin-top: 16px; }
.tc-share-qr img { width: 180px; height: 180px; display: block; margin: 0 auto 6px; }
.tc-share-qr span { font-size: 12px; color: #6b7280; }
.tc-modal .tc-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border: 1px solid #16181d; border-radius: 6px; background: #fff; color: #16181d !important;
	font: inherit; font-size: 13px; font-weight: 500; text-decoration: none !important; cursor: pointer; white-space: nowrap; }
.tc-modal .tc-btn-primary { background: #16181d; color: #fff !important; }
.tc-modal .tc-btn-ghost { border-color: #d5d9e0; }

@media (max-width: 900px) { .tc-c2__client { grid-template-columns: 1fr; } .tc-c2__client .tc-kpp__span2 { grid-column: auto; } }
@media (max-width: 767px) {
	.tc-c2__row { grid-template-columns: 36px minmax(0, 1fr) auto 28px; grid-template-areas: 'ico name name x' 'ico info info info' 'qty qty sum sum'; gap: 6px 10px; }
	.tc-c2__row > .tc-c2__ico { width: 36px; height: 30px; } .tc-c2__row > .tc-c2__pr { display: none; } .tc-c2__row > .tc-c2__qty { justify-self: start; }
	.tc-c2m { padding: 0; } .tc-c2m__box { height: 100%; max-height: none; border-radius: 0; }
	.tc-c2m__head { flex-wrap: wrap; gap: 8px 12px; } .tc-c2m__head h3 { flex: 1; } .tc-c2m__search { order: 3; flex-basis: 100% !important; }
	.tc-c2m__body { grid-template-columns: 1fr; } .tc-c2m__nav { display: none; }
	.tc-c2m__list { padding: 0 12px 12px; }
}

/* v61j: окно «Командировка» */
.tc-c2t__box { width: 640px; height: auto; max-height: 90vh; }
.tc-c2t__body { flex: 1 1 auto; min-height: 0; padding: 16px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.tc-c2t__lbl { font-size: 12px; color: #6b7280; margin-bottom: -6px; }
.tc-c2t__seg { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-c2t__seg button { height: 34px; padding: 0 12px; border: 1px solid #d5d9e0; border-radius: 6px; background: #fff; font: inherit; font-size: 13px; color: #374151; cursor: pointer; }
.tc-c2t__seg button.is-on { background: #16181d; border-color: #16181d; color: #fff; }
.tc-c2t__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; align-items: end; }
.tc-c2t__w2 { grid-column: span 2; }
.tc-c2t__night { grid-column: span 1; font-size: 13px; padding-bottom: 8px; }
.tc-c2t__hint { font-size: 12.5px; margin: 0; line-height: 1.45; }
.tc-c2t__tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tc-c2t__tbl td { padding: 7px 4px; border-bottom: 1px solid #e6e8ec; vertical-align: top; }
.tc-c2t__tbl td small { display: block; color: #6b7280; font-size: 12px; }
.tc-c2t__tbl td.tc-num { text-align: right; white-space: nowrap; }
.tc-c2t__tbl tfoot td { border-bottom: 0; font-weight: 600; color: #1c355e; padding-top: 10px; }
.tc-c2t__warn { color: #b91c1c; font-size: 13px; margin: 0; }
@media (max-width: 767px) {
	.tc-c2t__box { height: 100%; max-height: none; }
	.tc-c2t__grid { grid-template-columns: 1fr 1fr; } .tc-c2t__w2, .tc-c2t__night { grid-column: 1 / -1; }
}

/* v61k (Азер 10.10): «Бригада» — плитки в ряд, подпись в одну строку, значения по одной линии */
.tc-c2__time--k div { display: flex; flex-direction: column; gap: 2px; padding: 7px 10px; min-width: 0; }
.tc-c2__time--k small { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-c2__time--k b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.tc-c2__time--k div:last-child { background: #f3f6fb; border-color: #d6e0ef; }
.tc-c2__time--k div:last-child b { color: #1c355e; }

/* End */
/* /local/templates/new/css/tc-kp.css?179150946948597 */
/* /local/templates/new/css/tc-calc2.css?179160972319788 */
