/*
 * iGeoTrack live demos for the website (Dec 2026) - built by assets/js/nx-app.js into [data-ig] elements.
 * Small, legible replicas of real iGeoTrack screens. Colours/labels follow the iGeoTrack web app
 * (vendor/scss/_variables.scss: grey #32404d, green #7ab947; status colours from cars.service.js).
 * Demo data only - plates, drivers and numbers are invented.
 */
.ig {
  --g: #7ab947; --g-d: #639922; --grey: #32404d; --ink: #2b3640; --txt: #515151; --mut: #8a8f97; --line: #e3e7ea; --soft: #f5f7f9;
  --zebra: #f3f8fd; --sel: #dfe8f1; --ig-h: 460px;
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); container-type: inline-size;
  height: var(--ig-h); border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 80px -24px rgba(0, 40, 80, .34), 0 0 0 1px rgba(10, 37, 55, .08);
  font: 13px/1.45 "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--txt);
  text-align: left; isolation: isolate; -webkit-font-smoothing: antialiased; letter-spacing: 0;
}
.ig *, .ig *::before, .ig *::after { box-sizing: border-box; }
.ig b, .ig strong { font-weight: 600; color: var(--ink); }
.ig button, .ig input, .ig select { font-family: inherit; }
.ig p { margin: 0; }
.ig-noside { grid-template-columns: minmax(0, 1fr); }
.ig-auto { height: auto; }
.ig-empty { padding: 18px 4px; color: var(--mut); text-align: center; font-size: 12.5px; }

/* left icon rail like the app sidebar */
.ig-side { width: 54px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 0; background: var(--grey); }
.ig-side__logo { width: 34px; height: 34px; margin-bottom: 10px; border-radius: 8px; display: grid; place-items: center; background: var(--g); color: #fff; font: 700 13px/1 "Helvetica Neue", Arial, sans-serif; }
.ig-side i { width: 40px; height: 36px; display: grid; place-items: center; border-radius: 7px; color: #aeb3b9; font-size: 15px; }
.ig-side i.is-on { color: #fff; background: var(--g); }

.ig-main { grid-column: -2 / -1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ig-bar { flex: none; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px 0 16px; background: var(--g); color: #fff; }
.ig-bar__title { font-size: 16px; font-weight: 500; white-space: nowrap; }
.ig-bar__sp { flex: 1; }
.ig-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(0, 0, 0, .12); font-size: 12px; white-space: nowrap; color: #fff; font-variant-numeric: tabular-nums; }
.ig-select { max-width: 100%; height: 30px; padding: 0 28px 0 10px; border: 0; border-radius: 3px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23515151' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--ink); font-size: 12.5px; -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; }
.ig-bar .ig-select { min-width: 0; width: 280px; }
.ig-body { position: relative; flex: 1; min-height: 0; display: flex; }

/* tabs - active tab green like the app's nav-tabs */
.ig-tabs { flex: none; display: flex; gap: 0; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ig-tabs::-webkit-scrollbar { display: none; }
.ig-tab { flex: none; height: 32px; padding: 0 12px; border: 0; background: none; color: var(--grey); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.ig-tab:hover { background: var(--soft); }
.ig-tab.is-on { background: var(--g); color: #fff; }
.ig-tab__n { font-weight: 600; }

.ig-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid #ccc; border-radius: 0; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.ig-btn:hover { background: var(--soft); }
.ig-btn--bar { height: 30px; border-color: rgba(255, 255, 255, .55); background: transparent; color: #fff; border-radius: 3px; }
.ig-btn--bar:hover, .ig-btn--bar.is-on { background: #fff; color: var(--g-d); border-color: #fff; }
.ig-btn--gen { background: var(--g); border-color: var(--g-d); color: #fff; }
.ig-btn--gen:hover { background: var(--g-d); }
.ig-btn--dark { background: #363c40; border-color: #363c40; color: #fff; }
.ig-btn--dark:hover { background: #22272a; }

.ig-note { position: absolute; left: 50%; bottom: 16px; z-index: 900; max-width: calc(100% - 24px); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; padding: 9px 14px; border-radius: 8px; background: rgba(50, 64, 77, .95); color: #fff; font-size: 12.5px; text-align: center; transition: opacity .25s, transform .25s; }
.ig-note.is-on { opacity: 1; transform: translate(-50%, 0); }
.ig-kv { display: grid; grid-template-columns: 18px 92px minmax(0, 1fr); align-items: baseline; gap: 6px; padding: 4px 0; font-size: 12.5px; }
.ig-kv i { color: var(--mut); text-align: center; font-size: 12px; }
.ig-kv span { color: var(--mut); }
.ig-kv b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- LIVE TRACKING ---------- */
.ig-list { flex: none; width: 236px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #fff; min-height: 0; }
.ig-search { flex: none; padding: 8px; }
.ig-search input, .ig-rep__search { width: 100%; height: 30px; padding: 0 10px 0 30px; border: 1px solid #ccc; border-radius: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Ccircle cx='5.5' cy='5.5' r='4.5' fill='none' stroke='%238a8f97' stroke-width='1.6'/%3E%3Cpath d='M9 9l3 3' stroke='%238a8f97' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat 10px center; font-size: 12.5px; color: var(--ink); outline: 0; }
.ig-search input:focus, .ig-rep__search:focus { border-color: var(--g); }
.ig-group { flex: none; padding: 6px 10px; background: var(--g); color: #fff; font-size: 12px; font-weight: 700; }
.ig-group i { margin-right: 5px; }
.ig-rows { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--g) transparent; }
.ig-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; min-height: 48px; padding: 6px 10px; border: 0; border-bottom: 1px solid #eef1f3; background: #fff; text-align: left; cursor: pointer; transition: background .15s; }
.ig-row:nth-child(even) { background: var(--zebra); }
.ig-row:hover { background: #e9f0f6; }
.ig-row.is-on { background: var(--sel); box-shadow: inset 3px 0 0 var(--g); }
.ig-row__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ig-row__sub { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--mut); }
.ig-row__spd { font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ig-st { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c, #9aa0a6); border: 2px solid #32404e; }
.ig-st svg { width: 11px; height: 11px; display: block; }

.ig-mapwrap { position: relative; flex: 1; min-width: 0; }
.ig-map { position: absolute; inset: 0; background: #e8ecef; z-index: 0; }
.ig .leaflet-container { font: 12px/1.4 "Helvetica Neue", Arial, sans-serif; }
.ig-map:not(.is-gl) .leaflet-tile-pane { filter: saturate(.7) brightness(1.03); }
.ig-map .leaflet-control-attribution { font-size: 9.5px; background: rgba(255, 255, 255, .8); }
.ig-map .leaflet-control-zoom { border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); border-radius: 4px; overflow: hidden; }
.ig-map .leaflet-control-zoom a { width: 30px; height: 30px; line-height: 30px; color: var(--grey); }
/* marker: status circle + dark plate label, like carMarkerService */
.ig-mkw { background: none; border: 0; }
.ig-mk { position: absolute; left: 0; top: 0; cursor: pointer; }
.ig-mk__dot { position: absolute; left: -15px; top: -15px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c, #9aa0a6); border: 2px solid #32404e; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .2s; }
.ig-mk__ico svg { display: block; width: 14px; height: 14px; }
.ig-mk__lbl { position: absolute; left: 6px; top: -16px; z-index: 1; padding: 3px 9px 3px 15px; border-radius: 0 4px 4px 0; background: #32404e; color: #fff; font-size: 10px; line-height: 13px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.ig-mk__lbl b { display: block; color: #fff; font-weight: 700; }
.ig-mk__lbl span { display: block; color: #d8dee3; font-variant-numeric: tabular-nums; }
.ig-mk.is-on .ig-mk__dot { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(122, 185, 71, .45), 0 2px 6px rgba(0, 0, 0, .3); }
.ig-mk.is-on .ig-mk__lbl { background: var(--g-d); }
.ig-mk--move .ig-mk__dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--c); animation: ig-ping 2.4s ease-out infinite; pointer-events: none; }
@keyframes ig-ping { from { transform: scale(1); opacity: .65; } to { transform: scale(2); opacity: 0; } }

/* vehicle popup (.marker-popup) */
.ig-pop { position: absolute; left: 12px; bottom: 12px; z-index: 500; width: 300px; max-width: calc(100% - 24px); background: #fff; border-radius: 4px; box-shadow: 0 14px 36px -6px rgba(0, 30, 60, .4), 0 0 0 1px rgba(10, 37, 55, .08); overflow: hidden; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.ig-pop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ig-pop__head { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 6px 0 12px; background: var(--grey); color: #fff; }
.ig-pop__head b { flex: 1; min-width: 0; color: #fff; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-pop__x, .ig-fpop__x { flex: none; width: 24px; height: 24px; border: 0; border-radius: 3px; background: transparent; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.ig-pop__x:hover, .ig-fpop__x:hover { background: rgba(255, 255, 255, .15); }
.ig-pop__body { height: 178px; overflow-y: auto; padding: 8px 12px 10px; scrollbar-width: thin; }
.ig-meter { margin: 10px 0 2px; }
.ig-meter__top { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.ig-meter__bar { height: 8px; margin-top: 6px; background: #edf1f3; overflow: hidden; }
.ig-meter__bar i { display: block; height: 100%; background: #3e7dbc; transition: width .6s; }
.ig-trip { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 7px 0; border-bottom: 1px solid #eef1f3; font-size: 12px; }
.ig-trip:last-child { border-bottom: 0; }
.ig-trip > i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: #fff; font-size: 8px; padding-left: 2px; }
.ig-trip__t { font-variant-numeric: tabular-nums; }
.ig-trip small { display: block; color: var(--mut); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.ig-trip > b { text-align: right; white-space: nowrap; font-size: 12px; }
.ig-trip__w { position: absolute; left: 14px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: #f90; color: #fff; font: 700 9px/13px Arial, sans-serif; text-align: center; font-style: normal; }
.ig-alert { display: flex; gap: 9px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid #eef1f3; font-size: 12px; }
.ig-alert:last-child { border-bottom: 0; }
.ig-alert > i { flex: none; width: 22px; height: 22px; border-radius: 4px; display: grid; place-items: center; color: #fff; background: var(--c); font-size: 11px; }
.ig-alert b { font-size: 11px; letter-spacing: .04em; }
.ig-alert small { display: block; color: var(--txt); font-size: 11.5px; }

/* attention toasts */
.ig-toasts { position: absolute; right: 12px; top: 12px; z-index: 600; width: 220px; display: grid; gap: 8px; pointer-events: none; }
.ig-toast { display: flex; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 3px; color: #fff; background: var(--c); box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .3); font-size: 11.5px; line-height: 1.35; pointer-events: auto; cursor: pointer; animation: ig-toast-in .35s ease both; }
.ig-toast b { display: block; color: #fff; font-size: 12px; }
.ig-toast > i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .25); }
.ig-toast.is-out { animation: ig-toast-out .35s ease both; }
@keyframes ig-toast-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes ig-toast-out { to { opacity: 0; transform: translateX(24px); } }

/* ---------- FUEL LEVEL ---------- */
.ig-fuel { flex-direction: column; width: 100%; }
.ig-fuel__head { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 14px 0; }
.ig-fuel__head b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-fuel__head span { font-size: 11.5px; color: var(--mut); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ig-fuel__chart { position: relative; flex: 1; min-height: 0; }
.ig-fuel__chart > div:first-child { position: absolute; inset: 0; }
.ig-pump { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #2fa84f; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); cursor: pointer; transition: transform .15s; }
.ig-pump--drain { background: #e5484d; }
.ig-pump:hover { transform: scale(1.15); }
.ig-pump svg { width: 14px; height: 14px; display: block; }
.ig-fpop { position: absolute; z-index: 20; width: 262px; background: #f2f5f7; border: 1px solid #7cb5ec; border-radius: 3px; box-shadow: 0 14px 34px -8px rgba(0, 30, 60, .35); opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.ig-fpop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ig-fpop__head { display: flex; align-items: center; height: 32px; padding: 0 4px 0 10px; background: var(--grey); }
.ig-fpop__head b { flex: 1; color: #fff; font-size: 12.5px; }
.ig-fpop__head b::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--c); vertical-align: 0; }
.ig-fpop__body { padding: 6px 10px 8px; }
.ig-fpop .ig-kv { grid-template-columns: 84px minmax(0, 1fr); padding: 3px 0; font-size: 12px; }
.ig-fpop .ig-kv span { color: var(--ink); font-weight: 600; }
.ig-fpop .ig-kv b { font-weight: 400; white-space: normal; }
.ig-fpop .ig-q { color: var(--c) !important; font-weight: 700 !important; }
.ig-fpop .ig-loc { color: #d9534f !important; }
.ig-fpop .ig-loc small { display: block; color: var(--mut); font-size: 11px; }
.ig-events { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ig-events::-webkit-scrollbar { display: none; }
.ig-ev { flex: none; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 4px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; font-size: 12px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ig-ev:hover { border-color: #c4cdd3; }
.ig-ev.is-on { border-color: var(--c); box-shadow: 0 0 0 3px rgba(122, 185, 71, .18); }
.ig-ev > i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c); }
.ig-ev > i svg { width: 13px; height: 13px; }
.ig-ev b { font-weight: 600; }
.ig-ev small { color: var(--mut); font-variant-numeric: tabular-nums; }
.ig-events__hint { margin-left: auto; padding-left: 8px; color: var(--mut); font-size: 11.5px; white-space: nowrap; }

/* ---------- REPORTS ---------- */
.ig-rep { flex-direction: column; width: 100%; }
.ig-rep__tools { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px 8px; }
.ig-tool { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border: 1px solid #ccc; background: #fff; color: var(--ink); font-size: 12.5px; cursor: pointer; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ig-tool:hover { border-color: #aab4bb; }
.ig-tool i { color: var(--mut); }
.ig-tool i.fa-angle-down { margin-left: 2px; }
.ig-rep__tools .ig-btn--gen { height: 32px; margin-left: auto; }
.ig-rep__sum { flex: none; display: flex; align-items: center; gap: 8px; margin: 0 12px 8px; padding: 6px 6px 6px 10px; background: #fafbfc; border-left: 3px solid var(--g); font-size: 11.5px; color: var(--txt); white-space: nowrap; min-width: 0; }
.ig-rep__sum > span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ig-rep__sum b { font-size: 11.5px; letter-spacing: .04em; }
.ig-sum__p { color: var(--mut); }
.ig-rep__search { width: 132px; height: 28px; flex: none; }
.ig-rep__sum .ig-btn { height: 28px; }
.ig-menu { position: relative; flex: none; }
.ig-menu__list { position: absolute; left: 0; top: calc(100% + 4px); z-index: 30; min-width: 170px; padding: 5px; border-radius: 3px; background: #fff; box-shadow: 0 14px 34px -8px rgba(0, 30, 60, .32), 0 0 0 1px rgba(10, 37, 55, .08); display: none; }
.ig-menu[data-m="export"] .ig-menu__list { left: auto; right: 0; min-width: 120px; }
.ig-menu.is-open .ig-menu__list { display: block; }
.ig-menu__list button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 9px; border: 0; background: none; color: var(--ink); font-size: 12.5px; text-align: left; cursor: pointer; }
.ig-menu__list button:hover { background: #eef5e2; box-shadow: inset 3px 0 0 var(--g); }
.ig-menu__list .fa-star { color: #f5a623; }
.ig-menu__list .fa-star-o { color: #c4cbd0; }
.ig-table-wrap { flex: 1; min-height: 0; overflow: auto; margin: 0 12px 12px; border: 1px solid #ddd; scrollbar-width: thin; transition: opacity .2s; }
.ig-table-wrap.is-loading { opacity: .35; }
.ig-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.ig-table th { position: sticky; top: 0; z-index: 2; padding: 0 10px; height: 34px; background: #fff; border-bottom: 1px solid #ddd; border-right: 1px solid #eee; color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-align: center; white-space: nowrap; cursor: pointer; user-select: none; }
.ig-table th:hover { background: var(--soft); }
.ig-table th .s { display: inline-block; margin-left: 5px; font-size: 8px; color: #b9c0c6; vertical-align: 1px; }
.ig-table th.is-sort .s { color: var(--g-d); }
.ig-table td { padding: 7px 10px; border-bottom: 1px solid #eee; border-right: 1px solid #f2f2f2; color: var(--ink); white-space: nowrap; text-align: center; }
.ig-table td small { display: block; color: var(--mut); font-size: 10.5px; }
.ig-table td b { font-weight: 600; }
.ig-table td:first-child, .ig-table th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; }
.ig-table th:first-child { z-index: 3; }
.ig-table tbody tr:nth-child(even) td { background: var(--zebra); }
.ig-table tbody tr td { background: #fff; }
.ig-table tbody tr.ig-tr { cursor: pointer; }
.ig-table tbody tr.ig-tr:hover td { background: #e6eef6; }
.ig-table tbody tr.is-sel td { background: #b8c9da !important; }
.ig-table tfoot td { position: sticky; bottom: 0; background: #f7f9fa; border-top: 1px solid #ddd; font-weight: 700; }
.ig-pill { display: inline-block; min-width: 22px; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; line-height: 17px; background: #edf1f3; color: var(--txt); }
.ig-pill--red { background: #fde8e8; color: #c23a3f; }
.ig-pill--amber { background: #fff1db; color: #b26b00; }

/* ---------- MAINTENANCE ---------- */
.ig-mnt__list { flex: none; width: 300px; border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: thin; }
.ig-mnt__list .ig-table td, .ig-mnt__list .ig-table th { padding-left: 8px; padding-right: 8px; }
.ig-mnt__list .ig-table td { padding-top: 8px; padding-bottom: 8px; }
.ig-mnt__list .ig-table th { cursor: default; }
.ig-sti { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-size: 11px; }
.ig-score { position: relative; display: block; width: 80px; height: 14px; margin: 0 auto; border-radius: 7px; background: #ededed; overflow: hidden; }
.ig-score i { display: block; height: 100%; border-radius: 7px; }
.ig-score em { position: absolute; inset: 0; color: #fff; font: 700 10.5px/14px Arial, sans-serif; text-align: center; font-style: normal; }
.ig-score.is-low em { color: #4a4a4a; }
.ig-mnt__main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.ig-mnt__pane { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: thin; }
.ig-mnt__pane[hidden] { display: none; }
.ig-tiles { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.ig-tile { padding: 8px 10px; background: #fafafa; border: 1px solid #e3e3e0; min-width: 0; }
.ig-tile.is-first { border-left: 3px solid var(--g); }
.ig-tile span { display: block; font-size: 11px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-tile b { display: block; margin-top: 2px; font-size: 16.5px; font-weight: 500; color: #333; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.ig-tile b small { font-size: 11px; color: #999; font-weight: 400; }
.ig-mnt__chart { flex: 1; min-height: 120px; display: flex; flex-direction: column; padding: 0 8px 8px 12px; }
.ig-mnt__chart > span { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--grey); }
.ig-mnt__chart > div { flex: 1; min-height: 0; }
.ig-mevents { display: grid; gap: 8px; padding: 12px; }
.ig-mev { padding: 9px 12px; border-radius: 8px; font-size: 12px; }
.ig-mev b { display: block; color: inherit; font-size: 12px; }
.ig-mev--error { background: #fbeceb; color: #a2382f; }
.ig-mev--warning { background: #faf1e0; color: #7a5a1e; }
.ig-mev--info { background: #eef5e2; color: #46691f; }
.ig-mnt__pick { display: none; }

/* ---------- ZONES ---------- */
.ig-zpanel { position: absolute; right: 12px; top: 12px; z-index: 500; width: 256px; max-width: calc(100% - 24px); background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 14px 36px -6px rgba(0, 30, 60, .4), 0 0 0 1px rgba(10, 37, 55, .08); }
.ig-zpanel .ig-pop__head span { color: #aeb3b9; font-size: 12px; margin-left: auto; padding-right: 6px; }
.ig-zback { flex: none; width: 24px; height: 24px; margin-left: -6px; border: 0; border-radius: 3px; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.ig-zback:hover { background: rgba(255, 255, 255, .15); }
.ig-zpanel__body { max-height: 230px; overflow-y: auto; padding: 6px 12px 10px; scrollbar-width: thin; }
.ig-zlist { list-style: none; margin: 0; padding: 0; }
.ig-zlist li { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid #eef1f3; font-size: 12.5px; cursor: pointer; }
.ig-zlist li:last-child { border-bottom: 0; }
.ig-zlist li:hover b { color: var(--g-d); }
.ig-zlist li i.sw { width: 12px; height: 12px; border-radius: 3px; background: var(--c); flex: none; }
.ig-zlist li span { margin-left: auto; color: var(--mut); font-size: 11px; white-space: nowrap; }
.ig-zcars li { cursor: default; }
.ig-zcars li small { color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ig-zrm { margin-left: auto; flex: none; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #f76447; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.ig-zadd { padding-top: 8px; }
.ig-zadd .ig-select { width: 100%; border: 1px solid #ccc; }
.ig-zsub { margin: 6px 0 2px !important; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.ig-switch { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 12.5px; cursor: pointer; outline: 0; }
.ig-switch:focus-visible span { text-decoration: underline; }
.ig-switch i { position: relative; flex: none; width: 32px; height: 18px; border-radius: 9px; background: #d6dee3; transition: background .2s; }
.ig-switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.ig-switch.is-on i { background: var(--g); }
.ig-switch.is-on i::after { transform: translateX(14px); }
.ig-drawhint { position: absolute; left: 12px; top: 12px; z-index: 500; padding: 7px 12px; border-radius: 4px; background: rgba(50, 64, 77, .94); color: #fff; font-size: 12px; display: none; }
.ig.is-drawing .ig-drawhint { display: block; }
.ig.is-drawing .ig-map, .ig.is-drawing .ig-map .leaflet-interactive { cursor: crosshair; }
.ig-vx { border-radius: 50%; background: #fff; border: 2px solid #e74c3c; }
.ig-vx.is-first { background: #e74c3c; cursor: pointer; }
.ig-ztip { font: 600 11.5px/1.3 "Helvetica Neue", Arial, sans-serif; }

/* ---------- USABILITY card ---------- */
.ig-use { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 22px; padding: 18px 22px 20px; }
.ig-gauge svg { display: block; width: 100%; max-width: 150px; height: auto; margin: 0 auto; }
.ig-gauge svg .v { font: 600 24px "Helvetica Neue", Arial, sans-serif; fill: #333; }
.ig-gauge .arc { transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1); }
.ig-use .ig-kv { grid-template-columns: minmax(0, 1fr) auto; padding: 7px 0; border-bottom: 1px solid #eef1f3; font-size: 13px; }
.ig-use .ig-kv:last-child { border-bottom: 0; }
.ig-use .ig-kv span { color: var(--txt); }

/* sizes per place */
.ig--hero { --ig-h: 440px; }
.ig--hero .ig-list, .ig--hero .ig-chip { display: none; }
.nx-tour__pane .ig { --ig-h: 480px; }
.ig-host { position: relative; }
.ig-host--wide { margin-top: 56px; }
.ig-host--wide .ig { --ig-h: 500px; }

@media (max-width: 1199px) {
  .ig-mnt__list { width: 290px; }
  .ig-score { width: 70px; }
}
@media (max-width: 991px) {
  .ig, .nx-tour__pane .ig { --ig-h: 460px; }
}
@media (max-width: 767px) {
  .ig { grid-template-columns: minmax(0, 1fr); border-radius: 12px; }
  .ig, .nx-tour__pane .ig, .ig-host--wide .ig { --ig-h: 440px; }
  .ig--hero { --ig-h: 380px; }
  .ig-side, .ig-list, .ig-mnt__list, .ig-chip { display: none; }
  .ig-bar { height: 44px; padding: 0 8px 0 12px; }
  .ig-bar__title { font-size: 14.5px; }
  .ig-bar .ig-select { width: auto; flex: 1; min-width: 0; }
  .ig-mnt__pick { display: block; }
  .ig-pop { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; }
  .ig-pop__body { height: 132px; }
  .ig-toasts { right: 8px; top: 8px; width: 186px; }
  .ig-fuel__head { flex-direction: column; gap: 0; }
  .ig-events__hint { display: none; }
  .ig-rep__tools { flex-wrap: wrap; gap: 6px; padding: 8px; }
  .ig-tool--period span { display: none; }
  .ig-rep__sum { margin: 0 8px 6px; }
  .ig-rep__sum > span:first-child, .ig-rep__search { display: none; }
  .ig-table-wrap { margin: 0 8px 8px; }
  .ig-zpanel { top: auto; bottom: 8px; right: 8px; left: 8px; width: auto; max-width: none; }
  .ig-zpanel__body { max-height: 128px; }
  .ig-drawhint { right: 12px; white-space: normal; }
  .ig-use { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .ig-use > div:last-child { width: 100%; }
}
@media (max-width: 420px) {
  .ig-btn--bar span { display: none; }
  .ig-tiles { gap: 6px; padding: 10px; }
  .ig-tile b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-mk--move .ig-mk__dot::after { animation: none; display: none; }
  .ig-toast, .ig-toast.is-out { animation: none; }
}

/* ---------- page glue ---------- */
.nx-tour__tab .nx-icon > i.fa { color: #fff; font-size: 25px; line-height: 1; }
.nx-hero__visual .ig { box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
.nx-tour__pane:not(.is-active) .ig .ig-toasts { display: none; }
.nxb-orbit__card--live { width: auto !important; max-width: 440px; padding: 0 !important; background: none !important; box-shadow: none !important; }
.nxb-orbit__card--live .ig { width: 400px; max-width: 100%; }
.ig [hidden] { display: none !important; }
.ig-zpanel { width: 276px; }
.ig-zpanel .ig-tab { flex: 1 1 auto; padding: 0 7px; font-size: 10px; letter-spacing: .03em; }
.nxb-orbit__card--live ~ .nxb-orbit__dot--b { top: auto; bottom: 13%; right: 9%; }
@media (max-width: 767px) {
  .nxb-orbit:has(.nxb-orbit__card--live) { aspect-ratio: auto; width: 100%; }
  .nxb-orbit:has(.nxb-orbit__card--live)::before, .nxb-orbit:has(.nxb-orbit__card--live)::after, .nxb-orbit__card--live ~ .nxb-orbit__dot { display: none; }
  .nxb-orbit__card--live, .nxb-orbit__card--live .ig { width: 100%; max-width: 420px; }
  .ig-rep__sum { margin: 0 8px 6px; padding: 0; border-left: 0; background: none; justify-content: flex-end; }
}

/* the demos sit in columns of different widths: adapt to the demo's own width */
@container (max-width: 600px) {
  :not(.ig--hero) > .ig-side { display: none; }
  .ig-list { width: 184px; }
  .ig-chip, .ig-events__hint, .ig-tool--period span, .ig-sum__p { display: none; }
  .ig-mnt__list { width: 236px; }
  .ig-table--cars th:nth-child(2), .ig-table--cars td:nth-child(2) { display: none; }
  .ig-score { width: 64px; }
  .ig-bar .ig-select { width: 220px; }
  .ig-zpanel { width: 250px; }
}
@container (max-width: 470px) {
  .ig-list, .ig-mnt__list, .ig-rep__sum > span:first-child, .ig-rep__search { display: none; }
  .ig-mnt__pick { display: block; }
  .ig-bar .ig-select { width: auto; flex: 1; min-width: 0; }
  .ig-pop { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; }
  .ig-rep__sum { padding: 0; border-left: 0; background: none; justify-content: flex-end; }
  .ig-rep__tools { flex-wrap: wrap; }
}
/* review fixes */
.ig-table tfoot td { box-shadow: 0 -1px 0 #ddd, 0 -6px 10px -6px rgba(0, 0, 0, .12); }
.ig-table td:first-child, .ig-table th:first-child { box-shadow: 4px 0 6px -4px rgba(0, 0, 0, .14); }
.ig-drawhint { left: 56px; }
.ig-fpop .ig-loc { color: #3e7dbc !important; }
.nx-tour__tab { overflow: hidden; }
@container (max-width: 470px) { .has-sel .ig-toasts { display: none; } }
@media (max-width: 767px) { .has-sel .ig-toasts { display: none; } }
.ig-mk.is-quiet .ig-mk__lbl { opacity: 0; transform: translateX(-6px); pointer-events: none; }
.ig-mk__lbl { transition: opacity .25s, transform .25s; }
.ig-mk.is-quiet:hover .ig-mk__lbl { opacity: 1; transform: none; z-index: 5; }
