/* Isolated research explorer. Existing research calculators keep their styles. */
.r60{color:#17362c;max-width:1120px;min-width:0}
.r60 h1,.r60 h2,.r60 h3{line-height:1.3;overflow-wrap:anywhere}
.r60 p,.r60 li{line-height:1.65;overflow-wrap:anywhere}
.r60-intro,.r60-controls,.r60-group,.r60-directory,.r60-empty{padding:clamp(1rem,3vw,1.6rem);margin:1rem 0;border:1px solid #d9ded5;border-radius:16px;background:#fff;min-width:0}
.r60-counts{font-weight:700;font-variant-numeric:tabular-nums}
.r60-scope,.r60-condition-notice{background:#fff8e5;border-left:4px solid #b68320;padding:.8rem 1rem;border-radius:4px}
.r60-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:end}
.r60-controls[hidden]{display:none}
.r60-field{display:flex;flex-direction:column;gap:.4rem;min-width:0}
.r60-query,.r60-group-select{grid-column:1/-1}
.r60 label{font-weight:700}
.r60 input,.r60 select,.r60 button{min-height:44px;max-width:100%;border:1px solid #819b8b;border-radius:8px;padding:.6rem .75rem;font:inherit;background:white;color:#17362c}
.r60 select{width:100%;text-overflow:ellipsis}
.r60 button{cursor:pointer;justify-self:start;background:#245c49;color:#fff;padding:.6rem 1.2rem}
.r60 :is(input,select,button,a,summary,[tabindex]):focus-visible{outline:3px solid #3f825e;outline-offset:3px}
.r60-group-heading{display:flex;align-items:center;gap:1rem;min-width:0}
.r60-group-heading>img{width:96px;height:96px;object-fit:contain;flex-shrink:0}
.r60-group-heading>div{min-width:0}
.r60-group-heading h2{margin:.35rem 0}
.r60-tree{font-weight:700;color:#4d6259;margin:0}
.r60-id{display:block;font-size:.78rem;color:#586b60;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.r60-level-choice{display:flex;align-items:center;gap:1rem;margin:1.2rem 0}
.r60-level-choice select{width:7rem}
.r60-power{padding:1rem;border-radius:10px;background:#edf5e9;border:1px solid #c6d8bc}
.r60-power h3{margin:0;font-size:1rem}
.r60-power strong{font-size:clamp(1.8rem,5vw,2.5rem);font-variant-numeric:tabular-nums}
.r60-note{font-size:.93rem;color:#4d6259}
.r60-relations{margin-top:1.7rem}
.r60-scroll{max-height:65vh;max-width:100%;overflow:auto;overscroll-behavior:contain;border:1px solid #d9ded5;border-radius:8px;-webkit-overflow-scrolling:touch}
.r60 table{width:100%;border-collapse:separate;border-spacing:0;font-size:.92rem;font-variant-numeric:tabular-nums;margin:0;background:white;color:#17362c}
.r60 th,.r60 td{text-align:left;padding:.75rem;border-bottom:1px solid #e2e8df;vertical-align:top;line-height:1.5;overflow-wrap:anywhere}
.r60 thead th{position:sticky;top:0;background:#eaf1e5;z-index:1}
.r60 tbody th{font-weight:600}
.r60 .is-selected{background:#edf5e9}
.r60 a{text-underline-offset:.16em}
.r60-all-levels{margin-top:1.5rem}
.r60 summary{cursor:pointer;font-weight:700;min-height:32px;line-height:1.6}
.r60 details[open]>summary{margin-bottom:.8rem}
.r60 [data-research-detail]{scroll-margin-top:6rem}
@media(max-width:600px){.r60-controls{grid-template-columns:minmax(0,1fr)}.r60-group-heading>img{width:72px;height:72px}.r60-group,.r60-controls,.r60-directory{padding:.9rem}.r60 th,.r60 td{padding:.65rem .5rem}.r60-relations table{min-width:430px}.r60-directory table{min-width:500px}}
