/* Narrow-screen corrections. Load after component styles; navigation has its own owner. */
@media screen and (max-width:700px){
 /* Existing fields inherit 12–14px labels; 16px avoids automatic focus zoom on iOS. */
 .home-company-search input,
 .company-filters :is(input,select),
 .calculator-inputs input,
 .jewellery-filters :is(input,select),
 .diamond-page-refine :is(input,select),
 .drhp-filters :is(input,select),
 .elite-account :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea),
 .contact-box :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea){font-size:16px}
 /* Flex headings previously kept a nonwrapping link beside a large title. */
 .jewellery-section-line,.jewel-related-heading{flex-wrap:wrap;align-items:flex-start;gap:12px}
 .jewellery-section-line>h2,.jewel-related-heading>div{min-width:0;max-width:100%}
 .jewellery-section-line>a,.jewel-related-heading>a{white-space:normal;overflow-wrap:anywhere;min-height:44px;display:inline-flex;align-items:center}
 /* Actual component rules used 30–42px controls. Keep separated touch targets. */
 .jewellery-category-nav a,.jewel-gallery-photo>a,
 .elite-account .elite-password-toggle,.company-pagination .page-numbers,
 .company-filters .company-clear,.market-intent-links a{min-height:44px}
 .company-pagination .page-numbers{min-width:44px}
 .price-history-data summary,.drhp-method summary,.market-questions summary{min-height:44px;align-content:center}
 .home-business-content .text-link{display:inline-flex;align-items:center;min-height:44px}
 /* Prevent long account IDs and real source text from widening grid tracks. */
 .elite-account-content,.elite-account-brand,.about-company-intro,
 .diamond-page-refine label{min-width:0}
 .diamond-page-refine :is(input,select){box-sizing:border-box;width:100%;max-width:100%;min-width:0}
 .jewel-source-notes .entry-content,.contact-layout>div{min-width:0;overflow-wrap:anywhere}
 .jewel-published-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
 .jewel-published-table table{min-width:0;width:100%;table-layout:fixed}
 .jewel-published-table :is(th,td){overflow-wrap:anywhere}
 .elite-account-status{white-space:normal;max-width:100%}
}
@media screen and (max-width:390px){
 /* Two product columns leave under 130px per card after padding on small phones. */
 .jewellery-product-grid{grid-template-columns:minmax(0,1fr)}
 .jewel-related-grid{grid-template-columns:minmax(0,1fr)}
 .home-business-grid{grid-template-columns:minmax(0,1fr)}
 .home-business-content{min-height:0}
 .home-refined .home-business-content h2{min-height:0}
 .home-business-image{height:150px}
 .market-spotlight-grid{grid-template-columns:minmax(0,1fr)}
 .market-spotlight{display:grid;grid-template-columns:62px minmax(0,1fr);min-height:0;gap:8px 14px;padding:16px}
 .market-spotlight-logo{grid-row:span 2;width:62px;height:62px}
 .market-spotlight>strong{font-size:14px}
 .market-spotlight-link{font-size:11px}
 .market-starting-heading{flex-wrap:wrap;gap:12px}
 .market-starting-heading>span{text-align:left;max-width:none}
}
