.mission-value-panel { margin: 1rem 0; padding: 1rem; background: #101923; border: 1px solid #344253; border-radius: .6rem; }
.mission-value-side { display: flex; align-items: start; flex-direction: column; gap: .4rem; padding: .75rem 0; }
.mission-value-dialog { width: min(75rem, calc(100vw - 2rem)); max-height: 85vh; box-sizing: border-box; overflow: auto; padding: 1.5rem; border: 1px solid #64748b; border-radius: .8rem; background: #101923; color: #f1f5f9; box-shadow: 0 1rem 4rem #0009; }
.mission-value-dialog::backdrop { background: #000b; backdrop-filter: blur(3px); }
.mission-value-dialog td { vertical-align: top; }
/* The dialog is the scroll container. Keep its first Close control reachable
   even at the bottom of a long inventory or mission-check report. */
.mission-value-dialog > button:first-child {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
    display: block;
    margin-left: auto;
    background: #172635;
    color: #f1f5f9;
    border: 1px solid #64748b;
    box-shadow: 0 0 0 .35rem #101923, 0 .3rem .8rem #0006;
}
