﻿.field { max-width:78rem; margin:auto; padding:1rem 6vw 4rem; }
.field-nav { display:flex; flex-wrap:wrap; gap:.5rem 1.8rem; border-bottom:1px solid #454d51; }
.field-nav a { padding:.7rem 0; color:#d9c09b; }
.field-nav a[aria-current] { color:#fff; border-bottom:2px solid #dbbe8b; }
.codex .field-nav { margin-top:1.4rem; }
.guide-hero+.field-nav { padding-inline:6vw; }
.tools { display:flex; align-items:end; flex-wrap:wrap; gap:1rem; margin:1.5rem 0; }
.tools label { display:grid; gap:.3rem; color:#d7d9d8; font-size:.9rem; }
.tools input,.tools select { font:inherit; color:inherit; background:#1a2228; border:1px solid #536069; border-radius:3px; padding:.65rem .8rem; }
.tools output { margin-left:auto; padding:.6rem 0; color:#c5bbab; font-size:.9rem; }
.field { --columns:48px minmax(0,1fr) minmax(8rem,24%) 6rem 1rem; }
.column-head,.record summary { display:grid; grid-template-columns:var(--columns); align-items:center; gap:1rem; padding-inline:1rem; }
.column-head { padding-block:.65rem; color:#cabd9f; background:#20292f; font-size:.84rem; }
.column-head span:first-child { grid-column:1 / 3; }
.column-head span:last-child,.value { text-align:right; }
.record { border-bottom:1px solid #333e45; scroll-margin-top:1rem; }
.record summary { min-height:4rem; list-style:none; cursor:pointer; }
.record summary::-webkit-details-marker { display:none; }
.record summary:hover,.record:target { background:#1d272e; }
.record summary:focus-visible { outline:2px solid #d7b674; outline-offset:-2px; }
.record summary::after { content:""; width:.42rem; height:.42rem; border:solid #c2ad89; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); justify-self:center; }
.record details[open] summary::after { transform:rotate(225deg); }
.record details[open] { background:#1a2228; }
.record summary strong { font-weight:600; font-size:1.03rem; line-height:1.35; }
.icon { display:block; width:48px; height:64px; background-image:url(field-icons.png); background-repeat:no-repeat; }
.level { color:#e2c899; font-variant-numeric:tabular-nums; }
.level small,.meta,.value { color:#b7c2c6; font-size:.9rem; }
.value { font-variant-numeric:tabular-nums; white-space:nowrap; }
.detail { padding:0 2rem 1.4rem 5rem; }
.detail h2 { font:600 .95rem "Segoe UI",sans-serif; margin:.5rem 0; color:#eee1c9; }
.detail ul { columns:2; column-gap:2rem; margin:0; padding-left:1.1rem; }
.detail li { break-inside:avoid; padding:.14rem 0; color:#c4ced3; }
.detail li::marker { color:#877553; }
.detail a { color:#e5c899; text-decoration:underline; text-underline-offset:3px; }
.desc { margin:0 0 1rem; padding-top:.3rem; white-space:pre-line; color:#cbd1d3; line-height:1.5; }
@media(max-width:650px) {
  .field-nav { gap:1rem; }
  .tools { align-items:end; gap:.6rem; }
  .tools label { flex:1 1 8rem; min-width:0; }
  .tools input,.tools select { width:100%; min-width:0; }
  .tools output { flex-basis:100%; padding:0; }
  .column-head { display:none; }
  .records { border-top:1px solid #465158; }
  .record summary { grid-template-columns:48px minmax(0,1fr) auto 1rem; gap:.12rem .55rem; padding:.4rem .25rem; }
  .record summary strong { align-self:end; }
  .icon,.level,.value,.record summary::after { grid-row:1 / 3; }
  .meta { grid-column:2; grid-row:2; align-self:start; }
  .value { grid-column:3; }
  .record summary::after { grid-column:4; }
  .detail { padding:.1rem 1rem 1.1rem; }
  .detail ul { columns:1; }
}
