.workspace[data-view="reference"]{display:block}
.workspace[data-view="reference"]>.inputs,.workspace[data-view="reference"]>.results,.workspace[data-view="reference"]>.quickstats{display:none}
.reference-panel{min-width:0}
.reference-panel h3{font-size:calc(16px + var(--ui-font-size-offset,0px));color:var(--ui-bright);margin:22px 0 8px}
.reference-context{color:var(--ui-accent);margin:8px 0}
.reference-note{font-size:calc(13px + var(--ui-font-size-offset,0px));line-height:1.6;color:#bbb;overflow-wrap:anywhere;margin:8px 0 12px}
.reference-cost-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;align-items:start}
.reference-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.reference-card{min-width:0;border:1px solid var(--ui-panel-border);padding:8px;background:var(--ui-panel)}
.reference-table-wrap{overflow-x:auto;max-width:100%}
.reference-table{width:100%;border-collapse:collapse;font-size:calc(13px + var(--ui-font-size-offset,0px));font-variant-numeric:tabular-nums}
.reference-table caption{text-align:left;line-height:1.5;font-weight:600;color:var(--ui-bright);padding:5px 3px 10px;overflow-wrap:anywhere}
.reference-table th,.reference-table td{padding:6px 5px;text-align:right;border-bottom:1px solid var(--ui-panel-border)}
.reference-table th:first-child{text-align:left}
.reference-table thead th{font-size:calc(12px + var(--ui-font-size-offset,0px));vertical-align:bottom}
.reference-table tbody th{font-weight:400;white-space:nowrap}
.reference-table tfoot{font-weight:600;color:var(--ui-bright)}
.reference-milestone{background:var(--ui-active);color:var(--ui-bright)}
.reference-table-wrap:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}
@media(max-width:1000px){.reference-stat-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:450px){.reference-cost-grid{grid-template-columns:minmax(0,1fr)}.reference-panel{padding:12px 8px}.reference-bonus-grid .reference-table{min-width:540px}.reference-table{font-size:calc(12px + var(--ui-font-size-offset,0px))}.view-picker{flex-wrap:wrap;max-width:100%}}

.reference-skill-icons{display:table-caption}
.reference-icon-row{display:grid;grid-template-columns:repeat(4,24px);gap:6px;align-items:center}
.reference-skill-icons img{object-fit:contain;image-rendering:pixelated;width:24px;height:24px}

.reference-reset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;align-items:start}
@media(max-width:450px){.reference-reset-grid{grid-template-columns:minmax(0,1fr)}}

.reference-tabs{display:flex;gap:6px;margin:14px 0 4px}
.reference-tabs button{flex:1;padding:10px 8px;background:var(--ui-panel);border:1px solid var(--ui-panel-border);color:var(--ui-bright);font:inherit;font-size:calc(14px + var(--ui-font-size-offset,0px));cursor:pointer}
.reference-tabs button[aria-selected="true"]{color:var(--ui-accent);background:var(--ui-active);border-color:var(--ui-accent)}
.reference-tabs button:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}
.reference-section-title{display:flex;align-items:center;gap:10px}
.reference-section-title img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}
.reference-guide-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);column-gap:14px}
.reference-guide-column{min-width:0;display:grid;grid-template-rows:subgrid;grid-row:span 3;align-items:start}
.reference-rolling-grid{display:block}
.reference-rolling-grid .reference-table{min-width:430px}
.reference-reset-grid{display:none}
@media(max-width:1200px){.reference-guide-layout{display:block}.reference-guide-column{display:block}}
@media(max-width:1000px){.reference-reset-comparison{display:none}.reference-reset-grid{display:grid;grid-template-columns:minmax(0,1fr)}}
@media(max-width:450px){.reference-tabs{gap:4px}.reference-tabs button{font-size:calc(12px + var(--ui-font-size-offset,0px));padding:9px 4px}}



.reference-caption-hidden{position:absolute;width:1px;height:1px;padding:0!important;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.reference-rolling-grid .reference-table,.reference-reset-comparison .reference-table{table-layout:fixed}
.reference-rolling-grid .reference-table thead th,.reference-reset-comparison .reference-table thead th{text-align:right;white-space:normal}
.reference-rolling-grid .reference-table thead th[rowspan],.reference-reset-comparison .reference-table thead th[rowspan]{text-align:left}
.reference-rolling-grid .reference-table thead th[scope="colgroup"],.reference-reset-comparison .reference-table thead th[scope="colgroup"]{text-align:center}
.reference-rolling-grid .reference-table thead tr,.reference-reset-comparison .reference-table thead tr{height:32px}
.reference-rolling-grid .reference-table tbody tr,.reference-reset-comparison .reference-table tbody tr{height:30px}
.reference-rolling-grid thead tr:first-child th:last-child,.reference-rolling-grid thead tr:nth-child(2) th:nth-child(3),.reference-rolling-grid tbody td:nth-child(4),.reference-reset-comparison thead th[scope="colgroup"],.reference-reset-comparison thead tr:nth-child(2) th:first-child,.reference-reset-comparison tbody td:nth-child(2){border-left:1px solid var(--ui-panel-border)}

.reference-reset-comparison thead tr:nth-child(2) th{font-weight:700;color:var(--ui-bright);background:var(--ui-active)}
.reference-rolling-grid thead tr:first-child th:nth-child(2),.reference-rolling-grid thead tr:nth-child(2) th:first-child,.reference-rolling-grid tbody td:nth-child(2){border-left:1px solid var(--ui-panel-border)}
