@media (max-width: 1180px) {
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-grid {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }
  .support-primary {
    grid-row: span 2;
  }
  .support-card:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 920px) {
  .account-shell {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: fixed;
    z-index: 30;
    left: 0;
    width: min(300px, 86vw);
    transform: translateX(-105%);
    transition: transform 180ms ease;
    box-shadow: 16px 0 50px rgb(0 0 0 / 22%);
  }
  .account-sidebar.is-open {
    transform: translateX(0);
  }
  .account-main {
    padding-top: 18px;
  }
  .account-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
  }
  .account-mobile-head .account-brand {
    padding: 0;
  }
  .account-mobile-head .account-brand img {
    width: 122px;
    filter: none;
  }
  .account-mobile-head button {
    padding: 9px 13px;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    background: #f8f5ee;
    font-weight: 700;
  }
  .account-metrics {
    grid-template-columns: 1fr;
  }
  .dashboard-storefront-callout { grid-template-columns: 58px 1fr; }
  .dashboard-storefront-callout > a { grid-column: 2; justify-self: start; }
  .account-metric {
    border-right: 0;
    border-bottom: 1px solid var(--portal-line);
  }
  .product-summary {
    grid-template-columns: 130px 1fr;
  }
  .product-art img {
    width: 130px;
    height: 100px;
  }
  .product-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .operations-grid {
    grid-template-columns: 1fr;
  }
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-primary {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .support-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .account-main {
    padding: 14px 12px 55px;
  }
  .account-mobile-head {
    margin: 0 7px 30px;
  }
  .account-page-head {
    align-items: start;
  }
  .account-page-head > .portal-button,
  .account-limit {
    display: none;
  }
  .account-page-head h1 {
    font-size: 42px;
  }
  .account-hero {
    grid-template-columns: 1fr;
    min-height: 310px;
    padding: 28px;
  }
  .account-hero::after {
    right: -150px;
    bottom: -190px;
  }
  .account-usage-ring {
    width: 105px;
    height: 105px;
    margin-top: 28px;
    padding: 19px;
  }
  .account-metric {
    padding: 16px 18px;
  }
  .dashboard-products {
    grid-template-columns: 1fr;
  }
  .dashboard-product {
    grid-template-columns: 64px 1fr;
  }
  .dashboard-product img {
    width: 64px;
    height: 62px;
  }
  .dashboard-product button,
  .dashboard-product > .account-state {
    grid-column: 1 / -1;
  }
  .account-empty-state {
    grid-template-columns: 44px 1fr;
  }
  .dashboard-storefront-callout { grid-template-columns: 46px 1fr; padding: 15px; }
  .dashboard-storefront-icon { width: 46px; height: 46px; }
  .account-empty-state > button {
    grid-column: 1 / -1;
  }
  .account-ready-grid,
  .billing-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .product-summary {
    grid-template-columns: 82px 1fr;
    gap: 14px;
  }
  .product-art img {
    width: 82px;
    height: 82px;
  }
  .product-copy h2 {
    font-size: 22px;
  }
  .product-copy p {
    display: none;
  }
  .capability-block {
    padding: 14px;
  }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .capability-row {
    min-height: 88px;
  }
  .capability-heading > span {
    display: none;
  }
  .operations-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .operations-flow article:nth-child(2) {
    border-right: 0;
  }
  .operations-flow article:nth-child(-n + 2) {
    border-bottom: 1px solid #41413d;
  }
  .operation-rows article {
    grid-template-columns: 1fr auto;
  }
  .operation-rows article > .account-state:last-child {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .support-primary {
    grid-column: auto;
  }
  .account-settings-card {
    align-items: start;
    flex-direction: column;
  }
  .account-settings-card > div:last-child {
    width: 100%;
    justify-content: space-between;
  }
}
