/* Lead Lock AR demo extras (on top of /app/app.css) */
.demobar {
  background: #17171a;
  color: #f5f5f2;
  font-size: 12.5px;
  text-align: center;
  padding: 6px 12px;
}
.demobar a {
  color: #ffc21a;
}
.demogo {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.dgo {
  min-height: 54px;
  border-radius: 999px;
  font: 700 17px var(--body);
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  cursor: pointer;
}
.dgo.main {
  background: #ffc21a;
  color: #17171a;
  border-color: #ffc21a;
}
.demomore {
  margin-top: 22px;
  text-align: center;
}
.demomore summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--mut);
  padding: 8px 0;
}
.demomore[open] summary {
  margin-bottom: 10px;
}
.demopins {
  margin-top: 18px;
  text-align: left;
}
.demopins .lr {
  padding: 9px 14px;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.dpin {
  font: 800 15px var(--display);
  letter-spacing: 0.12em;
  min-width: 78px;
}
button.del {
  background: transparent;
  color: var(--bad);
  border: 1.5px solid var(--bad);
}
.tblw {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.ht {
  margin: 0;
  font-size: 14px;
  width: 100%;
  border-collapse: collapse;
}
.ht th {
  color: var(--mut);
  border-bottom: 2px solid var(--ink);
  padding: 9px 10px;
  text-align: left;
}
.ht td {
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  color: var(--ink);
}
.ht .n {
  text-align: center;
}

/* crew live + settings rows */
.live {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.live .dot2 {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex: none;
}
.live .lv {
  flex: 1;
  min-width: 0;
}
.live .lv b {
  font: 700 16px var(--display);
}
.live .lv small {
  display: block;
  color: var(--mut);
  font-size: 12px;
  margin-top: 2px;
}
.lvtag {
  flex: none;
  font: 800 11px var(--body);
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1.5px solid var(--line);
  color: var(--mut);
}
.lvtag.onx {
  background: #2fd07a;
  border-color: #2fd07a;
  color: #17171a;
}
.sh3 {
  font: 800 16px var(--display);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.srow,
.addrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.addrow {
  border-top: 2px solid var(--line);
  margin-top: 6px;
}
.ef .srow input[data-cn],
.ef .addrow #sc_name {
  flex: 1 1 100%;
  width: auto;
  min-width: 0;
}
.pinw {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--mut);
  font-size: 13px;
  white-space: nowrap;
}
.ef .pinw input {
  width: 74px;
  flex: none;
  text-align: center;
  letter-spacing: 0.14em;
}
.rate {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: var(--mut);
  font-size: 13px;
}
.ef .rate input {
  width: 66px;
  flex: none;
}
.lr2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.list .lr2:first-child {
  border-top: 0;
}
.lr2 b {
  font: 700 15px var(--display);
}
.lr2 span {
  color: var(--mut);
  font-size: 13px;
}
.codebox {
  background: var(--tint);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.codebox b {
  font: 800 22px var(--display);
  letter-spacing: 0.14em;
}
.supnote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
}
.supnote svg,
.acc .badge svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.acc {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.acc:first-child {
  border-top: 0;
}
.acc .who2 {
  flex: 1 1 200px;
  min-width: 0;
}
.acc .who2 b {
  display: block;
  overflow-wrap: anywhere;
}
.acc .who2 span {
  color: var(--mut);
  font-size: 13px;
}
.acc .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 800 11px var(--body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--bg);
}
.rolenote select {
  margin-left: 8px;
  min-height: 30px;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
}
.rolenote a {
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 8px;
}
.invrow {
  margin: 10px 0;
  font-size: 14px;
}
.invlbl {
  display: block;
  margin-bottom: 4px;
}
.inv {
  display: inline-block;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
  word-break: break-all;
  margin-right: 8px;
  max-width: 100%;
}
.wkbars {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin: 6px 0 0;
}
.wkcol {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.wkh {
  font: 700 12px var(--body);
  min-height: 16px;
}
.wktrack {
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 2px 0;
}
.wkfill {
  width: 68%;
  background: var(--hi);
  border-radius: 6px 6px 0 0;
  min-height: 3px;
}
.wkd {
  font: 600 11px var(--body);
  color: var(--mut);
}

/* lock / auth / clock */
.lk {
  max-width: 400px;
  margin: 20px auto;
  text-align: center;
}
.lkmk {
  display: flex;
  justify-content: center;
}
.lkmk .rmk {
  width: 84px;
  height: 84px;
}
.lkby {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--mut);
  margin-top: 12px;
}
.lkby svg {
  width: 14px;
  height: 14px;
  color: var(--ink);
}
.auth {
  max-width: 380px;
  margin: 14px auto 0;
  text-align: left;
}
.auth .fld {
  margin: 10px 0;
}
.auth input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
}
.auth label {
  display: block;
  font-size: 13px;
  color: var(--mut);
  font-weight: 600;
  margin: 0 0 4px;
}
.auth .big {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  font-weight: 700;
}
.auth .alt {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
}
.auth .alt a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.err {
  color: var(--bad);
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  min-height: 18px;
  text-align: center;
}
.okmsg {
  color: var(--good);
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}
.seg {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0 4px;
  flex-wrap: wrap;
}
.dots {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 16px 0 6px;
}
.dots i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.dots i.on {
  background: var(--ink);
}
.pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px auto 0;
  max-width: 300px;
}
.pad button {
  height: 62px;
  font: 700 26px var(--display);
  border-radius: 16px;
}
.pad button:active {
  background: var(--hi);
}
.tcnow {
  text-align: center;
  margin: 8px 0 6px;
}
.tctime {
  font: 800 clamp(44px, 15vw, 74px)/1 var(--display);
  letter-spacing: -0.03em;
}
.tcresult {
  text-align: center;
  font: 800 20px var(--display);
  min-height: 26px;
  margin: 6px 0;
}
.tcresult.in {
  color: var(--good);
}
.tcresult.out {
  color: var(--ink);
}
.cfgwarn {
  max-width: 600px;
  margin: 16px auto;
  background: var(--btint);
  border: 1px solid var(--bad);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 14px;
}
.cfgwarn code {
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 13px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  z-index: 50;
  max-width: 92vw;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
.sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 10, 12, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.sheet .sbox {
  background: var(--panel);
  color: var(--ink);
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.sheet h3 {
  margin: 0 0 4px;
  font: 800 20px var(--display);
  letter-spacing: -0.01em;
}
.sheet .sbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}
.sheet .sbtn.go {
  background: var(--hi);
  border-color: var(--hi);
  color: #17171a;
}
.sheet .slink {
  margin-top: 10px;
  font-size: 12px;
  color: var(--mut);
  word-break: break-all;
}
@media (min-width: 700px) {
  .sheet {
    align-items: center;
  }
}
.hint {
  font-size: 13px;
  color: var(--mut);
  margin: 6px 0 0;
}
