.work-entry-trigger {
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  flex:none; min-width:44px; min-height:44px; margin:0 .5rem .25rem;
  padding:0 .65rem; border:1px solid currentColor; border-radius:.65rem;
  background:transparent; color:inherit; font:inherit; cursor:pointer;
}
.work-entry-glass { display:inline-block; width:14px; height:14px; border:2px solid currentColor; border-radius:50%; position:relative; margin-right:3px }
.work-entry-glass::after { content:''; position:absolute; width:7px; height:2px; background:currentColor; right:-6px; bottom:-3px; transform:rotate(45deg) }
.sidebar.collapsed .work-entry-caption, .mobile-header .work-entry-caption {display:none}
.mobile-header .work-entry-trigger {margin:0 0 0 auto}
dialog.work-entry-dialog {
  box-sizing:border-box; width:min(29rem,calc(100vw - 2rem)); max-height:80vh; max-height:80dvh;
  margin:auto; padding:1rem; border:1px solid #adb5bd; border-radius:1rem;
  background:var(--bs-body-bg,Canvas); color:var(--bs-body-color,CanvasText); overflow:auto;
}
.work-entry-dialog::backdrop {background:rgba(15,23,42,.48)}
.work-entry-heading {display:flex; align-items:center; justify-content:space-between; gap:.5rem}
.work-entry-heading h2 {margin:0; font-size:1.15rem}
.work-entry-dialog input {box-sizing:border-box; width:100%; min-height:44px; margin-top:.5rem; padding:.5rem .75rem; border:1px solid #89939e; border-radius:.5rem; background:inherit; color:inherit; font:inherit}
.work-entry-status {margin:.5rem 0; font-size:.875rem}
.work-entry-results {list-style:none; margin:0; padding:0}
.work-entry-dialog button {min-height:44px; font:inherit; color:inherit; background:transparent; border:0; border-radius:.4rem; cursor:pointer}
.work-entry-results button {width:100%; text-align:start; padding:.45rem .65rem; display:flex; align-items:center; justify-content:space-between; gap:.65rem}
.work-entry-results small {font-size:.78em; flex:none}
.work-entry-results button:hover {background:rgba(127,127,127,.14)}
.work-entry-trigger:focus-visible, .work-entry-dialog :focus-visible {outline:2px solid currentColor; outline-offset:2px}
.work-entry-alias {margin-top:.25rem}
.work-entry-alias summary {display:list-item; width:fit-content; padding:.55rem .15rem; color:inherit; font-size:.875rem; cursor:pointer}
.work-entry-alias form {display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.4rem; padding:.6rem; border:1px solid #adb5bd; border-radius:.5rem}
.work-entry-alias select {grid-column:1 / -1; min-width:0; width:100%; min-height:44px; padding:0 .5rem; font:inherit; color:inherit; background:inherit}
.work-entry-alias input {min-width:0; margin:0}
.work-entry-alias button {border:1px solid currentColor; padding:0 .55rem}
.work-entry-alias-note {grid-column:1 / -1; font-size:.8rem}
.work-entry-results small {max-width:52%; overflow-wrap:anywhere; text-align:end}
