.wt-shell {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.wt-body {
    background: #ffffff;
    padding: 14px 14px 18px 14px;
}

.wt-results-info {
    display: flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    padding: 6px 10px;
    background: #f4f6f9;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    width: fit-content;
}

.wt-card__path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.72rem;
    color: #6c757d;
    font-weight: 600;
    line-height: 1.3;
}

.wt-card__path-seg {
    background: #e9ecef;
    border-radius: 6px;
    padding: 1px 6px;
    color: #495057;
}

.wt-card__path-sep {
    font-size: 0.6rem;
    color: #adb5bd;
}

.wt-card--selected .wt-card__path { color: rgba(255, 255, 255, 0.85); }

.wt-card--selected .wt-card__path-seg {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.wt-card--selected .wt-card__path-sep { color: rgba(255, 255, 255, 0.7); }

.wt-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding: 6px 10px;
    margin-bottom: 14px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    position: sticky;
    top: -14px;
    z-index: 2;
}

.wt-crumb {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid transparent;
    background: transparent;
    color: #6c757d;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    max-width: 240px;
}

.wt-crumb:hover:not(:disabled) {
    background: #e9ecef;
    color: #343a40;
    border-color: #dee2e6;
}

.wt-crumb:focus { outline: none; box-shadow: 0 0 0 3px rgba(10, 61, 143, 0.22); }

.wt-crumb:disabled { cursor: default; }

.wt-crumb--root { color: #6c757d; }

.wt-crumb--current {
    background: #0a3d8f;
    color: #fff;
    border-color: #0a3d8f;
    cursor: default;
    box-shadow: 0 2px 6px rgba(10, 61, 143, 0.25);
}

.wt-crumb--current:hover { background: #0a3d8f; color: #fff; }

.wt-crumb__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-crumb__sep {
    color: #adb5bd;
    font-size: 0.7rem;
    padding: 0 2px;
}

.wt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px 12px;
    align-items: stretch;
}

.wt-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    text-align: left;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    background: #f4f6f9;
    color: #343a40;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, background 0.18s ease;
    position: relative;
}

.wt-card:hover {
    border-color: #ced4da;
    background: #e9ecef;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.wt-card:focus { outline: none; box-shadow: 0 0 0 3px rgba(10, 61, 143, 0.22); }

.wt-card__icon-wrap {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    font-size: 1.05rem;
}

.wt-card--branch .wt-card__icon-wrap {
    background: #e9ecef;
    color: #495057;
}

.wt-card__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wt-card__text {
    white-space: normal;
    word-break: break-word;
    font-weight: 700;
    font-size: 0.92rem;
    color: #212529;
    line-height: 1.3;
}

.wt-card__meta {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wt-card__meta--leaf { color: #6c757d; }

.wt-card__chev {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.wt-card:hover .wt-card__chev {
    background: #dee2e6;
    color: #495057;
    transform: translateX(2px);
}

.wt-card--selected,
.wt-card--selected:hover,
.wt-card--selected:focus {
    border: 2px solid #1453ad;
    background-color: #1453ad !important;
    background-image: none !important;
    color: #fff;
    box-shadow: 0 14px 32px rgba(20, 83, 173, 0.42), 0 0 0 4px rgba(20, 83, 173, 0.18);
    transform: translateY(-2px) scale(1.015);
    z-index: 1;
}

.wt-card--selected .wt-card__text {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.wt-card--selected .wt-card__meta,
.wt-card--selected .wt-card__meta--leaf {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

.wt-card--selected .wt-card__icon-wrap {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.wt-card--selected .wt-card__chev,
.wt-card--selected:hover .wt-card__chev {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: none;
}

.wt-empty {
    background: #f8f9fa;
    border: 1px dashed #ced4da;
    border-radius: 12px;
    color: #6c757d;
}
