.hm-ai-usage {
    width: 100%;
    padding: 12px 13px;
    margin-bottom: 10px;
    border: 1px solid rgba(50, 158, 255, .18);
    border-radius: 14px;
    background: rgba(234, 244, 255, .58);
}

.hm-ai-usage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
    color: var(--ink, #12263a);
    font-size: 11px;
    font-weight: 700;
}

.hm-ai-usage-head strong {
    font-size: 11px;
    color: var(--bada, #1265b8);
}

.hm-ai-usage-track {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(50, 158, 255, .12);
}

.hm-ai-usage-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--haneul, #329eff);
    transition: width .25s ease;
}

.hm-ai-usage small {
    display: block;
    margin-top: 7px;
    color: var(--ink-soft, #4a5b6e);
    font-size: 9.5px;
    line-height: 1.45;
}

.hm-ai-usage.is-near-limit .hm-ai-usage-track span {
    background: var(--gyul, #ff8a3d);
}

.hm-ai-usage.is-limit {
    border-color: rgba(255, 138, 61, .32);
    background: rgba(255, 138, 61, .08);
}

.hm-ai-usage.is-limit .hm-ai-usage-track span {
    background: var(--gyul, #ff8a3d);
}

.hm-ai-upgrade-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--bada, #1265b8);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.hm-ai-upgrade-link:hover {
    text-decoration: underline;
}

#hm-target-modal-error .hm-target-upgrade-link {
    display: inline-flex;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--gyul, #ff8a3d);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.hm-limit-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hm-limit-modal[hidden] {
    display: none;
}

.hm-limit-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 31, .58);
    backdrop-filter: blur(2px);
}

.hm-limit-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 470px;
    padding: 34px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
    text-align: center;
}

.hm-limit-close {
    position: absolute;
    top: 13px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #7b8794;
    font-size: 28px;
    cursor: pointer;
}

.hm-limit-icon {
    margin-bottom: 12px;
    font-size: 34px;
}

.hm-limit-title {
    margin: 0 0 12px;
    color: #12263a;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.5;
}

.hm-limit-text {
    margin-bottom: 20px;
    color: #4a5b6e;
    line-height: 1.8;
}

.hm-limit-benefits {
    margin-bottom: 20px;
    padding: 15px 18px;
    border: 1px solid #d6eaff;
    border-radius: 14px;
    background: #f5faff;
    text-align: left;
}

.hm-limit-benefits p {
    margin: 7px 0;
    color: #24384d;
    font-weight: 700;
}

.hm-limit-primary {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border-radius: 13px;
    background: #ff8a3d;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.hm-limit-primary:hover {
    color: #fff;
    background: #e0702a;
}

.hm-limit-secondary {
    display: block;
    margin-top: 12px;
    color: #1265b8;
    font-weight: 700;
    text-decoration: none;
}

.hm-limit-later {
    margin-top: 17px;
    border: 0;
    background: transparent;
    color: #718096;
    font-size: 13px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .hm-limit-dialog {
        padding: 30px 22px 24px;
        border-radius: 20px;
    }

    .hm-limit-title {
        font-size: 20px;
    }
}

.hm-limit-usage {
    margin: 22px 0;
    padding: 18px 20px;
    border: 1px solid rgba(255, 138, 61, .38);
    border-radius: 16px;
    background: rgba(255, 138, 61, .08);
    text-align: left;
}

.hm-limit-usage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hm-limit-usage-head span {
    color: #12263a;
    font-size: 15px;
    font-weight: 800;
}

.hm-limit-usage-head strong {
    color: #1265b8;
    font-size: 18px;
    font-weight: 800;
}

.hm-limit-usage-track {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 138, 61, .18);
}

.hm-limit-usage-track span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #ff8a3d;
}

.hm-limit-usage p {
    margin: 11px 0 0;
    color: #4a5b6e;
    font-size: 14px;
    font-weight: 600;
}