/* js/demo_local.css · DEMO-LOCAL r1: the in-browser demo account (chip, panel on the ticket, accounts window). Display only. */
.dl-tag { display: inline-block; padding: 0 6px; border-radius: 4px; border: 1px solid #22d3ee; color: #22d3ee; font-weight: 700; font-size: 11px; letter-spacing: .5px; line-height: 16px; }
.chip.dl-chip { color: #22d3ee; border-color: #22d3ee66; font-weight: 700; }
.chip.dl-chip.on { background: #22d3ee22; }
.dl-panel { margin: 0 0 8px; padding: 8px 10px; border: 1px solid #22d3ee66; border-radius: 8px; background: rgba(34, 211, 238, .06); font-size: 12px; line-height: 1.5; }
.dl-panel[hidden] { display: none !important; }
.dl-panel.dl-float { position: fixed; z-index: 900; bottom: 12px; inset-inline-start: 12px; max-width: min(360px, calc(100vw - 32px)); background: #111827; color: #e5e7eb; }
.dl-ph { margin-bottom: 4px; }
.dl-grid { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 2px 8px; }
.dl-grid span { opacity: .75; }
.dl-good { color: #22c55e; } .dl-bad { color: #ff5d73; }
.dl-lock { margin: 6px 0; padding: 6px 8px; border-radius: 6px; background: rgba(255, 93, 115, .15); color: #ff5d73; font-weight: 700; }
.dl-pass { margin: 6px 0; padding: 6px 8px; border-radius: 6px; background: rgba(34, 197, 94, .12); color: #22c55e; font-weight: 700; }
.dl-pos, .dl-ords { margin-top: 4px; }
.dl-acts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; align-items: center; }
.dl-acts button, .dl-row-b button, .dl-form .dl-go, #demo-tab-body .dl-go { padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(127, 127, 127, .55); background: transparent; color: inherit; cursor: pointer; font: inherit; }
.dl-acts button:disabled { opacity: .4; cursor: not-allowed; }
.dl-acts .dl-buy { border-color: #22c55e; color: #22c55e; } .dl-acts .dl-sell { border-color: #ff5d73; color: #ff5d73; }
.dl-acts .dl-go, .dl-form .dl-go, #demo-tab-body .dl-go { border-color: #22d3ee; color: #22d3ee; }
.dl-q { display: inline-flex; gap: 4px; align-items: center; } .dl-q input { width: 52px; }
.dl-modal { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .55); align-items: center; justify-content: center; padding: 16px; }
.dl-modal.on { display: flex; }
.dl-sheet { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 14px 16px; border-radius: 10px; background: #111827; color: #e5e7eb; border: 1px solid #ffffff22; color-scheme: dark; }
.dl-sheet input, .dl-sheet select { background: #1f2937; color: #e5e7eb; border: 1px solid #374151; border-radius: 6px; padding: 4px 6px; font: inherit; }
.dl-head { display: flex; gap: 8px; align-items: center; } .dl-head h3 { margin: 0; flex: 1; font-size: 16px; }
.dl-x { background: none; border: 0; color: inherit; font-size: 16px; cursor: pointer; }
.dl-hint { opacity: .8; font-size: 12px; }
.dl-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 8px 0 12px; align-items: end; }
.dl-form label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.dl-form .dl-rules, .dl-form .dl-note { grid-column: 1 / -1; font-size: 12px; opacity: .85; }
.dl-note { font-size: 11px; opacity: .8; margin-top: 2px; }
.dl-form .dl-go { grid-column: 1 / -1; justify-self: start; padding: 5px 14px; }
.dl-row { padding: 8px 0; border-top: 1px solid #ffffff1a; font-size: 12px; }
.dl-row-b { display: flex; gap: 6px; margin-top: 4px; }
.dl-row-b .dl-danger { border-color: #ff5d73; color: #ff5d73; }
.dl-none { opacity: .7; padding: 6px 0; }
#dl-toasts { position: fixed; z-index: 2100; bottom: 16px; inset-inline-end: 16px; display: flex; flex-direction: column; gap: 6px; }
.dl-toast { padding: 6px 10px; border-radius: 6px; background: #1f2937; color: #e5e7eb; font-size: 12px; }
.dl-toast.bad { background: #7f1d1d; } .dl-toast.ok { background: #14532d; }
@media (max-width: 600px) { .dl-form { grid-template-columns: 1fr; } .dl-grid { grid-template-columns: auto 1fr; } }
