/* Native sensor boxes remain editable and readable; no parent grid rewrite. */
:is(body #main.cws-main,.editor-styles-wrapper) .cws-sensor-engineering-section{grid-column:1/-1;min-width:0;max-width:100%;padding:clamp(20px,3vw,36px);border:1px solid var(--border);border-radius:18px;background:var(--surface)}
:is(body #main.cws-main,.editor-styles-wrapper) :is(.cws-sensor-engineering-technical,.cws-sensor-model-runtime,.cws-sensor-demo-section){padding:clamp(20px,3vw,36px);margin-block:28px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-sensor-demo{padding:clamp(20px,3vw,36px);min-width:0;max-width:100%}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-sensor-table{max-width:100%;overflow-x:auto}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-sensor-table table{min-width:560px;border-collapse:collapse;line-height:1.5}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-sensor-table :is(th,td){padding:16px;text-align:start;vertical-align:top;overflow-wrap:anywhere;border:1px solid var(--border)}
:is(body #main.cws-main,.editor-styles-wrapper) :is(.cws-sensor-cards,.cws-sensor-hardware){gap:24px;align-items:stretch}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-hardware-schematic{margin:16px 0}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-hardware-schematic img{width:100%;height:auto;object-fit:contain;border-radius:14px}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-hardware-schematic figcaption{font-size:.875em;padding-block:10px}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-sensor-action{margin:12px 12px 12px 0}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-home-cta-balanced{padding:clamp(24px,3vw,42px);min-width:0;max-width:100%}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-home-cta-columns{gap:clamp(24px,4vw,48px);align-items:center;margin-block:0}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-home-cta-balanced h2{max-width:22ch;margin-top:0;margin-bottom:20px}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-home-cta-balanced p{max-width:52ch;line-height:1.65;margin-bottom:24px}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-home-cta-image{margin:0}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-home-cta-image img{width:100%;height:auto;object-fit:contain;border-radius:14px}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-home-cta-image figcaption{font-size:.85em;line-height:1.5;padding-block:12px}

:is(body #main.cws-main,.editor-styles-wrapper) .cws-home-cta-balanced .wp-block-buttons{display:flex;flex-wrap:wrap;gap:16px}

/* C7: only the four hardware cards on the two Solutions pages, below 480px. */
@media (width < 480px){
 body:is(.page-id-96,.page-id-71) #main.cws-main .cws-sensor-engineering-card{padding-inline:0}
 body:is(.page-id-96,.page-id-71) #main.cws-main .cws-sensor-engineering-card .cws-sensor-hardware .cws-demo-card{padding-inline:2px}
}
