/* Several codes in one request (site.js) */
.codes { display: flex; flex-direction: column; gap: 12px; }
.code-row .msg { margin-top: 6px; }
.code-line { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.code-line .input { margin: 0; min-width: 0; }
.code-row.is-multi .input-code { font-size: 15px; letter-spacing: .02em; padding-left: 12px; padding-right: 12px; }
.code-stat { font-weight: 800; font-size: 14px; white-space: nowrap; }
.code-stat:empty { display: none; }
.code-stat.ok { color: var(--ok); } .code-stat.no { color: var(--bad); }
.code-del { background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.code-del:hover { color: var(--text); background: var(--dusk-2); }
.code-del[hidden] { display: none; }
.btn-add { display: block; width: 100%; margin-top: 12px; padding: 12px; border-radius: var(--radius); border: 1.5px dashed var(--line); background: transparent; color: var(--sky); font: 700 15px var(--body); cursor: pointer; }
.btn-add:hover { border-color: var(--sky); }
.btn-add[hidden] { display: none; }
.codes-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius); background: #FFC53D14; border: 1px solid #FFC53D55; }
.codes-total[hidden] { display: none; }
.codes-total span { color: var(--muted); font-weight: 700; }
.codes-total b { font: 700 22px var(--display); color: var(--star); }
.p-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.p-list[hidden] { display: none; }
.p-list div { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: #3A2A00; }
.p-list b { color: #2A1D00; }
.refs { display: flex; flex-direction: column; }
.refs[hidden] { display: none; }
.ref-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.ref-row:first-child { border-top: 0; padding-top: 0; }
.ref-row .ref { font-size: 15px; }
.ref-row small { display: block; color: var(--muted); font-weight: 600; }
.ref-row a { font-weight: 700; font-size: 14px; white-space: nowrap; }
