/* One block per panel. */

/* Assets */
.assetsToolbar { display: flex; align-items: center; height: 46px; padding: 7px 0; flex: none; background: var(--gray-50); }
.oldSearch { display: flex; padding-left: 7px; }
.oldSearch .field { position: relative; }
.oldSearch input { width: 144px; height: 24px; padding: 1px 15px 1px 3px; border: 1px solid rgb(178, 178, 178); border-radius: 5px 0 0 5px; box-shadow: inset 1px 3px 5px rgb(225, 225, 225); outline: 0; background: #fff; }
.oldSearch .clear { position: absolute; right: 6px; top: 4px; font-size: 10px; cursor: pointer; color: #666; display: none; }
.oldSearch .field.has .clear { display: block; }
.oldBtn { height: 24px; border: 1px solid rgb(178, 178, 178); background: rgb(240, 240, 240); box-shadow: inset 1px 1px 0 #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #444; padding: 0; }
.oldSearch .go { width: 29px; border-left: 0; border-radius: 0 5px 5px 0; }
.oldSearch .down { width: 24px; margin-left: 4px; border-radius: 5px; }
.assetsToolbar .right { margin-left: auto; padding-right: 7px; }
.statusIco { display: flex; }

/* Status */
.statusHead { display: flex; align-items: center; height: 48px; padding: 4px; flex: none; background: var(--gray-50); }
.statusHead .who { display: flex; align-items: center; gap: 8px; padding-left: 16px; }
.statusHead .who .nm { font-size: 14px; font-weight: 700; }
.statusHead .right { margin-left: auto; display: flex; align-items: center; padding-right: 4px; }
.statusHead .last { font-size: 10px; color: rgb(124, 124, 124); margin-right: 16px; }
.statusHead .edit { margin-left: 8px; display: flex; cursor: pointer; }
.statusBody { flex: 1; min-height: 0; display: flex; flex-direction: column; background: rgb(248, 248, 248); }
.statusBody .gridBody { overflow-y: auto; }
.statusCards { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; overflow: auto; }
.statusCard { width: 170px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.statusCard .l { font-size: 11px; color: var(--gray-700); }
.statusCard .v { font-size: 14px; font-weight: 600; margin-top: 2px; }
.statusEmpty { padding: 16px; color: var(--gray-700); }

/* Geofences */
.gfPin { width: 28px; height: 23px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gfPin.off { color: var(--gray-400); }
.gfFoot { height: 33px; padding: 8px; flex: none; font-size: 11px; }

/* Tracks, latest version */
.tracksPanel { background: var(--gray-50); }
.tracksHead { flex: none; height: 91px; padding: 8px 8px 0; background: rgb(249, 249, 251); border-bottom: 1px solid var(--line-strong); }
.tracksHead .row1 { display: flex; gap: 8px; height: 32px; }
.tracksHead .row2 { display: flex; gap: 4px; height: 32px; margin-top: 9px; }
.tracksList { flex: 1; min-height: 0; overflow-y: scroll; }
.tracksList::-webkit-scrollbar { width: 15px; }
.tracksList::-webkit-scrollbar-thumb { background: #8a8a8a; border-radius: 6px; border: 4px solid var(--gray-50); }
.trkOwner { display: flex; align-items: center; height: 36px; padding: 8px; }
.trkOwner .eye { width: 16px; display: flex; cursor: pointer; }
.trkOwner .vchip { height: 20px; padding: 2px 6px; border-radius: 4px; color: #fff; font-size: 11px; }
.trkOwner .tot { margin-left: auto; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.trkOwner .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gray-400); }
.trkOwner .chev { display: flex; color: var(--gray-700); cursor: pointer; }
.trkStop { display: flex; align-items: center; gap: 4px; height: 28px; margin: 0 8px 8px; padding: 6px 10px; border-radius: 4px; background: var(--gray-50); font-weight: 700; }
.tracksList .trkStop { background: #f0f1f4; }
.trkStop .t { color: var(--gray-400); }
.trkStop .v { color: var(--gray-700); }
.trkCard { margin: 0 8px 8px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 1px 2px rgba(5, 28, 44, 0.1); cursor: pointer; }
.trkCard.active { border-color: var(--gray-700); }
.trkCard .hd { display: flex; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
.trkCard .hd .arrow { margin: 0 4px; display: flex; }
.trkCard .hd .r { margin-left: auto; display: flex; gap: 9px; color: var(--gray-700); }
.trkCard .ln { display: flex; align-items: center; height: 16px; margin-top: 6px; padding-left: 4px; color: var(--gray-700); }
.trkCard .ln:first-of-type { margin-top: 10px; }
.trkCard .ln .i { width: 28px; display: flex; color: #000; }
.trkSummary { flex: none; border-top: 1px solid var(--line-strong); background: rgb(249, 249, 251); }
.trkSummary .hd { display: flex; align-items: center; justify-content: space-between; height: 33px; padding: 8px 16px; border-bottom: 1px solid var(--line-strong); font-weight: 700; cursor: pointer; }
.trkSummary .chips { display: flex; flex-wrap: wrap; padding: 3px 10px; }
.trkSummary .sc { width: 186px; height: 20px; padding: 2px 6px; white-space: nowrap; }
.trkSummary .sc b { font-weight: 700; margin-right: 2px; }
.trkSummary.closed .chips { display: none; }
.trkRules { flex: none; padding: 8px; background: rgb(249, 249, 251); }
.tracksEmpty { padding: 40px 16px; text-align: center; }
.tracksEmpty .t { font-size: 14px; font-weight: 600; }
.tracksEmpty .s { margin-top: 4px; color: var(--gray-700); }

/* Tracks (Legacy) */
.legacyToolbar { position: relative; height: 50px; flex: none; background: var(--gray-50); }
.legacyToolbar .lbl { position: absolute; left: 12px; color: #000; }
.legacyToolbar .dt { position: absolute; left: 51px; width: 183px; height: 19px; display: flex; background: #fff; border: 1px solid rgb(178, 178, 178); border-radius: 4px; box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2); }
.legacyToolbar .dt span { display: flex; align-items: center; padding-left: 4px; color: #555; }
.legacyToolbar .dt input { border: 0; outline: 0; background: transparent; height: 17px; padding: 1px; font-size: 11px; }
.legacyToolbar .dt .d { width: 76px; }
.legacyToolbar .dt .t { width: 50px; }
.legacyToolbar .find { position: absolute; left: 237px; top: 13px; width: 24px; border-radius: 4px; }
.legacyToolbar .draw { position: absolute; left: 270px; top: 16px; height: 30px; padding: 0 12.8px 0 6.4px; display: flex; align-items: center; gap: 6px; border: 0; border-radius: 4px; background: rgb(26, 157, 198); color: #fff; font-size: 12.8px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.06); cursor: pointer; }
.legacyToolbar .draw.off { opacity: 0.2; }

/* Area Search window */
.asForm { padding: 16px; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.asForm .fRow { display: flex; align-items: center; height: 32px; margin-bottom: 16px; flex: none; }
.asForm .fLabel { width: 116px; font-weight: 600; }
.asForm .fValue { flex: 1; display: flex; gap: 8px; }
.asResult { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* Tracks: timeline view */
.tlAxis { position: relative; height: 26px; margin: 0 8px; }
.tlTick { position: absolute; top: 0; bottom: -64px; border-left: 1px solid var(--line); }
.tlTick span { position: absolute; top: 6px; left: -14px; font-size: 11px; color: var(--gray-700); background: var(--gray-50); padding: 0 2px; }
.tlOwner { display: flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; position: relative; }
.tlOwner .eye { display: flex; }
.tlOwner .vchip { height: 20px; padding: 2px 6px; border-radius: 4px; color: #fff; font-size: 11px; }
.tlBar { position: relative; height: 12px; margin: 2px 8px 12px; background: #f8bca9; border-radius: 1px; }
.tlBar i { position: absolute; top: 0; bottom: 0; background: #caecab; border-left: 1px solid #28cb46; }

/* Status: card view */
.statusCards { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; padding: 0 20px; overflow: auto; flex: 1; }
.statusCard { width: 145px; height: 104px; padding: 16px 8px; background: #fff; border: 1px solid rgb(229, 229, 229); border-radius: 0; text-align: center; }
.statusCard .l { font-size: 12px; color: var(--gray-900); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statusCard .v { font-size: 14px; font-weight: 700; margin-top: 26px; }
.statusCard .v svg { color: var(--gray-400); }
