#sterncore-history-card [hidden] { display: none !important; }
#sterncore-history-card button {
    border: 1px solid rgb(0 245 255 / .35);
    border-radius: .5rem;
    padding: .5rem .85rem;
    color: #00f5ff;
    font-size: .875rem;
}
#sterncore-history-card button:hover { background: rgb(0 245 255 / .08); }
#sterncore-history-card button:disabled { opacity: .35; cursor: default; }
#sterncore-history-card :is(button, input, summary):focus-visible { outline: 2px solid #00f5ff; outline-offset: 4px; }
.purchase-history-toolbar, #sterncore-history-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}
.purchase-history-toolbar { margin-bottom: 1rem; }
#sterncore-history-month { color-scheme: dark; background: #0a0a0f; border: 1px solid #374151; border-radius: .5rem; padding: .4rem; max-width: 100%; }
#sterncore-history-hide { margin-left: auto; }
#sterncore-history-totals { padding: .75rem 0; font-size: .875rem; color: #9ca3af; }
#sterncore-history-totals strong { color: #fff; font-weight: 500; }
.purchase-history-period { color: #00f5ff; margin-bottom: .25rem; }
#sterncore-history-orders { list-style: none; padding: 0; margin: 0; }
.purchase-history-order { display: grid; grid-template-columns: 1.2fr .85fr 1fr; gap: 1rem; border-top: 1px solid rgb(255 255 255 / .1); padding: 1rem 0; font-size: .875rem; overflow-wrap: anywhere; }
.purchase-history-order > div { min-width: 0; }
.purchase-history-order :is(strong, span, small, time) { display: block; }
.purchase-history-order strong { color: #fff; font-weight: 500; }
.purchase-history-order :is(small, time) { color: #9ca3af; margin-top: .2rem; font-size: .75rem; }
.purchase-history-order .purchase-history-test { color: #fcd34d; }
#sterncore-history-pagination { justify-content: center; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 1rem; }
#sterncore-history-page { font-size: .75rem; color: #9ca3af; }
@media (max-width: 600px) {
    .purchase-history-order { grid-template-columns: 1fr 1fr; gap: .6rem; }
    .purchase-history-order > div:last-child { grid-column: 1 / -1; }
    #sterncore-history-hide { margin-left: 0; }
    #sterncore-history-pagination { gap: .5rem; }
    #sterncore-history-page { order: -1; width: 100%; text-align: center; }
}
