@import url(../talmangder/style.css);
.pair{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin:.5rem 0 1rem}.pair input{min-width:0;width:4rem;padding:.55rem;border:1px solid #a8b7ad;border-radius:.4rem;font:inherit}#expression{width:min(70%,20rem)}
#tree-view{--branch:#688378;overflow-x:auto;margin:.75rem 0 1.25rem;padding:.25rem}
#tree-view ul{display:flex;justify-content:center;list-style:none;margin:0;padding:0}
#tree-view>ul{min-width:max-content}
#tree-view li{position:relative;display:flex;flex-direction:column;align-items:center;padding:0 .2rem}
#tree-view li>ul{position:relative;padding-top:14px}
#tree-view li>ul::before{content:"";position:absolute;top:0;left:50%;height:14px;border-left:2px solid var(--branch)}
#tree-view li li{padding-top:14px}
#tree-view li li::before{content:"";position:absolute;top:0;width:50%;height:14px;box-sizing:border-box;border-top:2px solid var(--branch)}
#tree-view li li:first-child::before{left:50%;border-left:2px solid var(--branch);border-top-left-radius:4px}
#tree-view li li:last-child::before{right:50%;border-right:2px solid var(--branch);border-top-right-radius:4px}
#tree-view button,#tree-view .parent{display:grid;place-items:center;min-width:44px;min-height:44px;padding:.25rem .55rem;box-sizing:border-box;border-radius:.65rem;font:inherit;font-weight:600;font-variant-numeric:tabular-nums}
#tree-view .parent{background:#edf3ed;color:#29483b}
#tree-view button[aria-pressed=true]{background:#365b4c;color:white}
#rules{margin-top:1rem}#rules summary{cursor:pointer;font-weight:600}#rules li{margin-bottom:.35rem}
