.apd-app-summary {
    margin: 1rem 0;
    padding: clamp(16px, 3.5vw, 28px);
    color: #fff;
    background: linear-gradient(120deg, #142a57 0%, #203b73 60%, #15565b 100%);
    border: 1px solid #263d6b;
    border-radius: 20px;
    box-shadow: 0 10px 24px #182e571c;
}
.apd-app-summary-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
}
.apd-app-summary .apd-app-summary-top h2 {
    margin: 0 0 6px;
    color: #eaf1ff;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
}
.apd-app-summary .apd-app-amount {
    margin: 0;
    color: #fff;
    font-size: clamp(1.6rem, 4.2vw, 2.65rem);
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: anywhere;
}
.apd-app-summary .apd-app-action {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #ffe3af;
    border-radius: 12px;
    background: #ffdd9e;
    color: #27314a;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}
.apd-app-summary .apd-app-action:hover {
    background: #fff0cb;
    color: #152743;
}
.apd-app-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
    gap: 8px;
    margin: 16px 0 0;
}
.apd-app-stats > div {
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid #dceaff44;
    border-radius: 12px;
    background: #eef6ff14;
}
.apd-app-stats dt { font-size: .9rem; line-height: 1.25; }
.apd-app-stats dd {
    margin: 3px 0 0;
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.apd-app-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 112px), 1fr));
    gap: 8px;
    margin: 1rem 0;
}
.apd-home .apd-app-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.apd-app-menu .apd-app-tile {
    display: flex;
    min-width: 0;
    min-height: 80px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid #d4dfed;
    border-radius: 14px;
    background: #fff;
    color: #243758;
    font: inherit;
    font-size: .9rem;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.apd-app-menu .apd-app-tile:hover {
    border-color: #4b69a1;
    background: #f1f6ff;
    color: #1b3563;
}
.apd-app-tile:focus-visible, .apd-app-action:focus-visible {
    outline: 3px solid #3d72c9;
    outline-offset: 3px;
}
.apd-app-action:focus-visible { outline-color: #fff; }
.apd-app-icon.dashicons {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: #e7efff;
    color: #204e9b;
}
.apd-app-icon--teal.dashicons { background: #e2f4ee; color: #196455; }
.apd-app-icon--orange.dashicons { background: #fff0db; color: #82490d; }
.apd-app-icon--purple.dashicons { background: #f0e9f8; color: #624091; }
.apd-app-summary + .apd-app-menu { margin-top: 8px; }
#dashboard-order-link[hidden] { display: none; }
.apd-home-price {
    display: block;
    margin: -6px 11px 11px;
    color: #22477a;
    font-size: .9rem;
    font-weight: 750;
}
.apd-home-packages { flex-basis: 100%; margin: 0 2px 7px; }
.apd-home-packages li { margin: 4px 0; }
.apd-app-table-start { scroll-margin-top: 100px; }
@media (max-width: 560px) {
    .apd-home .apd-app-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
