.lc-card {
  border: 1px solid rgba(26, 22, 18, 0.12);
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  max-width: 100%;
}

.lc-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.lc-toolbar__label {
  font-size: 0.8rem;
  color: #6b635a;
  white-space: nowrap;
}

.lc-script-select {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(26, 22, 18, 0.16);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 0.9rem;
  background: #fff;
  color: #2b241c;
}

.lc-reload,
.lc-retry {
  border: 1px solid rgba(26, 22, 18, 0.14);
  background: #f7f3ec;
  border-radius: 10px;
  min-width: 36px;
  height: 36px;
  cursor: pointer;
  color: #5c5044;
}

.lc-retry {
  margin-top: 8px;
  padding: 0 12px;
  height: auto;
  min-height: 34px;
}

.lc-prompt {
  margin: 0 0 6px;
  font-size: 0.86rem;
  color: #3d342b;
}

.lc-prompt-row {
  margin-bottom: 8px;
  padding: 6px;
  border-radius: 10px;
  background: #f7f3ec;
}

.lc-glyphs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.lc-glyph {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: #fff;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lc-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.lc-option {
  appearance: none;
  border: 1px solid rgba(26, 22, 18, 0.14);
  background: #fff;
  border-radius: 10px;
  padding: 8px 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lc-option:hover,
.lc-option:focus-visible {
  border-color: #c4a574;
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.22);
  outline: none;
}

.lc-option:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lc-option--done {
  border-color: #6f9f6a;
  background: #f3faf2;
}

.lc-status {
  min-height: 1.1em;
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #6b635a;
}

.lc-status--error {
  color: #a94442;
}

.lc-status--ok {
  color: #2f6b3a;
}

@media (max-width: 420px) {
  .lc-options {
    grid-template-columns: 1fr;
  }
}
