@keyframes almt-fade-up {
    0% {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes almt-pop-in {
    0% {
        transform: scale(.86);
        opacity: 0
    }

    70% {
        transform: scale(1.04)
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes hvc-fade-up {
    0% {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

main {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr
}

.constCard {
    height: 100%;
    --bs-card-border-color: #eaeaf1;
    box-shadow: 0 1px 0-1px rgba(0, 0, 0, .12);
    transition: box-shadow .3s ease
}

.constCard:hover {
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .2)
}

.userIcon {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50vw;
    color: var(--color-primary-active);
    cursor: pointer
}

.addAccBtn,
.checkAlotBtn {
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: 1.1em;
    --bs-btn-font-family: 'Poppins', sans-serif;
    --bs-btn-active-color: var(--color-primary-active);
    --bs-btn-active-border-color: var(--color-primary-active);
    --bs-btn-active-bg: var(--color-primary-contrast);
    min-width: 80px
}

.addAccBtn {
    --bs-btn-font-size: clamp(14px, 1.1em, 18px)
}

.emptySec {
    min-height: 50vh
}

.hvs-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    /* overflow: scroll !important; */
    box-shadow: 0 4px 24px -8px rgba(15, 23, 42, .1);
    max-height: fit-content !important;

}
.hvs-section::-webkit-scrollbar-track {
    background: transparent;
}
.hvs-section::-webkit-scrollbar-thumb {
    background: #6055cd;
}

.hvs-thumb-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    line-height: 0;
    flex-shrink: 0;
    max-height: 150px
}

.hvs-thumb-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease
}

.hvs-thumb-wrap:hover .hvs-thumb-img {
    transform: scale(1.03)
}

.hvs-play-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .65rem;
    border-radius: 999px;
    pointer-events: none;
    transition: background .2s
}

.hvs-thumb-wrap:hover .hvs-play-badge {
    background: rgba(96, 85, 205, .88)
}

.hvs-body {
    padding: 1.1rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
}

.hvs-heading {
    display: flex;
    align-items: flex-start;
    gap: .7rem
}

.hvs-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6055cd, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(96, 85, 205, .22)
}

.hvs-icon svg {
    width: 16px;
    height: 16px
}

.hvs-title {
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25
}

.hvs-subtitle {
    font-size: .78rem;
    color: #64748b;
    margin-top: .1rem
}

.hvs-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem
}

.hvs-step,
.hvs-step-num {
    display: flex;
    align-items: center
}

.hvs-step {
    gap: .65rem;
    font-size: .85rem;
    color: #334155
}

.hvs-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eef2ff;
    color: #6055cd;
    font-size: .72rem;
    font-weight: 700;
    justify-content: center;
    flex-shrink: 0
}

.hvs-step strong {
    color: #0f172a
}

.hvs-note,
.hvs-nudge-text span {
    font-size: .78rem;
    line-height: 1.4
}

.hvs-note {
    display: flex;
    align-items: flex-start;
    gap: .35rem;
    color: #64748b;
    margin: 0;
    background: #f8fafc;
    border-radius: 8px;
    padding: .45rem .6rem
}

.hvs-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #94a3b8
}

.hvs-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.hvs-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .83rem;
    font-weight: 600;
    padding: .5rem 1rem;
    border-radius: 10px;
    transition: transform .18s ease, box-shadow .18s ease
}

.hvs-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(96, 85, 205, .25)
}

.hvs-btn-ghost {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1.5px solid #e2e8f0 !important
}

.hvs-btn-ghost:hover {
    background: #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .1) !important
}

.hvs-alt-hint {
    font-size: .75rem;
    color: #94a3b8;
    margin: 0;
    text-align: center
}

.hvs-login-nudge {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1.5px solid #bbf7d0;
    border-left: none !important;
    border-radius: 12px;
    padding: .75rem .9rem;
}

.hvs-nudge-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #51cc8a, #10b981);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center
}

.almt-search-icon-wrap svg,
.hvs-nudge-icon svg {
    width: 15px;
    height: 15px
}

.hvs-nudge-text {
    display: flex;
    flex-direction: column;
    gap: .15rem
}

.hvs-nudge-text strong {
    font-size: .85rem;
    font-weight: 700;
    color: #047857;
    line-height: 1.2
}

.hvs-nudge-text span {
    color: #065f46;
    opacity: .85
}

.hvs-login-nudge.hvs-login-nudge-red {
    background: linear-gradient(135deg, #fff1f2, #fff5f5);
    border: 1.5px solid #fecdd3;
    border-left: none !important
}

.hvs-login-nudge.hvs-login-nudge-red .hvs-nudge-icon {
    background: linear-gradient(135deg, #fb7185, #e0415b)
}

.hvs-login-nudge.hvs-login-nudge-red .hvs-nudge-text strong {
    color: #be123c
}

.hvs-login-nudge.hvs-login-nudge-red .hvs-nudge-text span {
    color: #9f1239
}

.hvs-login-nudge.hvs-login-nudge-purple {
    background: linear-gradient(135deg, #f5f3ff, #eef2ff);
    border: 1.5px solid #c7d2fe;
    border-left: none !important
}

.hvs-login-nudge.hvs-login-nudge-purple .hvs-nudge-icon {
    background: linear-gradient(135deg, #7c6cf0, #6055cd)
}

.hvs-login-nudge.hvs-login-nudge-purple .hvs-nudge-text strong {
    color: #4338ca
}

.hvs-login-nudge.hvs-login-nudge-purple .hvs-nudge-text span {
    color: #4c1d95
}

.almt-search-row {
    margin-bottom: .35rem
}

.almt-search-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, background .2s;
    cursor: text
}

.almt-search-wrap:focus-within {
    background: #fff;
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(96, 85, 205, .1)
}

.almt-search-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .65rem 0 .85rem;
    flex-shrink: 0;
    color: #94a3b8;
    transition: color .2s;
    pointer-events: none
}

.almt-search-wrap:focus-within .almt-search-icon-wrap {
    color: #6055cd
}

.almt-search-input {
    flex: 1;
    border: 0;
    outline: 0;
    background: 0 0;
    font-size: .875rem;
    color: #0f172a;
    min-width: 0;
    padding: .62rem 0
}

.almt-search-input::placeholder {
    color: #b0bec8
}

.almt-search-input::-webkit-search-cancel-button {
    display: none
}

.almt-search-clear {
    width: 32px;
    height: 32px;
    margin-right: .35rem;
    border: 0;
    background: 0 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    color: #94a3b8;
    transition: background .15s, color .15s
}

.almt-search-clear:hover {
    background: #f1f5f9;
    color: #475569
}

.almt-search-clear svg {
    width: 12px;
    height: 12px
}

.almt-guide-card {
    margin: .35rem 0 .4rem;
    border: 1.5px dashed #c7d2fe;
    background: #fff;
    border-radius: 14px;
    padding: .85rem .9rem
}

.almt-guide-head {
    display: flex;
    align-items: flex-start;
    gap: .55rem
}

.almt-guide-icon,
.almt-guide-steps li span {
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.almt-guide-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #6055cd;
    color: #fff;
    display: flex
}

.almt-guide-icon svg {
    width: 14px;
    height: 14px
}

.almt-guide-title {
    margin: 0;
    font-size: .84rem;
    font-weight: 700;
    color: #3730a3;
    line-height: 1.2
}

.almt-guide-subtitle {
    margin: .15rem 0 0;
    font-size: .75rem;
    color: #6366f1;
    line-height: 1.35
}

.almt-guide-steps {
    list-style: none;
    margin: .6rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem
}

.almt-guide-steps li {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    color: #475569;
    padding-bottom: 1rem;
}

.almt-guide-steps li span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #4f46e5;
    font-size: .7rem;
    font-weight: 700;
}

.almt-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin: .45rem 0 .35rem;
    padding: .55rem 0;
    border-radius: 12px;
    background: #fff
}

.almt-scope-root.almt-compact .pb-3 {
    padding-bottom: .35rem !important
}

.almt-scope-root.almt-compact .allotment-dropdown-button {
    padding: 9px 12px;
    font-size: 12px;
    border-radius: 10px
}

.almt-scope-root.almt-compact .allotment-dropdown-button .allotment-dropdown-text {
    font-size: .8rem
}

.almt-scope-root.almt-compact .allotment-dropdown-button .allotment-dropdown-arrow {
    margin-left: .55rem;
    font-size: .78rem
}

.allotment-dropdown.allotment-dropdown-compact .allotment-dropdown-menu,
.almt-scope-root.almt-compact .allotment-dropdown-menu {
    top: calc(100% + .35rem);
    border-radius: 10px;
    max-height: 280px
}

.allotment-dropdown.allotment-dropdown-compact .allotment-dropdown-item,
.almt-scope-root.almt-compact .allotment-dropdown-item {
    padding: .62rem .75rem
}

.allotment-dropdown.allotment-dropdown-compact .allotment-dropdown-item .fa-building,
.almt-scope-root.almt-compact .allotment-dropdown-item .fa-building {
    margin-right: .5rem !important;
    font-size: .78rem
}

.allotment-dropdown.allotment-dropdown-compact .allotment-dropdown-item .fw-semibold,
.almt-scope-root.almt-compact .allotment-dropdown-item .fw-semibold {
    font-size: .79rem;
    line-height: 1.2
}

.allotment-dropdown.allotment-dropdown-compact .allotment-dropdown-item small,
.almt-scope-root.almt-compact .allotment-dropdown-item small {
    font-size: .66rem;
    line-height: 1.1
}

.almt-scope-root.almt-compact .almt-search-row {
    margin-bottom: .22rem
}

.almt-scope-root.almt-compact .almt-search-input {
    font-size: .8rem;
    padding: .5rem 0
}

.almt-scope-root.almt-compact .almt-meta-row {
    margin: .2rem 0 .25rem
}

.almt-scope-root.almt-compact .almt-meta-row .action-btns {
    gap: 8px
}

.almt-scope-root.almt-compact .almt-meta-row .btn-add,
.almt-scope-root.almt-compact .almt-meta-row .btn-manage {
    padding: 7px 11px;
    font-size: 11px;
    border-radius: 9px
}

.almt-scope-root.almt-compact .almt-guide-card {
    margin: .2rem 0 .35rem;
    padding: .62rem .7rem;
    border-radius: 12px
}

.almt-scope-root.almt-compact .almt-guide-title {
    font-size: .76rem
}

.almt-scope-root.almt-compact .almt-guide-subtitle {
    font-size: .68rem
}

.almt-scope-root.almt-compact .almt-guide-steps {
    margin-top: .4rem;
    gap: .24rem
}

.almt-scope-root.almt-compact .almt-guide-steps li {
    font-size: .72rem
}

.almt-scope-root.almt-compact .almt-guide-steps li span {
    width: 17px;
    /* height: 17px; */
    font-size: .62rem
}

.almt-card-list {
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.almt-card-list::-webkit-scrollbar {
    width: 4px
}

.almt-card-list::-webkit-scrollbar-track {
    background: 0 0
}

.almt-card-list::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 999px
}

.almt-card-item {
    opacity: 0
}

.almt-card-item.almt-card-entered {
    animation: almt-fade-up .42s cubic-bezier(.22, 1, .36, 1) both
}

.almt-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: .5rem .75rem;
    box-shadow: 0 1px 3px rgba(2, 6, 23, .04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
    overflow: hidden
}

.almt-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 85, 205, .04), transparent 55%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.almt-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 6px 22px rgba(96, 85, 205, .11);
    transform: translateY(-2px)
}

.almt-card:hover::before {
    opacity: 1
}

.almt-card-row1 {
    display: flex;
    align-items: center;
    gap: .75rem
}

.almt-card-row2 {
    margin-top: .25rem;
    padding-top: .25rem;
    border-top: 1px solid #f1f5f9
}

.almt-card-identity {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .1rem
}

.almt-card-name {
    font-size: .9rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.almt-card-pan {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    color: #94a3b8;
    font-family: "Courier New", monospace;
    letter-spacing: .05em
}

.almt-pan-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #b0bec8;
    position: relative;
    top: -1px
}

.almt-msgbox-text {
    font-size: .78rem;
    color: #64748b;
    min-height: .9rem;
    display: block;
    transition: color .2s
}

.almt-msg-success {
    color: #15803d;
    font-weight: 600
}

.almt-msg-error {
    color: #b91c1c
}

.almt-msg-done {
    color: #475569
}

.almt-msg-pending {
    color: #94a3b8
}

.almt-card-item[data-status=success] .almt-card {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4, #fff 60%)
}

.almt-card-item[data-status=error] .almt-card {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff5f5, #fff 60%)
}

.almt-check-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
    font-size: .85rem;
    font-weight: 600;
    padding: .35rem .75rem;
    border-radius: 10px;
    transition: transform .18s ease, box-shadow .18s ease, gap .18s ease
}

.almt-check-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(96, 85, 205, .3);
    gap: .6rem
}

.almt-check-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none
}

.almt-check-btn:disabled {
    opacity: .75
}

.almt-btn-arrow {
    width: 14px;
    height: 14px;
    transition: transform .18s ease
}

.almt-check-btn:hover:not(:disabled) .almt-btn-arrow {
    transform: translateX(3px)
}

.almt-empty-state,
.almt-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    text-align: center
}

.almt-no-results {
    gap: .6rem;
    padding: 2rem 1rem
}

.almt-no-results svg {
    width: 40px;
    height: 40px;
    stroke: #c7d2fe
}

.almt-no-results p {
    margin: 0;
    font-size: .9rem
}

.almt-empty-state {
    gap: .5rem;
    padding: 1.5rem 1rem
}

.almt-empty-icon {
    font-size: 2rem;
    line-height: 1
}

.almt-empty-msg {
    margin: 0;
    font-size: .9rem
}

.almt-onboard {
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem
}

.almt-onboard-art {
    animation: almt-pop-in .5s cubic-bezier(.34, 1.56, .64, 1) both
}

.almt-onboard-art svg {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto
}

.almt-onboard-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b
}

.almt-onboard-desc {
    font-size: .875rem;
    color: #64748b;
    /* max-width: 280px; */
    line-height: 1.55;
    margin: 0
}

.almt-add-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    font-weight: 600;
    padding: .6rem 1.35rem;
    border-radius: 12px;
    margin-top: .5rem;
    transition: transform .18s ease, box-shadow .18s ease
}

.almt-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 85, 205, .28)
}

@media (max-width:575.98px) {
    .almt-card-row1 {
        gap: .55rem
    }

    .almt-check-btn {
        padding: .45rem .75rem;
        font-size: .8rem
    }
}

@media (max-width:992px) {
    .hvs-actions {
        flex-direction: column
    }

    .hvs-btn {
        width: 100%;
        justify-content: center
    }
}

@media screen and (min-width:992px) {
    main {
        grid-template-columns: 1fr 264px;
        grid-template-rows: auto;
        gap: 20px
    }
}

.action-btns {
    display: flex;
    justify-content: center;
    gap: 12px
}

.btn-manage {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e4e9;
    background: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 500;
    font-family: inherit;
    color: #1f242e !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    transition: all .2s !important
}

.btn-manage:hover {
    background: #f0f2f4 !important;
    box-shadow: 0 4px 16px rgba(124, 58, 237, .12) !important
}

.btn-add,
.btn-add i,
.btn-manage,
.btn-manage i {
    font-size: 12px
}

.btn-add {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #7430e8;
    background: rgba(124, 58, 237, .05);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    font-family: inherit;
    color: #7430e8;
    cursor: pointer;
    transition: all .2s
}

.btn-add:hover {
    background: rgba(124, 58, 237, .1)
}

.aside-card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e4e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 4px 12px -2px rgba(0, 0, 0, .06);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: flex-start;
    max-height: 80vh;
    min-height: 450px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #6055cd transparent;
    margin-bottom: 10px
}

@media (max-width:420px) {
    .premium-card .card-body {
        padding: 10px !important
    }
}

.hvc-section {
    margin-top: .75rem;
    margin-bottom: 1rem;
    animation: hvc-fade-up .4s cubic-bezier(.22, 1, .36, 1) both
}

.hvc-card {
    background: #fff;
    border: 1.5px solid #e8e8ec;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px -6px rgba(15, 23, 42, .09), 0 1px 4px rgba(0, 0, 0, .04)
}

.hvc-grid {
    display: grid;
    grid-template-columns: 1fr
}

@media (min-width:768px) {
    .hvc-grid {
        grid-template-columns: 1fr 1fr
    }
}

.hvc-content {
    padding: 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    justify-content: center
}

.hvc-header-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap
}

.hvc-badge,
.hvc-time-chip {
    display: inline-flex;
    align-items: center;
    font-size: .68rem;
    border-radius: 999px
}

.hvc-badge {
    gap: .35rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #6055cd;
    background: rgba(96, 85, 205, .08);
    border: 1px solid rgba(96, 85, 205, .18);
    padding: .28rem .68rem
}

.hvc-badge svg,
.hvc-time-chip svg {
    width: 11px;
    height: 11px
}

.hvc-time-chip {
    gap: .3rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: .28rem .62rem
}

.hvc-heading {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 .2rem
}

.hvc-heading-accent {
    color: #6055cd
}

.hvc-lead {
    font-size: .83rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0
}

.hvc-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.hvc-step {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .85rem;
    color: #334155;
    line-height: 1.4
}

.hvc-step strong {
    color: #0f172a
}

.hvc-step-num {
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6055cd, #8b5cf6);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(96, 85, 205, .28)
}

.hvc-actions {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap
}

.hvc-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 600;
    font-family: inherit;
    padding: .55rem 1.1rem;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s, background .15s;
    line-height: 1;
    white-space: nowrap
}

.hvc-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0
}

.hvc-btn:hover {
    transform: translateY(-2px)
}

.hvc-btn-primary {
    background: linear-gradient(135deg, #6055cd, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(96, 85, 205, .28)
}

.hvc-btn-primary:hover {
    box-shadow: 0 8px 22px rgba(96, 85, 205, .38);
    color: #fff
}

.hvc-btn-ghost {
    background: #f1f5f9;
    color: #334155;
    border: 1.5px solid #e2e8f0
}

.hvc-btn-ghost:hover {
    background: #e2e8f0;
    color: #334155
}

.hvc-alt-hint {
    display: flex;
    align-items: flex-start;
    gap: .35rem;
    font-size: .73rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5
}

.hvc-alt-hint svg {
    flex-shrink: 0;
    margin-top: 2px
}

.hvc-media {
    display: flex;
    flex-direction: column;
    background: #f8f7ff;
    border-left: 1.5px solid #e8e8ec;
    overflow: hidden
}

@media (max-width:767.98px) {
    .hvc-media {
        border-left: 0;
        border-top: 1.5px solid #e8e8ec
    }
}

.hvc-media-inner {
    display: flex;
    flex-direction: column;
    height: 100%
}

.hvc-thumb-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    line-height: 0;
    flex: 1
}

.hvc-thumb-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .45s ease
}

.hvc-thumb-wrap:hover .hvc-thumb-img {
    transform: scale(1.04)
}

.hvc-play-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: .73rem;
    font-weight: 600;
    padding: .35rem .7rem .35rem .4rem;
    border-radius: 999px;
    transition: background .2s
}

.hvc-thumb-wrap:hover .hvc-play-badge {
    background: rgba(96, 85, 205, .9)
}

.hvc-play-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    color: #6055cd;
    flex-shrink: 0
}

.hvc-play-btn,
.hvc-play-circle,
.hvc-play-overlay {
    display: flex;
    align-items: center;
    justify-content: center
}

.hvc-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .28);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none
}

.hvc-thumb-wrap:hover .hvc-play-overlay {
    opacity: 1
}

.hvc-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #6055cd;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
    transition: transform .2s
}

.hvc-thumb-wrap:hover .hvc-play-btn {
    transform: scale(1.1)
}

.hvc-stats-row {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-top: 1.5px solid #ece9ff
}

.hvc-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .75rem .5rem;
    gap: .1rem
}

.hvc-stat-val {
    font-size: .9rem;
    font-weight: 800;
    color: #6055cd;
    line-height: 1.1
}

.hvc-stat-lbl {
    font-size: .65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600
}

.hvc-stat-divider {
    width: 1px;
    background: #ece9ff;
    margin: .5rem 0;
    flex-shrink: 0
}

@media (max-width:575.98px) {
    .hvc-content {
        padding: 1.25rem 1.1rem;
        gap: .75rem
    }

    .hvc-heading {
        font-size: 1.1rem
    }

    .hvc-actions {
        flex-direction: column
    }

    .hvc-btn {
        width: 100%;
        justify-content: center
    }

    .hvc-stat-val {
        font-size: .82rem
    }
}

.ipo-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ipo-meta-item {
    display: flex;
    flex-direction: column;
    gap: .18rem;
    padding: .65rem 1rem;
    flex: 1 1 auto;
    min-width: 100px;
    border-right: 1px solid #e2e8f0;
}

.ipo-meta-item:last-child {
    border-right: none;
}

.ipo-meta-item dt {
    font-size: .68rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .055em;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.ipo-meta-item dd {
    font-size: .88rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
    word-break: break-word;
}

@media (max-width: 480px) {
    .ipo-meta-strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .ipo-meta-item {
        border-right: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }
    .ipo-meta-item:nth-child(even) {
        border-right: none;
    }
    .ipo-meta-item:last-child {
        grid-column: 1 / -1;
        border-bottom: none;
    }
}

@keyframes almt-guide-shimmer {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 200% 0
    }
}

.almt-guide-card--premium {
    position: relative;
    overflow: hidden;
    margin: .35rem 0 .45rem !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, #fff 0%, #faf8ff 100%) !important;
    box-shadow: 0 4px 20px -4px rgba(96, 85, 205, .12), 0 1px 3px rgba(15, 23, 42, .06) !important;
    animation: almt-fade-up .45s cubic-bezier(.22, 1, .36, 1) both
}

.almt-guide-card--premium:hover {
    box-shadow: 0 8px 28px -6px rgba(96, 85, 205, .18), 0 2px 8px rgba(15, 23, 42, .06) !important
}

.almt-guide-card--premium .almt-guide-head {
    align-items: center !important;
    gap: .75rem !important;
    padding: 1rem 1rem .35rem !important
}

.almt-guide-icon-ring {
    flex-shrink: 0;
    padding: 3px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6055cd, #a78bfa);
    box-shadow: 0 4px 12px rgba(96, 85, 205, .35)
}

.almt-guide-card--premium .almt-guide-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #6055cd !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8)
}

.almt-guide-card--premium .almt-guide-icon svg {
    width: 18px !important;
    height: 18px !important
}

.almt-guide-card--premium .almt-guide-title-wrap {
    min-width: 0
}

.almt-guide-card--premium .almt-guide-title {
    font-size: .92rem !important;
    font-weight: 800 !important;
    color: #312e81 !important;
    line-height: 1.25 !important;
    letter-spacing: -.01em
}

.almt-guide-tagline {
    margin: .25rem 0 0 !important;
    font-size: .72rem !important;
    color: #64748b !important;
    line-height: 1.4 !important
}

.almt-guide-card--premium .almt-guide-steps {
    margin: .5rem 0 0 !important;
    padding: 0 1rem 1rem !important;
    gap: 0 !important
}

.almt-guide-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .65rem !important;
    padding: .5rem .65rem;
    margin: 0;
    border-radius: 11px;
    background: rgba(248, 250, 252, .85);
    border: 1px solid rgba(226, 232, 240, .9);
    font-size: .8rem !important;
    color: #334155 !important;
    /* line-height: 1.45 !important; */
    transition: background .2s, border-color .2s, transform .2s
}

.almt-guide-step+.almt-guide-step {
    margin-top: .4rem
}

.almt-guide-step:hover {
    background: #fff;
    border-color: rgba(96, 85, 205, .22);
    transform: translateX(2px)
}

.almt-guide-num {
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #6055cd, #8b5cf6) !important;
    color: #fff !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(96, 85, 205, .3) !important;
    margin-top: 1px
}

.almt-guide-txt {
    flex: 1;
    min-width: 0;
    font-size: 12px !important;
}

.almt-guide-count {
    display: inline-block;
    min-width: 1.1em;
    text-align: center;
    padding: 0 .2rem;
    border-radius: 6px;
    background: rgba(96, 85, 205, .12);
    color: #4338ca;
    font-weight: 800;
    padding: 12px !important;
}

.almt-guide-step--last {
    background: linear-gradient(135deg, rgba(96, 85, 205, .06), rgba(139, 92, 246, .05)) !important;
    border-color: rgba(96, 85, 205, .18) !important
}

.almt-scope-root.almt-compact .almt-guide-card--premium .almt-guide-head {
    padding: .85rem .85rem .25rem !important
}

.almt-scope-root.almt-compact .almt-guide-card--premium .almt-guide-steps {
    padding: 0 .85rem .85rem !important
}

.almt-scope-root.almt-compact .almt-guide-title {
    font-size: .8rem !important
}

.almt-scope-root.almt-compact .almt-guide-tagline {
    font-size: .66rem !important
}

.almt-scope-root.almt-compact .almt-guide-step {
    font-size: 12px !important;
    padding: .42rem .55rem !important
}

.almt-scope-root.almt-compact .almt-guide-num {
    width: 19px !important;
    height: 19px !important;
    font-size: .6rem !important;
    border-radius: 7px !important
}

.hvs-login-nudge.hvs-login-nudge-warning {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1.5px solid #fde68a;
    border-left: none !important
}

.hvs-login-nudge.hvs-login-nudge-warning .hvs-nudge-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24)
}

.hvs-login-nudge.hvs-login-nudge-warning .hvs-nudge-text strong {
    color: #b45309
}

.hvs-login-nudge.hvs-login-nudge-warning .hvs-nudge-text span {
    color: #92400e
}

.almt-guide-card--premium .almt-guide-step {
    font-size: 12px !important
}

/* Sidebar: never force 350px on narrow viewports (was causing ~341px overflow on mobile) */
.aside-card-flex {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


@media screen and (min-width: 992px) {
    .aside-card-flex {
        min-width: min(350px, 100%) !important;
    }
  
}