/*
 * Sworld Operations Hub / TQ-01
 * Scope strictly to the WordPress CRM dashboard. Keep existing brand tokens,
 * type scale, nav/sidebar, chart, billing and customer components unchanged.
 */
body.swcrm-tq01-dashboard .swcrm11n-page .swcrm11n-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
}

/* A short left-hand handoff list must not expand to the height of the right list. */
body.swcrm-tq01-dashboard .swcrm11n-page .swcrm11n-grid > .swcrm11n-panel {
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    height: auto;
    align-self: start;
}

/* Avoid text/link collision at narrower content widths. */
body.swcrm-tq01-dashboard .swcrm11n-page .swcrm11n-panel-head {
    flex-wrap: wrap;
}

body.swcrm-tq01-dashboard .swcrm11n-page .swcrm11n-panel-head > :first-child {
    min-width: 0;
}

@media (max-width: 900px) {
    body.swcrm-tq01-dashboard .swcrm11n-page .swcrm11n-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
