.category-reference-page{color:var(--text);}
.category-reference-page>.container{display:block;}
.category-reference-intro{max-width:860px;padding:4px 0 0;}
.category-reference-eyebrow{margin-bottom:10px;color:var(--title);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.category-reference-intro h1{max-width:780px;margin-bottom:16px;color:var(--title);font-size:clamp(28px,3vw,36px)!important;font-weight:800;line-height:1.16;}
.category-reference-intro p{max-width:820px;margin-bottom:10px;font-size:16px;line-height:1.6;}
.category-reference-note{box-sizing:border-box;max-width:980px;margin:22px 0;padding:16px 18px;border:1px solid var(--input-bord);border-left:4px solid var(--c);border-radius:8px;background:var(--input-bg);font-size:14px;line-height:1.55;box-shadow:0 6px 18px rgba(0,0,0,.06);}
.category-reference-note strong{color:var(--title);}
.category-reference-controls{display:grid;gap:16px;margin:24px 0;padding:18px 20px;border:1px solid var(--input-bord);border-radius:10px;background:var(--input-bg);box-shadow:0 6px 18px rgba(0,0,0,.06);}
.category-reference-search{display:grid;gap:7px;max-width:460px;font-size:14px;font-weight:700;}
.category-reference-search input{box-sizing:border-box;width:100%;height:42px;padding:0 12px;border:1px solid var(--input-bord);border-radius:7px;background:var(--bg);color:var(--text);font:inherit;font-size:15px;}
.category-reference-search input:focus{outline:2px solid var(--c);outline-offset:2px;}
.category-reference-languages{display:grid;gap:9px;font-size:14px;}
.category-reference-languages legend{margin-bottom:9px;font-weight:700;}
.category-reference-languages>div{display:flex;flex-wrap:wrap;gap:9px 17px;}
.category-reference-languages label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
.category-reference-languages input{width:16px;height:16px;accent-color:var(--c);}
.category-reference-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;}
.category-reference-actions a{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border-radius:7px;background:var(--c);color:var(--white);font-size:14px;font-weight:700;}
.category-reference-actions a:hover{background:var(--c-hover);}
.category-reference-actions span{color:var(--80-percent);font-size:13px;}
.category-reference-table-wrap{overflow:auto;max-height:75vh;border:1px solid var(--input-bord);border-radius:10px;background:var(--input-bg);box-shadow:0 8px 24px rgba(0,0,0,.08);}
.category-reference-table-wrap:focus{outline:2px solid var(--c);outline-offset:3px;}
.category-reference-table-wrap table{width:100%;min-width:1600px;border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.4;}
.category-reference-table-wrap caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.category-reference-table-wrap th,.category-reference-table-wrap td{padding:9px 11px;border-bottom:1px solid var(--input-bord);text-align:left;vertical-align:top;}
.category-reference-table-wrap thead th{position:sticky;top:0;z-index:2;background:var(--header);color:var(--white);font-size:12px;font-weight:800;letter-spacing:.02em;}
.category-reference-table-wrap tbody th{position:sticky;left:0;z-index:1;width:42px;background:var(--input-bg);color:var(--title);font-weight:700;}
.category-reference-table-wrap thead th:first-child{left:0;z-index:3;}
.category-reference-table-wrap tbody tr:nth-child(even) td{background:rgba(127,150,190,.07);}
.category-reference-table-wrap tbody tr:hover td,.category-reference-table-wrap tbody tr:hover th{background:var(--bg-box);}
.category-reference-table-wrap a{color:var(--title);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;}
.category-reference-table-wrap a:hover{color:var(--c-hover);}
.category-reference-table-wrap [hidden]{display:none;}
.category-reference-method{max-width:980px;margin:18px 0 4px;color:var(--80-percent);font-size:13px;line-height:1.55;}
.category-reference-method strong{color:var(--text);}
@media(max-width:760px){
  .category-reference-page{padding-top:22px;}
  .category-reference-intro h1{font-size:28px!important;}
  .category-reference-intro p{font-size:15px;line-height:1.55;}
  .category-reference-note{padding:14px 15px;font-size:13px;}
  .category-reference-controls{padding:15px;}
  .category-reference-actions{align-items:flex-start;flex-direction:column;}
  .category-reference-table-wrap{max-height:70vh;}
  .category-reference-table-wrap table{min-width:1500px;font-size:12px;}
  .category-reference-table-wrap th,.category-reference-table-wrap td{padding:8px 9px;}
}
