.server-async-sidebar,
.server-async-results-card {
    padding: 1.5rem;
}

.server-async-sidebar-header {
    gap: 1rem;
    margin-bottom: 1rem;
}

.server-async-tree-hint {
    color: #7b8798;
    font-size: 0.78rem;
    line-height: 1.2;
}

.server-async-tree-nav {
    margin-bottom: 1rem;
    padding: 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    background: #f8fafc;
}

.server-async-tree-toolbar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.server-async-tree-control {
    display: inline-flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7dee8;
    border-radius: 0.55rem;
    background: #fff;
    color: #334155;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.server-async-tree-control:hover:not(:disabled),
.server-async-tree-control:focus-visible {
    border-color: #9fb9df;
    background: #edf4ff;
    color: #1858ab;
    outline: none;
}

.server-async-tree-control:disabled {
    cursor: default;
    opacity: 0.38;
}

.server-async-tree-breadcrumbs {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.server-async-tree-crumb {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    max-width: 190px;
    padding: 0.25rem 0.4rem;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.server-async-tree-crumb:hover,
.server-async-tree-crumb:focus-visible {
    color: #1858ab;
    outline: none;
}

.server-async-tree-crumb.is-current {
    color: #1f2937;
    cursor: default;
}

.server-async-tree-separator {
    flex: 0 0 auto;
    color: #a9b4c3;
    font-size: 0.65rem;
}

.server-async-current-services {
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.45rem 0.65rem;
    border: 1px dashed #9fb9df;
    border-radius: 0.55rem;
    background: #edf4ff;
    color: #1858ab;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.server-async-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 70vh;
    overflow: auto;
}

.server-async-category-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.server-async-category {
    white-space: normal;
}

.server-async-category-item.is-tree-item .server-async-category {
    min-height: 68px;
    padding: 0.7rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.035);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.server-async-category-item.is-tree-item .server-async-category:hover,
.server-async-category-item.is-tree-item .server-async-category:focus-visible {
    border-color: #a9c4e8;
    background: #f8fbff;
    box-shadow: 0 7px 18px rgba(24, 88, 171, 0.08);
    outline: none;
    transform: translateY(-1px);
}

.server-async-category-leading {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.server-async-category-icon {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    background: #edf4ff;
    color: #1858ab;
    font-size: 1rem;
}

.server-async-category-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.server-async-category-item.is-tree-item .server-async-category-name {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.3;
}

.server-async-category-description {
    color: #7b8798;
    font-size: 0.72rem;
    line-height: 1.25;
}

.server-async-category-arrow {
    color: #8d99aa;
    font-size: 0.75rem;
    transition: transform 0.18s ease, color 0.18s ease;
}

.server-async-category-item.is-tree-item .server-async-category:hover .server-async-category-arrow {
    color: #1858ab;
    transform: translateX(2px);
}

.server-async-category-item.is-tree-item .server-async-category.active .server-async-category-name,
.server-async-category-item.is-tree-item .server-async-category.active .server-async-category-description,
.server-async-category-item.is-tree-item .server-async-category.active .server-async-category-arrow {
    color: #fff;
}

.server-async-category-item.is-tree-item .server-async-category.active {
    border-color: #1858ab;
    background: #1858ab;
    box-shadow: 0 7px 18px rgba(24, 88, 171, 0.16);
}

.server-async-category-item.is-tree-item .server-async-category.active .server-async-category-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.server-async-tree-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 150px;
    color: #6c757d;
    font-size: 0.88rem;
}

.server-async-category-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.75rem;
    flex: 0 0 auto;
}

.server-async-category-item.is-recent .server-async-category {
    border-color: #c9e0ff;
    background: #f8fbff;
}

.server-async-category-recent-mark {
    color: #0d6efd;
    font-size: 0.8rem;
    line-height: 1;
}

.server-async-category.active {
    color: #fff;
}

.server-async-intro,
.server-async-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: #6c757d;
}

.server-async-group .title {
    margin-bottom: 1rem;
}

.server-async-group .title span {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    color: #1858ab;
}

.server-async-service-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.server-async-service {
    margin-bottom: 0 !important;
}

.server-async-service-card {
    border: 1px solid #e3e9f1;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.server-async-service-card:hover {
    border-color: #cfddee;
    box-shadow: 0 10px 24px rgba(13, 43, 77, 0.06);
    transform: translateY(-1px);
}

.server-async-service-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
}

.server-async-service-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 0.85rem;
    background: #fff;
    border: 1px solid #e3e9f1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.server-async-service-icon-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
    padding: 0.35rem;
}

.server-async-service-main {
    flex: 1 1 auto;
    min-width: 0;
}

.server-async-service-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.server-async-service-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #1f2937;
}

.server-async-service-subtitle {
    margin-top: 0.3rem;
    font-size: 0.88rem;
    color: #6b7280;
}

.server-async-service-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.server-async-service-flag-new {
    color: #b42318;
    background: #fff0f0;
}

.server-async-service-flag-discount {
    color: #0b6aa2;
    background: #edf8ff;
}

.server-async-service-side {
    flex: 0 0 auto;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.server-async-service-badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.server-async-service .badge {
    margin-right: 0;
}

.server-async-favourite-toggle {
    border: 0;
    background: transparent;
    color: #adb5bd;
    padding: 0.15rem;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.server-async-favourite-toggle:hover,
.server-async-favourite-toggle:focus {
    color: #f0ad00;
    transform: scale(1.05);
}

.server-async-favourite-toggle.is-active {
    color: #f0ad00;
}

.server-async-favourite-toggle.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.server-async-desktop-favourite {
    flex: 0 0 auto;
    margin-top: 0;
}

.server-async-browser .card-search .form-group {
    min-width: 0;
}

.server-async-recents {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.server-async-recent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.server-async-recent-meta {
    min-width: 7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.35rem;
}

.server-async-recent-label {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.2;
}

.server-async-recent-clear {
    font-size: 0.8rem;
    line-height: 1.2;
    color: #6c757d;
    text-decoration: none;
}

.server-async-recent-clear:hover,
.server-async-recent-clear:focus {
    color: #0d6efd;
    text-decoration: none;
}

.server-async-recent-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-width: 0;
}

.server-async-recent-chip {
    border: 1px solid #d7dce3;
    border-radius: 999px;
    background: #fff;
    color: #495057;
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
    line-height: 1.2;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.server-async-recent-chip:hover,
.server-async-recent-chip:focus {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #f8fbff;
}

.server-async-mobile-panel {
    display: none;
}

.server-async-mobile-panel.is-open {
    display: block;
}

.server-async-mobile-service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.server-async-mobile-service {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.85rem;
    text-align: left;
}

.server-async-mobile-service-shell {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.server-async-mobile-service-open {
    flex: 1 1 auto;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
}

.server-async-mobile-favourite {
    flex: 0 0 auto;
    margin-top: 0.1rem;
}

.server-async-mobile-service-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
}

.server-async-mobile-service-name {
    display: block;
    font-weight: 500;
    color: #212529;
}

.server-async-mobile-service-group {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.server-async-mobile-service-meta {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.server-async-mobile-discount {
    color: #009fff;
}

.server-async-mobile-empty {
    padding: 0.75rem 0;
    color: #6c757d;
    text-align: center;
}

@media (max-width: 991px) {
    .server-async-sidebar,
    .server-async-results-card {
        padding: 1rem;
    }

    .server-async-recent-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .server-async-recent-meta {
        min-width: 0;
        padding-top: 0;
    }

    .server-async-recent-label {
        min-width: 0;
    }

    .server-async-category-list {
        max-height: none;
    }

    .server-async-tree-crumb {
        max-width: 150px;
    }

    .server-async-results-hidden-mobile {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .server-async-service-body {
        align-items: flex-start;
    }

    .server-async-service-side {
        min-width: 150px;
        flex-direction: column;
        align-items: flex-end;
    }
}

@media (max-width: 767px) {
    .server-async-group .title span {
        font-size: 1.35rem;
    }

    .server-async-service-body {
        flex-wrap: wrap;
        gap: 0.85rem;
        padding: 0.9rem;
    }

    .server-async-service-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .server-async-service-main {
        min-width: calc(100% - 60px);
    }

    .server-async-service-side {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
        align-items: center;
        margin-left: 0;
        padding-left: 60px;
    }

    .server-async-service-badges {
        justify-content: flex-start;
    }
}

/* Express Order command center */
.server-async-command,
.server-async-browser,
.server-async-order-modal {
    --eo-accent: #1858ab;
    --eo-accent-strong: #104b96;
    --eo-accent-soft: #edf5ff;
    --eo-focus: #0b63ce;
    --eo-surface: #ffffff;
    --eo-surface-raised: #ffffff;
    --eo-surface-soft: #f6f8fb;
    --eo-surface-muted: #eef2f7;
    --eo-border: #dce3ec;
    --eo-border-strong: #c9d3df;
    --eo-text: #172033;
    --eo-text-soft: #536176;
    --eo-text-muted: #667085;
    --eo-success: #087451;
    --eo-success-soft: #eaf8f2;
    --eo-warning: #915200;
    --eo-warning-soft: #fff5df;
    --eo-danger: #b42318;
    --eo-danger-soft: #fff0ef;
    --eo-remote: #6d4bc3;
    --eo-remote-soft: #f2edff;
    --eo-shadow: 0 18px 45px rgba(24, 40, 72, 0.08);
    --eo-shadow-soft: 0 8px 24px rgba(24, 40, 72, 0.06);
    --eo-radius: 16px;
    --eo-radius-sm: 11px;
}

.server-async-command {
    padding: 1.35rem;
    overflow: visible;
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius);
    background: var(--eo-surface);
    box-shadow: var(--eo-shadow-soft);
    color: var(--eo-text);
}

.server-async-command-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.server-async-eyebrow {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--eo-accent);
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    line-height: 1.3;
    text-transform: uppercase;
}

.server-async-command-title {
    margin: 0;
    color: var(--eo-text);
    font-size: clamp(1.28rem, 2vw, 1.68rem);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.server-async-command-copy {
    margin-top: 0.35rem;
    color: var(--eo-text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

.server-async-keyboard-hint {
    align-items: center;
    gap: 0.5rem;
    color: var(--eo-text-muted);
    font-size: 0.76rem;
    white-space: nowrap;
}

.server-async-keyboard-hint kbd,
.server-async-search-shortcut {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--eo-border-strong);
    border-bottom-width: 2px;
    border-radius: 7px;
    background: var(--eo-surface-soft);
    box-shadow: none;
    color: var(--eo-text-soft);
    font: inherit;
    font-weight: 700;
}

.server-async-search-row {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
}

.server-async-search-field {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    height: 54px;
    align-items: center;
    border: 1px solid var(--eo-border-strong);
    border-radius: 13px;
    background: var(--eo-surface-raised);
    box-shadow: 0 1px 2px rgba(24, 40, 72, 0.03);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.server-async-search-field:focus-within {
    border-color: var(--eo-accent);
    box-shadow: 0 0 0 3px rgba(24, 88, 171, 0.14);
}

.server-async-search-icon {
    position: absolute;
    inset-inline-start: 1rem;
    color: var(--eo-accent);
    font-size: 1.05rem;
    pointer-events: none;
}

.server-async-search-field #server_async_search {
    width: 100%;
    height: 100%;
    padding: 0.75rem 5.2rem 0.75rem 2.8rem;
    border: 0;
    border-radius: inherit;
    background: transparent;
    box-shadow: none;
    color: var(--eo-text);
    font-size: 0.98rem;
}

[dir="rtl"] .server-async-search-field #server_async_search {
    padding-right: 2.8rem;
    padding-left: 5.2rem;
}

.server-async-search-field #server_async_search::placeholder {
    color: var(--eo-text-muted);
    opacity: 0.9;
}

.server-async-search-field #server_async_search:focus {
    box-shadow: none;
    outline: 0;
}

.server-async-search-field input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.server-async-search-clear {
    position: absolute;
    inset-inline-end: 2.9rem;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--eo-text-muted);
}

.server-async-search-clear:hover,
.server-async-search-clear:focus-visible {
    background: var(--eo-surface-muted);
    color: var(--eo-text);
    outline: 0;
}

.server-async-search-shortcut {
    position: absolute;
    inset-inline-end: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.server-async-refresh,
.server-async-reset,
.server-async-clear-view,
.server-async-load-more,
.server-async-order-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid var(--eo-border-strong);
    border-radius: 11px;
    background: var(--eo-surface-raised);
    color: var(--eo-text-soft);
    font-size: 0.83rem;
    font-weight: 650;
    line-height: 1.2;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.server-async-refresh {
    flex: 0 0 auto;
    padding: 0 1rem;
}

.server-async-refresh:hover,
.server-async-refresh:focus-visible,
.server-async-reset:hover,
.server-async-reset:focus-visible,
.server-async-clear-view:hover,
.server-async-clear-view:focus-visible {
    border-color: var(--eo-accent);
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
    outline: 0;
}

.server-async-filterbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.server-async-filter-label {
    margin-inline-end: 0.15rem;
    color: var(--eo-text-muted);
    font-size: 0.76rem;
    font-weight: 650;
}

.server-async-type-filters {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border: 1px solid var(--eo-border);
    border-radius: 999px;
    background: var(--eo-surface-soft);
}

.server-async-type-filter {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0 0.68rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--eo-text-soft);
    font-size: 0.75rem;
    font-weight: 700;
    transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.server-async-type-filter:hover,
.server-async-type-filter:focus-visible {
    color: var(--eo-accent);
    outline: 0;
}

.server-async-type-filter.is-active {
    background: var(--eo-accent);
    box-shadow: 0 3px 9px rgba(24, 88, 171, 0.2);
    color: #fff;
}

.server-async-type-filter-count {
    min-width: 20px;
    padding: 0.12rem 0.35rem;
    border-radius: 999px;
    background: rgba(23, 32, 51, 0.08);
    font-size: 0.65rem;
    line-height: 1.25;
}

.server-async-type-filter.is-active .server-async-type-filter-count {
    background: rgba(255, 255, 255, 0.2);
}

.server-async-filter.custom-control {
    min-height: 44px;
    padding-inline-start: 0;
}

.server-async-filter .custom-control-label {
    display: inline-flex;
    height: 44px;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0 0.85rem;
    border: 1px solid var(--eo-border);
    border-radius: 999px;
    background: var(--eo-surface-soft);
    color: var(--eo-text-soft);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.server-async-filter .custom-control-label::before,
.server-async-filter .custom-control-label::after {
    display: none;
}

.server-async-filter .custom-control-input:checked ~ .custom-control-label {
    border-color: var(--eo-accent);
    background: var(--eo-accent);
    color: #fff;
}

.server-async-filter .custom-control-input:focus ~ .custom-control-label {
    box-shadow: 0 0 0 3px rgba(24, 88, 171, 0.16);
}

.server-async-reset {
    padding: 0 0.8rem;
    border-color: transparent;
    background: transparent;
}

.server-async-status {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 0.45rem;
    color: var(--eo-text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

.server-async-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--eo-success);
    content: "";
}

.server-async-recents {
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--eo-border);
}

.server-async-recent-row {
    align-items: center;
    gap: 0.65rem;
}

.server-async-recent-meta {
    min-width: 8.6rem;
    gap: 0.5rem;
    padding-top: 0;
}

.server-async-recent-label,
.server-async-recent-clear {
    color: var(--eo-text-muted);
    font-size: 0.76rem;
}

.server-async-recent-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.server-async-recent-clear {
    min-width: 44px;
    min-height: 32px;
}

.server-async-recent-list {
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: thin;
}

.server-async-recent-chip {
    min-height: 36px;
    padding: 0.42rem 0.78rem;
    border-color: var(--eo-border);
    background: var(--eo-surface-raised);
    color: var(--eo-text-soft);
    font-size: 0.78rem;
}

.server-async-recent-chip:hover,
.server-async-recent-chip:focus-visible {
    border-color: var(--eo-accent);
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
    outline: 0;
}

.server-async-recent-entry {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: stretch;
}

.server-async-recent-entry .server-async-recent-chip {
    padding-inline-end: 2rem;
}

.server-async-recent-remove {
    position: absolute;
    inset-inline-end: 0.28rem;
    top: 50%;
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--eo-text-muted);
    font-size: 0.66rem;
}

.server-async-recent-remove:hover,
.server-async-recent-remove:focus-visible {
    background: var(--eo-danger-soft);
    color: var(--eo-danger);
    outline: 0;
}

.server-async-search-highlight {
    padding: 0 0.08em;
    border-radius: 0.22em;
    background: #fff0a8;
    color: inherit;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.server-async-category.active .server-async-search-highlight {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.server-async-command-placeholder {
    width: 100%;
}

.server-async-command.is-stuck {
    position: fixed;
    top: 0.5rem;
    z-index: 1035;
    margin: 0 !important;
    padding: 0.7rem 0.9rem;
    box-shadow: 0 16px 38px rgba(24, 40, 72, 0.18);
}

.server-async-command.is-stuck .server-async-command-head,
.server-async-command.is-stuck .server-async-recents {
    display: none;
}

.server-async-command.is-stuck .server-async-search-field {
    height: 46px;
}

.server-async-command.is-stuck .server-async-filterbar {
    margin-top: 0.45rem;
}

.server-async-workspace {
    align-items: stretch;
}

.server-async-sidebar,
.server-async-results-card {
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius);
    background: var(--eo-surface);
    box-shadow: var(--eo-shadow-soft);
    color: var(--eo-text);
}

.server-async-sidebar {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    padding: 1.1rem;
}

.server-async-sidebar-header {
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.server-async-sidebar-title {
    color: var(--eo-text);
    font-size: 1.08rem;
    font-weight: 650;
    letter-spacing: -0.015em;
}

.server-async-tree-hint {
    color: var(--eo-text-muted);
    font-size: 0.73rem;
}

.server-async-count {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--eo-border);
    border-radius: 999px;
    background: var(--eo-surface-soft);
    color: var(--eo-text-soft);
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.server-async-tree-nav {
    margin-bottom: 0.75rem;
    padding: 0.55rem;
    border-color: var(--eo-border);
    border-radius: var(--eo-radius-sm);
    background: var(--eo-surface-soft);
}

.server-async-tree-toolbar {
    gap: 0.4rem;
}

.server-async-tree-control {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-color: var(--eo-border);
    border-radius: 10px;
    background: var(--eo-surface-raised);
    color: var(--eo-text-soft);
}

.server-async-tree-control:hover:not(:disabled),
.server-async-tree-control:focus-visible {
    border-color: var(--eo-accent);
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
}

.server-async-tree-crumb {
    min-height: 40px;
    max-width: 150px;
    padding: 0.4rem 0.45rem;
    color: var(--eo-text-muted);
    font-size: 0.72rem;
}

.server-async-tree-crumb:hover,
.server-async-tree-crumb:focus-visible {
    color: var(--eo-accent);
}

.server-async-tree-crumb.is-current {
    color: var(--eo-text);
}

.server-async-tree-separator {
    color: var(--eo-text-muted);
}

.server-async-current-services {
    min-height: 44px;
    margin-top: 0.45rem;
    padding: 0.55rem 0.7rem;
    border-color: var(--eo-accent);
    border-radius: 9px;
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
    font-size: 0.75rem;
}

.server-async-current-services:hover,
.server-async-current-services:focus-visible {
    border-style: solid;
    background: var(--eo-accent);
    color: #fff;
    outline: 0;
}

.server-async-category-list {
    gap: 0.45rem;
    max-height: calc(100vh - 235px);
    padding-inline-end: 0.2rem;
    overflow-x: hidden;
    scrollbar-color: var(--eo-border-strong) transparent;
    scrollbar-width: thin;
}

.server-async-category-item {
    gap: 0.4rem;
}

.server-async-category-item.is-tree-item .server-async-category {
    min-height: 60px;
    padding: 0.55rem 0.6rem;
    border-color: transparent;
    border-radius: 11px;
    background: transparent;
    box-shadow: none;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
    text-align: start;
}

.server-async-category-item.is-tree-item .server-async-category:hover,
.server-async-category-item.is-tree-item .server-async-category:focus-visible {
    border-color: var(--eo-border);
    background: var(--eo-surface-soft);
    box-shadow: none;
    outline: 0;
    transform: none;
}

.server-async-category-leading {
    gap: 0.6rem;
}

.server-async-category-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
    font-size: 0.9rem;
}

.server-async-category-item.is-tree-item .server-async-category-name {
    color: var(--eo-text);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.3;
}

.server-async-category-description {
    color: var(--eo-text-muted);
    font-size: 0.67rem;
}

.server-async-category-meta {
    gap: 0.35rem;
    margin-inline-start: 0.5rem;
    margin-left: 0;
}

.server-async-category-meta .badge {
    min-width: 25px;
    padding: 0.3rem 0.42rem;
    border-radius: 7px;
    background: var(--eo-surface-muted);
    color: var(--eo-text-soft);
    font-size: 0.65rem;
    font-weight: 750;
}

.server-async-category-arrow {
    color: var(--eo-text-muted);
}

.server-async-category-item.is-recent .server-async-category {
    border-color: transparent;
    background: transparent;
}

.server-async-category-item.is-recent .server-async-category::before {
    width: 3px;
    height: 28px;
    margin-inline-end: 0.15rem;
    border-radius: 3px;
    background: var(--eo-accent);
    content: "";
}

.server-async-category-recent-mark {
    color: var(--eo-accent);
}

.server-async-category-item.is-tree-item .server-async-category.active {
    border-color: var(--eo-accent);
    background: var(--eo-accent);
    box-shadow: 0 8px 18px rgba(24, 88, 171, 0.18);
}

.server-async-category-item.is-tree-item .server-async-category.active .server-async-category-icon {
    background: rgba(255, 255, 255, 0.17);
}

.server-async-category-item.is-tree-item .server-async-category.active .badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.server-async-tree-loading {
    min-height: 180px;
    color: var(--eo-text-muted);
}

.server-async-results-card {
    min-height: 470px;
    padding: 0;
    overflow: hidden;
}

.server-async-results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.35rem 1rem;
    border-bottom: 1px solid var(--eo-border);
}

.server-async-results-heading {
    min-width: 0;
}

.server-async-results-title {
    margin: 0;
    overflow: hidden;
    color: var(--eo-text);
    font-size: 1.22rem;
    font-weight: 670;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.server-async-results-summary {
    margin-top: 0.3rem;
    color: var(--eo-text-muted);
    font-size: 0.79rem;
    line-height: 1.4;
}

.server-async-clear-view {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 0.75rem;
    border-color: transparent;
    background: var(--eo-surface-soft);
}

.server-async-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.7rem 1.35rem;
    border-bottom: 1px solid var(--eo-border);
    background: var(--eo-surface-soft);
}

.server-async-active-chip {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.3rem 0.58rem;
    border: 1px solid var(--eo-border);
    border-radius: 999px;
    background: var(--eo-surface-raised);
    color: var(--eo-text-soft);
    font-size: 0.7rem;
    font-weight: 650;
}

.server-async-active-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

button.server-async-active-chip {
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

button.server-async-active-chip:hover,
button.server-async-active-chip:focus-visible {
    border-color: var(--eo-accent);
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
    outline: 0;
}

.server-async-active-chip-remove {
    margin-inline-start: 0.15rem;
    opacity: 0.7;
}

#server_async_results {
    padding: 1.2rem 1.35rem 0.2rem;
    outline: 0;
}

#server_async_results:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(24, 88, 171, 0.16);
}

.server-async-intro,
.server-async-empty {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    color: var(--eo-text-soft);
    text-align: center;
}

.server-async-intro h4,
.server-async-empty h4 {
    margin: 0.2rem 0 0;
    color: var(--eo-text);
    font-size: 1.05rem;
    font-weight: 650;
}

.server-async-intro p,
.server-async-empty p {
    max-width: 570px;
    margin: 0.55rem auto 0;
    color: var(--eo-text-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.server-async-state-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    border: 1px solid var(--eo-border);
    border-radius: 18px;
    background: var(--eo-surface-soft);
    color: var(--eo-accent);
    font-size: 1.55rem;
}

.server-async-type-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1rem;
}

.server-async-type-legend span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 0.38rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--eo-border);
    border-radius: 999px;
    background: var(--eo-surface-raised);
    color: var(--eo-text-soft);
    font-size: 0.72rem;
    font-weight: 650;
}

.server-async-state-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1rem;
}

.server-async-state-actions .btn {
    min-height: 44px;
    border-radius: 10px;
}

.server-async-loading {
    padding: 1.2rem 1.35rem;
}

.server-async-skeleton {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.65rem;
    padding: 0.8rem;
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius-sm);
}

.server-async-skeleton-icon,
.server-async-skeleton-copy span,
.server-async-skeleton-price {
    display: block;
    background: var(--eo-surface-muted);
    animation: serverAsyncPulse 1.35s ease-in-out infinite;
}

.server-async-skeleton-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 11px;
}

.server-async-skeleton-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.55rem;
}

.server-async-skeleton-copy span:first-child {
    width: min(410px, 80%);
    height: 13px;
    border-radius: 5px;
}

.server-async-skeleton-copy span:last-child {
    width: min(260px, 52%);
    height: 10px;
    border-radius: 5px;
}

.server-async-skeleton-price {
    width: 88px;
    height: 32px;
    border-radius: 8px;
}

@keyframes serverAsyncPulse {
    0%,
    100% {
        opacity: 0.55;
    }
    50% {
        opacity: 1;
    }
}

.server-async-group {
    margin-bottom: 1.4rem;
}

.server-async-group-heading {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

.server-async-group-heading h4 {
    margin: 0;
    color: var(--eo-text-soft);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.035em;
    line-height: 1.35;
    text-transform: uppercase;
}

.server-async-group-line {
    flex: 0 0 3px;
    width: 3px;
    height: 18px;
    border-radius: 3px;
    background: var(--eo-accent);
}

.server-async-service-list {
    gap: 0.6rem;
}

.server-async-service {
    width: 100%;
}

.server-async-service-card {
    overflow: hidden;
    border: 1px solid var(--eo-border);
    border-radius: 12px;
    background: var(--eo-surface-raised);
    box-shadow: none;
    transition: border-color 0.17s ease, box-shadow 0.17s ease;
}

.server-async-service-card:hover,
.server-async-service-card:focus-within {
    border-color: var(--eo-border-strong);
    box-shadow: var(--eo-shadow-soft);
    transform: none;
}

.server-async-service.discounted .server-async-service-card {
    border-inline-start: 3px solid #1888c7;
}

.server-async-service-body {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 82px;
    padding: 0.75rem 0.8rem;
}

.server-async-service-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    border-color: var(--eo-border);
    border-radius: 11px;
    background: var(--eo-surface);
}

.server-async-service-icon-image {
    background: var(--eo-surface);
    padding: 0.3rem;
}

.server-async-service-open {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 52px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    text-align: start;
}

.server-async-service-open:focus-visible {
    box-shadow: 0 0 0 3px rgba(24, 88, 171, 0.17);
    outline: 0;
}

.server-async-service-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.server-async-service-title {
    color: var(--eo-text);
    font-size: 0.91rem;
    font-weight: 650;
    line-height: 1.4;
}

.server-async-service-subtitle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin-top: 0.4rem;
    color: var(--eo-text-muted);
    font-size: 0.7rem;
}

.server-async-service-group {
    overflow: hidden;
    max-width: 260px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-async-service-type,
.server-async-service-time {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.45rem;
    border-radius: 7px;
    font-weight: 700;
    line-height: 1;
}

.server-async-service-type.is-imei {
    background: var(--eo-surface-muted);
    color: var(--eo-text-soft);
}

.server-async-service-type.is-server {
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
}

.server-async-service-type.is-remote {
    background: var(--eo-remote-soft);
    color: var(--eo-remote);
}

.server-async-service-time {
    background: var(--eo-warning-soft);
    color: var(--eo-warning);
}

.server-async-service-flag {
    min-height: 24px;
    padding: 0.25rem 0.46rem;
    font-size: 0.66rem;
}

.server-async-service-flag-new {
    background: var(--eo-danger-soft);
    color: var(--eo-danger);
}

.server-async-service-flag-discount {
    background: #edf8ff;
    color: #0b6aa2;
}

.server-async-service-side {
    display: flex;
    flex: 0 0 auto;
    min-width: 255px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
}

.server-async-service-price {
    display: flex;
    min-width: 88px;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.15;
}

.server-async-service-price span {
    color: var(--eo-text-muted);
    font-size: 0.63rem;
    font-weight: 650;
    text-transform: uppercase;
}

.server-async-service-price strong {
    margin-top: 0.18rem;
    color: var(--eo-success);
    font-size: 0.93rem;
    font-weight: 750;
    white-space: nowrap;
}

.server-async-favourite-toggle {
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--eo-border);
    border-radius: 10px;
    background: var(--eo-surface-soft);
    color: var(--eo-text-muted);
}

.server-async-favourite-toggle:hover,
.server-async-favourite-toggle:focus-visible {
    border-color: #e5b323;
    background: #fff8df;
    color: #b57a00;
    outline: 0;
    transform: none;
}

.server-async-favourite-toggle.is-active {
    border-color: #e5b323;
    background: #fff8df;
    color: #b57a00;
}

.server-async-order-button {
    min-width: 112px;
    padding: 0 0.75rem;
    border-color: var(--eo-accent);
    background: var(--eo-accent);
    color: #fff;
}

.server-async-order-button:hover,
.server-async-order-button:focus-visible {
    border-color: var(--eo-accent-strong);
    background: var(--eo-accent-strong);
    box-shadow: 0 0 0 3px rgba(24, 88, 171, 0.15);
    color: #fff;
    outline: 0;
}

.server-async-load-more {
    width: calc(100% - 2.7rem);
    min-height: 48px;
    margin: 0.3rem 1.35rem 1.35rem;
    border-color: var(--eo-accent);
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
}

.server-async-load-more:hover,
.server-async-load-more:focus-visible {
    background: var(--eo-accent);
    color: #fff;
    outline: 0;
}

.server-async-load-more.is-loading {
    cursor: wait;
    opacity: 0.75;
}

.server-async-order-modal .modal-dialog {
    position: relative;
    z-index: 2;
}

.server-async-order-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius) !important;
    background: var(--eo-surface);
    color: var(--eo-text);
    box-shadow: 0 28px 70px rgba(11, 20, 38, 0.3);
}

.server-async-order-modal .modal-header {
    align-items: center;
    border-color: var(--eo-border);
}

.server-async-order-modal .modal-title,
.server-async-order-modal .servicename {
    color: var(--eo-text);
}

.server-async-order-modal .close {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: -0.5rem -0.5rem -0.5rem auto;
    border-radius: 10px;
    color: var(--eo-text);
}

[dir="rtl"] .server-async-order-modal .close {
    margin-right: auto;
    margin-left: -0.5rem;
}

.server-async-order-modal .close:focus-visible {
    box-shadow: 0 0 0 3px rgba(24, 88, 171, 0.18);
    outline: 0;
}

@media (max-width: 1199px) {
    .server-async-service-side {
        min-width: 220px;
        flex-direction: row;
        align-items: center;
    }

    .server-async-order-button span {
        display: none;
    }

    .server-async-order-button {
        min-width: 44px;
        width: 44px;
        padding: 0;
    }
}

@media (max-width: 991px) {
    .server-async-command {
        padding: 1rem;
    }

    .server-async-command-head {
        margin-bottom: 0.8rem;
    }

    .server-async-filterbar {
        flex-wrap: wrap;
    }

    .server-async-filter-label {
        width: 100%;
    }

    .server-async-status {
        width: 100%;
        margin-top: 0.1rem;
    }

    .server-async-recent-row {
        flex-direction: row;
        align-items: center;
    }

    .server-async-sidebar {
        position: static;
        max-height: none;
        padding: 1rem;
    }

    .server-async-category-list {
        max-height: none;
    }

    .server-async-results-card {
        min-height: 420px;
    }

    .server-async-browser.is-search-view .server-async-sidebar-column {
        display: block;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0.8rem !important;
    }

    .server-async-browser.is-search-view .server-async-sidebar {
        padding: 0.85rem 1rem;
    }

    .server-async-browser.is-search-view .server-async-tree-nav {
        display: none;
    }

    .server-async-browser.is-search-view .server-async-category-list {
        display: flex;
        gap: 0.55rem;
        max-height: none;
        padding: 0.15rem 0 0.35rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
    }

    .server-async-browser.is-search-view .server-async-category-item {
        flex: 0 0 min(285px, 82vw);
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    .server-async-command-head {
        gap: 0.75rem;
    }

    .server-async-command-copy {
        display: none;
    }

    .server-async-search-row {
        gap: 0.45rem;
    }

    .server-async-search-field {
        height: 50px;
    }

    .server-async-refresh {
        width: 50px;
        padding: 0;
    }

    .server-async-refresh span {
        display: none;
    }

    .server-async-filterbar {
        flex-wrap: nowrap;
        align-items: center;
        margin-right: -1rem;
        margin-left: -1rem;
        padding: 0 1rem 0.2rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .server-async-filterbar::-webkit-scrollbar {
        display: none;
    }

    .server-async-filter-label {
        width: auto;
        flex: 0 0 auto;
    }

    .server-async-filter,
    .server-async-reset {
        flex: 0 0 auto;
    }

    .server-async-status {
        flex: 0 0 auto;
        width: auto;
        margin-inline-start: 0.25rem !important;
        padding-inline-end: 1rem;
    }

    .server-async-recents {
        margin-top: 0.65rem;
        padding-top: 0.65rem;
    }

    .server-async-recent-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }

    .server-async-recent-meta {
        min-width: 0;
    }

    .server-async-recent-list {
        margin-right: -1rem;
        padding-right: 1rem;
    }

    .server-async-results-header {
        padding: 1rem;
    }

    .server-async-clear-view span {
        display: none;
    }

    .server-async-clear-view {
        width: 40px;
        padding: 0;
    }

    .server-async-active-filters {
        flex-wrap: nowrap;
        padding: 0.65rem 1rem;
        overflow-x: auto;
    }

    .server-async-active-chip {
        flex: 0 0 auto;
    }

    #server_async_results {
        padding: 1rem 1rem 0.1rem;
    }

    .server-async-loading {
        padding: 1rem;
    }

    .server-async-intro,
    .server-async-empty {
        min-height: 310px;
        padding: 2rem 1rem;
    }

    .server-async-service-body {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.75rem;
    }

    .server-async-service-icon {
        grid-column: 1;
        grid-row: 1;
        width: 48px;
        height: 48px;
    }

    .server-async-service-open {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .server-async-service-title {
        font-size: 0.86rem;
    }

    .server-async-service-group {
        max-width: 165px;
    }

    .server-async-service-side {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        justify-content: flex-end;
        padding-top: 0.55rem;
        padding-left: 0;
        border-top: 1px solid var(--eo-border);
    }

    .server-async-service-price {
        margin-inline-end: auto;
        align-items: flex-start;
    }

    .server-async-order-button {
        width: auto;
        min-width: 104px;
        padding: 0 0.7rem;
    }

    .server-async-order-button span {
        display: inline;
    }

    .server-async-load-more {
        width: calc(100% - 2rem);
        margin: 0.25rem 1rem 1rem;
    }

    .server-async-skeleton-price {
        display: none;
    }

    .server-async-order-modal .modal-dialog {
        min-height: 100%;
        margin: 0;
    }

    .server-async-order-modal .modal-content {
        min-height: 100vh;
        border: 0;
        border-radius: 0 !important;
    }
}

@media (max-width: 380px) {
    .server-async-command-title {
        font-size: 1.15rem;
    }

    .server-async-filter .custom-control-label {
        padding: 0 0.68rem;
    }

    .server-async-order-button span {
        display: none;
    }

    .server-async-order-button {
        min-width: 44px;
        width: 44px;
        padding: 0;
    }
}

[dir="rtl"] .server-async-category-arrow,
[dir="rtl"] .server-async-order-button .fa-arrow-right,
[dir="rtl"] .server-async-tree-control .fa-arrow-left {
    transform: rotate(180deg);
}

[dir="rtl"] .server-async-service-open,
[dir="rtl"] .server-async-current-services {
    text-align: right;
}

.server-async-search-field:focus-within {
    border-color: var(--eo-focus);
    box-shadow: 0 0 0 3px var(--eo-focus);
}

.server-async-search-clear:focus,
.server-async-refresh:focus,
.server-async-reset:focus,
.server-async-recent-clear:focus,
.server-async-recent-chip:focus,
.server-async-tree-control:focus,
button.server-async-tree-crumb:focus,
.server-async-current-services:focus,
.server-async-category:focus,
.server-async-clear-view:focus,
.server-async-favourite-toggle:focus,
.server-async-order-button:focus,
.server-async-load-more:focus,
.server-async-state-actions .btn:focus,
.server-async-order-modal .close:focus,
#server_async_results:focus {
    outline: 3px solid var(--eo-focus) !important;
    outline-offset: 2px !important;
}

.server-async-filter .custom-control-input:focus ~ .custom-control-label {
    outline: 3px solid var(--eo-focus) !important;
    outline-offset: 2px !important;
}

.server-async-service-card:focus-within {
    box-shadow: 0 0 0 3px var(--eo-focus);
}

@media (prefers-reduced-motion: reduce) {
    .server-async-command *,
    .server-async-browser *,
    .server-async-order-modal * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .server-async-filter .custom-control-input:checked ~ .custom-control-label,
    .server-async-category-item.is-tree-item .server-async-category.active,
    .server-async-order-button,
    .server-async-load-more {
        border: 2px solid ButtonText;
    }
}

/* Express Order v12: consistent result controls and final order review. */
.server-async-category-result-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 1.35rem 0.8rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--eo-border);
    border-radius: 10px;
    background: var(--eo-surface-soft);
}

.server-async-category-result-copy,
.server-async-category-result-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.server-async-category-result-copy {
    min-width: 0;
    color: var(--eo-text-soft);
    font-size: 0.78rem;
    font-weight: 650;
}

.server-async-category-result-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-async-category-result-actions {
    flex: 0 0 auto;
}

.server-async-service-card {
    contain: layout paint;
}

.server-async-service-price {
    padding: 0.38rem 0.5rem;
    border-radius: 8px;
    background: var(--eo-surface-soft);
}

.express-order-summary {
    margin: 0 0 1rem;
    padding: 0.9rem;
    border: 1px solid var(--eo-border);
    border-radius: 12px;
    background: var(--eo-surface-soft);
}

.express-order-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--eo-border);
}

.express-order-summary-head > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.express-order-summary-head strong {
    color: var(--eo-text);
    font-size: 0.92rem;
}

.express-order-summary-type {
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
    font-size: 0.72rem;
    font-weight: 750;
}

.express-order-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.35fr) minmax(100px, 0.8fr) minmax(90px, 0.65fr);
    gap: 0.75rem;
    padding-top: 0.75rem;
}

.express-order-summary-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.18rem;
}

.express-order-summary-grid span,
.express-order-mobile-action span {
    color: var(--eo-text-muted);
    font-size: 0.65rem;
    font-weight: 650;
    text-transform: uppercase;
}

.express-order-summary-grid strong {
    overflow: hidden;
    color: var(--eo-text);
    font-size: 0.8rem;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.express-order-summary-grid > div:last-child strong {
    color: var(--eo-success);
    white-space: nowrap;
}

.express-order-mobile-action {
    display: none;
}

@media (max-width: 767px) {
    .server-async-category-result-controls {
        align-items: stretch;
        flex-direction: column;
        margin: 0 1rem 0.75rem;
    }

    .server-async-category-result-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .server-async-category-result-actions .btn {
        min-height: 44px;
        white-space: normal;
    }

    .server-async-service-body {
        min-height: 118px;
    }

    .server-async-service-price {
        padding-inline-start: 0;
        background: transparent;
    }

    .server-async-order-modal .modal-body {
        padding-bottom: 1rem;
        overflow-y: auto;
    }

    .express-order-summary {
        padding: 0.75rem;
    }

    .express-order-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .express-order-summary-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .express-order-mobile-action {
        position: sticky;
        z-index: 5;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        min-height: 72px;
        padding: 0.7rem max(1rem, env(safe-area-inset-right)) calc(0.7rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
        border-top: 1px solid var(--eo-border);
        background: var(--eo-surface-raised);
        box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12);
    }

    .express-order-mobile-action > div {
        display: flex;
        min-width: 0;
        flex-direction: column;
    }

    .express-order-mobile-action strong {
        color: var(--eo-success);
        font-size: 0.95rem;
    }

    .express-order-mobile-action .btn {
        min-width: 132px;
        min-height: 48px;
        border-radius: 10px;
        font-weight: 750;
    }
}

/* Express Order v14: focused, modern checkout modal. */
.express-checkout-modal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 1080px;
    margin: 1rem auto;
}

.express-checkout-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 2rem);
    border-radius: 18px !important;
}

.express-checkout-modal .modal-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 0.85rem;
    flex: 0 0 auto;
    align-items: flex-start;
    padding: 1.05rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: #1558a8 !important;
}

.express-order-modal-heading {
    min-width: 0;
    text-align: start;
}

.express-checkout-modal[dir="rtl"] .modal-header {
    grid-template-columns: 44px minmax(0, 1fr);
}

.express-checkout-modal[dir="rtl"] .express-order-modal-heading {
    grid-column: 2;
    grid-row: 1;
}

.express-checkout-modal[dir="rtl"] .modal-header .close {
    grid-column: 1;
    grid-row: 1;
}

html .express-checkout-modal .express-order-modal-heading .server-async-eyebrow {
    margin-bottom: 0.15rem;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

html .express-checkout-modal .express-order-modal-heading .modal-title {
    margin: 0;
    color: #ffffff !important;
    font-size: 1.22rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

html .express-checkout-modal .express-order-modal-heading p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.82rem;
    line-height: 1.45;
}

html .express-checkout-modal .modal-header .close {
    flex: 0 0 44px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    opacity: 1;
    text-shadow: none;
}

html .express-checkout-modal .modal-header .close span {
    display: block;
    color: inherit;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
}

html .express-checkout-modal .modal-header .close:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
}

.express-checkout-modal .modal-body {
    min-height: 0;
    padding: 1rem 1.25rem 1.25rem;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--eo-surface-soft);
    scrollbar-color: var(--eo-border-strong) transparent;
}

.express-checkout-modal .modal-body > .servicename {
    display: none;
}

.express-checkout-modal .express-order-summary {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-color: var(--eo-border);
    background: var(--eo-surface-raised);
    box-shadow: var(--eo-shadow-soft);
}

.express-checkout-modal .express-order-summary-head {
    padding-bottom: 0.65rem;
}

.express-checkout-modal .express-order-summary-grid {
    gap: 0.65rem 1rem;
    padding-top: 0.7rem;
}

.express-checkout-modal .express-order-summary-grid strong,
.express-checkout-modal .express-order-mobile-action strong,
.express-checkout-modal #ctotal,
.express-checkout-modal #ocredit {
    font-variant-numeric: tabular-nums;
}

.express-checkout-modal #serviceDetails2 {
    min-height: 180px;
}

.express-checkout-modal #serviceDetails2 > .row {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 1rem;
    height: auto !important;
    margin: 0;
}

.express-checkout-modal .placeorder-field,
.express-checkout-modal .placeorder-details {
    display: block !important;
    width: auto;
    max-width: none;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.express-checkout-modal .card-place-retail-order {
    min-height: 0 !important;
    height: auto !important;
    padding: 1.15rem;
    border: 1px solid var(--eo-border);
    border-radius: 14px;
    background: var(--eo-surface-raised);
    box-shadow: var(--eo-shadow-soft);
    color: var(--eo-text);
}

.express-checkout-modal .placeorder-field .card-place-retail-order::before,
.express-checkout-modal .placeorder-details .card-place-retail-order::before {
    display: block;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--eo-border);
    color: var(--eo-text);
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: -0.01em;
}

.express-checkout-modal .placeorder-field .card-place-retail-order::before {
    content: "Required information";
}

.express-checkout-modal .placeorder-details .card-place-retail-order::before {
    content: "Service details";
}

.express-checkout-modal .form-group {
    margin-bottom: 0.95rem;
}

.express-checkout-modal .form-group > label,
.express-checkout-modal .form-group .control-label,
.express-checkout-modal .service-toc {
    display: inline-block;
    margin-bottom: 0.38rem;
    color: var(--eo-text);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
}

.express-checkout-modal .form-control {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--eo-border-strong);
    border-radius: 9px;
    background: var(--eo-surface-raised);
    color: var(--eo-text);
    box-shadow: none;
    font-size: 0.9rem;
}

.express-checkout-modal textarea.form-control {
    min-height: 88px;
    line-height: 1.5;
    resize: vertical;
}

.express-checkout-modal .form-control:hover {
    border-color: var(--eo-accent);
}

.express-checkout-modal .form-control:focus {
    border-color: var(--eo-focus);
    box-shadow: 0 0 0 3px rgba(11, 99, 206, 0.14);
    outline: 0;
}

.express-checkout-modal .form-control::placeholder {
    color: var(--eo-text-muted);
    opacity: 0.78;
}

.express-checkout-modal .form-group .text-muted,
.express-checkout-modal .controls + .text-muted,
.express-checkout-modal .controls .text-muted {
    display: block;
    margin-top: 0.32rem;
    color: var(--eo-text-muted) !important;
    font-size: 0.72rem;
    line-height: 1.5;
}

.express-checkout-modal .addedtocart:empty {
    display: none;
}

.express-checkout-modal .addedtocart:not(:empty) {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--eo-border);
    border-radius: 10px;
    background: var(--eo-surface-raised);
    color: var(--eo-text);
}

.express-checkout-modal .d-actionbar-mobile {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--eo-border);
}

.express-checkout-modal .d-actionbar-mobile .text-green {
    display: flex;
    align-items: baseline !important;
    gap: 0.3rem;
}

.express-checkout-modal .order-total,
.express-checkout-modal #ctotal {
    color: var(--eo-success);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.express-checkout-modal .placeorder,
.express-checkout-modal .placeorder2,
.express-checkout-modal #placedirectorder,
.express-checkout-modal #placeorder {
    min-height: 50px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 750;
    box-shadow: 0 8px 18px rgba(24, 88, 171, 0.16);
}

.express-checkout-modal .placeorder-details .card-place-retail-order {
    position: sticky;
    top: 0;
}

.express-checkout-modal .placeorder-details .card-place-retail-order > .d-flex {
    align-items: stretch;
    margin: 0 !important;
    text-align: start !important;
}

.express-checkout-modal .placeorder-details .fa-shopping-cart {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
    font-size: 1.55rem;
}

.express-checkout-modal .placeorder-details .badge {
    margin: 0.15rem;
    padding: 0.35rem 0.48rem;
    border-radius: 6px;
    font-size: 0.68rem;
}

.express-checkout-modal .service-price-overview {
    width: 100%;
    margin-top: 0.7rem !important;
    padding: 0.7rem 0;
    border-top: 1px solid var(--eo-border);
    border-bottom: 1px solid var(--eo-border);
    text-align: start;
}

.express-checkout-modal .service-price-overview .h4 {
    margin: 0;
    color: var(--eo-success) !important;
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.express-checkout-modal .service-information {
    max-height: 340px;
    margin-top: 0.85rem;
    padding: 0.85rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--eo-border);
    border-radius: 10px;
    background: var(--eo-surface-soft);
    color: var(--eo-text-soft);
    font-size: 0.8rem;
    line-height: 1.65;
    text-align: start;
    overflow-wrap: anywhere;
}

.express-checkout-modal .service-information p:last-child {
    margin-bottom: 0;
}

.express-checkout-modal .service-information h1,
.express-checkout-modal .service-information h2,
.express-checkout-modal .service-information h3,
.express-checkout-modal .service-information h4,
.express-checkout-modal .service-information h5,
.express-checkout-modal .service-information h6 {
    margin: 0.75rem 0 0.4rem;
    color: var(--eo-text);
    font-size: 1rem !important;
    font-weight: 750;
    line-height: 1.4;
}

.express-checkout-modal .service-information a {
    color: var(--eo-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.express-checkout-modal .service-information img,
.express-checkout-modal .service-information iframe,
.express-checkout-modal .service-information video,
.express-checkout-modal .service-information [style*="width"] {
    max-width: 100% !important;
}

.express-checkout-modal .service-information table {
    display: table;
    width: 100% !important;
    min-width: 0;
    max-width: 100% !important;
    height: auto !important;
    margin-inline: auto !important;
    table-layout: auto;
}

.express-checkout-modal .service-information tbody,
.express-checkout-modal .service-information tr,
.express-checkout-modal .service-information td {
    max-width: 100% !important;
    height: auto !important;
}

.express-checkout-modal .service-information td {
    width: auto !important;
    white-space: normal;
    overflow-wrap: anywhere;
}

.express-checkout-modal .service-information iframe {
    display: block;
    width: 100% !important;
    min-width: 0;
    margin-inline: auto;
    border: 0;
}

.express-checkout-modal .table {
    overflow: hidden;
    border: 1px solid var(--eo-border) !important;
    border-radius: 10px;
    background: var(--eo-surface-raised);
    color: var(--eo-text-soft);
    font-size: 0.78rem;
}

.express-checkout-modal .table th {
    border-color: var(--eo-border);
    background: var(--eo-surface-muted);
    color: var(--eo-text);
}

.express-checkout-modal .table td {
    border-color: var(--eo-border);
}

body.dark .server-async-order-modal,
body.dark-mode .server-async-order-modal,
[data-theme="dark"] .server-async-order-modal,
.theme-dark .server-async-order-modal {
    --eo-accent: #79b8ff;
    --eo-accent-strong: #9ac9ff;
    --eo-accent-soft: #162b45;
    --eo-focus: #79b8ff;
    --eo-surface: #101722;
    --eo-surface-raised: #182230;
    --eo-surface-soft: #111b28;
    --eo-surface-muted: #202c3b;
    --eo-border: #2c3a4d;
    --eo-border-strong: #40516a;
    --eo-text: #edf3fb;
    --eo-text-soft: #c0ccdc;
    --eo-text-muted: #94a3b8;
    --eo-success: #5fd4a9;
    --eo-success-soft: #12382e;
    --eo-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
    --eo-shadow-soft: 0 9px 25px rgba(0, 0, 0, 0.22);
}

@media (max-width: 767px) {
    .express-checkout-modal .modal-dialog {
        width: 100%;
        max-width: 100vw;
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0;
    }

    .express-checkout-modal .modal-content {
        width: 100%;
        max-width: 100vw;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0 !important;
    }

    .express-checkout-modal .modal-header {
        grid-template-columns: minmax(0, 1fr) 42px;
        gap: 0.7rem;
        min-height: 62px;
        padding: max(0.65rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) 0.65rem max(0.75rem, env(safe-area-inset-left));
    }

    .express-checkout-modal[dir="rtl"] .modal-header {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    html .express-checkout-modal .modal-header .close {
        width: 42px;
        height: 42px;
    }

    html .express-checkout-modal .express-order-modal-heading .modal-title {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .express-order-modal-heading p {
        display: none;
    }

    .express-checkout-modal .modal-body {
        flex: 1 1 auto;
        min-height: 0;
        padding: 0.75rem 0.75rem 1rem;
        overscroll-behavior: contain;
        scroll-padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .express-checkout-modal .express-order-summary {
        margin-bottom: 0.75rem;
        padding: 0.75rem;
    }

    .express-checkout-modal #serviceDetails2 > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
    }

    .express-checkout-modal .placeorder-field {
        order: 1;
    }

    .express-checkout-modal .placeorder-details {
        order: 2;
    }

    .express-checkout-modal .card-place-retail-order {
        padding: 0.95rem;
        border-radius: 12px;
    }

    .express-checkout-modal .placeorder-details .card-place-retail-order {
        position: static;
    }

    .express-checkout-modal .form-control {
        min-height: 48px;
        font-size: 16px;
    }

    .express-checkout-modal textarea.form-control {
        min-height: 96px;
    }

    .express-checkout-modal .d-actionbar-mobile .placeorder,
    .express-checkout-modal .d-actionbar-mobile .placeorder2,
    .express-checkout-modal .d-actionbar-mobile #placedirectorder,
    .express-checkout-modal .d-actionbar-mobile #placeorder {
        display: none;
    }

    .express-checkout-modal .service-information {
        max-height: none;
        padding: 0.75rem;
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .express-checkout-modal .service-information *,
    .express-checkout-modal .service-information [style*="min-width"] {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .express-checkout-modal .service-information pre {
        overflow-x: auto;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

    .express-checkout-modal .express-order-mobile-action {
        position: relative;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

@media (max-width: 380px) {
    .express-checkout-modal .express-order-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .express-checkout-modal .express-order-summary-grid > div:first-child {
        grid-column: auto;
    }

    .express-checkout-modal .express-order-mobile-action {
        gap: 0.5rem;
        padding-inline: 0.75rem;
    }

    .express-order-mobile-action .btn {
        min-width: 108px;
        padding-inline: 0.75rem;
    }
}

.express-checkout-modal textarea.form-control.order-comments-input {
    height: 58px;
    min-height: 58px;
    max-height: 180px;
}

@media (max-width: 767px) {
    .express-checkout-modal textarea.form-control.order-comments-input {
        height: 64px;
        min-height: 64px;
    }
}

/* Express Order v17: compact service context and field sizing. */
.express-order-context {
    display: grid;
    grid-template-columns: 42px minmax(0, 1.65fr) minmax(180px, 0.75fr);
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.85rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--eo-border);
    border-radius: 12px;
    background: var(--eo-surface-raised);
    box-shadow: var(--eo-shadow-soft);
}

.express-order-context-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--eo-accent-soft);
    color: var(--eo-accent);
    font-size: 1.05rem;
}

.express-order-context-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.12rem;
    text-align: start;
}

.express-order-context-item span {
    color: var(--eo-text-muted);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.express-order-context-item strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--eo-text);
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.express-order-context-item strong[dir="rtl"] {
    text-align: right;
    unicode-bidi: plaintext;
}

.express-checkout-modal input.form-control,
.express-checkout-modal select.form-control {
    height: 40px;
    min-height: 40px;
    padding-block: 0.4rem;
}

.express-checkout-modal input#qnt,
.express-checkout-modal select#qnt {
    width: 100% !important;
    max-width: none;
}

.express-checkout-modal .custom-controls .controls {
    position: relative;
}

.express-checkout-modal .custom-controls .form-control,
.express-checkout-modal .custom-controls .chosen-container-single {
    width: 100% !important;
    margin-right: 0;
}

.express-checkout-modal .custom-controls .controls > .form-control {
    padding-inline-end: 2rem;
}

.express-checkout-modal .custom-controls .controls > .required {
    top: 20px;
    inset-inline-end: 0.75rem;
    margin: 0;
    line-height: 1;
    pointer-events: none;
}

.express-checkout-modal textarea.form-control {
    height: 64px;
    min-height: 64px;
    max-height: 220px;
}

.express-checkout-modal textarea.form-control.order-singleline-textarea {
    height: 42px;
    min-height: 42px;
    max-height: 140px;
}

.express-checkout-modal textarea.form-control.order-comments-input {
    height: 54px;
    min-height: 54px;
    max-height: 160px;
}

.express-checkout-modal textarea.form-control.order-multiline-input,
.express-checkout-modal textarea.form-control#imei_bulk {
    height: 104px;
    min-height: 104px;
    max-height: 280px;
}

@media (max-width: 767px) {
    .express-order-context {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 0.55rem 0.7rem;
        margin-bottom: 0.75rem;
        padding: 0.65rem;
    }

    .express-order-context-icon {
        grid-row: 1 / 3;
        width: 38px;
        height: 38px;
    }

    .express-order-context-item:not(.express-order-context-service) {
        grid-column: 2;
    }

    .express-order-context-item strong {
        white-space: normal;
    }

    .express-checkout-modal input.form-control,
    .express-checkout-modal select.form-control {
        height: 42px;
        min-height: 42px;
    }
}

@media (max-width: 480px) {
    .express-checkout-modal .modal-body {
        padding-inline: 0.55rem;
    }

    .express-checkout-modal .card-place-retail-order {
        padding: 0.8rem;
    }

    .express-checkout-modal .placeorder-field .card-place-retail-order::before,
    .express-checkout-modal .placeorder-details .card-place-retail-order::before {
        margin-bottom: 0.8rem;
        padding-bottom: 0.55rem;
    }

    .express-order-context {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 0.55rem;
    }

    .express-order-context-icon {
        width: 34px;
        height: 34px;
    }
}

/* Express Order v22: compact catalog workspace on phones. */
@media (max-width: 767px) {
    .server-async-command {
        padding: 0.85rem;
        border-radius: 14px;
    }

    .server-async-command-head {
        margin-bottom: 0.7rem;
    }

    .server-async-command-title {
        font-size: 1.18rem;
        text-wrap: balance;
    }

    .server-async-search-field,
    .server-async-refresh {
        height: 46px;
        min-height: 46px;
    }

    .server-async-refresh {
        width: 46px;
    }

    .server-async-filterbar {
        margin-inline: -0.85rem;
        padding-inline: 0.85rem;
        scroll-padding-inline: 0.85rem;
        overscroll-behavior-inline: contain;
    }

    .server-async-filter-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .server-async-type-filters {
        flex: 0 0 auto;
    }

    .server-async-type-filter {
        min-height: 34px;
        padding-inline: 0.55rem;
    }

    .server-async-recents {
        gap: 0.45rem;
        margin-top: 0.55rem;
        padding-top: 0.55rem;
    }

    .server-async-recent-row {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: center;
        gap: 0.5rem;
    }

    .server-async-recent-meta {
        width: auto;
        min-width: 0;
        gap: 0.3rem;
    }

    .server-async-recent-label,
    .server-async-recent-clear {
        font-size: 0.68rem;
    }

    .server-async-recent-clear,
    .server-async-recent-clear.btn,
    .server-async-recent-clear.btn-link {
        width: auto;
        min-width: 0;
        min-height: 30px;
        margin: 0;
        padding: 0 0.25rem !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--eo-text-muted) !important;
    }

    .server-async-recent-list {
        min-width: 0;
        margin: 0;
        padding: 0.1rem 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    .server-async-recent-chip {
        min-height: 32px;
        padding: 0.32rem 0.65rem;
        font-size: 0.72rem;
    }

    .server-async-workspace {
        align-items: flex-start;
    }

    .server-async-sidebar-column,
    .server-async-results-column {
        min-width: 0;
    }

    .server-async-sidebar-column {
        margin-bottom: 0.7rem !important;
    }

    .server-async-sidebar,
    .server-async-sidebar.h-100,
    .server-async-results-card {
        height: auto !important;
        min-height: 0;
    }

    .server-async-category-list {
        max-height: min(48dvh, 420px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .server-async-browser.is-search-view .server-async-sidebar {
        padding: 0.75rem;
    }

    .server-async-browser.is-search-view .server-async-sidebar-header {
        margin-bottom: 0.65rem;
    }

    .server-async-browser.is-search-view .server-async-category-list {
        padding-bottom: 0;
        scrollbar-width: none;
    }

    .server-async-browser.is-search-view .server-async-category-list::-webkit-scrollbar,
    .server-async-active-filters::-webkit-scrollbar,
    .server-async-recent-list::-webkit-scrollbar {
        display: none;
    }

    .server-async-browser.is-search-view .server-async-category-item {
        flex-basis: min(275px, 84vw);
    }

    .server-async-results-header {
        gap: 0.65rem;
        padding: 0.85rem;
    }

    .server-async-results-title {
        display: -webkit-box;
        overflow: hidden;
        font-size: 1.05rem;
        text-wrap: balance;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .server-async-results-summary {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.72rem;
        line-height: 1.35;
        text-wrap: pretty;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .server-async-active-filters {
        padding: 0.55rem 0.85rem;
        scrollbar-width: none;
    }

    .server-async-category-result-controls {
        gap: 0.55rem;
        margin: 0 0.85rem 0.65rem;
        padding: 0.6rem;
    }

    .server-async-category-result-actions .btn {
        min-height: 42px;
        padding: 0.4rem 0.55rem;
        font-size: 0.72rem;
        line-height: 1.25;
    }

    #server_async_results {
        padding: 0.85rem 0.85rem 0.1rem;
    }

    .server-async-service-body {
        min-height: 0;
        padding: 0.7rem;
    }

    .server-async-order-button {
        min-width: 100px;
        padding-inline: 0.6rem;
        font-size: 0.74rem;
        line-height: 1.2;
    }
}

@media (max-width: 380px) {
    .server-async-recent-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .server-async-recent-meta {
        justify-content: space-between;
    }

    .server-async-type-filter {
        padding-inline: 0.45rem;
        font-size: 0.7rem;
    }
}
