
/* Five shields: shared large controls and fixed notices */
.legal-calculator :is(input:not([type=checkbox]),select){min-height:54px;height:54px;width:100%;font-size:16px;padding:10px 12px;border:1px solid #647781;border-radius:8px;background:#fff;color:#111c24;box-sizing:border-box}
.legal-calculator .tool-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:6px;background:#111c24;border-radius:12px}
.legal-calculator .tool-tabs button{flex:1 1 170px;min-height:54px;padding:12px;border:1px solid #c9a66b;background:#111c24;color:#fff;border-radius:8px}
.legal-calculator .tool-tabs button[aria-pressed=true]{background:#c9a66b;color:#111c24;font-weight:700}
.legal-calculator .tool-fixed-notice{display:block;border-left:3px solid #c9a66b;padding:12px 16px;margin:16px 0;background:#111c24;color:#fff;font-size:14px;line-height:1.6}
.legal-calculator .tool-fixed-notice p{color:inherit;margin:4px 0}
.legal-calculator .tool-local-notice,.legal-calculator .tool-source{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.legal-calculator .tool-range{font-weight:700;font-size:1.2rem;color:#c9a66b}
.legal-calculator .tool-result{display:block;min-width:0;overflow-wrap:anywhere;padding:20px;background:#111c24;color:#fff;border:1px solid #c9a66b;border-radius:12px}
.legal-calculator :focus-visible{outline:3px solid #c9a66b;outline-offset:3px}

body :is(#simulatore,#simulator,#preliminary-tool).legal-calculator :is(input:not([type=checkbox]),select){height:54px!important;min-height:54px!important;font-size:16px!important}
body :is(#simulatore,#simulator,#preliminary-tool).legal-calculator .tool-tabs{background:#111c24!important}
body :is(#simulatore,#simulator,#preliminary-tool).legal-calculator .tool-tabs button{min-height:54px;background:#111c24!important;color:#fff!important}
body :is(#simulatore,#simulator,#preliminary-tool).legal-calculator .tool-tabs [aria-pressed=true]{background:#c9a66b!important;color:#111c24!important}
body :is(#simulatore,#preliminary-tool).legal-calculator label:has(select:is(#area,#rachide_cervicale,#rachide_lombare,#spalla,#gomito_polso,#ginocchio,#caviglia,#cranio_neuro)){grid-column:1/-1!important}
