#fdl-modal { position: fixed; inset: 0; z-index: 3000; }
#fdl-modal .fdl { width: 540px; height: 400px; max-width: 96vw; max-height: 96vh; }
.fdl-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 6px 4px 2px; }
.fdl-top { display: flex; align-items: center; gap: 6px; }
.fdl-top select { flex: 1; min-width: 0; }
.fdl-top select, .fdl-bot select, .fdl-bot input { height: 21px; padding: 0 3px; border: 0; outline: 0; background: #fff; box-shadow: var(--sunk); font: inherit; cursor: text; -webkit-user-select: text; user-select: text; }
.fdl-top select, .fdl-bot select { cursor: default; }
.fdl-top .fdl-ic { min-width: 0; width: 23px; padding: 0; display: flex; align-items: center; justify-content: center; }
.fdl-ic svg { width: 16px; height: 16px; }
.fdl-bot { display: grid; grid-template-columns: max-content 1fr 74px; align-items: center; gap: 6px 8px; }
.fdl-bot .fdl-def { outline: 1px solid #000; outline-offset: 0; }
.fdl-local { align-self: flex-start; }
.fdl-list { display: flex; flex-wrap: wrap; align-content: flex-start; padding: 2px; }
.fdl-row { display: flex; align-items: center; gap: 4px; flex: none; width: 176px; height: 18px; padding: 0 2px; border: 0; background: none; color: #000; text-align: left; cursor: default; }
.fdl-row:focus { outline: 0; }
.fdl-row svg { width: 16px; height: 16px; flex: none; }
.fdl-row span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fdl-row .nm { padding: 1px 2px; }
.fdl-row .sz, .fdl-row .ty, .fdl-row .dt, .fdl-head { display: none; }
.fdl-row.sel .nm { background: var(--sel); color: #fff; }
.fdl-row.sel:focus .nm { outline: 1px dotted #fff; }
.fdl-list.det { display: block; padding: 0; }
.fdl-list.det .fdl-head { display: grid; grid-template-columns: 210px 70px 110px 120px; width: max-content; position: sticky; top: 0; z-index: 1; }
.fdl-head button { height: 18px; padding: 0 4px; border: 0; background: var(--face); box-shadow: var(--button); text-align: left; cursor: default; }
.fdl-head button:nth-child(2) { text-align: right; }
.fdl-list.det .fdl-row { display: grid; grid-template-columns: 20px 190px 70px 110px 120px; width: max-content; }
.fdl-list.det .fdl-row .sz { display: block; text-align: right; }
.fdl-list.det .fdl-row .ty, .fdl-list.det .fdl-row .dt { display: block; }
.fdl-list.det .fdl-row .nm { justify-self: start; max-width: 100%; }
