/*
 * Touch targets for the public pages (marketing, auth, legal, SEO, tools).
 *
 * Each public page carries its own stylesheet, so the 44px floor the app
 * shell got (billbase.css, pointer: coarse) never reached them. The
 * product-completion audit measured, at a true 390px touch viewport: footer
 * link lists 16-31px tall, brand/logo links 28-31px, the landing comparison
 * tabs 34px, "Forgot password?" 15px, form selects 42px.
 *
 * Coarse pointers only: a desktop with a mouse keeps its layout exactly.
 * Hit areas grow by padding, not by changing font size or column widths.
 */
@media (pointer: coarse) {
    /* Standalone links only. A first version also forced footer link lists
       to inline-flex, which ran block links together on one line ("Billing
       Inventory GST") -- changing a link's display without knowing its
       layout is not safe, so footer lists are left as they were (see the
       product-completion report: remaining items). */
    a.back, .back-link, form a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    /* Brand links are already flex/block in every header; height only. */
    a[class*="brand"], a[class*="logo"] { min-height: 44px; }
    .cmp-tab, .tab-btn, .segmented > * { min-height: 44px; }
    select,
    input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),
    textarea { min-height: 44px; }
    input[type=checkbox], input[type=radio] { width: 22px; height: 22px; }
}
