.worksheet-form.worksheet-customization {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:33rem;
  display:grid;
  gap:.95rem;
  text-align:left;
}
.worksheet-customization .worksheet-required-fields,
.worksheet-customization .worksheet-optional-fields {
  display:grid;
  gap:.9rem;
  min-width:0;
}
.worksheet-customization .worksheet-required-fields {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.worksheet-customization label {
  display:block;
  min-width:0;
  margin:0;
  line-height:1.35;
  text-wrap:pretty;
}
.worksheet-customization .worksheet-field-state {
  font-weight:normal;
  font-size:.84em;
  white-space:nowrap;
  color:var(--muted,#4e574d);
}
.worksheet-customization input:not([type=checkbox]),
.worksheet-customization select {
  box-sizing:border-box;
  display:block;
  width:100%;
  min-height:44px;
  margin:.32rem 0 0;
  padding:.52rem .62rem;
  font-size:1rem;
}
.worksheet-optional {
  border:1px solid var(--rule,#9fa89a);
  border-radius:.42rem;
  min-width:0;
}
.worksheet-optional summary {
  box-sizing:border-box;
  min-height:44px;
  padding:.65rem .77rem;
  font-weight:700;
  line-height:1.35;
  cursor:pointer;
}
.worksheet-optional[open] summary {
  border-bottom:1px solid var(--rule,#9fa89a);
}
.worksheet-optional-fields {padding:.9rem .77rem 1rem;}
.worksheet-customization .worksheet-copy-choice label {
  display:flex;
  align-items:center;
  gap:.55rem;
  min-height:44px;
  width:fit-content;
  cursor:pointer;
}
.worksheet-customization .worksheet-copy-choice label:has(input:disabled) {cursor:default;}
.worksheet-customization .worksheet-copy-choice input[type=checkbox] {
  flex:0 0 1.13rem;
  width:1.13rem;
  min-height:1.13rem;
  margin:0;
  padding:0;
  accent-color:var(--green,#233d2b);
}
.worksheet-customization .worksheet-form-hint,
.sheet .worksheet-customization .worksheet-data-note {
  margin:0;
  text-align:left;
  color:var(--muted,#4e574d);
  font-size:.86rem;
  line-height:1.5;
  text-wrap:pretty;
}
.worksheet-customization .worksheet-phone-group {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
.worksheet-customization button[type=submit] {min-height:44px;}
.worksheet-customization .library-action {display:grid;gap:.42rem;}
[data-library-email][hidden] {display:none;}
@media(max-width:410px) {
  .worksheet-customization .worksheet-required-fields,
  .worksheet-customization .worksheet-phone-group {grid-template-columns:minmax(0,1fr);}
}
/* Override the older compact single-worksheet styles at the same specificity. */
.sheet .worksheet-form.worksheet-customization {gap:.95rem;}
.sheet .worksheet-form.worksheet-customization label {line-height:1.35;}
.sheet .worksheet-form.worksheet-customization input:not([type=checkbox]) {min-height:44px;margin-top:.32rem;padding:.52rem .62rem;line-height:1.35;}
.sheet .worksheet-form.worksheet-customization .worksheet-copy-choice input[type=checkbox] {min-height:1.13rem;margin:0;padding:0;}
.library-details.worksheet-customization .worksheet-copy-choice input[type=checkbox] {min-height:1.13rem;width:1.13rem;}
