/* Separate adjacent business records inside dropdown results, not calendar controls. */
.filter-options.ui-record-options > button + button {
  border-top: 1px solid #d8d3e3;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Business record choices: one record per block; never affect calendar controls. */
.filter-menu:has(.ui-record-options) { border-color:#cfc8df; }
.filter-menu:has(.ui-record-options) > .search-main {
  padding-bottom:8px;
  border-bottom:1px solid #ded9e8;
}
.filter-options.ui-record-options > button {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:5px;
  padding:10px;
  border-radius:0;
  line-height:1.45;
  min-width:0;
}
.ui-record-heading { display:flex;align-items:flex-start;gap:8px;min-width:0; }
.ui-record-name { flex:1;min-width:0;color:#393544;font-weight:600; }
.ui-record-kind { flex:none;padding:2px 5px;border-radius:4px;background:#f2eff8;color:#706185;font-size:11px;white-space:nowrap;font-weight:400; }
.ui-record-name,.ui-record-description { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:normal; }
.ui-record-description { color:#696373;font-size:12px;font-weight:400; }
.ui-record-meta { display:flex;flex-wrap:wrap;gap:3px 10px;align-items:baseline;color:#85808d;font-size:11px;font-weight:400;min-width:0; }
.ui-record-meta > span { max-width:100%;overflow-wrap:anywhere; }
.ui-record-quantity strong { color:#51465e;font-weight:600;font-variant-numeric:tabular-nums; }
.filter-options.ui-record-options > button:focus-visible { outline:2px solid #b8b0ee;outline-offset:-2px; }


.record-summary{margin:12px 0;border-top:1px solid #ded9e8;padding-top:8px;font-size:12px;min-width:0;}
.record-summary>summary{padding:8px 0;cursor:pointer;font-weight:600;}
.record-summary p{margin:6px 0;overflow-wrap:anywhere;}
.linked-record-row{display:grid;gap:4px;padding:10px 2px;border-bottom:1px solid #ded9e8;font-size:12px;line-height:1.5;overflow-wrap:anywhere;}
.record-copy{border:0;background:transparent;color:#6653c9;font:inherit;font-size:12px;padding:6px;min-height:36px;}
