/* CafeDeck Console v4: small additions for the new screens. Uses the colours defined in console.css (:root). */
.check {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}
.checks {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink2);
}
.btn.ghost:hover {
  background: var(--bg);
}
.attn-item {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.mt {
  margin-top: 12px;
}
pre.small {
  margin: 0 0 12px;
  font: inherit;
  line-height: 1.5;
}
[data-theme='dark'] .btn.ghost {
  color: #d6dbf0;
  border-color: #3a4160;
}
[data-theme='dark'] .btn.ghost:hover {
  background: #262d4c;
}

/* v4.2: "Keep me signed in" tick box on the sign-in form */
.keep-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 2px 0 12px;
  font-size: 13px;
  cursor: pointer;
}
.keep-row input {
  margin-top: 3px;
}

/* v4.2: the Features tab. Each row is one switch: tick = on. */
.feat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 6px 18px;
}
.feat {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.feat input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.feat-sw {
  flex: none;
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: #c9cde0;
  position: relative;
  transition: background 0.15s;
}
.feat-sw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.feat input:checked + .feat-sw {
  background: var(--accent);
}
.feat input:checked + .feat-sw::after {
  transform: translateX(16px);
}
.feat input:focus-visible + .feat-sw {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.feat-t b {
  display: block;
  font-size: 14px;
}
.feat-t small {
  color: var(--muted);
  font-size: 12px;
}
