/* Campi: compact evidence and consistent action buttons. */
.field-manager>.mobile-campaign-year{display:none!important}
.advanced-information,.cadastral-reference-section,.soil-section,#cadastral-reference-editor,#soil-profile{min-width:0;max-width:100%;box-sizing:border-box}
.cadastral-reference-section h4,.soil-section h4{font-size:14px}.cadastral-reference-section p,.soil-section p{font-size:11px;line-height:1.4}
.cadastral-reference-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.65fr) minmax(0,.65fr) minmax(0,.8fr);gap:5px;margin:7px 0;padding-bottom:7px;border-bottom:1px solid #e8eee7}
.cadastral-reference-row label{min-width:0;font-size:10px;overflow:hidden}.cadastral-reference-row input{width:100%;min-width:0;min-height:34px;margin-top:3px;padding:5px 6px;font-size:11px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.cadastral-reference-actions{grid-column:1/-1;display:flex;justify-content:space-between;gap:6px;min-width:0}
.cadastral-reference-row button,#cadastral-reference-editor>[data-add-reference],#cadastral-auto-refresh,.soil-section button{min-height:34px;border:1px solid #d5ddd6;border-radius:9px;background:#f2f5f2;color:#183f28;padding:5px 9px;font:inherit;font-size:11px;font-weight:750;cursor:pointer}
#cadastral-reference-editor>[data-add-reference]{margin-top:6px}
#soil-profile:not(:empty){padding:8px;margin:8px 0;overflow:hidden}
#soil-profile .soil-card-rows{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:5px 10px;min-width:0}
#soil-profile .soil-card-rows dd{margin:0;min-width:0;text-align:right;overflow-wrap:anywhere}
#soil-profile p,#soil-profile h4{overflow-wrap:anywhere}
.project-titlebar button{min-height:34px;border:1px solid #d5ddd6;border-radius:9px;background:#f2f5f2;color:#183f28;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.desktop-library-item-actions{flex-wrap:wrap;justify-content:flex-end}.desktop-library-item-actions button{white-space:nowrap}
@media(max-width:800px),(max-width:1100px) and (pointer:coarse){
 #mobile-app .cadastral-reference-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 #mobile-app #cadastral-reference-editor .cadastral-reference-row label:first-child{grid-column:auto}
 #mobile-app .cadastral-reference-row .cadastral-reference-actions{grid-column:1/-1}
 #mobile-app #mobile-save-fields{width:100%;min-height:44px;margin:0 0 14px}
 #mobile-app .mobile-field-entry{margin-bottom:12px}
 #mobile-app .mobile-field-row-actions{display:flex;justify-content:flex-end;gap:8px;padding:6px 2px}
 #mobile-app .mobile-field-row-actions button{min-height:40px;padding:7px 14px;border:1px solid #d6dfd5;border-radius:10px;background:#fff;color:#183f28;font:inherit;font-size:12px;font-weight:750}
}
