.lj-popover{position:fixed;z-index:80;box-sizing:border-box;visibility:hidden;overflow-y:auto;overscroll-behavior:contain;padding:16px;background:#fffdf8;color:#393d31;border:1px solid #dce0cf;border-radius:14px;box-shadow:0 14px 44px #27301b24,0 2px 8px #27301b0c;font-family:inherit;font-size:13px;line-height:1.5;transform-origin:var(--lj-popover-origin,20px 20px)}
.lj-popover.is-ready{visibility:visible;animation:lj-popover-in 110ms cubic-bezier(.23,1,.32,1)}
.lj-popover[data-keyboard=true]{animation:none}
.lj-popover .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid #ececdd}
.lj-popover .dialog-head h2{font-size:16px;margin:0;line-height:1.5}.lj-popover .dialog-head .icon-button{width:28px;height:28px;flex:none}
.lj-popover .dialog-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #ececdd;padding-top:12px;margin-top:14px}.lj-popover .dialog-actions .button{min-height:34px;font-size:12px}
.lj-popover .form-stack{gap:12px}.lj-popover .form-stack>label,.lj-popover .field-grid>label{display:flex;flex-direction:column;gap:5px;font-size:12px}
.lj-popover input:not([type=checkbox]):not([type=radio]),.lj-popover select,.lj-popover textarea{max-width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:8px 9px;border:1px solid #dce0cf;border-radius:7px;background:#fff;color:inherit}
.lj-popover .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lj-popover .field-grid .full{grid-column:1/-1}
.lj-popover .check-label{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:7px;font-size:11px}.lj-popover .check-label input{flex:none;margin-top:3px}
.lj-popover svg{width:16px;height:16px;flex:none}.lj-popover button{cursor:pointer}.lj-popover button:disabled{opacity:.45;cursor:not-allowed}
.lj-panel-back{margin:-3px 0 10px}.lj-panel-back button{display:flex;align-items:center;gap:5px;border:0;background:none;padding:3px 0;color:#738066;font-size:11px}
.lj-action-identity{display:flex;flex-direction:column;gap:3px;margin-bottom:14px}.lj-action-identity strong{font-size:14px;overflow-wrap:anywhere}.lj-action-identity small{font-size:11px;color:#8a927f}
.lj-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:10px}.lj-action-grid button{display:flex;align-items:center;gap:6px;text-align:left;min-height:42px;padding:8px;border:1px solid #e0e4d6;border-radius:8px;background:#f6f8f0;color:#4a5540;font:inherit;font-size:11px}
.lj-action-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.lj-action-list button{display:flex;align-items:center;gap:7px;padding:8px 6px;background:none;border:0;border-radius:6px;color:#58634f;text-align:left;font:inherit;font-size:12px}.lj-action-list button:hover,.lj-action-grid button:hover{background:#ebefdf}
.lj-external-entry{display:flex;flex-direction:column;gap:5px;padding:11px;background:#f3f5eb;border:1px solid #e4e7d7;border-radius:9px}.lj-external-entry strong{font-size:12px}.lj-external-entry span{font-size:11px;color:#7e8871}.lj-external-entry .button{align-self:flex-start;margin-top:3px;min-height:32px;font-size:12px}
.lj-source-filter{display:flex;gap:3px;padding:3px;background:#eff2e8;border-radius:7px}.lj-source-filter button{flex:1;border:0;background:none;color:#78836b;padding:5px;font:inherit;font-size:11px;border-radius:5px}.lj-source-filter button.active{background:#fff;color:#3e4c34;box-shadow:0 1px 3px #29341c0e}
.lj-popover .lineage-candidate-list{max-height:min(250px,35dvh);overflow-y:auto;margin:0}.lj-popover .lineage-candidate{padding:8px;min-height:46px;border-radius:7px}.lj-popover .lineage-candidate>span{min-width:0}.lj-popover .lineage-candidate strong,.lj-popover .lineage-candidate small{overflow-wrap:anywhere}
.lj-candidate-pages{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:10px;color:#89927c}.lj-candidate-pages>span:first-child{margin-right:auto}.lj-candidate-pages button{font:inherit;border:1px solid #e1e5d5;background:#fffdf8;border-radius:5px;padding:4px 6px;color:#58664c}
.lj-info-note{white-space:pre-wrap;overflow-wrap:anywhere}.lj-edit-information{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:9px;border:1px solid #dce2d1;border-radius:7px;background:#ecf0e2;color:#586a45;font:inherit;font-size:12px}
.lj-inline-history section+section{border-top:1px solid #e3e6d9;margin-top:15px;padding-top:12px}.lj-inline-history h3{font-size:12px;margin:0 0 9px}.lj-history-row{display:flex;align-items:center;gap:8px;padding:8px 0;width:100%;border:0;border-bottom:1px solid #eeefe7;background:none;text-align:left;font:inherit;font-size:11px}.lj-history-row time{color:#8b947e;flex:none}.lj-history-row span{flex:1}.lj-popover .context-note{font-size:11px;color:#7d8870}.lj-popover .state-error{font-size:11px;overflow-wrap:anywhere}
@keyframes lj-popover-in{from{opacity:.7;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@media(max-width:420px){.lj-popover{padding:13px}.lj-popover .field-grid{grid-template-columns:1fr}.lj-action-grid{gap:6px}.lj-action-grid button{font-size:10px;padding:7px}.lj-popover .lineage-candidate-list{max-height:28dvh}}
@media(prefers-reduced-motion:reduce){.lj-popover.is-ready{animation:none}}

.lj-inline-sync{padding:9px;margin-bottom:10px;background:#f6edda;border:1px solid #e7d9b9;border-radius:7px;font-size:11px;color:#827044}.lj-inline-sync button{border:0;background:none;color:inherit;text-decoration:underline;padding:3px 0;display:block;font:inherit}
