#panel-shell .form-grid input:not([type=checkbox]):not([type=radio]),
#panel-shell .form-grid select, #panel-shell .form-grid textarea,
#panel-shell .admin-form-grid input:not([type=checkbox]):not([type=radio]),
#panel-shell .admin-form-grid select, #panel-shell .admin-form-grid textarea,
.action-dialog input:not([type=checkbox]):not([type=radio]), .action-dialog select, .action-dialog textarea {
  width:100%; box-sizing:border-box; min-height:44px; border:1px solid #d5dde7; border-radius:10px;
  padding:10px 12px; background:#fff; color:#172b45; font:inherit;
}
#panel-shell input[type=checkbox], #panel-shell input[type=radio],
.action-dialog input[type=checkbox], .action-dialog input[type=radio] {
  width:18px; height:18px; min-height:0; flex:0 0 18px; padding:0; margin:0; accent-color:#205e92;
}
#panel-shell .form-grid > button[type=submit], #panel-shell .admin-form-grid > button[type=submit] {
  grid-column:1 / -1; justify-self:start; width:auto; min-width:120px; min-height:42px; padding:10px 22px;
}
#panel-shell .form-field { min-width:0; display:flex; flex-direction:column; gap:7px; }
#panel-shell .record-extra { border-top:1px solid #e2e8f0; padding-top:12px; }
#panel-shell .record-extra > summary { cursor:pointer; color:#53647a; font-weight:600; padding:8px 0; }
#panel-shell .record-extra > .form-grid { margin-top:12px; }
#panel-shell .compact-record > form { border:0; box-shadow:none; margin:0; background:transparent; }
#panel-shell .table-wrap { overflow-x:auto; }
#panel-shell table { width:100%; border-collapse:collapse; }
#panel-shell th { background:#f2f6fa; color:#33465f; font-weight:700; text-align:right; }
#panel-shell th, #panel-shell td { padding:13px 14px; border-bottom:1px solid #e2e8f0; vertical-align:top; }
#panel-shell tbody tr:hover { background:#f8fafc; }
#panel-shell .customer-need-summary { max-width:360px; white-space:normal; overflow-wrap:anywhere; line-height:1.8; }
@media(max-width:640px) {
  #panel-shell .form-grid, #panel-shell .admin-form-grid { grid-template-columns:1fr; }
  #panel-shell .form-grid > .span-2, #panel-shell .admin-form-grid > .span-2 { grid-column:1; }
}
