/* TechMac T3 — compact mobile listing, enabled on mobile/tablet only.
   Does not alter desktop table, ACF import, leasing iframe or inquiry JavaScript.
   Deployments managed by guarded GitHub Actions FTPS pipeline (T9).
   Automated release receipts tracked in GitHub Issue #4. */
@media (max-width: 1023px) {
  body .mobile-view .csv-cards-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin-bottom: 16px;
  }
  body .mobile-view .csv-category-header {
    grid-column: 1 / -1;
    margin: 16px 0 0;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.25;
  }
  body .mobile-view .csv-category-header:first-child { margin-top: 0; }
  body .mobile-view .csv-card.tmc-compact-card {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 11px 11px 10px 12px;
    border: 1px solid #e2e6e9;
    border-left: 3px solid #06ce16;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(30, 40, 50, .05);
    overflow: visible;
    transform: none;
  }
  body .mobile-view .csv-card.tmc-compact-card::before { display: none; }
  body .mobile-view .csv-card.tmc-compact-card:hover {
    transform: none;
    border-color: #e2e6e9;
    border-left-color: #06ce16;
    box-shadow: 0 1px 3px rgba(30, 40, 50, .05);
  }
  body .mobile-view .tmc-compact-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
  }
  body .mobile-view .tmc-compact-card__model {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #202328;
    font-size: 14.5px;
    font-weight: 740;
    line-height: 1.34;
    overflow-wrap: anywhere;
  }
  body .mobile-view .tmc-compact-card__id {
    flex: 0 0 auto;
    padding: 5px 7px;
    border-radius: 7px;
    background: #f1f3f4;
    color: #69717a;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.1;
  }
  body .mobile-view .tmc-compact-card__facts {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 8px 0 0;
    color: #394047;
    font-size: 12px;
    font-weight: 450;
    line-height: 1.32;
  }
  body .mobile-view .tmc-compact-card__facts-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 16px;
    min-width: 0;
  }
  body .mobile-view .tmc-compact-card__label {
    color: #7a8188;
    font-weight: 550;
    margin-right: 3px;
  }
  body .mobile-view .tmc-compact-card__condition.product-status {
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: inherit;
    line-height: inherit;
    font-weight: 650;
  }
  body .mobile-view .tmc-compact-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 7px;
    margin: 8px 0 0;
    padding: 7px 0 0;
    border-top: 1px solid #eff0f1;
  }
  body .mobile-view .tmc-compact-card__price {
    margin: 0;
    color: #08b829;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.4px;
  }
  body .mobile-view .tmc-compact-card__currency {
    color: #7e858c;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0;
  }
  body .mobile-view .tmc-compact-card__vat {
    flex: 0 0 auto;
    border-radius: 6px;
    padding: 4px 7px;
    background: #edfaee;
    color: #16962c;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
  }
  body .mobile-view .tmc-compact-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 9px 0 0;
  }
  body .mobile-view .tmc-compact-card__actions .refurbished-action-btn {
    box-sizing: border-box;
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 7px 5px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
    white-space: normal;
    text-align: center;
  }
  body .mobile-view .tmc-compact-card__actions .refurbished-action-btn--leasing {
    background: #eafaed;
    border-color: #a4e4ad;
    color: #123e1a;
  }
  body .mobile-view .tmc-compact-card__actions .refurbished-action-btn--contact {
    background: #f7f8f9;
    border-color: #d7dde0;
    color: #202328;
  }
  body .mobile-view .tmc-compact-card__actions .refurbished-action-btn__arrow {
    flex: 0 0 auto;
    font-size: 12px;
  }
  body .mobile-view .tmc-compact-card__actions .refurbished-action-btn:focus-visible {
    outline: 2px solid #1666c1;
    outline-offset: 2px;
  }
}
