.stock-sizing { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; width:100%; }
.stock-sizing [hidden] { display:none !important; }
.stock-size-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.stock-size-heading label { margin:0; }
.stock-size-option { min-width:0; }
.stock-size-option select, .stock-size-measurements input { width:100%; min-width:0; min-height:44px; padding:10px 12px; border:1px solid #6e859b; border-radius:4px; background:#102a41; color:#fff; font:inherit; box-sizing:border-box; }
.stock-sizing button { font:inherit; }
.stock-sizing :focus-visible { outline:2px solid #eed29b; outline-offset:3px; }
.stock-size-info, #party-sheet .stock-size-info { border:1px solid currentColor; border-radius:50%; background:transparent; color:#fff; width:24px; height:24px; min-height:24px; padding:0; flex:0 0 24px; cursor:pointer; }
.stock-size-info:disabled { opacity:.4; cursor:default; }
.stock-size-edit { display:block; margin:10px 0; padding:7px 10px; background:transparent; border:1px solid #c6a25a; color:inherit; cursor:pointer; }
.stock-size-measurements { display:grid; gap:10px; }
.stock-size-measurements label { display:grid; gap:5px; }
.stock-size-dialog { background:#16334d; color:#fff; border:1px solid #c6a25a; width:min(520px,calc(100% - 32px)); max-height:85vh; padding:24px; }
.stock-size-dialog::backdrop { background:rgba(0,0,0,.65); }
.stock-size-dialog h2 { font-size:22px; }
.stock-size-dialog dl { display:grid; grid-template-columns:1fr auto; gap:10px; }
.stock-size-dialog dd { margin:0; }
.stock-size-dialog button { padding:10px 22px; background:transparent; border:1px solid white; color:white; cursor:pointer; }
@media(max-width:600px) { .stock-sizing { grid-template-columns:1fr; } }
