.pt{gap:10px;display:grid}.pt-legend{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.pt-legend button{font:inherit;color:#111;cursor:pointer;border:1px solid #0000;border-radius:999px;padding:3px 10px;font-size:.78rem}.pt-legend button.on{border-color:var(--text);box-shadow:0 0 0 2px var(--text)}.pt-scroll{padding-bottom:6px;overflow-x:auto}.pt-grid{grid-template-rows:repeat(7,auto) 14px auto auto;grid-template-columns:repeat(18,minmax(46px,1fr));gap:3px;min-width:880px;display:grid}.pt-el,.pt-gap{color:#111;min-height:52px;font:inherit;cursor:pointer;border:0;border-radius:6px;align-content:center;justify-items:center;padding:2px;line-height:1.1;transition:opacity .15s,transform .15s;display:grid}.pt-gap{opacity:.6;cursor:default;font-size:.65rem}.pt-el small{font-size:.6rem}.pt-el b{font-size:1rem}.pt-el span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.52rem;overflow:hidden}.pt-el.sel{outline:3px solid var(--text);outline-offset:1px}.pt-grid.filtering .pt-el:not(.hit){opacity:.2}.pt-grid.filtering .pt-el.hit{transform:scale(1.06)}.pt-c-alkali{background:#ffb3a7}.pt-c-alkaline{background:#ffd6a0}.pt-c-transition{background:#f6e3a1}.pt-c-post{background:#c9e3b0}.pt-c-metalloid{background:#a8dcc8}.pt-c-nonmetal{background:#a9d4f5}.pt-c-halogen{background:#b9c4f7}.pt-c-noble{background:#d9c2f2}.pt-c-lanthanide{background:#f3c2dd}.pt-c-actinide{background:#f2b6c4}.pt-c-unknown{background:#d6d9de}.pt-detail{border-radius:var(--radius);background:var(--surface-2);min-height:120px;color:var(--text-muted);align-items:flex-start;gap:14px;padding:12px;display:flex}.pt-detail h2{color:var(--text);margin:0;font-size:1.3rem}.pt-detail p{margin:0 0 6px}.pt-detail dl{color:var(--text);grid-template-columns:auto auto;gap:2px 12px;margin:0;font-size:.9rem;display:grid}.pt-detail dt{color:var(--text-muted)}.pt-detail dd{margin:0;font-weight:600}.pt-big{color:#111;border-radius:10px;flex:none;place-items:center;width:76px;height:76px;display:grid}.pt-big b{font-size:2rem;line-height:1}
