html #f .general-grid.general-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 12px!important;border-top:0!important;margin-top:16px!important}
html #f .general-grid.general-cards .general-check-row{grid-template-columns:minmax(0,1fr) 64px!important;gap:8px!important;min-height:64px!important;padding:10px 11px!important;border:1px solid #e8ede4!important;border-radius:10px!important;background:#fafcf8!important;box-sizing:border-box}
html #f .general-grid.general-cards .general-check-label{display:grid!important;grid-template-columns:16px 18px minmax(0,1fr)!important;gap:7px!important;font-size:12px!important;font-weight:500!important;line-height:1.35!important;align-items:center!important}
html #f .general-grid.general-cards input.general-check{width:16px!important;height:16px!important;min-height:16px!important;flex-basis:16px!important}
html #f .general-grid.general-cards .general-line-icon{display:block;width:18px;height:18px;color:#84917b;pointer-events:none}
html #f .general-grid.general-cards .general-line-icon svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
html #f .general-grid.general-cards .general-number-wrap{gap:4px!important;justify-content:flex-end}
html #f .general-grid.general-cards .general-number{width:46px!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:4px!important;font-size:14px!important;border:1px solid #dce4d5!important;border-radius:7px!important;background:white!important}
html #f .general-grid.general-cards .general-number-wrap .unit{font-size:10px;min-width:14px}
html #f .general-grid.general-cards .general-boolean .general-check-label{grid-column:1 / -1!important}
html #f .general-grid.general-cards .general-check-row:has(.general-check:checked){border-color:#c9daba!important;background:#f2f8e9!important}
html #f .general-grid.general-cards .general-check-row:has(.general-check:checked) .general-line-icon{color:#5b7d3c}
html #f .general-compact .section-title{font-size:20px!important;line-height:1.2!important}
html #f .general-compact .setup-sub{font-size:12px!important;line-height:1.45!important;margin-top:5px!important}
html #f .general-compact .general-actions{margin-top:14px!important;padding-top:12px!important}
@media(max-width:680px){html #f .general-grid.general-cards{grid-template-columns:1fr!important;gap:7px!important}html #f .general-grid.general-cards .general-check-row{min-height:56px!important;padding:9px 10px!important}html #f .general-grid.general-cards .general-check-label{font-size:13px!important}html #f .general-grid.general-cards .general-number{font-size:16px!important;min-height:36px!important;height:36px!important}}

/* V14: unboxed rows, ordered by column and directly editable measurements. */
html #f .general-grid.general-cards{gap:0 24px!important}
html #f .general-grid.general-cards .general-check-row,html #f .general-grid.general-cards .general-check-row:has(.general-check:checked){grid-template-columns:minmax(0,1fr) 94px!important;min-height:52px!important;padding:9px 0!important;border:0!important;border-bottom:1px solid #edf0e9!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html #f .general-grid.general-cards .general-check-row[data-general-key=quadro]{grid-column:1;grid-row:1}html #f .general-grid.general-cards .general-check-row[data-general-key=caldaia]{grid-column:1;grid-row:2}html #f .general-grid.general-cards .general-check-row[data-general-key=porte]{grid-column:1;grid-row:3}html #f .general-grid.general-cards .general-check-row[data-general-key=portoncino]{grid-column:1;grid-row:4}html #f .general-grid.general-cards .general-check-row[data-general-key=clima]{grid-column:2;grid-row:1}html #f .general-grid.general-cards .general-check-row[data-general-key=dem_tramezzi]{grid-column:2;grid-row:2}html #f .general-grid.general-cards .general-check-row[data-general-key=nuovi_tramezzi]{grid-column:2;grid-row:3}html #f .general-grid.general-cards .general-check-row[data-general-key=controsoffitto]{grid-column:2;grid-row:4}
html #f .general-grid.general-cards .general-area-row .general-number{width:74px!important;appearance:textfield!important;-moz-appearance:textfield!important;text-align:right!important;padding-right:9px!important}
html #f .general-grid.general-cards .general-area-row .general-number::-webkit-inner-spin-button,html #f .general-grid.general-cards .general-area-row .general-number::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important;display:none!important}
html #f .general-grid.general-cards .general-count-row .general-number{width:54px!important;appearance:auto!important;-moz-appearance:auto!important}
html #f .general-grid.general-cards .general-count-row .general-number::-webkit-inner-spin-button{opacity:1!important}
html #f .general-grid.general-cards .general-number:focus{outline:2px solid #b4cf96;outline-offset:1px}
@media(max-width:680px){html #f .general-grid.general-cards .general-check-row{grid-column:auto!important;grid-row:auto!important;min-height:50px!important}html #f .general-grid.general-cards{gap:0!important}}
