/* Existing field sizes and HELBIS colours, with explicit staff and VAT choices. */
.service-calculator .calc-employee-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;grid-column:1/-1;min-width:0}
.service-calculator .calc-employee-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;align-self:end;min-height:48px;height:48px;margin:0 0 16px;padding:10px 14px;border:1px solid #d2ddd6;border-radius:999px;background:#fff;cursor:pointer;font-size:16px;color:var(--ink)}
.service-calculator .calc-employee-toggle>span{margin:0;min-height:0;font-size:16px}
.service-calculator .calc-employee-toggle>input{appearance:auto;display:block;flex:none;width:22px;height:22px;min-height:0;margin:0;padding:0;accent-color:#315e60;cursor:pointer}
.service-calculator .calc-employee-count{min-width:0;margin-bottom:16px}
.service-calculator .calc-employee-count[hidden],.service-calculator .calc-vat-field>select[hidden]{display:none!important}
.service-calculator .calc-vat-field{min-width:0;margin-bottom:16px}
.service-calculator .calc-vat-field>span{display:block;font-size:13px;line-height:1.6;margin-bottom:7px}
.service-calculator .calc-vat-choices{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.service-calculator .calc-vat-choices button{display:flex;align-items:center;justify-content:center;min-width:0;height:48px;padding:10px 12px;border:1px solid #d2ddd6;border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-size:16px;line-height:1.25;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.service-calculator .calc-vat-choices button[aria-pressed="true"]{border-color:#315e60;background:#315e60;color:#fff}
.service-calculator .calc-vat-choices button:focus-visible,.service-calculator .calc-employees-enabled:focus-visible{outline:2px solid #315e60;outline-offset:3px}
@media(max-width:720px){.calculator-modal .calc-vat-field>span{font-size:12px}.service-calculator .calc-employee-count>span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.service-calculator .calc-vat-choices button{transition:none}}
.calculator-modal .calc-fields .calc-employee-group>label{grid-column:auto}
.service-calculator .calc-vat-field{align-self:end}

/* Share caption and control rows: a wrapped caption must not move its neighbour. */
.service-calculator{--calc-control-height:48px}
.service-calculator .calc-fields>label,.service-calculator .calc-fields>.calc-vat-field{display:grid;grid-template-rows:subgrid;grid-row:span 2;align-self:stretch;margin-bottom:16px;min-width:0}
.service-calculator .calc-fields>label>span,.service-calculator .calc-vat-field>span{display:block;align-self:start;min-height:0;margin:0 0 7px;line-height:1.6}
.service-calculator .calc-fields input:not([type="checkbox"]),.service-calculator .calc-fields select,.service-calculator .calc-vat-choices button,.service-calculator .calc-employee-toggle{box-sizing:border-box;height:var(--calc-control-height);min-height:var(--calc-control-height);max-height:var(--calc-control-height)}
.service-calculator .calc-employee-count{display:flex;flex-direction:column;justify-content:flex-end}
.service-calculator .calc-employee-count>span{display:block;line-height:1.6;margin:0 0 7px}
@supports not (grid-template-rows:subgrid){
 .service-calculator .calc-fields>label,.service-calculator .calc-fields>.calc-vat-field{display:flex;flex-direction:column;grid-row:auto}
 .service-calculator .calc-fields>label>span,.service-calculator .calc-vat-field>span{min-height:3.2em}
}
