.ll-academic-dialog{box-sizing:border-box;width:min(850px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:88dvh;padding:0;border:1px solid #a9beb5;border-radius:20px;background:#fbfdfb;color:#193c38;box-shadow:0 24px 80px #102d3540;overflow:auto;font:inherit}
.ll-academic-dialog::backdrop{background:#102d3545;backdrop-filter:blur(3px)}
.ll-academic-dialog[open]{animation:ll-ac-appear .16s ease-out}
.ll-academic-dialog>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;padding:12px 18px;background:#fbfdfbf5;border-bottom:1px solid #d5e1db}
.ll-academic-dialog>header h2{margin:0!important;font-size:1.15em!important;flex:1;min-width:0;overflow-wrap:anywhere}
.ll-academic-dialog button,.ll-academic-dialog select,.ll-academic-dialog input{font:inherit;color:inherit;box-sizing:border-box;min-height:40px;max-width:100%;border:1px solid #a9beb5;border-radius:10px;background:white;padding:7px 10px;box-shadow:none;line-height:1.35}
.ll-academic-dialog [data-ac-close]{flex:0 0 40px;width:40px;padding:4px;font-size:1.5em}
.ll-ac-body{padding:14px 18px 20px}.ll-ac-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ll-ac-toolbar>*{flex:1 1 150px;min-width:0}.ll-ac-toolbar input{flex:2 1 170px}
.ll-academic-dialog p{line-height:1.5;margin:8px 0!important}.ll-ac-note,.ll-ac-count{font-size:.86em;color:#47645e}.ll-ac-count{font-variant-numeric:tabular-nums}.ll-ac-entry{border-bottom:1px solid #d5e1db;padding:6px 0;background:transparent!important}
.ll-ac-entry summary{display:flex;justify-content:space-between;gap:10px;cursor:pointer;padding:10px 0!important;list-style:none}.ll-ac-entry summary::after{content:'+';margin-left:auto}.ll-ac-entry[open] summary::after{content:'−'}.ll-ac-entry summary span{font-size:.8em;color:#47645e}.ll-ac-entry>p,.ll-ac-entry>button{margin-bottom:10px!important}.ll-ac-example{border-left:3px solid #a8bbac;padding-left:12px;font-style:italic}.ll-ac-word-label{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0}.ll-ac-word-label select{flex:1;min-width:130px}
.ll-ac-map{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:26px;margin-top:16px;align-items:start}.ll-ac-center{border:1px solid #b4c9bd;border-radius:16px;background:#eaf3e7;padding:16px}.ll-ac-center h3{font-size:1.3em!important;margin:0 0 8px!important;overflow-wrap:anywhere}.ll-ac-branches{border-left:2px solid #a6bdb2;padding-left:18px}.ll-ac-branches section{position:relative;margin:0 0 20px}.ll-ac-branches section::before{content:'';position:absolute;left:-20px;top:14px;width:14px;border-top:2px solid #a6bdb2}.ll-ac-branches h3{font-size:.9em!important;margin:0 0 7px!important}.ll-ac-branches section>div{display:flex;flex-wrap:wrap;gap:6px}.ll-ac-node{display:inline-block;border:1px solid #cad8d0;border-radius:8px;background:#f1f5f2;padding:6px 9px}.ll-academic-dialog :focus-visible{outline:3px solid #0068ad;outline-offset:2px}.ll-ac-start{font-size:.85em;padding:8px 12px;white-space:normal}
@media(max-width:580px){.ll-ac-map{grid-template-columns:minmax(0,1fr);gap:16px}.ll-ac-body{padding:12px}.ll-academic-dialog>header{padding:10px 12px}.ll-ac-entry summary{flex-wrap:wrap}.ll-ac-entry summary span{display:none}.ll-ac-branches{margin-left:12px}}
@media(prefers-reduced-motion:reduce){.ll-academic-dialog[open]{animation:none}}@media(forced-colors:active){.ll-ac-center,.ll-ac-node{border-color:CanvasText}.ll-ac-branches,.ll-ac-branches section::before{border-color:CanvasText}}
@keyframes ll-ac-appear{from{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}
