/* AKBSTOCK Customer Portal - Responsive */
@media (max-width: 1100px) {
    .akbstock-summary-grid, .akbstock-future-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .akbstock-portal-shell { grid-template-columns:1fr; overflow:visible; }
    .akbstock-portal-sidebar { position:fixed; z-index:9999; top:0; left:0; bottom:0; width:280px; transform:translateX(-105%); transition:transform .2s ease; box-shadow:var(--akb-shadow); }
    .akbstock-customer-portal.is-menu-open .akbstock-portal-sidebar { transform:translateX(0); }
    .akbstock-portal-workspace { padding:0 18px 26px; }
    .akbstock-mobile-menu-toggle { display:inline-flex; }
    .akbstock-portal-search { max-width:none; }
    .akbstock-portal-user-name { display:none; }
}
@media (max-width: 600px) {
    .akbstock-summary-grid, .akbstock-future-grid, .akbstock-credit-placeholder-grid { grid-template-columns:1fr; }
    .akbstock-portal-topbar { gap:10px; }
    .akbstock-portal-greeting h1 { font-size:27px; }
    .akbstock-dashboard-panel { padding:18px; }
    .akbstock-download-row { grid-template-columns:46px 1fr; }
    .akbstock-download-row .akbstock-button { grid-column:1 / -1; width:100%; }
}
@media (max-width: 900px) {
    .akbstock-free-credit-layout {
        grid-template-columns:1fr;
    }
}
@media (max-width: 600px) {
    .akbstock-free-credit-meta-grid {
        grid-template-columns:1fr;
    }
    .akbstock-free-credit-ring {
        width:160px;
        height:160px;
    }
    .akbstock-free-credit-ring::before {
        inset:14px;
    }
    .akbstock-free-credit-ring-inner strong {
        font-size:38px;
    }
    .akbstock-free-credit-visual-copy h3 {
        font-size:21px;
    }
}

/* V0.3.12 — dashboard responsiveness. Desktop remains a single row. */
@media (max-width: 1280px) {
    .akbstock-dashboard-hero-row {
        grid-template-columns:repeat(3,minmax(130px,1fr)) minmax(160px,1.05fr);
        gap:10px;
    }
    .akbstock-dashboard-mini-card { padding:13px; }
    .akbstock-dashboard-mini-card strong { font-size:16px; }
    .akbstock-dashboard-free-card { padding:10px 12px; }
    .akbstock-dashboard-free-ring { width:68px; height:68px; flex-basis:68px; }
    .akbstock-dashboard-free-ring-inner strong { font-size:21px; }
}
@media (max-width: 1100px) {
    .akbstock-dashboard-hero-row {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 720px) {
    .akbstock-dashboard-hero-row { grid-template-columns:1fr 1fr; }
    .akbstock-dashboard-free-card { grid-column:1 / -1; }
}
@media (max-width: 480px) {
    .akbstock-dashboard-hero-row { grid-template-columns:1fr; }
    .akbstock-dashboard-free-card { grid-column:auto; }
    .akbstock-dashboard-usage-head { align-items:flex-start; flex-direction:column; gap:2px; }
}

/* V0.3.15 — paid credit circle responsive sizing */
@media (max-width: 1280px) {
    .akbstock-dashboard-paid-card { padding:10px 12px; }
    .akbstock-dashboard-paid-ring { width:68px; height:68px; flex-basis:68px; }
    .akbstock-dashboard-paid-ring-inner strong { font-size:21px; }
}
