/* DRC v56 — Gold Calculator: interactive, always-visible bonus table. */
.gold-v56-shell{display:grid;gap:18px;margin:20px 0 0;min-width:0}
.gold-v56-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:18px;align-items:stretch}
.gold-v56-shell .panel{min-width:0}
.gold-v56-addline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:stretch}
.gold-v56-addline .field{min-width:0;width:100%}.gold-v56-addline .btn{white-space:normal}
.gold-v56-builder .field-label{margin-top:12px}
.gold-v56-line-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.gold-v56-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0;min-height:40px}
.gold-v56-chip{cursor:pointer;border:1px solid #81683f;border-radius:7px;background:#271f20;color:#f8dca5;padding:7px 10px;font:700 13px system-ui,sans-serif}
.gold-v56-chip span{margin-left:7px;color:#f0b4a4}
.gold-v56-summary{border:1px solid #5d6c7b;background:#132030;border-radius:10px;padding:16px;color:#eaf0f6}
.gold-v56-summary-title{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:14px}
.gold-v56-summary-title strong{font:700 18px Georgia,serif;color:#f8d49f}
.gold-v56-summary-title span{font:600 12px system-ui,sans-serif;color:#c8d1e2}
.gold-v56-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.gold-v56-metrics>div{border:1px solid #3e5168;padding:11px;border-radius:7px;background:#192b3c;display:grid;gap:6px}
.gold-v56-metrics small{color:#b9c9dc;font:600 11px system-ui,sans-serif}
.gold-v56-metrics strong{font:750 18px system-ui,sans-serif;color:#f3dbb4}
.gold-v56-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;padding:13px 0;border-top:1px solid #607185}
.gold-v56-total span{font-weight:700;color:#e9e1d3}.gold-v56-total strong{font:750 27px system-ui,sans-serif;color:#ffe0a5}
.gold-v56-summary p{line-height:1.6;margin:8px 0 0}
.gold-v56-contribution-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));gap:10px;margin-top:12px}
.gold-v56-contribution{border:1px solid #43566e;border-radius:8px;padding:12px;background:#142335;display:flex;flex-direction:column;gap:8px;min-width:0}
.gold-v56-contribution.is-preview{border-style:dashed;border-color:#cd9e5b}
.gold-v56-contrib-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;align-items:center}
.gold-v56-contrib-top strong{color:#efcc8c;font-size:13px}.gold-v56-contrib-top span{color:#c5d2e1;font-size:11px}
.gold-v56-contrib-gold{font:700 18px system-ui,sans-serif;color:#fcdfb3}
.gold-v56-contribution small{color:#bed1e2;font-size:11px}.gold-v56-contribution p{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0}
.gold-v56-set-match{border-radius:5px;padding:3px 6px;background:#2e4058;color:#e4eaf4;font:600 10px system-ui,sans-serif}
.gold-v56-contribution>a{font-size:11px;color:#f5cc8a;margin-top:auto}
.gold-v56-table{width:100%;min-width:710px;border-collapse:collapse}
.gold-v56-table td,.gold-v56-table th{text-align:left;vertical-align:middle;padding:10px;white-space:normal}
.gold-v56-table tr.gold-v56-qualified{background:rgba(177,137,73,.18)}
.gold-v56-table tr.gold-v56-qualified td:last-child{color:#f3d497}
.gold-v56-progress{margin-top:5px;height:5px;background:#384960;border-radius:5px;overflow:hidden;min-width:68px}
.gold-v56-progress span{display:block;height:100%;background:#d2a666}
.gold-v56-gold-types{background:#182437;border:1px solid #5b6880;border-radius:10px;padding:17px 21px;line-height:1.85;color:#d7e0eb}
.gold-v56-gold-types strong{color:#f4d29d}
.dw-page .gold-v56-shell .panel{max-width:none}
html[data-theme="light"] .gold-v56-summary,html[data-theme="light"] .gold-v56-contribution,html[data-theme="light"] .gold-v56-gold-types{background:#f7f9fd;color:#24354d;border-color:#c2cede}
html[data-theme="light"] .gold-v56-metrics>div{background:#edf2f8;border-color:#c5d2e0}
html[data-theme="light"] .gold-v56-metrics strong,html[data-theme="light"] .gold-v56-summary-title strong,html[data-theme="light"] .gold-v56-total strong,html[data-theme="light"] .gold-v56-contrib-gold,html[data-theme="light"] .gold-v56-contrib-top strong,html[data-theme="light"] .gold-v56-gold-types strong{color:#865515}
html[data-theme="light"] .gold-v56-summary-title span,html[data-theme="light"] .gold-v56-metrics small,html[data-theme="light"] .gold-v56-contrib-top span,html[data-theme="light"] .gold-v56-contribution small{color:#486078}
html[data-theme="light"] .gold-v56-chip{background:#fff6e8;color:#69481f;border-color:#cba25f}
html[data-theme="light"] .gold-v56-set-match{background:#dde8f4;color:#304765}
html[data-theme="light"] .gold-v56-table tr.gold-v56-qualified{background:#fff2dd}
@media(max-width:950px){.gold-v56-top{grid-template-columns:minmax(0,1fr)}}
@media(max-width:580px){.gold-v56-addline{grid-template-columns:1fr}.gold-v56-addline .btn{width:100%}.gold-v56-total strong{font-size:23px}.gold-v56-summary{padding:12px}.gold-v56-gold-types{padding:13px}.gold-v56-table{min-width:640px}}
