.calculator-results-scroll{overflow-x:auto}.calculator-results-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.78rem}.calculator-results-table th{background:var(--bg-upper);color:var(--muted);text-align:left;white-space:nowrap;padding:0}.calculator-results-table th button{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:.45rem;padding:.65rem;font-weight:800;display:flex}.calculator-results-table th button:hover{background:color-mix(in srgb, var(--gold) 8%, transparent);color:var(--text)}.calculator-results-table td{border-top:1px solid var(--strong);vertical-align:middle;padding:.65rem;line-height:1.5}.calculator-results-table tbody tr:hover{background:color-mix(in srgb, var(--gold) 6%, transparent)}.calculator-results-table tr[data-family-primary=false] td{background:color-mix(in srgb, var(--raised) 45%, transparent)}.calculator-level-cell{width:58px}.calculator-level{border:1px solid var(--moss);background:color-mix(in srgb, var(--moss) 9%, var(--field));width:40px;min-height:40px;color:var(--moss);place-items:center;line-height:1;display:grid}.calculator-level strong{font:700 .95rem var(--display)}.calculator-results-table tr[data-level-met=false] .calculator-level{border-color:var(--error);background:color-mix(in srgb, var(--error) 8%, var(--field));color:var(--error)}.calculator-sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.calculator-method{align-items:center;gap:.6rem;min-width:180px;display:flex}.calculator-method-icon{background:var(--raised);border:1px solid var(--border);flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.calculator-method-icon img{object-fit:contain;max-width:40px;max-height:40px;image-rendering:pixelated}.calculator-method-copy{min-width:0;line-height:1.45}.calculator-method-copy>small{color:var(--muted);margin-top:.1rem;display:block}.calculator-method-copy>.calculator-method-rate{color:var(--moss)}.calculator-material-item{align-items:center;gap:.3rem;padding:.25rem 0;line-height:1.5;display:flex}.calculator-material-item+.calculator-material-item:before{content:none;color:var(--quiet)}.calculator-material-item img{object-fit:contain;width:24px;height:24px;image-rendering:pixelated;flex:0 0 24px}.calculator-material-item .material-quantity{color:var(--text);flex-shrink:0;font-weight:750}.calculator-material-item .material-name{min-width:0}.calculator-rate-cell{font-variant-numeric:tabular-nums;min-width:100px}.calculator-rate-cell>strong{color:var(--text);white-space:nowrap}.calculator-lookup{border:1px solid var(--strong);border-left:3px solid var(--gold);background:var(--raised);margin:1rem 0;padding:1rem}.calculator-lookup .player-lookup{margin:0!important}.calculator-lookup .field-help{margin:.5rem 0 0;font-size:.78rem;line-height:1.5}.calculator-lookup .lookup-status:empty{display:none}.calculator-guide-link{margin-top:.35rem;font-size:.72rem;display:inline-block}[data-secondary-xp]{max-width:260px;color:var(--moss);margin-top:.3rem;font-size:.72rem;display:block}[data-secondary-xp][hidden]{display:none}.calculator-settings{border:1px solid var(--strong);background:var(--field);border-radius:3px;width:100%}.calculator-settings>summary{cursor:pointer;color:var(--text);padding:.9rem 1rem}.calculator-settings>summary>strong{margin-right:1rem}.calculator-settings [data-settings-summary]{color:var(--muted);font-size:.78rem;font-weight:400}.calculator-options-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;align-items:start!important;gap:.65rem!important;display:grid!important}.calculator-settings .calculator-options-grid{border-top:1px solid var(--border);padding:1rem}.calculator-options-grid>label{border:1px solid var(--border);background:var(--panel);border-radius:3px;min-width:0;min-height:64px;padding:.65rem .8rem!important}.calculator-options-grid .check-control{cursor:pointer;align-items:start;gap:.7rem;display:flex}.calculator-options-grid .check-control:has(input:checked){border-color:var(--gold);background:color-mix(in srgb,var(--gold) 9%,var(--panel))}.calculator-options-grid .check-control input{flex-shrink:0;width:18px;height:18px;margin-top:.15rem}.calculator-options-grid .check-control span{gap:.25rem;display:grid}.calculator-options-grid small{color:var(--muted);font-size:.74rem;line-height:1.5;max-width:none!important}.calculator-options-grid .select-control{flex-direction:column;align-items:stretch;gap:.5rem;display:flex}.calculator-options-grid .select-control select,.calculator-options-grid .select-control input{border:1px solid var(--strong);background:var(--field);width:100%;min-width:0;min-height:44px;color:var(--text);padding:.5rem}.calculator-options-grid .select-control>span{gap:.25rem;display:grid}.calculator-options-grid>fieldset{min-width:0}.calculator-options-grid>#goal-error,.calculator-options-grid>.calculator-settings{grid-column:1/-1}.herb-page .options-grid{grid-template-columns:minmax(160px,.6fr) minmax(0,2fr)!important}.herb-page .options-grid>.calculator-settings{grid-column:auto}.calculator-settings .basic-options{margin:0}.calculator-results-table .calculator-method-cell{min-width:185px}.calculator-results-table .calculator-materials-cell{min-width:180px}.calculator-results-table th{white-space:normal}@media (width>=1001px){.calculator-results-table{font-size:.82rem}.calculator-results-table th button{font-size:.7rem}.calculator-results-table td{padding:.85rem .65rem}}@media (width<=1000px){.calculator-options-grid{grid-template-columns:minmax(0,1fr)!important}.calculator-settings>summary>strong{display:inline}.calculator-settings [data-settings-summary]{margin:.3rem 0 0 1rem;display:block}.calculator-results-table .calculator-method-cell,.calculator-results-table .calculator-materials-cell{min-width:0}.calculator-material-item{display:flex!important}.skill-calculator .goal-grid,.herb-page .goal-grid,.construction-page .goal-grid{gap:.65rem;grid-template-columns:repeat(2,minmax(0,1fr))!important}.skill-calculator .goal-grid fieldset,.herb-page .goal-grid fieldset,.construction-page .goal-grid fieldset{gap:.2rem;min-width:0;display:grid;grid-template-columns:minmax(0,1fr)!important}.skill-calculator .goal-grid input,.herb-page .goal-grid input,.construction-page .goal-grid input{width:100%;min-width:0}.skill-calculator .goal-total,.herb-page .goal-total,.construction-page .goal-total{grid-column:1/-1;min-height:60px;padding:.5rem .75rem}.herb-page .options-grid{grid-template-columns:minmax(0,1fr)!important}.skill-calculator .filters,.herb-page .filters{gap:.5rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important}.skill-calculator .filters label,.herb-page .filters label{min-width:0}.skill-calculator .filters select,.herb-page .filters select,.skill-calculator .filters input,.herb-page .filters input{width:100%;min-width:0}.skill-calculator .filters label:has(input[type=search]),.herb-page .filters label:has(input[type=search]){grid-column:1/-1}.skill-calculator .filters .mobile-sort,.herb-page .filters .mobile-sort{grid-column:auto!important}.skill-calculator .filters .sort-direction,.herb-page .filters .sort-direction{background:var(--field);min-height:44px;color:var(--text);border:1px solid var(--strong);font:inherit;cursor:pointer;align-self:end;padding:.5rem .75rem;display:block}}.calculator-materials-cell>[data-material-line],.calculator-materials-cell>[data-material-list]{display:block}.calculator-output-line:not([hidden]){color:var(--moss);margin-top:.22rem;display:block}.calculator-output-line[hidden]{display:none}.calculator-economics-cell{color:var(--moss);white-space:normal;font-weight:750}.calculator-results-table [data-cost-value]{max-width:13rem;display:block}.calculator-results-table [data-cell=gp-xp],.calculator-results-table [data-gp-xp]{white-space:nowrap;min-width:90px}.calculator-results-table [data-net-outcome=cost]>[data-cost-value],.calculator-results-table [data-net-outcome=profit]>[data-cost-value]{white-space:nowrap}.calculator-unit{color:var(--muted);margin-top:.2rem;font-size:.72rem;font-weight:400;display:block}.calculator-primary-cell>strong{white-space:nowrap}.calculator-method-copy{overflow-wrap:normal;word-break:normal}.calculator-material-item{grid-template-columns:24px max-content minmax(0,1fr);align-items:center;gap:.4rem;display:grid}.calculator-material-item .material-name{overflow-wrap:normal;word-break:normal;line-height:1.45}.calculator-material-item:not(:has(img)){grid-template-columns:max-content minmax(0,1fr)}@media (width>=1001px){.calculator-results-table .calculator-primary-cell{min-width:78px}.calculator-results-table [data-cell=actions]{min-width:100px}.calculator-results-table .calculator-method-cell{width:22%}.calculator-results-table .calculator-materials-cell{width:27%}.calculator-results-table td,.calculator-results-table .calculator-level-cell{vertical-align:top}.calculator-results-table .calculator-method{align-items:start}}.calculator-economics-cell [data-cost-note]{color:var(--muted);white-space:normal;margin-top:.2rem;font-size:.68rem;font-weight:500;display:block}@media (width<=1000px){.calculator-results-scroll{overflow:visible}.calculator-results-table,.calculator-results-table tbody{display:block}.calculator-results-table thead{display:none}.calculator-results-table tr{border-top:2px solid var(--strong);grid-template-columns:repeat(12,minmax(0,1fr));padding:.85rem;display:grid}.calculator-results-table tr[hidden]{display:none}.calculator-results-table td{white-space:normal;border:0;min-width:0;padding:.65rem}.calculator-level-cell{grid-area:1/span 2;width:auto;padding:0 .5rem .75rem 0!important}.calculator-method-cell{grid-area:1/span 10;padding:0 0 .75rem!important}.calculator-method{min-width:0}.calculator-method-copy{overflow-wrap:normal}.calculator-results-table td>*{max-width:100%}.calculator-results-table .calculator-materials-cell{display:block}.calculator-materials-cell:before{margin-bottom:.45rem;display:block}.calculator-primary-cell,.calculator-rate-cell,.calculator-economics-cell{background:var(--raised);flex-direction:column;grid-column:span 6;justify-content:space-between;gap:.35rem;min-height:68px;font-size:.84rem;font-weight:750;display:flex;border-top:1px solid var(--border)!important}.calculator-primary-cell:before,.calculator-rate-cell:before,.calculator-economics-cell:before,.calculator-materials-cell:before{content:attr(data-label);color:var(--quiet);text-transform:uppercase;font-size:.62rem;font-weight:800}.calculator-materials-cell{background:color-mix(in srgb, var(--field) 65%, transparent);grid-column:1/-1;gap:.45rem;display:grid;border-block:1px solid var(--border)!important}.calculator-material-item{line-height:1.45;display:block}.calculator-material-item+.calculator-material-item:before{content:none}.calculator-economics-cell{background:color-mix(in srgb, var(--moss) 7%, var(--raised));color:var(--text)}.calculator-primary-cell{order:1}.calculator-rate-cell{order:2;grid-column:1/-1;justify-content:start;min-height:0}.calculator-materials-cell{order:3}.calculator-economics-cell{order:4}}.calculator-results-table td[hidden]{display:none!important}.calculator-economics-cell{color:var(--text)}.calculator-economics-cell[data-net-outcome=profit]{color:var(--moss)}[data-net-outcome=cost]{color:var(--error)!important}[data-net-outcome=profit]{color:var(--moss)!important}[data-net-outcome=neutral],[data-net-outcome=unknown]{color:var(--text)!important}.calculator-method-link{color:var(--text);text-decoration:none}.calculator-method-link:hover{color:var(--gold);text-decoration:underline}@media (width<=1100px){.skill-calculator .results-head,.herb-page .results-head{flex-direction:column}.skill-calculator .filters,.herb-page .filters{flex-wrap:wrap;width:100%}}@media (width<=1000px){.skill-calculator .filters .mobile-sort,.herb-page .filters .mobile-sort{display:flex}.skill-calculator .filters .sort-direction,.herb-page .filters .sort-direction{display:block}.calculator-results-table tr{gap:.35rem}.calculator-level-cell{grid-column:span 2}.calculator-method-cell{grid-column:span 10}.calculator-material-item{display:grid!important}.calculator-primary-cell{justify-content:start}.calculator-primary-cell .calculator-unit{margin:0}}@media (width>=680px) and (width<=1000px){.calculator-results-table tbody{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.calculator-results-table tr{border:1px solid var(--strong);height:100%}}
