:root {
  --red: #D3090B;
  --red-hi: #FF2A2A;
  --red-mid: #A8060A;
  --red-deep: #8A0008;
  --red-dark: #4A0004;
  --bg: #2a0003;
  --panel: #3d0105;
  --panel-2: #520209;
  --line: rgba(247, 197, 72, .22);
  --line-2: rgba(247, 197, 72, .12);
  --gold: #F7C548;
  --gold-hi: #FFE49A;
  --gold-deep: #B9850F;
  --cream: #FFF4DC;
  --ink: #3a0a06;
  --text: #FFF4DC;
  --muted: rgba(255, 244, 220, .62);
  /* status (reserved, always with a label) */
  --ok: #3ccf84; --warn: #F7C548; --bad: #ff8a95; --info: #8fd0ff;
  --display: 'Lilita One', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); color: var(--text); font-size: 14px; padding-bottom: 96px;
  background: var(--bg) url(../assets/v2/bg-tile.jpg) repeat; background-size: 256px; background-blend-mode: multiply; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; color: inherit; }
h1, h2 { margin: 0; }
.muted { color: var(--muted); line-height: 1.5; margin: 4px 0 12px; }
.sm { font-size: 12px; }
img { display: block; }

/* ---------- header ---------- */
.bar { position: relative; overflow: hidden; border-bottom: 3px solid var(--gold); box-shadow: 0 3px 0 var(--gold-deep), 0 10px 30px rgba(0, 0, 0, .5); }
.bar-art { position: absolute; inset: 0; background: url(../assets/v2/hero.jpg) right 38% / 46% auto no-repeat, linear-gradient(90deg, var(--red-dark), var(--red-deep)); }
.bar-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--red-dark) 0%, rgba(74, 0, 4, .96) 45%, rgba(74, 0, 4, .55) 75%, rgba(74, 0, 4, .25) 100%); }
.bar-in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.chip { white-space: nowrap; font-family: var(--display); font-size: 15px; color: #fff; padding: 6px 11px 5px; border-radius: 9px; background: linear-gradient(180deg, var(--red-hi), var(--red) 60%, var(--red-mid)); box-shadow: 0 3px 0 var(--red-dark), inset 0 1px 0 rgba(255, 255, 255, .35); }
.bar h1 { font-family: var(--display); font-weight: 400; font-size: 26px; color: #fff; text-shadow: 0 2px 0 var(--red-dark); }
.bar h1 span { color: var(--gold); }
.sub { margin: 2px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.bar-r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pill { font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(74, 0, 4, .7); border: 1px solid var(--line); color: var(--gold-hi); }
.pill.live { background: #10362a; color: var(--ok); border-color: #1f6a4a; }
.who { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; font-weight: 800; }
.who input { width: 96px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: rgba(42, 0, 3, .8); padding: 0 8px; font-weight: 800; }
.demo-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; padding: 8px 22px; color: var(--gold-hi); background: repeating-linear-gradient(-45deg, #2b0803 0 10px, #360b05 10px 20px); }
.demo-note b { background: var(--gold); color: var(--ink); padding: 1px 6px; border-radius: 4px; letter-spacing: .05em; }
.demo-actions { margin-left: auto; display: flex; gap: 6px; }

/* ---------- buttons ---------- */
.btn { height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid transparent; font-weight: 900; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; transition: transform .08s; }
.btn:active { transform: translateY(2px); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 12px; border-radius: 9px; }
.btn.gold { background: linear-gradient(180deg, #fff3c4, var(--gold) 45%, #e5a21c); color: var(--ink); box-shadow: 0 3px 0 var(--gold-deep), inset 0 1px 0 #fff; }
.btn.gold:disabled { opacity: .45; cursor: not-allowed; }
.btn.red { background: linear-gradient(180deg, var(--red-hi), var(--red) 60%, var(--red-mid)); color: #fff; box-shadow: 0 3px 0 var(--red-dark); }
.btn.ghost { background: rgba(42, 0, 3, .55); border-color: var(--line); color: var(--text); }
.btn.ghost:hover { background: var(--panel-2); border-color: rgba(247, 197, 72, .45); }
.btn.danger { background: transparent; border-color: rgba(255, 138, 149, .4); color: var(--bad); }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: 210px 1fr; gap: 18px; max-width: 1440px; margin: 0 auto; padding: 18px 22px; }
.side { position: sticky; top: 14px; align-self: start; display: grid; gap: 4px; padding: 8px; border-radius: 16px; background: rgba(61, 1, 5, .85); border: 1px solid var(--line); }
.side button { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--muted); font-weight: 800; padding: 10px 12px; border-radius: 10px; text-align: left; }
.side button i { font-style: normal; width: 22px; text-align: center; }
.side button:hover { background: var(--panel-2); color: var(--text); }
.side button.on { background: linear-gradient(180deg, var(--red), var(--red-mid)); color: #fff; box-shadow: inset 0 0 0 1px rgba(247, 197, 72, .5), 0 3px 0 var(--red-dark); }
.side button b { margin-left: auto; background: var(--gold); color: var(--ink); border-radius: 99px; padding: 0 7px; font-size: 11px; }
.side button b:empty { display: none; }
main { min-width: 0; }
.card { background: linear-gradient(180deg, rgba(82, 2, 9, .92), rgba(61, 1, 5, .92)); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 16px; min-width: 0; box-shadow: 0 10px 24px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .06); }
.card h2 { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .01em; color: #fff; }
.card-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.card-head > div:first-child { flex: 1 1 380px; }
.card-head .muted { margin-bottom: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid2 > .card { margin-bottom: 0; display: flex; flex-direction: column; }
.presets, .tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* ---------- KPI tiles ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpis.small { margin: 8px 0 0; }
.kpi { position: relative; overflow: hidden; border-radius: 16px; padding: 14px 14px 12px; background: linear-gradient(180deg, #fffaf0, var(--cream) 60%, #f1dcae); color: var(--ink); box-shadow: 0 0 0 2px var(--gold), 0 4px 0 2px var(--gold-deep), 0 10px 18px rgba(0, 0, 0, .3); }
.kpi .ic { position: absolute; right: 10px; top: 8px; font-size: 26px; opacity: .9; }
.kpi span { display: block; color: #8a5a2a; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; padding-right: 30px; }
.kpi b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; margin-top: 4px; color: var(--red-deep); font-variant-numeric: tabular-nums; }
.kpi small { color: #8a6a4a; font-size: 11px; font-weight: 700; }
.kpi.warn b { color: var(--red); }
.kpi.good small { color: #1b7a4a; }
.kpis.small .kpi { box-shadow: 0 0 0 1px var(--gold), 0 3px 0 1px var(--gold-deep); }
.kpis.small .kpi b { font-size: 22px; }

/* ---------- charts (single series, one gold hue) ---------- */
.vbars { display: flex; align-items: flex-end; gap: 4px; flex: 1; min-height: 210px; padding: 10px 0 0; border-bottom: 1px solid var(--line); position: relative; }
.vbars .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; min-width: 0; }
.vbars .b { width: 100%; max-width: 34px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #e5a21c); transition: filter .15s; min-height: 2px; }
.vbars .col:hover .b { filter: brightness(1.15); box-shadow: 0 0 0 2px rgba(255, 228, 154, .5); }
.vbars .v { font-size: 10.5px; font-weight: 800; color: var(--gold-hi); margin-bottom: 3px; font-variant-numeric: tabular-nums; }
.vlabels { display: flex; gap: 4px; margin-top: 6px; }
.vlabels span { flex: 1; text-align: center; font-size: 10.5px; color: var(--muted); font-weight: 700; min-width: 0; overflow: hidden; }
.empty { color: var(--muted); text-align: center; padding: 28px 8px; font-weight: 700; }

.pfbars { display: grid; gap: 7px; max-height: 330px; overflow: auto; padding-right: 4px; }
.pfrow { display: grid; grid-template-columns: 96px 1fr 70px; gap: 10px; align-items: center; }
.pflogo { height: 30px; border-radius: 7px; background: var(--cream); padding: 3px 6px; box-shadow: 0 2px 0 #d8bf8c; }
.pflogo img { width: 100%; height: 100%; object-fit: contain; }
.pftrack { height: 14px; background: rgba(42, 0, 3, .7); border-radius: 4px; overflow: hidden; }
.pftrack i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #e5a21c, var(--gold) 60%, var(--gold-hi)); }
.pfrow b { text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }

.stock { display: grid; gap: 9px; }
.srow { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.thumb { width: 40px; height: 40px; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #fffaf0, #f1dcae); box-shadow: 0 0 0 1px var(--gold); display: grid; place-items: center; overflow: hidden; font-size: 22px; flex: none; }
.thumb img { width: 88%; height: 88%; object-fit: contain; }
.stop { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 800; }
.stop small { color: var(--muted); font-weight: 700; white-space: nowrap; }
.sbar { height: 8px; background: rgba(42, 0, 3, .7); border-radius: 99px; overflow: hidden; margin-top: 5px; }
.sbar i { display: block; height: 100%; border-radius: 99px; background: var(--gold); }
.sbar i.low { background: var(--bad); }
.tag-st { font-size: 10px; font-weight: 900; padding: 1px 6px; border-radius: 99px; margin-left: 6px; vertical-align: 1px; }
.tag-st.low { background: rgba(255, 138, 149, .18); color: var(--bad); }
.tag-st.out { background: var(--bad); color: var(--ink); }

.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 330px; overflow: auto; }
.feed li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 12px; background: rgba(42, 0, 3, .45); }
.feed li .who2 { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
.feed li .who2 img { height: 16px; width: auto; }
.feed li small { color: var(--muted); font-size: 11.5px; }
.feed li .amt { font-family: var(--display); color: var(--gold); font-size: 15px; white-space: nowrap; }
.live-dot { font-size: 10px; font-weight: 900; letter-spacing: .1em; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 4px; position: relative; padding-left: 18px; }
.live-dot::before { content: ''; position: absolute; left: 7px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.tip { position: fixed; z-index: 50; pointer-events: none; background: var(--cream); color: var(--ink); font-size: 12px; font-weight: 800; padding: 7px 10px; border-radius: 9px; box-shadow: 0 0 0 1px var(--gold), 0 8px 20px rgba(0, 0, 0, .4); white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
.tip small { display: block; color: #8a5a2a; font-weight: 700; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl.narrow { max-width: 560px; }
.tbl th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-hi); padding: 9px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 900; }
.tbl th small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.tbl td { padding: 6px; border-bottom: 1px solid var(--line-2); vertical-align: middle; white-space: nowrap; }
.tbl tbody tr:hover td { background: rgba(247, 197, 72, .04); }
.tbl .r { text-align: right; }
.tbl .c { text-align: center; }
.tbl input[type=text], .tbl input[type=number], .tbl select, .tools select, .search {
  height: 34px; border-radius: 8px; border: 1px solid var(--line); background: rgba(42, 0, 3, .75); padding: 0 8px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.tbl input[type=number] { width: 92px; text-align: right; }
.tbl input.w-name { width: 160px; }
.tbl input.bad { border-color: var(--bad); }
.tbl input.chg, .tbl select.chg { border-color: var(--gold); background: #4a3208; }
.tbl tfoot td { border-bottom: 0; padding-top: 12px; }
.pcell { display: flex; align-items: center; gap: 8px; }
.pcell .thumb { width: 34px; height: 34px; font-size: 18px; border-radius: 8px; }
.cell-logo { height: 18px; width: auto; max-width: 80px; background: var(--cream); padding: 2px 5px; border-radius: 5px; box-sizing: content-box; }
.x { background: none; border: 0; color: var(--muted); font-size: 18px; width: 30px; height: 30px; border-radius: 8px; }
.x:hover { background: rgba(255, 138, 149, .15); color: var(--bad); }
.x:disabled { opacity: .2; cursor: not-allowed; }
#totalPct.bad { color: var(--bad); }
#totalPct.ok { color: var(--ok); }
.left0 { color: var(--bad); font-weight: 900; }
.warn-txt { color: var(--gold-hi); font-size: 11px; display: block; }
.search { min-width: 190px; }

.grp { display: inline-block; font-size: 10px; font-weight: 900; padding: 2px 7px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; }
.grp.grand { background: var(--gold); color: var(--ink); }
.grp.gift { background: var(--red); color: #fff; }
.grp.digital { background: var(--cream); color: var(--ink); }

/* ---------- forms ---------- */
.sim-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.sim-form label, .form label { display: grid; gap: 4px; font-size: 12px; font-weight: 800; color: var(--muted); }
.sim-form input[type=number], .form input { height: 40px; border-radius: 10px; border: 1px solid var(--line); background: rgba(42, 0, 3, .75); padding: 0 10px; font-weight: 800; width: 100%; }
.sim-form input[type=number] { width: 170px; }
.sim-form label.chk { display: flex; align-items: center; gap: 6px; height: 40px; }
.form { display: grid; gap: 12px; margin-top: 8px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form small { font-weight: 600; }
.radio { display: grid; gap: 10px; margin-top: 8px; }
.radio label { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.radio label b { color: #fff; margin-right: 4px; }
.radio label:has(input:checked) { border-color: var(--gold); background: rgba(247, 197, 72, .1); }

.hbar { display: grid; grid-template-columns: 34px 160px 1fr 110px; gap: 10px; align-items: center; font-size: 13px; padding: 4px 0; font-weight: 700; }
.hbar .thumb { width: 34px; height: 34px; font-size: 18px; }
.hbar .track { height: 14px; background: rgba(42, 0, 3, .7); border-radius: 4px; overflow: hidden; }
.hbar .track i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #e5a21c, var(--gold) 60%, var(--gold-hi)); }
.hbar b { text-align: right; font-variant-numeric: tabular-nums; }
.alert { border-radius: 12px; padding: 10px 12px; margin: 8px 0; font-size: 13px; line-height: 1.45; }
.alert.bad { background: rgba(255, 138, 149, .12); color: #ffd0d5; border: 1px solid rgba(255, 138, 149, .4); }
.alert.warn { background: rgba(247, 197, 72, .12); color: var(--gold-hi); border: 1px solid rgba(247, 197, 72, .4); }
.alert.ok { background: rgba(60, 207, 132, .1); color: #b8f5cf; border: 1px solid rgba(60, 207, 132, .35); }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- claims ---------- */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex-wrap: wrap; margin-bottom: 12px; background: rgba(42, 0, 3, .5); }
.seg.sm { margin-bottom: 0; }
.seg button { background: none; border: 0; color: var(--muted); padding: 7px 12px; font-weight: 800; font-size: 12px; }
.seg button.on { background: var(--red); color: #fff; }
.claims { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-bottom: 10px; }
.claim { align-content: start; border-radius: 14px; padding: 12px; background: rgba(42, 0, 3, .55); border: 1px solid var(--line); display: grid; gap: 10px; }
.claim.pending { border-color: rgba(247, 197, 72, .6); }
.ch { display: flex; gap: 10px; align-items: center; }
.ch .thumb { width: 52px; height: 52px; font-size: 28px; border-radius: 12px; }
.ch b { display: block; font-size: 15px; }
.ch small { color: var(--muted); font-size: 12px; }
.ch .cell-logo { margin-left: auto; height: 20px; }
.cinfo { font-size: 13px; line-height: 1.5; }
.cinfo span { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.steps i { font-style: normal; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; text-align: center; padding: 4px 2px; border-radius: 6px; background: rgba(255, 244, 220, .07); color: var(--muted); }
.steps i.done { background: var(--gold); color: var(--ink); }
.steps.rejected i { background: rgba(255, 138, 149, .12); color: var(--bad); }
.cact { display: flex; gap: 6px; flex-wrap: wrap; }
.st { font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 99px; }
.st.pending { background: var(--gold); color: var(--ink); }
.st.verified { background: var(--info); color: #06243a; }
.st.shipped { background: #c9b6ff; color: #23104a; }
.st.delivered { background: var(--ok); color: #05301a; }
.st.rejected { background: var(--bad); color: #3a0008; }

.audit { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.audit li { position: relative; padding: 8px 0 10px 12px; font-size: 13px; }
.audit li::before { content: ''; position: absolute; left: -21px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--panel); }
.audit li b { color: var(--gold); }
.audit small { color: var(--muted); }
.audit .det { color: var(--muted); font-size: 12px; margin-top: 2px; word-break: break-word; }

/* ---------- publish bar ---------- */
.pub { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 22px; background: linear-gradient(180deg, #5a3a08, #3a2404); border-top: 3px solid var(--gold); box-shadow: 0 -10px 30px rgba(0, 0, 0, .5); }
.pub-msg { font-size: 13px; line-height: 1.4; flex: 1 1 300px; }
.pub-msg b { color: var(--gold-hi); }
.pub-msg .e { color: #ffd0d5; display: block; }
.pub-msg .w { color: var(--gold-hi); display: block; }
.pub-act { display: flex; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 40; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 800; box-shadow: 0 0 0 2px var(--gold), 0 10px 30px rgba(0, 0, 0, .4); max-width: calc(100% - 32px); }

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .side { position: sticky; top: 0; z-index: 15; display: flex; overflow-x: auto; border-radius: 12px; scrollbar-width: none; }
  .side button { flex: none; padding: 9px 11px; }
  .grid2, .cmp { grid-template-columns: 1fr; }
  .bar-in, .demo-note, .pub { padding-left: 14px; padding-right: 14px; }
  .bar-art { background-size: 80% auto, auto; background-position: right 40%, 0 0; }
  .hbar { grid-template-columns: 30px 100px 1fr 84px; }
  .sim-form input[type=number] { width: 140px; }
  .search { min-width: 0; flex: 1; }
  .claims { grid-template-columns: 1fr; }
  .demo-actions { margin-left: 0; }
}

/* ---------- login gate ---------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(ellipse at 50% 20%, rgba(211, 9, 11, .35), transparent 60%), var(--bg) url(../assets/v2/bg-tile.jpg) repeat; background-size: auto, 256px; }
.gate-card { width: 100%; max-width: 380px; padding: 26px 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(82, 2, 9, .96), rgba(61, 1, 5, .96));
  box-shadow: 0 0 0 2px var(--gold), 0 6px 0 2px var(--gold-deep), 0 30px 60px rgba(0, 0, 0, .5); }
.gate-card .brand { justify-content: center; margin-bottom: 18px; }
.gate-card h1 { font-family: var(--display); font-weight: 400; font-size: 24px; color: #fff; }
.gate-card h1 span { color: var(--gold); }
.gate-card .btn { width: 100%; margin-top: 4px; }
.gate-err { color: #ffc2c8; font-weight: 800; font-size: 13px; min-height: 1.2em; margin: 4px 0 0; }
.who-chip { font-size: 12px; font-weight: 900; color: var(--gold-hi); background: rgba(42, 0, 3, .7); border: 1px solid var(--line); padding: 6px 10px; border-radius: 99px; }
.who-chip b { color: #fff; }
.chk2 { display: flex !important; align-items: center; gap: 8px; color: var(--muted); font-weight: 800; font-size: 12px; }
.chk2 input { width: auto !important; height: auto !important; }

/* ---------- deposits import ---------- */
.dep-in { display: grid; grid-template-columns: 1fr 220px; gap: 12px; margin-bottom: 12px; }
.dep-in textarea { width: 100%; min-height: 150px; border-radius: 12px; border: 1px solid var(--line); background: rgba(42, 0, 3, .75); color: var(--text); padding: 10px 12px; font: 700 13px/1.5 ui-monospace, Consolas, monospace; resize: vertical; }
.dep-side { display: grid; gap: 10px; align-content: start; }
.file-btn { cursor: pointer; }
.note-lbl { display: grid; gap: 4px; font-size: 12px; font-weight: 800; color: var(--muted); }
.note-lbl input { height: 36px; border-radius: 9px; border: 1px solid var(--line); background: rgba(42, 0, 3, .75); padding: 0 10px; font-weight: 800; }
.row-err td { color: #ffc2c8; }
.tag-new { font-size: 10px; font-weight: 900; padding: 1px 6px; border-radius: 99px; background: var(--gold); color: var(--ink); margin-left: 6px; }
.prev-sum { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.prev-sum .btn { margin-left: auto; }
code { background: rgba(42, 0, 3, .7); padding: 1px 5px; border-radius: 5px; color: var(--gold-hi); }
.pl-row { cursor: pointer; }
.pl-row:hover td { background: rgba(247, 197, 72, .08) !important; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.detail-grid h3 { margin: 0 0 6px; font-size: 13px; color: var(--gold-hi); text-transform: uppercase; letter-spacing: .05em; }
.mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; max-height: 300px; overflow: auto; font-size: 12.5px; }
.mini li { background: rgba(42, 0, 3, .45); padding: 6px 8px; border-radius: 8px; }
.mini small { color: var(--muted); }
@media (max-width: 980px) { .dep-in, .detail-grid { grid-template-columns: 1fr; } }
