/* TSD MDM operator console */

:root {
    --tsd-navy: #101012;
    --tsd-navy-2: #17171a;
    --tsd-ink: #f4f4f5;
    --tsd-muted: #a1a1aa;
    --tsd-line: rgba(255, 255, 255, 0.1);
    --tsd-canvas: #0a0a0b;
    --tsd-surface: #17171a;
    --tsd-accent: #e8842a;
    --tsd-accent-2: #f0923a;
    --tsd-accent-soft: rgba(232, 132, 42, 0.16);
    --tsd-info: #38bdf8;
    --tsd-success: #34d399;
    --tsd-warning: #fbbf24;
    --tsd-danger: #fb7185;
    --tsd-radius: 18px;
    --tsd-radius-sm: 12px;
    --tsd-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    --tsd-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.4);
    --tsd-bg-image: url("/images/tsd-app-bg.png");
    --tsd-sidebar-width: 272px;
    --tsd-sidebar-collapsed: 84px;
    --tsd-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    --bs-body-font-family: var(--tsd-font);
    --bs-body-color: var(--tsd-ink);
    --bs-body-color-rgb: 244, 244, 245;
    --bs-emphasis-color: var(--tsd-ink);
    --bs-emphasis-color-rgb: 244, 244, 245;
    --bs-secondary-color: var(--tsd-muted);
    --bs-border-color: var(--tsd-line);
    --bs-heading-color: var(--tsd-ink);
    --bs-primary: var(--tsd-accent);
    --bs-link-color: var(--tsd-accent);
    color-scheme: dark;
}

html,
body.tsd-body {
    background-color: #000;
    background-image: var(--tsd-bg-image);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--tsd-ink);
    font-family: var(--tsd-font);
    min-height: 100%;
}

.bg-white,
.bg-white.rounded,
.bg-white.rounded.shadow-sm,
dl.bg-white.rounded.shadow-sm,
.layout-wrapper,
.card,
.modal-content {
    background: var(--tsd-surface) !important;
    color: var(--tsd-ink);
}

.text-muted {
    color: var(--tsd-muted) !important;
}

.text-body,
.text-body-emphasis,
.text-dark,
.text-black {
    color: var(--tsd-ink) !important;
}

.border,
.border-top,
.border-bottom,
.border-start,
.border-end {
    border-color: var(--tsd-line) !important;
}

dl.bg-white dd,
dl.bg-white .text-body-emphasis,
legend,
legend.text-body-emphasis {
    color: var(--tsd-ink) !important;
}

dl.bg-white .border-top,
dl.bg-white .d2-grid {
    border-top-color: var(--tsd-line) !important;
}

.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
    color: var(--tsd-ink);
    background: #101012;
    border-color: var(--tsd-line);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tsd-accent);
    box-shadow: 0 0 0 3px rgba(232, 132, 42, 0.28);
}

.form-label,
.form-check-label {
    color: var(--tsd-muted);
}

.dropdown-menu {
    background: #1a1a1c;
    color: var(--tsd-ink);
}

.table {
    color: var(--tsd-ink);
    --bs-table-color: var(--tsd-ink);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--tsd-line);
    --bs-table-striped-color: var(--tsd-ink);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-active-color: var(--tsd-ink);
    --bs-table-active-bg: rgba(232, 132, 42, 0.1);
    --bs-table-hover-color: var(--tsd-ink);
    --bs-table-hover-bg: rgba(232, 132, 42, 0.08);
    border-color: var(--tsd-line);
}

.tsd-app,
.tsd-shell {
    min-height: 100vh;
    min-height: 100dvh;
}

.tsd-shell {
    display: flex;
    align-items: stretch;
}

.tsd-main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.tsd-workspace {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.tsd-page {
    flex: 1 1 auto;
    padding: 8px 28px 48px;
}

/* Sidebar */

.aside.tsd-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    flex: 0 0 var(--tsd-sidebar-width);
    width: var(--tsd-sidebar-width) !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    overflow: hidden;
    background:
        radial-gradient(1200px 420px at -20% -10%, rgba(232, 132, 42, 0.16), transparent 55%),
        linear-gradient(180deg, var(--tsd-navy-2) 0%, var(--tsd-navy) 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    color: #e8f1f6;
    transition: width 0.22s ease, flex-basis 0.22s ease, transform 0.22s ease;
}

.tsd-sidebar__brand {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 18px 16px 8px;
}

.tsd-brand,
.tsd-brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.tsd-brand__logo {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.tsd-brand__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.15;
}

.tsd-sidebar .tsd-brand__copy strong {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.tsd-sidebar .tsd-brand__copy small {
    margin-top: 3px;
    color: #8ba0b3;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: normal;
}

.tsd-sidebar__nav {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 8px 12px 16px;
    overflow: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

.tsd-sidebar .nav-link {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #c5d4e0;
    font-weight: 600;
}

.tsd-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.tsd-sidebar .nav-item.active > .nav-link,
.tsd-sidebar .nav-link.active {
    background: linear-gradient(90deg, rgba(232, 132, 42, 0.22), rgba(232, 132, 42, 0.08));
    color: #fff;
}

.tsd-sidebar .nav-item > small,
.tsd-sidebar .nav-item .text-muted {
    display: block;
    margin: 18px 12px 8px;
    color: #7f93a6 !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tsd-sidebar .badge {
    background: rgba(232, 132, 42, 0.18) !important;
    color: #fdba74 !important;
    font-weight: 700;
}

.tsd-sidebar__footer {
    padding: 12px;
}

.tsd-sidebar .profile-container {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.tsd-sidebar .profile-container .text-white,
.tsd-sidebar .profile-container .text-muted {
    color: #dbe7ef !important;
}

.tsd-sidebar .profile-container .text-muted {
    color: #8ba0b3 !important;
}

.tsd-sidebar-backdrop[hidden] {
    display: none !important;
}

html.tsd-sidebar-collapsed .aside.tsd-sidebar {
    flex-basis: var(--tsd-sidebar-collapsed);
    width: var(--tsd-sidebar-collapsed) !important;
}

html.tsd-sidebar-collapsed .tsd-sidebar .tsd-brand__copy,
html.tsd-sidebar-collapsed .tsd-sidebar .nav-link span.text-break,
html.tsd-sidebar-collapsed .tsd-sidebar .badge,
html.tsd-sidebar-collapsed .tsd-sidebar .nav-item > small,
html.tsd-sidebar-collapsed .tsd-sidebar .profile-container small,
html.tsd-sidebar-collapsed .tsd-sidebar .divider {
    display: none !important;
}

html.tsd-sidebar-collapsed .tsd-sidebar .nav-link {
    justify-content: center;
    gap: 0 !important;
}

html.tsd-sidebar-collapsed .tsd-sidebar__brand,
html.tsd-sidebar-collapsed .tsd-sidebar .profile-container .col-10 {
    justify-content: center;
}

html.tsd-sidebar-collapsed .tsd-sidebar .profile-container .col-10 {
    width: 100%;
    max-width: 100%;
}

/* Topbar */

.tsd-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 28px 14px;
    background: rgba(10, 10, 11, 0.86);
    border-bottom: 1px solid var(--tsd-line);
    backdrop-filter: blur(18px);
}

.tsd-burger {
    display: inline-flex;
    flex: 0 0 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--tsd-line);
    border-radius: 14px;
    background: var(--tsd-surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, var(--tsd-shadow);
    cursor: pointer;
}

.tsd-burger span {
    display: block;
    width: 16px;
    height: 1.75px;
    border-radius: 99px;
    background: var(--tsd-ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.tsd-burger span + span {
    margin-top: 4px;
}

html.tsd-sidebar-open .tsd-burger span:nth-child(1),
html.tsd-sidebar-collapsed .tsd-burger span:nth-child(1) {
    transform: translateY(5.75px) rotate(45deg);
}

html.tsd-sidebar-open .tsd-burger span:nth-child(2),
html.tsd-sidebar-collapsed .tsd-burger span:nth-child(2) {
    opacity: 0;
}

html.tsd-sidebar-open .tsd-burger span:nth-child(3),
html.tsd-sidebar-collapsed .tsd-burger span:nth-child(3) {
    transform: translateY(-5.75px) rotate(-45deg);
}

.tsd-topbar__titles {
    min-width: 0;
    flex: 1 1 auto;
}

.tsd-topbar__title {
    margin: 0;
    color: var(--tsd-ink);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.tsd-topbar__description {
    margin: 2px 0 0;
    overflow: hidden;
    color: var(--tsd-muted);
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tsd-topbar .breadcrumb {
    margin-bottom: 2px;
    font-size: 0.75rem;
}

.tsd-topbar .breadcrumb-item,
.tsd-topbar .breadcrumb-item a,
.tsd-topbar .breadcrumb-item + .breadcrumb-item::before {
    color: var(--tsd-muted);
}

.tsd-topbar .breadcrumb-item.active {
    color: var(--tsd-ink);
}

.tsd-topbar__actions {
    margin-left: auto;
    min-width: 0;
}

.command-bar {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap !important;
    justify-content: flex-end;
    gap: 8px;
}

.command-bar .btn {
    border-radius: 999px;
    font-weight: 600;
    box-shadow: none;
}

.command-bar .tsd-filter-link {
    border: 1px solid var(--tsd-line);
    background: var(--tsd-surface);
    color: var(--tsd-ink);
    text-decoration: none;
}

.command-bar .tsd-filter-link.is-active {
    background: var(--tsd-accent-soft);
    border-color: rgba(232, 132, 42, 0.4);
    color: #fdba74;
}

.command-bar > li {
    position: relative;
}

.command-bar .dropdown-menu {
    min-width: 12.5rem;
    padding: 6px;
    border: 1px solid var(--tsd-line);
    border-radius: 14px;
    box-shadow: var(--tsd-shadow-lg);
}

.command-bar .dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item {
    display: flex !important;
    align-items: center;
    border-radius: 10px;
    font-weight: 600;
    color: var(--tsd-ink);
}

.command-bar .dropdown-menu .dropdown-item svg,
.dropdown-menu .dropdown-item svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-inline-end: 12px;
}

.btn-default,
.btn-primary {
    background: var(--tsd-accent) !important;
    border-color: var(--tsd-accent) !important;
    color: #1a0e04 !important;
}

.btn-default:hover,
.btn-primary:hover {
    background: var(--tsd-accent-2) !important;
    border-color: var(--tsd-accent-2) !important;
    color: #1a0e04 !important;
}

/* Surfaces */

.bg-white.rounded.shadow-sm,
dl.bg-white.rounded.shadow-sm,
.layout-wrapper {
    border: 1px solid var(--tsd-line);
    border-radius: var(--tsd-radius) !important;
    box-shadow: var(--tsd-shadow) !important;
}

legend,
.legend,
.tsd-fold__title {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tsd-fold > details {
    width: 100%;
}

.tsd-fold__summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0.75rem 0.35rem;
}

.tsd-fold__summary::-webkit-details-marker {
    display: none;
}

.tsd-fold__summary::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #8a97a6;
    border-bottom: 2px solid #8a97a6;
    transform: rotate(-45deg);
    margin-top: -2px;
    flex: 0 0 auto;
}

.tsd-fold details[open] > .tsd-fold__summary::before {
    transform: rotate(45deg);
    margin-top: 0;
}

.tsd-fold__count {
    color: #6b7c8d;
    font-size: 0.78rem;
}

.tsd-fold__body {
    width: 100%;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: #1c1c1f;
    border-bottom-color: var(--tsd-line);
    color: #a1a1aa;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.table td,
.table th,
.table td.text-balance,
.table th.text-balance {
    vertical-align: middle;
    overflow-wrap: normal;
    word-break: keep-all;
    text-wrap: nowrap !important;
    white-space: nowrap !important;
}

.table td > div,
.table td .btn,
.table td a {
    text-wrap: nowrap !important;
    white-space: nowrap !important;
}

.table > :not(caption) > * > * {
    background-color: transparent;
    border-color: var(--tsd-line);
    box-shadow: none;
    color: inherit;
}

.table > tbody > tr > td,
.table > tfoot > tr > td {
    border-top-color: var(--tsd-line);
}

.table > thead > tr > th {
    border-bottom-color: var(--tsd-line);
}

.table tbody tr:hover > *,
.table-hover tbody tr:hover,
.table-hover tbody tr:hover > * {
    background-color: rgba(232, 132, 42, 0.08);
    box-shadow: none;
    color: inherit;
}

.table td a:not(.dropdown-item),
.tsd-fleet-table td a:not(.dropdown-item),
.tsd-fleet-card a:not(.dropdown-item):not(.btn) {
    color: var(--tsd-ink);
    background: transparent;
}

.table td a:not(.dropdown-item):not(.tsd-kebab):hover,
.table td a:not(.dropdown-item):not(.tsd-kebab):focus,
.table td .btn-link:not(.tsd-kebab):hover,
.table td .btn-link:not(.tsd-kebab):focus,
.tsd-fleet-card a:not(.dropdown-item):not(.btn):hover,
.tsd-fleet-card a:not(.dropdown-item):not(.btn):focus {
    color: var(--tsd-accent);
    background: transparent;
    box-shadow: none;
}

.tsd-live-table__status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px 0;
    color: var(--tsd-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.tsd-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--tsd-success);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45);
    animation: tsd-live-pulse 1.8s ease-out infinite;
}

@keyframes tsd-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(5, 150, 105, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

/* Status */

.tsd-pill {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
}

.tsd-pill--neutral {
    background: rgba(255, 255, 255, 0.08);
    color: #d4d4d8;
}

.tsd-pill--success {
    background: rgba(52, 211, 153, 0.16);
    color: #6ee7b7;
}

.tsd-pill--danger {
    background: rgba(251, 113, 133, 0.16);
    color: #fda4af;
}

.tsd-pill--warning {
    background: rgba(251, 191, 36, 0.16);
    color: #fcd34d;
}

.tsd-pill--info {
    background: rgba(56, 189, 248, 0.16);
    color: #7dd3fc;
}

.tsd-pill--accent {
    background: var(--tsd-accent-soft);
    color: #fdba74;
}

.tsd-battery {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tsd-battery__track {
    display: inline-block;
    width: 42px;
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: #2a2a2e;
}

.tsd-battery__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
}

.tsd-battery__label {
    color: var(--tsd-muted);
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.tsd-battery--success {
    color: var(--tsd-success);
}

.tsd-battery--warning {
    color: var(--tsd-warning);
}

.tsd-battery--danger {
    color: var(--tsd-danger);
}

/* Home */

.tsd-home__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(232, 132, 42, 0.28), transparent 32%),
        linear-gradient(135deg, #101012 0%, #17171a 58%, #2a1810 140%);
    border-radius: 28px;
    box-shadow: var(--tsd-shadow-lg);
    color: #f8fafc;
}

.tsd-home__hero-copy {
    padding: 32px 32px 28px;
}

.tsd-home__eyebrow {
    margin: 0 0 8px;
    color: #fdba74;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tsd-home__title {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 2vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.tsd-home__lede {
    max-width: 38rem;
    margin: 0;
    color: rgba(248, 250, 252, 0.78);
}

.tsd-home__hero-visual {
    position: relative;
    min-height: 220px;
    background: #000;
}

.tsd-home__hero-visual img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: right center;
}

.tsd-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.tsd-metric {
    padding: 18px 18px 16px;
    background: var(--tsd-surface);
    border: 1px solid var(--tsd-line);
    border-radius: var(--tsd-radius);
    box-shadow: var(--tsd-shadow);
}

.tsd-metric__label {
    color: var(--tsd-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.tsd-metric__value {
    margin: 8px 0 0;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.tsd-metric--accent {
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(232, 132, 42, 0.16), transparent 55%),
        var(--tsd-surface);
    border-color: rgba(232, 132, 42, 0.32);
}

.tsd-home__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 16px;
}

.tsd-panel {
    padding: 8px;
    background: var(--tsd-surface);
    border: 1px solid var(--tsd-line);
    border-radius: var(--tsd-radius);
    box-shadow: var(--tsd-shadow);
}

.tsd-panel__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px 8px;
}

.tsd-panel__head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.tsd-device-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid var(--tsd-line);
    color: inherit;
    text-decoration: none;
}

.tsd-device-row:hover {
    background: rgba(232, 132, 42, 0.08);
}

.tsd-device-row strong {
    display: block;
    font-size: 0.92rem;
    white-space: nowrap;
}

.tsd-device-row span {
    color: var(--tsd-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.tsd-empty {
    padding: 28px 20px 24px;
    text-align: center;
}

.tsd-empty img {
    width: min(220px, 70%);
    margin-bottom: 12px;
}

.tsd-shortcuts a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px;
    padding: 14px 16px;
    border: 1px solid var(--tsd-line);
    border-radius: 16px;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.tsd-shortcuts a:hover {
    background: rgba(232, 132, 42, 0.08);
    border-color: rgba(232, 132, 42, 0.32);
}

/* Login */

html:has(.tsd-login),
body.tsd-body:has(.tsd-login) {
    height: 100%;
    min-height: 100dvh;
}

body.tsd-body:has(.tsd-login) .tsd-app,
body.tsd-body:has(.tsd-login) .tsd-shell,
body.tsd-body:has(.tsd-login) .tsd-main {
    height: 100%;
    min-height: 100dvh;
    background: transparent;
}

.tsd-login {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    column-gap: 0;
    height: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    background: transparent;
}

.tsd-login__visual,
.tsd-login__panel {
    position: relative;
    z-index: 1;
    min-height: 0;
}

.tsd-login__visual {
    overflow: hidden;
    background: transparent;
}

.tsd-login__hero {
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    z-index: 0;
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: right center;
    pointer-events: none;
}

.tsd-login__logotype {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    width: min(220px, 42%);
    height: auto;
}

.tsd-login__caption {
    position: absolute;
    right: 40px;
    bottom: 32px;
    z-index: 2;
    width: auto;
    max-width: calc(100% - 48px);
    margin: 0;
    color: #fff;
    text-align: left;
    line-height: 1.08;
}

.tsd-login__caption strong {
    display: block;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    text-indent: -0.05em;
}

.tsd-login__caption span {
    display: block;
    margin-top: 8px;
    font-size: clamp(0.78rem, 1.4vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.tsd-login__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 48px;
    background:
        radial-gradient(120% 80% at 0% 50%, rgba(232, 132, 42, 0.1), transparent 46%),
        linear-gradient(180deg, rgba(23, 23, 26, 0.72) 0%, rgba(16, 16, 18, 0.78) 100%);
    box-shadow: inset 1px 0 0 rgba(232, 132, 42, 0.18);
}

.tsd-login__card {
    width: min(100%, 400px);
    padding: 0;
    color: #f4f4f5;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.tsd-login__title {
    margin: 0 0 28px;
    color: #fafafa;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.tsd-login__title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 14px;
    border-radius: 99px;
    background: #e8842a;
}

.tsd-login__form .form-label,
.tsd-login__form .form-check-label {
    color: #a1a1aa;
}

.tsd-login__form .form-control {
    min-height: 46px;
    color: #f4f4f5;
    background: rgba(0, 0, 0, 0.42);
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.tsd-login__form .form-control::placeholder {
    color: rgba(244, 244, 245, 0.38);
}

.tsd-login__form .form-control:focus {
    color: #f4f4f5;
    background: rgba(0, 0, 0, 0.5);
    border-color: #e8842a;
    box-shadow: 0 0 0 3px rgba(232, 132, 42, 0.28);
}

.tsd-login__form .form-control:-webkit-autofill,
.tsd-login__form .form-control:-webkit-autofill:hover,
.tsd-login__form .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #f4f4f5;
    caret-color: #f4f4f5;
    box-shadow: 0 0 0 1000px #141416 inset;
    transition: background-color 99999s ease-out;
}

.tsd-login__form .text-ellipsis {
    color: #f4f4f5;
}

.tsd-login__form .text-muted {
    color: #a1a1aa !important;
}

.tsd-login__form a {
    color: #f4f4f5;
    text-decoration: none;
}

.tsd-login__form a:hover,
.tsd-login__form a:focus {
    color: #e8842a;
}

.tsd-login__form .form-check-input {
    background-color: rgba(0, 0, 0, 0.42);
    border-color: rgba(255, 255, 255, 0.22);
}

.tsd-login__form .form-check-input:checked {
    background-color: #e8842a;
    border-color: #e8842a;
}

.tsd-login__form .btn-default,
.tsd-login__form .btn-default:hover,
.tsd-login__form .btn-default:focus,
.tsd-login__form .btn-default:focus-visible,
.tsd-login__form .btn-default:active,
.tsd-login__form .btn-default.active,
.tsd-login__form .btn-default:not([disabled]):not(.disabled):active {
    min-height: 46px;
    background: #e8842a !important;
    border-color: #e8842a !important;
    border-radius: 12px !important;
    color: #1a0e04 !important;
    font-weight: 700;
    box-shadow: none !important;
    outline: none;
}

.tsd-login__form .btn-default:hover,
.tsd-login__form .btn-default:focus,
.tsd-login__form .btn-default:focus-visible {
    background: #f0923a !important;
    border-color: #f0923a !important;
}

.tsd-login__form .btn,
.tsd-login__form .input-group-text,
.tsd-login__form svg {
    color: inherit;
}

/* Responsive */

@media (max-width: 1199.98px) {
    .tsd-home__hero,
    .tsd-home__grid,
    .tsd-metrics {
        grid-template-columns: 1fr;
    }

    .tsd-home__hero-visual {
        min-height: 180px;
    }
}

@media (max-width: 991.98px) {
    .aside.tsd-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1040;
        width: min(288px, 86vw) !important;
        transform: translateX(-105%);
        box-shadow: none;
    }

    html.tsd-sidebar-open .aside.tsd-sidebar {
        transform: translateX(0);
        box-shadow: 24px 0 70px rgba(7, 22, 36, 0.35);
    }

    .tsd-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1035;
        background: rgba(7, 22, 36, 0.46);
        backdrop-filter: blur(6px);
    }

    .tsd-login__logotype {
        top: 16px;
        left: 16px;
        width: min(168px, 48%);
    }

    .tsd-login__caption {
        right: 16px;
        bottom: 16px;
        width: auto;
    }

    .tsd-login__caption strong {
        font-size: 1.8rem;
    }

    .tsd-login__panel {
        padding: 32px 20px 40px;
    }

    .tsd-page,
    .tsd-topbar {
        padding-right: 16px;
        padding-left: 16px;
    }

    .tsd-topbar {
        flex-wrap: wrap;
        align-items: center;
    }

    .tsd-topbar__actions {
        flex: 1 1 100%;
        margin-left: 0;
    }

    .command-bar {
        flex-wrap: wrap;
        justify-content: flex-start !important;
    }

    .tsd-topbar__description {
        display: none;
    }
}

@media (max-width: 639.98px) {
    html:has(.tsd-login),
    body.tsd-body:has(.tsd-login),
    body.tsd-body:has(.tsd-login) .tsd-app,
    body.tsd-body:has(.tsd-login) .tsd-shell,
    body.tsd-body:has(.tsd-login) .tsd-main {
        height: auto;
        min-height: 100dvh;
    }

    .tsd-login {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .tsd-login__visual {
        height: 168px;
        min-height: 168px;
        max-height: 168px;
    }

    .tsd-login__hero {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 168px;
        object-fit: cover;
        object-position: right center;
    }

    .tsd-login__logotype {
        top: 12px;
        left: 12px;
        width: min(132px, 44%);
    }

    .tsd-login__caption {
        right: 12px;
        bottom: 10px;
        width: auto;
    }

    .tsd-login__caption strong {
        font-size: 1.35rem;
    }

    .tsd-login__caption span {
        margin-top: 4px;
        font-size: 0.7rem;
    }

    .tsd-login__panel {
        justify-content: flex-start;
        padding: 18px 16px 24px;
        min-height: 0;
        box-shadow: inset 0 1px 0 rgba(232, 132, 42, 0.18);
    }

    .tsd-login__title {
        margin: 0 0 16px;
        font-size: 1.45rem;
    }

    .tsd-login__title::after {
        margin-top: 8px;
    }

    .tsd-login__form .mb-3 {
        margin-bottom: 12px !important;
    }
}

.tsd-live-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    margin-bottom: 16px;
    background: var(--tsd-surface);
    border: 1px solid var(--tsd-line);
    border-radius: var(--tsd-radius);
    box-shadow: var(--tsd-shadow);
}

.tsd-live-shell__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.tsd-live-shell__heading {
    min-width: 0;
}

.tsd-live-shell__title {
    margin: 0;
}

.tsd-live-shell__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.tsd-live-shell__actions form {
    margin: 0;
}

.tsd-live-shell__btn {
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

.tsd-live-shell__shots {
    min-width: 0;
}

.tsd-live-shell__shots-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.tsd-live-shell__shots-title {
    margin: 0;
}

.tsd-live-shell__clear {
    padding: 0;
    border: 0;
    background: none;
    color: var(--tsd-muted);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.tsd-live-shell__clear:hover {
    color: var(--tsd-danger);
}

.tsd-live-shell__preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #111;
    border-radius: var(--tsd-radius-sm);
    background: #000;
}

.tsd-live-shell__waiting {
    color: rgba(255, 255, 255, 0.62);
}

.tsd-live-shell__preview img {
    max-height: min(70vh, 640px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.tsd-live-shell__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
}

.tsd-live-shell__preview.is-idle .tsd-live-shell__play {
    display: flex;
}

.tsd-live-shell__play-icon {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #000;
    transition: transform 0.16s ease;
}

.tsd-live-shell__play:hover .tsd-live-shell__play-icon {
    transform: scale(1.06);
}

.tsd-live-shell__stop {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.tsd-live-shell__preview.is-live .tsd-live-shell__stop {
    display: flex;
}

.tsd-shot-slider {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(7, 22, 36, 0.28) transparent;
    margin: 0 -4px;
    padding: 4px 4px 8px;
}

.tsd-shot-slider::-webkit-scrollbar {
    height: 8px;
}

.tsd-shot-slider::-webkit-scrollbar-thumb {
    background: rgba(7, 22, 36, 0.22);
    border-radius: 999px;
}

.tsd-shot-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    min-width: 100%;
}

.tsd-shot-card {
    flex: 0 0 auto;
    width: auto;
    scroll-snap-align: start;
}

.tsd-shot-thumb {
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    border: 1px solid var(--tsd-line);
    border-radius: var(--tsd-radius-sm);
    overflow: hidden;
    background: #000;
    cursor: zoom-in;
}

.tsd-shot-thumb img {
    display: block;
    width: auto;
    height: 280px;
    max-width: none;
    object-fit: contain;
    object-position: center top;
}

.tsd-shot-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.tsd-shot-modal[hidden] {
    display: none;
}

.tsd-shot-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 22, 36, 0.72);
}

.tsd-shot-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(960px, 100%);
    max-height: 100%;
}

.tsd-shot-modal__dialog img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    border-radius: var(--tsd-radius-sm);
    box-shadow: var(--tsd-shadow-lg);
    background: #000;
}

.tsd-shot-modal__caption {
    margin-top: 12px;
    color: #fff;
    text-align: center;
}

.tsd-shot-modal__close,
.tsd-shot-modal__nav {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.tsd-shot-modal__close {
    top: -8px;
    right: -8px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 28px;
}

.tsd-shot-modal__nav {
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 28px;
    transform: translateY(-50%);
}

.tsd-shot-modal__nav--prev {
    left: -48px;
}

.tsd-shot-modal__nav--next {
    right: -48px;
}

@media (max-width: 767.98px) {
    .tsd-live-shell {
        padding: 16px;
        gap: 12px;
    }

    .tsd-live-shell__header {
        align-items: stretch;
    }

    .tsd-live-shell__actions {
        width: 100%;
        margin-left: 0;
    }

    .tsd-live-shell__actions form {
        flex: 1 1 0;
    }

    .tsd-live-shell__btn {
        width: 100%;
    }

    .tsd-live-shell__preview {
        min-height: 180px;
    }

    .bg-white.rounded table td,
    .bg-white.rounded table th,
    dl.bg-white table td,
    dl.bg-white table th {
        white-space: normal !important;
        text-wrap: wrap !important;
        word-break: break-word;
    }

    .tsd-live-table table td,
    .tsd-live-table table th {
        white-space: nowrap !important;
        text-wrap: nowrap !important;
        word-break: keep-all;
    }

    .tsd-shot-thumb img {
        height: 220px;
    }

    .tsd-shot-modal__nav--prev {
        left: 8px;
    }

    .tsd-shot-modal__nav--next {
        right: 8px;
    }
}

.tsd-fleet-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.9fr) auto;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 16px;
    padding: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(232, 132, 42, 0.32), transparent 28%),
        linear-gradient(135deg, #101012 0%, #17171a 58%, #2a1810 100%);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(7, 22, 36, 0.16);
}

.tsd-fleet-hero__main {
    min-width: 0;
}

.tsd-fleet-hero__eyebrow {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tsd-fleet-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tsd-fleet-hero__text {
    max-width: 560px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.tsd-fleet-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(80px, 1fr));
    gap: 10px;
}

.tsd-fleet-stat {
    min-width: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.tsd-fleet-stat__value {
    display: block;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.tsd-fleet-stat__label {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 700;
}

.tsd-fleet-stat--success {
    background: rgba(5, 150, 105, 0.32);
}

.tsd-fleet-stat--warning {
    background: rgba(217, 119, 6, 0.32);
}

.tsd-fleet-stat--danger {
    background: rgba(225, 29, 72, 0.32);
}

.tsd-fleet-hero__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 176px;
}

.tsd-fleet-hero__actions .btn {
    justify-content: center;
    border-radius: 14px;
    padding-inline: 14px;
    font-size: 0.86rem;
    font-weight: 800;
}

.btn-outline-primary {
    color: #fdba74 !important;
    background: transparent !important;
    border-color: rgba(232, 132, 42, 0.45) !important;
}

.btn-outline-primary:hover {
    color: #1a0e04 !important;
    background: var(--tsd-accent) !important;
    border-color: var(--tsd-accent) !important;
}

.tsd-fleet-tabs {
    display: flex;
    gap: 6px;
    margin: 0 0 14px;
    padding: 5px;
    background: #1c1c1f;
    border: 1px solid var(--tsd-line);
    border-radius: 18px;
    width: min(100%, 520px);
}

.tsd-fleet-tabs__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    color: var(--tsd-muted);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.tsd-fleet-tabs__item small {
    color: inherit;
    opacity: 0.7;
    font-size: 0.72rem;
    font-weight: 700;
}

.tsd-fleet-tabs__item:hover {
    color: var(--tsd-ink);
    background: rgba(255, 255, 255, 0.06);
}

.tsd-fleet-tabs__item.is-active {
    color: #1a0e04;
    background: var(--tsd-accent);
    box-shadow: 0 12px 24px rgba(232, 132, 42, 0.24);
}

.tsd-fleet-control {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px;
    background: var(--tsd-surface);
    border: 1px solid var(--tsd-line);
    border-radius: 20px;
    box-shadow: var(--tsd-shadow);
}

.tsd-fleet-control__search {
    display: flex;
    flex: 1 1 360px;
    gap: 10px;
    min-width: 260px;
}

.tsd-fleet__search {
    flex: 1 1 auto;
    min-width: 0;
}

.tsd-fleet-control__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.tsd-fleet-control__select {
    width: auto;
    min-width: 180px;
    border-radius: 999px;
    font-weight: 700;
}

.tsd-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    color: var(--tsd-muted);
    background: #1c1c1f;
    border: 1px solid var(--tsd-line);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.tsd-filter-chip:hover {
    color: var(--tsd-ink);
    background: #222226;
}

.tsd-filter-chip.is-active {
    color: #fdba74;
    background: var(--tsd-accent-soft);
    border-color: rgba(232, 132, 42, 0.4);
}

.tsd-accordion {
    overflow: hidden;
    background: var(--tsd-surface);
    border: 1px solid var(--tsd-line);
    border-radius: 22px;
    box-shadow: var(--tsd-shadow);
    margin-bottom: 12px;
}

.tsd-accordion__summary {
    list-style: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    user-select: none;
}

.tsd-accordion__summary::-webkit-details-marker {
    display: none;
}

.tsd-accordion__summary::before {
    content: "";
    width: 0.48rem;
    height: 0.48rem;
    border-right: 2px solid #8a97a6;
    border-bottom: 2px solid #8a97a6;
    transform: rotate(-45deg);
    transition: transform 0.16s ease;
}

.tsd-accordion[open] > .tsd-accordion__summary::before {
    transform: rotate(45deg);
}

.tsd-accordion__lead {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.tsd-accordion__title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tsd-accordion__meta,
.tsd-accordion__progress {
    color: var(--tsd-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.tsd-accordion__progress {
    justify-self: end;
    padding: 5px 10px;
    background: #1c1c1f;
    border-radius: 999px;
}

.tsd-accordion__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.tsd-accordion__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 800;
}

.tsd-accordion__actions .btn svg {
    flex: 0 0 1em;
    width: 1em;
    height: 1em;
    margin-inline-end: 8px;
}

.tsd-accordion__body {
    border-top: 1px solid var(--tsd-line);
}

.tsd-fleet .table-responsive {
    overflow: visible;
}

.tsd-fleet-table {
    table-layout: fixed;
}

.tsd-fleet-table td,
.tsd-fleet-table th,
.tsd-fleet-table td > div,
.tsd-fleet-table td a {
    white-space: nowrap;
}

.tsd-fleet-table th:first-child {
    width: 34%;
}

.tsd-fleet-col--device,
.tsd-fleet-col--device *,
.tsd-fleet-device__name,
.tsd-fleet-device__meta {
    white-space: normal !important;
    text-wrap: wrap !important;
}

.tsd-fleet-device__name {
    margin-top: 2px;
    font-weight: 700;
    line-height: 1.3;
}

.tsd-fleet-device__meta {
    color: var(--tsd-muted);
    font-size: 0.78rem;
}

.tsd-fleet-table .tsd-fleet-row__actions,
.tsd-fleet-table th:last-child {
    position: sticky;
    right: 0;
    width: 56px;
    text-align: right;
    background: var(--tsd-surface);
    box-shadow: -10px 0 12px rgba(16, 32, 51, 0.04);
}

.tsd-kebab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    color: var(--tsd-ink);
}

.tsd-kebab:hover,
.tsd-kebab:focus {
    color: var(--tsd-accent);
    background: var(--tsd-accent-soft);
}

.tsd-device-menu,
.tsd-accordion__actions .dropdown,
.tsd-device-menu .dropdown {
    position: relative;
    display: inline-flex;
}

.tsd-device-menu .dropdown-menu,
.tsd-accordion__actions .dropdown-menu {
    min-width: 15rem;
    padding: 6px;
    border: 1px solid var(--tsd-line);
    border-radius: 14px;
    box-shadow: var(--tsd-shadow-lg);
}

.tsd-device-menu .dropdown-item,
.tsd-accordion__actions .dropdown-item {
    padding: 8px 10px;
    line-height: 1.25;
}

.tsd-fleet-card__actions .btn,
.tsd-fleet-card__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 12px;
    color: #fdba74;
    background: var(--tsd-accent-soft);
    border: 1px solid rgba(232, 132, 42, 0.4);
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.tsd-fleet-card__actions .btn:hover,
.tsd-fleet-card__actions a:hover {
    color: #fdba74;
    background: rgba(232, 132, 42, 0.22);
}

.tsd-fleet__empty {
    margin: 0;
    padding: 20px 18px;
    color: var(--tsd-muted);
}

.tsd-fleet__empty--page {
    background: var(--tsd-surface);
    border: 1px dashed var(--tsd-line);
    border-radius: var(--tsd-radius);
}

.tsd-fleet-card {
    display: none;
}

.tsd-install {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tsd-install__target {
    padding: 12px 14px;
    background: var(--tsd-canvas);
    border-radius: var(--tsd-radius-sm);
}

.tsd-install__title {
    margin: 0 0 4px;
    font-weight: 700;
}

.tsd-install__hint {
    margin: 0;
    color: var(--tsd-muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

.tsd-install__library-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--tsd-line);
}

.tsd-install__label {
    margin: 0;
    font-weight: 600;
    font-size: 0.92rem;
}

.tsd-install__library-link {
    font-size: 0.82rem;
    white-space: nowrap;
}

.tsd-install__library {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--tsd-line);
    border-radius: var(--tsd-radius-sm);
    background: #1c1c1f;
}

.tsd-install__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow: auto;
    margin-top: 0;
}

.tsd-install__app {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--tsd-line);
    border-radius: 12px;
    background: var(--tsd-surface);
    cursor: pointer;
}

.tsd-install__app:hover {
    border-color: #c5d5e4;
}

.tsd-install__app:has(input:checked) {
    border-color: var(--tsd-accent);
    background: var(--tsd-accent-soft);
}

.tsd-install__app input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.tsd-install__app-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.tsd-install__app-name {
    font-weight: 600;
    word-break: break-word;
}

.tsd-install__app-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--tsd-muted);
    font-size: 0.84rem;
}

.tsd-install__empty {
    padding: 16px 14px;
    border: 1px dashed var(--tsd-line);
    border-radius: 12px;
    background: var(--tsd-canvas);
    color: var(--tsd-muted);
}

.tsd-install__empty p {
    margin: 0 0 6px;
}

.tsd-install__empty p:last-child {
    margin-bottom: 0;
}

.modal-body:has(.tsd-install) > .form-group {
    margin-bottom: 0;
}

.modal-body:has(.tsd-install) .bg-white {
    background: transparent !important;
    box-shadow: none;
    padding: 0;
}

.tsd-member-picker__list {
    max-height: 320px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tsd-member-picker__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--tsd-line);
    border-radius: 10px;
}

.tsd-apk-library {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 14px;
}

.tsd-apk-card {
    background: var(--tsd-surface);
    border: 1px solid var(--tsd-line);
    border-radius: 22px;
    box-shadow: var(--tsd-shadow);
    overflow: hidden;
}

.tsd-apk-card__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 12px;
    border-bottom: 1px solid var(--tsd-line);
}

.tsd-apk-card__title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    word-break: break-word;
}

.tsd-apk-card__latest {
    margin: 5px 0 0;
    color: var(--tsd-muted);
    font-weight: 700;
}

.tsd-apk-card__targets {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.tsd-apk-release-list {
    display: flex;
    flex-direction: column;
}

.tsd-apk-release {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) auto minmax(180px, 1.2fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--tsd-line);
}

.tsd-apk-release:last-child {
    border-bottom: 0;
}

.tsd-apk-release.is-latest {
    background: rgba(232, 132, 42, 0.08);
}

.tsd-apk-release__label {
    display: block;
    color: var(--tsd-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tsd-apk-release__version strong {
    display: block;
    margin-top: 2px;
}

.tsd-apk-release__targets {
    min-width: 0;
}

.tsd-apk-release__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--tsd-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.tsd-apk-library code {
    color: var(--tsd-muted);
    background: #101012;
    padding: 2px 6px;
    border-radius: 6px;
}

.tsd-apk-removals {
    margin-top: 28px;
}

.tsd-apk-removals__title {
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .tsd-fleet-hero {
        grid-template-columns: 1fr;
    }

    .tsd-fleet-hero__actions {
        flex-direction: row;
        justify-content: flex-start;
    }

    .tsd-apk-library {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .tsd-fleet-tabs {
        width: 100%;
    }

    .tsd-fleet-table thead,
    .tsd-fleet-row {
        display: none;
    }

    .tsd-fleet-card {
        display: table-row;
    }

    .tsd-fleet-card td {
        white-space: normal !important;
        text-wrap: wrap !important;
    }

    .table-responsive:has(.tsd-fleet-table) {
        overflow: visible;
    }

    .tsd-apk-release {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .tsd-apk-release__meta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .tsd-fleet-hero {
        padding: 18px;
        border-radius: 22px;
    }

    .tsd-fleet-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tsd-fleet-hero__actions {
        flex-direction: column;
    }

    .tsd-fleet-tabs {
        width: 100%;
        max-width: none;
    }

    .tsd-fleet-tabs__item {
        flex: 1 1 0;
        justify-content: center;
    }

    .tsd-fleet-tabs__item {
        flex-direction: column;
        gap: 2px;
        padding: 9px 10px;
    }

    .tsd-fleet-control {
        align-items: stretch;
    }

    .tsd-fleet-control__search {
        flex: 1 1 100%;
        min-width: 0;
    }

    .tsd-fleet-control__search .btn {
        padding-inline: 13px;
    }

    .tsd-fleet-control__filters {
        justify-content: flex-start;
        width: 100%;
    }

    .tsd-fleet-control__select {
        width: 100%;
    }

    .tsd-accordion {
        width: 100%;
    }

    .tsd-accordion__summary {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: flex-start;
    }

    .tsd-accordion__lead {
        flex: 1 1 auto;
    }

    .tsd-accordion__progress {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .tsd-accordion__actions {
        grid-column: 2 / -1;
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .tsd-accordion__install {
        flex: 1 1 auto;
    }

    .tsd-fleet-card__body {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 8px 4px;
    }

    .tsd-fleet-card__status,
    .tsd-fleet-card__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .tsd-fleet-card__actions {
        justify-content: flex-end;
    }

    .tsd-fleet-card__actions .tsd-kebab {
        width: 36px;
        padding: 0;
    }

    .tsd-apk-card__header {
        flex-direction: column;
    }

    .tsd-apk-release {
        grid-template-columns: minmax(0, 1fr);
    }

    .tsd-apk-release__actions {
        justify-self: start;
    }

    .tsd-install__library-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tsd-install__list {
        max-height: 240px;
    }

    .command-bar .btn {
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aside.tsd-sidebar,
    .tsd-burger span {
        transition: none;
    }

    .tsd-live-dot {
        animation: none;
    }
}
