.csv-histogram{display:grid;gap:1rem;color:#29342f}.csv-histogram__privacy,.csv-histogram__note{max-width:78ch;color:#4d5a52;line-height:1.65}.csv-histogram__input,.csv-histogram__controls label{display:grid;align-content:start;gap:.5rem;font-weight:600}.csv-histogram__input span{font-size:.92rem;font-weight:400;color:#5b675f;line-height:1.55}.csv-histogram textarea,.csv-histogram select,.csv-histogram input[type=number]{width:100%;min-height:2.9rem;border:1px solid #c6d2c9;border-radius:12px;background:#fff;color:#27342d;font:inherit;padding:.72rem .82rem}.csv-histogram textarea{min-height:12rem;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.95rem;line-height:1.55}.csv-histogram textarea:focus-visible,.csv-histogram select:focus-visible,.csv-histogram input:focus-visible,.csv-histogram button:focus-visible{outline:3px solid #60856b;outline-offset:2px}.csv-histogram__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.csv-histogram__file{position:relative;overflow:hidden;cursor:pointer}.csv-histogram__file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.csv-histogram__controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.csv-histogram [hidden]{display:none!important}.csv-histogram [disabled]{opacity:.58;cursor:not-allowed}.csv-histogram .academic-tool__status{min-height:1.5em;color:#44554a}.csv-histogram__result{display:grid;gap:1rem;margin-top:.6rem;padding:clamp(1rem,3vw,1.5rem);border:1px solid #d6dfd6;border-radius:18px;background:#f9fbf8}.csv-histogram__result-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.csv-histogram__result-heading .eyebrow{margin:0 0 .3rem}.csv-histogram__result-heading h3{margin:0}.csv-histogram__downloads{display:flex;flex-wrap:wrap;gap:.5rem}.csv-histogram__counts{margin:0;color:#4d5a52;line-height:1.65}.csv-histogram__rule-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.csv-histogram__rule-choice{display:grid;gap:.25rem;min-width:0;padding:.8rem 1rem;border:1px solid #d1dace;border-radius:13px;background:#fff;color:#29342f;text-align:left;font:inherit;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.csv-histogram__rule-choice:hover{background:#f0f5ed;border-color:#8da78c}.csv-histogram__rule-choice[aria-pressed=true]{background:#eaf2e6;border-color:#709171;box-shadow:inset 0 0 0 1px #709171}.csv-histogram__rule-choice strong{font-size:1rem}.csv-histogram__rule-choice span{font-size:.88rem;color:#526057;line-height:1.45}.csv-histogram__chart{width:100%;min-width:0;padding:.5rem;border:1px solid #e0e7df;border-radius:14px;background:#fff;overflow-x:auto;overscroll-behavior-inline:contain}.csv-histogram__chart svg{display:block;width:100%;height:auto}.csv-histogram__rule-note{margin:0;padding:.8rem 1rem;border-left:3px solid #8996df;background:#f2f2fb;color:#424c46;line-height:1.6}.csv-histogram__table-wrap{max-width:100%;overflow:auto;border:1px solid #dce3dc;border-radius:12px;background:#fff}.csv-histogram table{width:100%;min-width:390px;border-collapse:collapse}.csv-histogram caption{padding:.7rem .85rem;color:#546057;text-align:left;font-size:.91rem}.csv-histogram th,.csv-histogram td{padding:.7rem .85rem;border-top:1px solid #e5eae4;text-align:right;font-variant-numeric:tabular-nums}.csv-histogram th:first-child,.csv-histogram td:first-child{text-align:left}.csv-histogram thead th{background:#f0f4ee;color:#344139;font-size:.92rem}.csv-histogram tbody tr:nth-child(even){background:#fafbf9}.csv-histogram__note{margin:.2rem 0 0;font-size:.94rem}.csv-histogram :focus-visible{outline-color:#4d7559}
@media(max-width:650px){.csv-histogram__chart svg{width:640px;max-width:none}.csv-histogram__controls{grid-template-columns:1fr}.csv-histogram__rule-compare{grid-template-columns:1fr}.csv-histogram__result-heading{display:grid}.csv-histogram__downloads{width:100%}.csv-histogram__downloads .button{flex:1 1 auto}.csv-histogram__chart{padding:.25rem}}
@media(prefers-reduced-motion:reduce){.csv-histogram__rule-choice{transition:none}}
