/* Additive shell styles for the Techsens sales prototype.
   Visual tokens, buttons, tables, cards, and modals stay in excelloite.css. */

body.k-app {
  --k-sidebar-w: 288px;
  --k-purple: #6CA5B3;
  --k-purple-deep: #4f8796;
  --k-purple-soft: #e7f3f6;
  --k-purple-active: #d3e7ec;
  --k-purple-mid: #6CA5B3;
  --k-lavender: #e7f3f6;
  --k-green: #589B85;
  --k-green-soft: #e6f4ef;
  --k-red: #D03026;
  --k-red-soft: #fdeceb;
  --k-blue: #6CA5B3;
}

body.k-app .k-shell {
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(108, 165, 179, 0.14), transparent 55%),
    radial-gradient(700px 360px at 92% 8%, rgba(208, 48, 38, 0.06), transparent 50%),
    var(--k-bg);
}

.k-brand--logo {
  display: flex;
  justify-content: center;
  padding: 16px 14px 8px;
}

.k-brand--logo img {
  width: 75px;
  height: auto;
  display: block;
}

.k-topbar .k-brand__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.k-auth__visual {
  background:
    linear-gradient(160deg, rgba(14, 32, 36, 0.9) 0%, rgba(18, 46, 48, 0.55) 46%, rgba(88, 155, 133, 0.42) 100%),
    radial-gradient(860px 480px at 16% 8%, rgba(108, 165, 179, 0.62), transparent 56%),
    radial-gradient(620px 380px at 90% 84%, rgba(208, 48, 38, 0.4), transparent 52%),
    linear-gradient(145deg, #14343a 0%, #1c4a46 54%, #24584f 100%);
}

.k-auth__visual .k-brand--logo {
  justify-content: flex-start;
  width: fit-content;
  padding: 8px 12px;
  background: #fff;
  border-radius: 12px;
}

.k-auth__visual .k-brand--logo img {
  width: 148px;
}

.k-auth__form .k-field {
  display: block;
  width: 100%;
}

.k-auth__accounts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.k-auth__accounts button {
  text-align: left;
  border: 1px solid var(--k-border);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}

.k-auth__accounts button strong {
  display: block;
  font-size: 13px;
}

.k-auth__accounts button span {
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-range-wrap {
  width: 248px;
  max-width: 100%;
  margin-left: auto;
}

#reportrange {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 36px;
  box-sizing: border-box;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

#reportrange span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#reportrange .fa {
  flex: 0 0 auto;
}

.k-table-toolbar .l2i-range-wrap {
  margin-left: auto;
}

.daterangepicker {
  font-family: var(--k-font);
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker .ranges li.active {
  background: #10687e;
}

.k-auth__error {
  color: var(--k-red);
  font-size: 13px;
  margin: 0 0 12px;
}

.l2i-nav-group__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 2px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--k-text-2);
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

.l2i-nav-group__btn i {
  font-size: 16px;
  width: 18px;
  text-align: center;
  color: var(--k-muted);
}

.l2i-nav-group__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.k-sidebar {
  background: #102e34;
  border-right-color: #0a2227;
  color: #e7f1f3;
}

.k-sidebar .k-brand--logo {
  margin: 14px 16px 8px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
}

.k-sidebar .k-nav-section {
  color: #9bb8be;
}

.k-sidebar .k-nav a,
.k-sidebar .l2i-nav-group__btn {
  color: #e7f1f3;
}

.k-sidebar .k-nav a i,
.k-sidebar .l2i-nav-group__btn i {
  color: #b7d0d6;
}

.k-sidebar .k-nav a:hover,
.k-sidebar .l2i-nav-group__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.k-sidebar .k-nav a:hover i,
.k-sidebar .l2i-nav-group__btn:hover i {
  color: #fff;
}

.k-sidebar .k-nav a.active,
.k-sidebar .k-nav a.active.tint {
  background: #e5f2f5;
  border-color: #b9d5dc;
  color: #10687e;
}

.k-sidebar .k-nav a.active i {
  color: #10687e;
}

.k-sidebar .k-nav a.active.bar::before {
  background: #10687e;
}

.l2i-nav-group.is-active > .l2i-nav-group__btn {
  background: rgba(108, 165, 179, 0.16);
  color: #f4f8f8;
}

.l2i-nav-group.is-active > .l2i-nav-group__btn i {
  color: #8ec9d4;
}

.k-sidebar .k-badge,
.k-sidebar .k-badge--purple {
  background: #e5f2f5;
  color: #0c5264;
}

.k-sidebar-foot {
  background: #102e34;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.k-sidebar .k-user-meta strong {
  color: #f4f8f8;
}

.k-sidebar .k-user-meta span {
  color: #b7d0d6;
}

.k-sidebar .k-avatar--purple {
  background: #10687e;
  color: #fff;
}

.l2i-sales-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.l2i-sales-split > .k-card {
  min-width: 0;
}

.l2i-product-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.l2i-product-row > .k-card {
  min-width: 0;
  height: 100%;
}

@media (max-width: 768px) {
  .l2i-sales-split,
  .l2i-product-row {
    grid-template-columns: 1fr;
  }
}

.l2i-chev {
  margin-left: auto;
  width: auto !important;
  font-size: 12px !important;
  transition: transform 0.15s ease;
}

.l2i-nav-group.is-open > .l2i-nav-group__btn .l2i-chev {
  transform: rotate(180deg);
}

.l2i-nav-sub-wrap {
  display: none;
}

.l2i-nav-group.is-open > .l2i-nav-sub-wrap {
  display: block;
}

.l2i-nav-sub {
  padding: 0 0 4px 16px;
}

.l2i-menu {
  position: relative;
}

.l2i-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-width: calc(100vw - 24px);
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-lg);
  box-shadow: var(--k-shadow-lg);
  z-index: 60;
  overflow: hidden;
}

.l2i-menu__panel--user {
  width: 240px;
}

.l2i-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--k-border);
}

.l2i-menu__head strong {
  font-size: 13px;
}

.l2i-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--k-text-2);
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.l2i-menu__item i {
  margin-top: 1px;
  color: var(--k-muted);
}

.l2i-menu__item:hover {
  background: var(--k-purple-soft);
  color: var(--k-purple);
}

.l2i-menu__item:hover i {
  color: var(--k-purple);
}

.l2i-menu__item small {
  display: block;
  margin-top: 2px;
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-menu__item--danger:hover {
  background: var(--k-red-soft);
  color: var(--k-red);
}

.l2i-menu__meta {
  padding: 12px 14px 14px;
  border-bottom: 1px solid var(--k-border);
}

.l2i-menu__meta strong {
  display: block;
  font-size: 14px;
}

.l2i-menu__meta span {
  display: block;
  margin-top: 2px;
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-menu__panel .k-notif,
.l2i-menu__panel button.k-notif {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.k-notif__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.k-notif__body span {
  color: var(--k-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.l2i-menu__panel .k-notif:hover {
  background: #fafaf8;
}

.l2i-bell {
  position: relative;
}

.l2i-bell__count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--k-radius-pill);
  background: var(--k-purple);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.l2i-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 4px;
  border: 1px solid transparent;
  border-radius: var(--k-radius-pill);
  background: transparent;
  color: var(--k-text);
  font: inherit;
  cursor: pointer;
}

.l2i-user:hover {
  background: #f3f1ed;
}

.l2i-user img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.l2i-user strong {
  font-size: 13px;
  font-weight: 600;
}

.l2i-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 380px;
  max-width: 72vw;
  max-height: 360px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-lg);
  box-shadow: var(--k-shadow-lg);
  z-index: 70;
}

.l2i-search-label {
  padding: 10px 14px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--k-muted-2);
}

.k-modal__panel.l2i-modal--lg {
  width: min(760px, 100%);
  max-height: min(92vh, 860px);
}

.k-modal__panel.l2i-modal--xl {
  width: min(1040px, 100%);
  max-height: min(92vh, 900px);
}

.k-modal label.k-field {
  display: block;
  width: 100%;
}

.k-modal .k-textarea {
  width: 100%;
  box-sizing: border-box;
}

.l2i-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--k-border);
}

.l2i-line .k-field {
  flex: 1 1 120px;
  margin: 0;
}

.l2i-line .k-field:nth-child(3) {
  flex-basis: 220px;
}

.l2i-line .k-label {
  font-size: 11px;
}

.l2i-quote-sums {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 12px 0;
  padding: 12px 0;
  border-top: 1px solid var(--k-border);
  border-bottom: 1px solid var(--k-border);
}

.l2i-quote {
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  padding: 18px;
  background: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.l2i-quote__top,
.l2i-quote__foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.l2i-quote__brand {
  font-size: 14px;
  font-weight: 650;
  color: var(--k-purple);
}

.l2i-quote__kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--k-muted-2);
  margin-bottom: 4px;
}

.l2i-quote__meta {
  text-align: right;
}

.l2i-quote__party {
  margin: 14px 0;
  padding: 10px 0;
  border-top: 1px solid var(--k-border);
  border-bottom: 1px solid var(--k-border);
}

.l2i-quote__table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px;
}

.l2i-quote__table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--k-muted);
  border-bottom: 1px solid var(--k-border);
  padding: 8px 6px;
}

.l2i-quote__table td {
  padding: 8px 6px;
  border-bottom: 1px solid #f3f1ed;
  vertical-align: top;
  font-size: 13px;
}

.l2i-quote__table td:last-child,
.l2i-quote__table th:last-child {
  text-align: right;
}

.l2i-quote__sum {
  min-width: 220px;
}

.l2i-quote__sum div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 3px 0;
}

.l2i-quote__sum div:last-child {
  font-weight: 700;
  color: var(--k-purple);
  border-top: 1px solid var(--k-border);
  margin-top: 6px;
  padding-top: 8px;
}

.l2i-quote__foot span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--k-muted-2);
}

.l2i-mail {
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  padding: 12px 14px;
  background: #fafaf8;
}

.l2i-mail span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--k-muted-2);
}

.l2i-mail pre {
  white-space: pre-wrap;
  font-family: inherit;
  margin: 8px 0 0;
}

.l2i-banner {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--k-radius);
  background: #fff6e8;
  color: #8a5a12;
}

.l2i-form-section {
  margin: 4px 0 10px;
  font-size: 13px;
  font-weight: 650;
}

.l2i-org,
.l2i-org ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.l2i-org ul {
  margin: 8px 0 0 16px;
  padding-left: 14px;
  border-left: 1px solid var(--k-border);
}

.l2i-org__person {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid var(--k-border);
  border-radius: 10px;
  background: #fff;
}

.l2i-org__person span {
  color: var(--k-muted);
  font-size: 13px;
}

.l2i-org__person.is-on {
  border-color: #8ec0cb;
  background: #e5f2f5;
}

.l2i-org-branch {
  margin: 0 0 16px;
}

.l2i-org-branch h4 {
  margin: 0 0 2px;
  font-size: 14px;
}

.l2i-org-branch .k-lede {
  margin: 0 0 8px;
}

.l2i-org-branch.is-on h4 {
  color: #10687e;
}

.l2i-call {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  height: min(720px, calc(100vh - 220px));
  min-height: 520px;
}

.l2i-queue-card,
.l2i-call-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.l2i-queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 14px 0;
}

.l2i-queue-head .k-card__title {
  margin: 0;
}

.l2i-queue-count {
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e5f2f5;
  color: #10687e;
  font-size: 12px;
  font-weight: 650;
  line-height: 22px;
  text-align: center;
}

.l2i-queue-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
}

.l2i-queue-tools .k-label,
.l2i-queue-tools .k-select,
.l2i-queue-tools .k-search {
  width: 100%;
  max-width: none;
}

.l2i-queue-tools .k-search input {
  background: #fff;
  border-radius: 8px;
}

.l2i-queue {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  border-top: 1px solid var(--k-border);
}

.l2i-queue-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--k-border);
  border-left: 3px solid transparent;
  border-radius: 0;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.l2i-queue-item:hover {
  background: #fafaf8;
}

.l2i-queue-item strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.l2i-queue-item__sub {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  color: var(--k-muted);
  font-size: 12px;
  line-height: 1.35;
}

.l2i-queue-item__sub span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.l2i-queue-item__sub span:last-child {
  flex: 0 0 auto;
}

.l2i-queue-item.is-current {
  border-left-color: #10687e;
  background: #e5f2f5;
}

.l2i-queue-item.is-current strong,
.l2i-queue-item.is-current .l2i-queue-item__sub {
  color: #10687e;
}

.l2i-queue .k-empty {
  padding: 28px 14px;
}

.l2i-call-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--k-border);
}

.l2i-call-head .k-card__title {
  margin: 0;
}

.l2i-call-meta {
  margin-top: 4px;
  color: var(--k-muted);
  font-size: 12px;
  line-height: 1.35;
}

.l2i-call-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 14px 16px 16px;
}

.l2i-call-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--k-border);
  border-radius: 8px;
  overflow: hidden;
}

.l2i-call-fact {
  min-width: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--k-border);
  border-right: 1px solid var(--k-border);
}

.l2i-call-fact:nth-child(2n) {
  border-right: 0;
}

.l2i-call-fact:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.l2i-call-fact span {
  display: block;
  margin-bottom: 2px;
  color: var(--k-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.l2i-call-fact strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.l2i-call-compose .k-textarea,
.l2i-call-compose .k-input {
  width: 100%;
  box-sizing: border-box;
}

.l2i-call-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.l2i-call-follow {
  display: flex;
  gap: 8px;
  align-items: center;
}

.l2i-call-follow .k-input {
  flex: 1 1 auto;
  min-width: 0;
}

.l2i-call-follow .k-btn {
  flex: 0 0 auto;
}

.l2i-call-block {
  margin-top: 16px;
}

.l2i-call-block h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 650;
}

.l2i-call-log__item {
  padding: 10px 0;
  border-top: 1px solid var(--k-border);
}

.l2i-call-log__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.l2i-call-log__top span {
  flex: 0 0 auto;
  color: var(--k-muted);
}

.l2i-call-log__item p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.l2i-call-card > .k-empty {
  margin: auto;
}

.l2i-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.l2i-outcomes .k-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .l2i-call {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .l2i-queue-card,
  .l2i-call-card {
    height: min(640px, 75vh);
  }
}

.l2i-sort {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.l2i-sort.is-active {
  color: var(--k-purple);
}

.l2i-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

[data-filter-host] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.l2i-filterbar {
  margin: 0 0 14px;
  padding: 12px 12px 8px;
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 12px;
}

.l2i-filterbar__scroll {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 8px;
  overflow-x: scroll;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #a1a1aa #ecebe6;
}

.l2i-filterbar__scroll::-webkit-scrollbar {
  height: 8px;
}

.l2i-filterbar__scroll::-webkit-scrollbar-track {
  background: #ecebe6;
  border-radius: 999px;
}

.l2i-filterbar__scroll::-webkit-scrollbar-thumb {
  background: #a1a1aa;
  border-radius: 999px;
}

.l2i-filterbar__scroll > * {
  flex: 0 0 auto;
}

.l2i-filterbar .k-search {
  width: 240px;
  min-width: 240px;
  height: 36px;
}

.l2i-filterbar .k-search input {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 8px;
  padding: 0 12px 0 36px;
}

.l2i-filterbar .k-search input:focus {
  background: #fff;
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(99, 68, 249, 0.12);
}

.l2i-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 172px;
  min-width: 172px;
  margin: 0;
}

.l2i-filter-field > span {
  font-size: 11px;
  font-weight: 600;
  color: var(--k-muted, #71717a);
  white-space: nowrap;
}

.l2i-filter-field--select {
  width: 188px;
  min-width: 188px;
}

.l2i-filterbar .l2i-filter,
.l2i-filterbar .k-input,
.l2i-filterbar .k-select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 36px;
  box-sizing: border-box;
}

.l2i-filterbar__scroll > .k-field {
  flex: 0 0 180px;
  width: 180px;
  min-width: 180px;
  margin: 0;
}

.k-table-toolbar,
.k-table-toolbar [data-filter-host] {
  width: 100%;
}

.k-table-toolbar [data-filter-host] {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.k-table-toolbar [data-filter-host] > label {
  width: 100%;
  min-width: 0;
}

.k-table-toolbar [data-filter-host] .k-search,
.k-table-toolbar [data-filter-host] .l2i-filter,
.k-table-toolbar [data-filter-host] .k-select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: none !important;
  box-sizing: border-box;
}

.k-table-toolbar [data-filter-host] .k-search {
  height: 36px;
}

.k-table-toolbar [data-filter-host] .k-search input {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 8px;
  padding: 0 12px 0 36px;
}

.k-table-toolbar [data-filter-host] .k-search input:focus {
  background: #fff;
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(99, 68, 249, 0.12);
}

.l2i-filter {
  width: 200px;
  min-width: 200px;
  max-width: 100%;
  box-sizing: border-box;
}

.l2i-toolbar-end {
  margin-left: auto;
}

.k-pagination__sizes {
  display: inline-flex;
  gap: 4px;
  margin-right: 8px;
}

.k-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%2371717a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}

a.k-stat {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.k-stat:hover {
  border-color: #c4b5fd;
  box-shadow: var(--k-shadow-lg);
  color: inherit;
}

.l2i-kpis .k-stat__value {
  font-size: 22px;
}

.l2i-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--k-text-2);
  font-size: 14px;
  line-height: 1.55;
}

.l2i-steps li + li {
  margin-top: 8px;
}

.l2i-code {
  display: block;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f6f5f2;
  border: 1px solid var(--k-border);
  color: var(--k-text-2);
  font-family: var(--k-font-mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.l2i-board-tools {
  margin-bottom: 10px;
}

.l2i-board-summary {
  margin: 0 0 10px;
  color: var(--k-muted);
  font-size: 13px;
}

.l2i-board {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  align-items: flex-start;
}

.l2i-col {
  flex: 0 0 292px;
  width: 292px;
  background: #f6f5f2;
  border: 1px solid var(--k-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 230px);
  min-height: 160px;
}

.l2i-col.is-over {
  border-color: #10687e;
  box-shadow: 0 0 0 3px rgba(16, 104, 126, 0.16);
}

.l2i-col--lost {
  background: #fdf6f5;
}

.l2i-col__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid var(--k-border);
}

.l2i-col__mark {
  width: 4px;
  height: 28px;
  border-radius: 99px;
  background: var(--stage, #6CA5B3);
  flex: 0 0 auto;
}

.l2i-col__title {
  min-width: 0;
  flex: 1;
}

.l2i-col__head strong {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.l2i-col__sum {
  display: block;
  margin-top: 1px;
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-col__count {
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--k-border);
  color: var(--k-text);
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.l2i-col__body {
  overflow: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 72px;
}

.l2i-col__empty {
  padding: 18px 8px;
  border: 1px dashed var(--k-border-strong, #d6d3cd);
  border-radius: 10px;
  color: var(--k-muted-2);
  font-size: 12px;
  text-align: center;
}

.l2i-deal {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: grab;
}

.l2i-deal:hover {
  border-color: #b9d5dc;
}

.l2i-deal.is-dragging {
  opacity: 0.55;
}

.l2i-deal.is-locked {
  cursor: not-allowed;
}

.l2i-deal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.l2i-deal__top .mono {
  font-size: 11px;
  color: var(--k-muted);
}

.l2i-deal strong {
  display: block;
  margin: 6px 0 2px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.l2i-deal__sub,
.l2i-deal__meta,
.l2i-deal__who {
  color: var(--k-muted);
  font-size: 12px;
  line-height: 1.35;
}

.l2i-deal__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--k-border);
}

.l2i-deal__value {
  font-weight: 650;
  font-size: 13px;
}

.l2i-deal__value.is-empty {
  color: var(--k-muted-2);
  font-weight: 500;
}

.l2i-deal__meta {
  margin-top: 6px;
  font-size: 11.5px;
}

.l2i-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.l2i-timeline__item {
  padding: 8px 10px;
  border: 1px solid var(--k-border);
  border-radius: 8px;
}

.l2i-timeline__item strong,
.l2i-timeline__item span {
  display: block;
}

.l2i-timeline__item span {
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.l2i-check {
  font-size: 13px;
}

.l2i-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.l2i-tab {
  border: 1px solid var(--k-border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.l2i-tab.is-on {
  background: #f5f3ff;
  border-color: var(--k-purple);
  color: var(--k-purple);
}

.l2i-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.l2i-age,
.l2i-overdue-banner {
  margin-bottom: 12px;
}

.l2i-overdue-banner strong {
  color: var(--k-red, #dc2626);
  font-size: 22px;
  margin-right: 6px;
}

.l2i-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.l2i-feed__date {
  text-align: center;
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-bubble {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.l2i-bubble__card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: 12px;
  padding: 10px 12px;
}

.l2i-bubble__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-bubble__meta strong {
  color: var(--k-text);
}

.l2i-bubble__text {
  margin-top: 4px;
}

.l2i-bubble__file {
  margin-top: 6px;
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-cal__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.l2i-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--k-border);
  border: 1px solid var(--k-border);
  border-radius: 12px;
  overflow: hidden;
}

.l2i-cal__dow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--k-muted);
  padding: 8px 6px;
  text-align: center;
  background: #f6f5f2;
}

.l2i-cal__cell {
  min-height: 78px;
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 6px 8px;
}

.l2i-cal__cell.is-out {
  background: #f7f6f3;
}

.l2i-cal__cell.is-out .l2i-cal__num {
  color: var(--k-muted-2);
}

.l2i-cal__cell.is-today {
  background: #e5f2f5;
  box-shadow: inset 0 0 0 1px #10687e;
}

.l2i-cal__num {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.l2i-cal__event {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  border: 0;
  background: #e7f3f6;
  color: var(--k-text);
  border-radius: 0;
  font-size: 11px;
  line-height: 18px;
  height: 18px;
  padding: 0 6px;
  margin-top: 3px;
  cursor: pointer;
}

.l2i-day__item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: #f5f3ff;
  color: inherit;
  border-radius: 6px;
  font-size: 11px;
  padding: 3px 4px;
  margin-top: 4px;
  cursor: pointer;
}

.l2i-cal__event--late,
.l2i-day__item.is-late {
  background: #fef2f2;
}

.l2i-cal__event--demo { background: #e7f3f6; }
.l2i-cal__event--followup { background: #eff6ff; }
.l2i-cal__event--delivery { background: #fff7ed; }
.l2i-cal__event--install { background: #e6f4ef; }
.l2i-cal__event--warranty { background: #fdeceb; }

.l2i-cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
  font-size: 12px;
}

.l2i-cal__swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
}

.l2i-cal__more {
  margin-top: 2px;
  color: var(--k-muted);
  font-size: 11px;
}

.l2i-day__item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  padding: 10px 12px;
  margin: 0;
  border-bottom: 1px solid var(--k-border);
  border-radius: 0;
  background: transparent;
}

.l2i-day__item small {
  color: var(--k-muted);
}

.l2i-day__item.l2i-cal__event--demo { background: #e7f3f6; box-shadow: inset 3px 0 #6CA5B3; }
.l2i-day__item.l2i-cal__event--followup { background: #eff6ff; box-shadow: inset 3px 0 #2563eb; }
.l2i-day__item.l2i-cal__event--delivery { background: #fff7ed; box-shadow: inset 3px 0 #ea580c; }
.l2i-day__item.l2i-cal__event--install { background: #e6f4ef; box-shadow: inset 3px 0 #589B85; }
.l2i-day__item.l2i-cal__event--warranty { background: #fdeceb; box-shadow: inset 3px 0 #D03026; }

.l2i-cal__event--late {
  background: #fdeceb;
  box-shadow: none;
}

.l2i-day__item.is-late {
  background: #fdeceb;
  box-shadow: inset 3px 0 #D03026;
}

.l2i-week {
  display: grid;
  grid-template-columns: 56px repeat(7, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  overflow: auto;
}

.l2i-week__head,
.l2i-week__time,
.l2i-week__cell {
  min-height: 52px;
  border-top: 1px solid var(--k-border);
  padding: 4px;
  font-size: 11px;
}

.l2i-week__head {
  font-weight: 650;
  background: #f7f6fb;
}

@media (max-width: 800px) {
  .l2i-profile {
    grid-template-columns: 1fr;
  }
}

.l2i-matrix-wrap { overflow: auto; }
.l2i-matrix { width: 100%; border-collapse: collapse; }
.l2i-matrix th, .l2i-matrix td { padding: 8px 10px; border-bottom: 1px solid var(--k-border); text-align: left; vertical-align: middle; }
.l2i-matrix th { font-size: 12px; color: var(--k-muted); font-weight: 650; }
.l2i-matrix__check { text-align: center; width: 84px; }
.l2i-matrix tr.is-module { background: #f7f6fb; }
.l2i-matrix tr.is-module td { font-weight: 650; }
.l2i-matrix tr.is-sub td:first-child { padding-left: 32px; }
.l2i-matrix button.l2i-matrix__toggle { border: 0; background: transparent; font: inherit; font-weight: 650; cursor: pointer; padding: 0; }
.l2i-perm-tag { margin-left: 8px; }
.l2i-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.l2i-step { border: 1px solid var(--k-border); border-radius: 999px; padding: 4px 10px; font-size: 12px; background: #fff; }
.l2i-step.is-on { background: #f5f3ff; border-color: #c4b5fd; color: #4c1d95; }
.l2i-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.l2i-checks label { font-size: 13px; }

@media (max-width: 768px) {
  .l2i-user strong {
    display: none;
  }

  .l2i-toolbar-end {
    margin-left: 0;
  }

  .l2i-filter {
    width: 100%;
  }

  .l2i-filterbar .l2i-filter {
    width: 100%;
  }
}

.k-table-scroll > .k-table,
.k-card > .k-table,
.k-card--flush > .k-table {
  border-collapse: separate;
  border-spacing: 0;
}

.k-table td:has(> .k-actions),
.k-table:has(td > .k-actions) > thead > tr > th:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
  box-shadow: -8px 0 8px -8px rgba(24, 24, 27, 0.18);
}

.k-table:has(td > .k-actions) > thead > tr > th:last-child {
  z-index: 3;
  background: #fafaf8;
}

.k-table tr:hover td:has(> .k-actions) {
  background: #fafaf8;
}

.l2i-copilot-btn {
  color: #10687e;
  background: #e5f2f5;
  border-radius: 999px;
}

.l2i-copilot-btn:hover,
.l2i-copilot-btn[aria-expanded="true"] {
  color: #0c5264;
  background: #d3e7ec;
}

.l2i-copilot {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}

.l2i-copilot.is-open {
  pointer-events: auto;
}

.l2i-copilot__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.28s ease;
}

.l2i-copilot.is-open .l2i-copilot__backdrop {
  opacity: 1;
}

.l2i-copilot__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100dvh;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.l2i-copilot.is-open .l2i-copilot__panel {
  transform: translateX(0);
}

.l2i-copilot__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--k-border);
  flex-shrink: 0;
}

.l2i-copilot__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.l2i-copilot__title > i {
  color: #10687e;
  font-size: 20px;
  line-height: 1.2;
  margin-top: 2px;
}

.l2i-copilot__title h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--k-ink, #18181b);
}

.l2i-copilot__title p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--k-muted);
}

.l2i-copilot__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 16px 20px;
  background: #f7f6f3;
}

.l2i-copilot__body.is-active {
  background: #fff;
}

.l2i-copilot__welcome {
  text-align: center;
  padding: 28px 8px 8px;
}

.l2i-copilot__body.is-active .l2i-copilot__welcome {
  display: none;
}

.l2i-copilot__avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 104, 126, 0.16), rgba(88, 155, 133, 0.1));
  color: #10687e;
  font-size: 26px;
}

.l2i-copilot__welcome h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.l2i-copilot__welcome p,
.l2i-copilot__a p,
.l2i-copilot__a li {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--k-ink, #18181b);
  overflow-wrap: anywhere;
}

.l2i-copilot__welcome p {
  color: var(--k-muted);
}

.l2i-copilot__turn {
  margin-bottom: 20px;
}

.l2i-copilot__q {
  background: #e5f2f5;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.l2i-copilot__q span,
.l2i-copilot__a-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: #10687e;
  font-size: 11px;
  font-weight: 600;
}

.l2i-copilot__q p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.l2i-copilot__a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.l2i-copilot__face {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5f2f5;
  color: #10687e;
  font-size: 16px;
}

.l2i-copilot__bubble {
  min-width: 0;
  flex: 1 1 auto;
}

.l2i-copilot__a ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.l2i-copilot__a li + li {
  margin-top: 4px;
}

.l2i-copilot__source {
  margin-top: 10px !important;
  font-size: 12px !important;
  color: var(--k-muted) !important;
}

.l2i-copilot__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.l2i-copilot__kpi {
  border: 1px solid var(--k-border);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 0;
}

.l2i-copilot__kpi span {
  display: block;
  font-size: 12px;
  color: var(--k-muted);
}

.l2i-copilot__kpi strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  color: #10687e;
}

.l2i-copilot__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 148px;
  margin-top: 12px;
  padding: 8px 4px 0;
  border: 1px solid var(--k-border);
  border-radius: 8px;
  background: #f7fbfc;
}

.l2i-copilot__bar {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.l2i-copilot__bar i {
  display: block;
  width: 100%;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: #10687e;
}

.l2i-copilot__bar b {
  margin-top: 6px;
  max-width: 100%;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  color: var(--k-muted);
  font-style: normal;
  white-space: normal;
}

.l2i-copilot__table-wrap {
  margin-top: 10px;
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--k-border);
  border-radius: 8px;
}

.l2i-copilot__table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.l2i-copilot__table th,
.l2i-copilot__table td {
  padding: 6px 8px;
  white-space: nowrap;
  border-bottom: 1px solid var(--k-border);
  text-align: left;
}

.l2i-copilot__table th {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--k-muted);
  background: #fafaf8;
}

.l2i-copilot__table tr:last-child td {
  border-bottom: 0;
}

.l2i-copilot__table td.is-num {
  text-align: right;
}

.l2i-copilot__download {
  margin-top: 10px;
}

.l2i-copilot__foot {
  flex-shrink: 0;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--k-border);
  background: #fff;
}

.l2i-copilot__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.l2i-copilot__chip {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 6px;
  background: #e5f2f5;
  color: #10687e;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  white-space: normal;
}

.l2i-copilot__chip:hover {
  background: #d3e7ec;
}

.l2i-copilot__composer {
  position: relative;
}

.l2i-copilot__composer textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  max-height: 128px;
  resize: none;
  border: 1px solid var(--k-border);
  border-radius: 10px;
  padding: 10px 44px 10px 12px;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  color: var(--k-ink, #18181b);
  background: #fff;
}

.l2i-copilot__composer textarea:focus {
  outline: none;
  border-color: #10687e;
  box-shadow: 0 0 0 3px rgba(16, 104, 126, 0.12);
}

.l2i-copilot__send {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10687e;
  color: #fff;
  cursor: pointer;
}

.l2i-copilot__send:hover {
  background: #0c5264;
}

.l2i-copilot__send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.l2i-copilot__note {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--k-muted);
}

.l2i-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 12px;
}

.l2i-idwrap {
  display: flex;
  justify-content: center;
}

.l2i-idcard {
  width: 340px;
  max-width: 100%;
  border: 1px solid var(--k-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 24, 27, 0.08);
}

.l2i-idcard__band {
  padding: 18px 20px 16px;
  background: #24584f;
  color: #fff;
}

.l2i-idcard__brand {
  font-size: 18px;
  font-weight: 600;
}

.l2i-idcard__band div {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.l2i-idcard__body {
  padding: 18px 20px 8px;
}

.l2i-idcard__top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.l2i-idcard__photo {
  width: 92px;
  height: 112px;
  flex: 0 0 92px;
  border-radius: 12px;
  background: #e7f0ee;
  color: #24584f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 600;
}

.l2i-idcard__who strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.l2i-idcard__who div {
  margin-top: 4px;
  color: var(--k-muted);
  font-size: 13px;
}

.l2i-idcard__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 16px 0 8px;
}

.l2i-idcard__facts dt {
  color: var(--k-muted);
  font-size: 11px;
  font-weight: 500;
}

.l2i-idcard__facts dd {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 650;
}

.l2i-idcard__foot {
  padding: 12px 20px;
  background: #24584f;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.l2i-letter {
  padding: 8px 4px 4px;
  line-height: 1.6;
}

.l2i-letter p {
  margin: 0 0 12px;
}

.l2i-slip {
  border: 1px solid var(--k-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.l2i-slip__head {
  padding: 16px 18px 14px;
  text-align: center;
  border-bottom: 1px solid var(--k-border);
}

.l2i-slip__brand {
  font-size: 18px;
  font-weight: 600;
}

.l2i-slip__addr {
  margin-top: 4px;
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-slip__title {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid var(--k-border);
  font-size: 13px;
}

.l2i-slip__grid,
.l2i-slip__pay,
.l2i-slip__sum {
  width: calc(100% - 28px);
  margin: 14px 14px 0;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.l2i-slip__grid col,
.l2i-slip__pay col {
  width: 25%;
}

.l2i-slip__grid th,
.l2i-slip__grid td,
.l2i-slip__pay th,
.l2i-slip__pay td,
.l2i-slip__sum th,
.l2i-slip__sum td {
  border: 1px solid var(--k-border);
  padding: 7px 10px;
  text-align: left;
  vertical-align: middle;
  box-sizing: border-box;
}

.l2i-slip__grid th,
.l2i-slip__sum th {
  background: #f4f7f6;
  font-weight: 600;
  white-space: nowrap;
}

.l2i-slip__sum th {
  width: 62%;
}

.l2i-slip__sum td {
  width: 38%;
  white-space: nowrap;
}

.l2i-slip__pay thead th {
  background: #24584f;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.l2i-slip__pay td.l2i-num,
.l2i-slip__sum td.l2i-num,
.l2i-slip__grid td.l2i-num,
.l2i-slip__grid th.l2i-num {
  text-align: right;
  white-space: nowrap;
}

.l2i-slip__sum {
  width: calc(100% - 28px);
  margin-right: 14px;
}

.l2i-slip__note {
  margin: 0;
  padding: 14px 18px 16px;
  color: var(--k-muted);
  font-size: 12px;
}

.k-table .k-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
}

.l2i-login-toggle {
  margin: 8px 0 12px;
}

.l2i-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
}

.l2i-onboard-card {
  margin-bottom: 14px;
}

.l2i-span {
  grid-column: 1 / -1;
}

.l2i-payline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding-top: 4px;
  font-size: 14px;
}

.l2i-att-legend {
  margin: 0 0 12px;
  color: var(--k-muted);
  font-size: 13px;
}

.l2i-att-scroll {
  overflow-x: auto;
}

.l2i-att {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.l2i-att th,
.l2i-att td {
  padding: 4px;
  text-align: center;
  white-space: nowrap;
}

.l2i-att thead th {
  font-size: 11px;
  font-weight: 600;
}

.l2i-att thead th span {
  display: block;
  font-weight: 500;
  color: var(--k-muted);
}

.l2i-att-name {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 180px;
  text-align: left !important;
  background: #fff;
  box-shadow: 8px 0 8px -8px rgba(24, 24, 27, 0.18);
}

.l2i-att thead .l2i-att-name {
  z-index: 3;
  background: #fafaf8;
}

.l2i-att-action {
  position: sticky;
  right: 0;
  z-index: 2;
  width: 56px;
  text-align: center !important;
  background: #fff;
  box-shadow: -8px 0 8px -8px rgba(24, 24, 27, 0.18);
}

.l2i-att thead .l2i-att-action {
  z-index: 4;
  background: #fafaf8;
}

.l2i-att-name strong,
.l2i-att-name span {
  display: block;
}

.l2i-att-name span {
  color: var(--k-muted);
  font-size: 11px;
  font-weight: 500;
}

.l2i-att__cell {
  width: 36px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.l2i-att__cell--P { color: #1f7a4d; background: #e5f4ec; }
.l2i-att__cell--A { color: #9f2d2d; background: #fde8e8; }
.l2i-att__cell--PL { color: #1d4e89; background: #e7f0fa; }
.l2i-att__cell--L { color: #8a5a12; background: #fbf3e4; }
.l2i-att__cell--HD { color: #5b4b8a; background: #f1eef8; }
.l2i-att__cell--WO { color: #5c6570; background: #f3f4f6; }
.l2i-att__cell--H { color: #0f6f78; background: #e5f4f5; }
.l2i-att__cell--empty { color: #a1a1aa; font-weight: 500; }

.l2i-field-stats {
  margin-bottom: 16px;
}

.l2i-field-links {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.l2i-field-card {
  margin-bottom: 16px;
}

.l2i-field-note {
  margin: 0 0 12px;
  color: var(--k-muted);
  font-size: 13px;
}

.l2i-field-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
  gap: 16px;
  align-items: start;
}

.l2i-field-split--half {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.l2i-map {
  height: 480px;
  border-radius: 14px;
  overflow: hidden;
  background: #d7e6e4;
  border: 1px solid var(--k-border);
  position: relative;
  z-index: 0;
}

.l2i-map__empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--k-muted);
}

.l2i-map__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.l2i-map__paper { fill: #e7f3f6; }
.l2i-map__fence { fill: rgba(88, 155, 133, 0.18); stroke: #24584f; stroke-width: 2; }
.l2i-map__pin { fill: #24584f; }
.l2i-map__num { fill: #fff; font-size: 12px; font-weight: 600; }
.l2i-map__route { fill: none; stroke: #24584f; stroke-width: 3; }

.leaflet-marker-icon.l2i-pin {
  background: #24584f;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(20, 40, 36, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  font-family: Outfit, sans-serif;
  text-align: center;
}

.leaflet-marker-icon.l2i-pin span {
  color: #fff;
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1;
}

.l2i-pin--dot { background: #589B85; }

.l2i-route {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 480px;
  overflow: auto;
}

.l2i-route li {
  display: grid;
  grid-template-columns: 52px 28px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 16px;
  position: relative;
}

.l2i-route li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 75px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: #589B85;
  z-index: 0;
}

.l2i-route__time {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  padding-top: 4px;
}

.l2i-route li .l2i-route__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #24584f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.l2i-route li strong { display: block; }
.l2i-route li span {
  display: block;
  margin-top: 2px;
  color: var(--k-muted);
  font-size: 12px;
}

.l2i-route .k-pill { margin-top: 6px; }

@media (max-width: 960px) {
  .l2i-field-split { grid-template-columns: 1fr; }
  .l2i-map, .l2i-route { max-height: none; }
  .l2i-map { height: 360px; }
}
