.v26-pro-layout {
    display: grid !important;
    grid-template-columns: minmax(430px, 520px) minmax(0, 1fr) !important;
    gap: 20px !important;
    min-height: 0 !important;
    padding: 20px !important;
    background: #f6f8fb !important;
}

.v26-pro-old-sidebar {
    display: none !important;
}

.v26-pro-main {
    grid-column: auto !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 24px !important;
    overflow: auto !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06) !important;
}

.v26-pro-main > div:first-child > div:first-child > p {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.v26-pro-main > div:first-child > div:first-child .grid-cols-3 > div {
    height: 88px !important;
    border-color: #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 800;
    transition: border-color .15s, background .15s;
}

.v26-pro-main > div:first-child > div:first-child .grid-cols-3 > div:hover {
    color: #1d4ed8;
    border-color: #93c5fd !important;
    background: #eff6ff;
}

.v26-pro-main > div:first-child > div:last-child {
    overflow: hidden;
    border-color: #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}

.v26-pro-main > div:last-child {
    width: min(100%, 380px) !important;
    border-color: #e2e8f0 !important;
    border-radius: 24px !important;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12) !important;
}

.v26-pro-sidebar,
.v26-pro-sidebar * {
    box-sizing: border-box;
}

.v26-pro-sidebar {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #111827;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.v26-pro-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.v26-pro-title-row,
.v26-pro-between,
.v26-pro-row-head,
.v26-pro-status-row,
.v26-pro-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v26-pro-eyebrow {
    margin: 0;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.v26-pro-title {
    margin: 3px 0 0;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 800;
}

.v26-pro-subtitle {
    max-width: 340px;
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.v26-pro-counter {
    min-width: 84px;
    margin-left: 16px;
    padding: 10px 12px;
    text-align: center;
    color: #1d4ed8;
    border-radius: 14px;
    background: #eff6ff;
}

.v26-pro-counter strong,
.v26-pro-counter small {
    display: block;
}

.v26-pro-counter strong {
    font-size: 20px;
    line-height: 1;
}

.v26-pro-counter small {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 700;
}

.v26-pro-search {
    position: relative;
    margin-top: 16px;
}

.v26-pro-search span {
    position: absolute;
    top: 10px;
    left: 12px;
    color: #94a3b8;
    font-size: 18px;
}

.v26-pro-input,
.v26-pro-select {
    width: 100%;
    height: 42px;
    color: #334155;
    border: 1px solid #dbe1e8;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    outline: none;
}

.v26-pro-input {
    padding: 0 14px 0 40px;
}

.v26-pro-select {
    padding: 0 34px 0 12px;
}

.v26-pro-input:focus,
.v26-pro-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.v26-pro-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.v26-pro-toolbar {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.v26-pro-label {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.v26-pro-link-button {
    padding: 0;
    color: #64748b;
    border: 0;
    background: none;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.v26-pro-actions {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    margin-top: 10px;
}

.v26-pro-button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #dbeafe;
    border-radius: 11px;
    color: #1d4ed8;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.v26-pro-button:hover {
    background: #eff6ff;
}

.v26-pro-button-primary {
    min-width: 40px;
    color: #fff;
    border-color: #2563eb;
    background: #2563eb;
}

.v26-pro-button-primary:hover {
    background: #1d4ed8;
}

.v26-pro-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.v26-pro-chips {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.v26-pro-chip {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.v26-pro-chip.is-active {
    color: #1d4ed8;
    border-color: #60a5fa;
    background: #eff6ff;
}

.v26-pro-list {
    flex: 1;
    min-height: 0;
    padding: 12px;
    overflow-y: auto;
    background: #f8fafc;
}

.v26-pro-empty {
    margin: 12px;
    padding: 34px 20px;
    color: #64748b;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #fff;
    font-size: 13px;
}

.v26-pro-card {
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.v26-pro-card:hover {
    border-color: #cbd5e1;
}

.v26-pro-card.is-selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.v26-pro-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}

.v26-pro-avatar-wrap {
    position: relative;
    flex: 0 0 auto;
}

.v26-pro-avatar {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #f1f5f9;
}

.v26-pro-check {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: none;
    width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #2563eb;
    font-size: 10px;
    font-weight: 900;
}

.v26-pro-card.is-selected .v26-pro-check {
    display: flex;
}

.v26-pro-name-wrap {
    min-width: 0;
    margin-left: 11px;
}

.v26-pro-name,
.v26-pro-id {
    display: block;
    max-width: 245px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v26-pro-name {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.v26-pro-id {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 10px;
}

.v26-pro-icon-actions {
    display: flex;
    gap: 7px;
    margin-left: 10px;
}

.v26-pro-icon-button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
}

.v26-pro-icon-button:hover {
    color: #2563eb;
    border-color: #93c5fd;
    background: #eff6ff;
}

.v26-pro-icon-button.is-syncing {
    color: #2563eb;
    border-color: #bfdbfe;
    background: #eff6ff;
    cursor: wait;
}

.v26-pro-spin {
    display: inline-block;
}

.v26-pro-icon-button.is-syncing .v26-pro-spin {
    animation: v26-pro-spin 1s linear infinite;
}

@keyframes v26-pro-spin {
    to { transform: rotate(360deg); }
}

.v26-pro-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 13px;
}

.v26-pro-metric {
    min-width: 0;
    padding: 9px 10px;
    border-radius: 11px;
    background: #eff6ff;
}

.v26-pro-metric:nth-child(2) {
    background: #eef2ff;
}

.v26-pro-metric:nth-child(3) {
    background: #f1f5f9;
}

.v26-pro-metric span,
.v26-pro-metric strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v26-pro-metric span {
    color: #64748b;
    font-size: 9px;
    font-weight: 800;
}

.v26-pro-metric strong {
    margin-top: 2px;
    color: #172554;
    font-size: 15px;
}

.v26-pro-status-row {
    gap: 10px;
    margin-top: 11px;
    font-size: 10px;
}

.v26-pro-status {
    display: flex;
    min-width: 0;
    align-items: center;
    color: #64748b;
    font-weight: 800;
}

.v26-pro-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: #cbd5e1;
}

.v26-pro-dot.is-running { background: #3b82f6; animation: v26-pro-pulse 1.2s infinite; }
.v26-pro-dot.is-queued { background: #f59e0b; animation: v26-pro-pulse 1.2s infinite; }
.v26-pro-dot.is-completed { background: #22c55e; }
.v26-pro-dot.is-failed { background: #ef4444; }

@keyframes v26-pro-pulse {
    50% { opacity: .35; }
}

.v26-pro-date {
    flex: 0 0 auto;
    color: #94a3b8;
}

.v26-pro-connection {
    height: 35px;
    margin-top: 10px;
    font-size: 10px;
}

.v26-pro-footer {
    min-height: 58px;
    gap: 10px;
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.v26-pro-footer span {
    color: #64748b;
    font-size: 11px;
}

.v26-pro-footer-actions {
    display: flex;
    gap: 6px;
}

.v26-pro-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    max-width: 390px;
    padding: 13px 16px;
    color: #fff;
    border-radius: 13px;
    background: #0f172a;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .28);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .v26-pro-layout {
        grid-template-columns: minmax(390px, 450px) minmax(0, 1fr) !important;
        padding: 14px !important;
    }

    .v26-pro-main {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 900px) {
    .v26-pro-layout {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
    }

    .v26-pro-sidebar {
        height: 720px;
        flex: 0 0 auto;
    }

    .v26-pro-main {
        height: auto !important;
        min-height: 780px;
    }
}
