.ita-commerce-license-card .ita-commerce-key-label {
    display: block;
    margin: 20px 0 8px;
    font-weight: 700;
}

.ita-commerce-key-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.ita-commerce-key {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(134, 157, 186, 0.45);
    border-radius: 8px;
    background: rgba(7, 18, 34, 0.7);
    color: inherit;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ita-commerce-key-row .ita-button {
    flex: 0 0 auto;
    margin: 0;
}

.ita-copy-status {
    min-height: 20px;
    margin: 8px 0 0;
    font-size: 13px;
}

.ita-commerce-summary-grid .ita-metric-card {
    min-height: 128px;
    padding: 18px;
    gap: 12px;
}

.ita-commerce-summary-grid .ita-metric-card > div {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    text-align: left;
}

.ita-commerce-summary-grid .ita-metric-card strong {
    margin: 0;
    line-height: 1.12;
    text-align: left;
}

.ita-commerce-summary-grid .ita-metric-card div span {
    margin-top: 8px;
    line-height: 1.35;
    text-align: left;
}

.ita-commerce-summary-grid .ita-metric-card--text strong {
    max-width: none;
    font-size: 16px;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.ita-commerce-summary-grid .ita-metric-card--text:last-child strong {
    white-space: nowrap;
}

.ita-customer-portal-page .woocommerce-MyAccount-navigation li,
.ita-customer-portal-page .woocommerce-MyAccount-navigation-link {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.ita-customer-portal-page .woocommerce-MyAccount-navigation-link a {
    border: 0 !important;
    box-shadow: none !important;
}

.ita-customer-portal-page .woocommerce-MyAccount-navigation-link a:hover,
.ita-customer-portal-page .woocommerce-MyAccount-navigation-link a:focus-visible,
.ita-customer-portal-page .woocommerce-MyAccount-navigation-link.is-active a {
    border: 0 !important;
    box-shadow: none !important;
}

.ita-commerce-account-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}

.ita-commerce-account-strip span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 9px 12px;
    border: 1px solid rgba(92, 144, 201, 0.26);
    border-radius: 999px;
    background: rgba(14, 42, 75, 0.55);
    color: #bcd2ea;
    font-size: 13px;
}

.ita-commerce-account-strip strong {
    color: #fff;
}

.ita-commerce-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ita-downloads-heading {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
}

.ita-download-access-badge {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 7px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(35, 205, 171, 0.38);
    border-radius: 999px;
    background: rgba(14, 119, 101, 0.2);
    color: #c7fff2;
    font-size: 13px;
    font-weight: 800;
}

.ita-release-list {
    display: grid;
    gap: 18px;
}

.ita-release-card {
    padding: 24px;
    border: 1px solid rgba(87, 143, 205, 0.28);
    border-radius: 16px;
    background: rgba(9, 31, 58, 0.82);
}

.ita-release-card--latest {
    border-color: rgba(43, 168, 255, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ita-release-card__top {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.ita-release-card h3 {
    margin: 10px 0 6px;
    color: #fff;
    font-size: 22px;
}

.ita-release-date {
    margin: 0;
    color: #a9c4df;
    font-size: 14px;
}

.ita-release-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ita-release-pill {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid rgba(111, 162, 215, 0.28);
    border-radius: 999px;
    background: rgba(19, 54, 91, 0.68);
    color: #c5daef;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ita-release-pill--latest {
    border-color: rgba(35, 205, 171, 0.4);
    background: rgba(14, 119, 101, 0.2);
    color: #aaf7e5;
}

.ita-release-download {
    flex: 0 0 auto;
    white-space: nowrap;
}

.ita-release-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 0;
}

.ita-release-meta > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(87, 143, 205, 0.18);
    border-radius: 10px;
    background: rgba(4, 18, 35, 0.52);
}

.ita-release-meta dt {
    margin-bottom: 6px;
    color: #7fa3c5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ita-release-meta dd {
    margin: 0;
    color: #eef7ff;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.ita-release-hash {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ita-release-notes {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(117, 159, 203, 0.16);
}

.ita-release-notes h4 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 15px;
}

.ita-release-notes p {
    margin: 0;
    color: #bad0e6;
    line-height: 1.6;
}

.ita-download-security-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(35, 205, 171, 0.22);
    border-radius: 12px;
    background: rgba(10, 77, 68, 0.16);
}

.ita-download-security-note > span {
    font-size: 20px;
}

.ita-download-security-note strong {
    color: #fff;
}

.ita-download-security-note p {
    margin: 4px 0 0;
    color: #b8d6d0;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .ita-commerce-action-grid {
        grid-template-columns: 1fr;
    }

    .ita-commerce-summary-grid .ita-metric-card--text:last-child strong {
        white-space: normal;
    }

    .ita-downloads-heading,
    .ita-release-card__top {
        align-items: stretch;
        flex-direction: column;
    }

    .ita-download-access-badge,
    .ita-release-download {
        align-self: flex-start;
    }

    .ita-release-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ita-commerce-key-row {
        flex-direction: column;
    }

    .ita-commerce-account-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .ita-commerce-account-strip span {
        border-radius: 10px;
    }

    .ita-release-card {
        padding: 20px;
    }
}
