.ifc-options { margin: 0 0 1.5em; display: grid; gap: 1.1em; width: 100%; }
.ifc-field.ifc-hidden { display: none !important; }
.ifc-label { display: block; font-weight: 600; margin: 0 0 .35em; }
.ifc-label .required { color: #e2401c; text-decoration: none; border: 0; }
.ifc-help { margin: -.15em 0 .45em; font-size: .9em; opacity: .8; }
.ifc-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ifc-fieldset legend { padding: 0; }
.ifc-options select,
.ifc-options input[type="text"],
.ifc-options input[type="number"],
.ifc-options textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
/* Dark theme: keep dropdown choices readable. */
.ifc-options select option { color: #111; background: #fff; }
.ifc-choices { display: grid; gap: .4em; }
.ifc-choice { display: flex; align-items: flex-start; gap: .5em; cursor: pointer; font-weight: normal; }
.ifc-choice input { margin-top: .25em; flex: none; }
.ifc-single { font-weight: 600; }
.ifc-unit-price { display: inline-block; margin-top: .3em; font-size: .9em; opacity: .8; }
.ifc-heading { margin: .5em 0 0; }
.ifc-totals { border-top: 1px solid currentColor; border-color: rgba(127,127,127,.35); padding-top: .75em; display: grid; gap: .25em; }
.ifc-totals[hidden] { display: none; }
.ifc-totals-row { display: flex; justify-content: space-between; }
.ifc-totals-grand { font-weight: 700; font-size: 1.1em; }
