.lc-wrap {
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
}

.lc-card {
  width: 100%;
  max-width: 720px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.lc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.lc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.lc-unit-toggle {
  display: flex;
  gap: 0.25rem;
  background: var(--bg-page);
  border-radius: 8px;
  padding: 0.25rem;
}

.lc-unit-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.lc-unit-btn:hover {
  color: var(--text-main);
}

.lc-unit-active {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.lc-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.lc-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.lc-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.lc-chip:hover {
  color: var(--text-main);
}

.lc-chip-active {
  background: var(--text-muted);
  color: var(--bg-surface);
}

.lc-chip-icon {
  width: 14px;
  height: 14px;
  fill: currentcolor;
  opacity: 0.7;
}

.lc-chip-active .lc-chip-icon {
  opacity: 1;
}

.lc-input-group {
  flex: 1;
  min-width: 100px;
}

.lc-grow {
  flex: 2;
}

.lc-input-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.lc-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.2s;
}

.lc-input-wrap:focus-within {
  border-color: var(--text-main);
}

.lc-input {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  width: 60px;
  outline: none;
}

.lc-input-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: auto;
  transition: opacity 0.2s;
}

.lc-bulb-bar {
  display: flex;
  gap: 0.5rem;
}

.lc-bulb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.lc-bulb:hover {
  color: var(--text-main);
}

.lc-bulb-active {
  background: var(--text-muted);
  color: var(--bg-surface);
}

.lc-bulb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: transform 0.2s;
}

.lc-bulb:hover .lc-bulb-dot {
  transform: scale(1.3);
}

.lc-ambient-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.lc-ambient-btn:hover {
  color: var(--text-main);
}

.lc-ambient-active {
  background: var(--text-muted);
  color: var(--bg-surface);
}

.lc-plan-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-page);
  border: 2px solid var(--border-color);
  margin: 1rem 0;
  transition: border-color 0.3s;
}

.lc-plan-wrap.optimal {
  border-color: rgba(34, 197, 94, 0.5);
}

.lc-plan-wrap.insufficient {
  border-color: rgba(245, 158, 11, 0.5);
}

.lc-plan-wrap.excess {
  border-color: rgba(239, 68, 68, 0.5);
}

.lc-plan {
  width: 100%;
  height: 100%;
  display: block;
}

.lc-dial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-items: center;
}

.lc-dial-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.lc-dial {
  width: 100%;
  max-width: 120px;
  height: auto;
}

.lc-dial-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.lc-bulb-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  max-width: 140px;
  min-height: 50px;
  align-items: center;
}

.lc-status {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.lc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.lc-status-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.lc-status-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.lc-status-desc {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

.lc-status.optimal {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.06);
}

.lc-status.optimal .lc-status-dot {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.lc-status.optimal .lc-status-text {
  color: #22c55e;
}

.lc-status.insufficient {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.06);
}

.lc-status.insufficient .lc-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.lc-status.insufficient .lc-status-text {
  color: #f59e0b;
}

.lc-status.excess {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.06);
}

.lc-status.excess .lc-status-dot {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.lc-status.excess .lc-status-text {
  color: #ef4444;
}

.lc-victory {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
}

.lc-victory-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.lc-victory-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.lc-victory-label {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.lc-victory-value {
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.lc-export-btn {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.lc-export-btn:hover {
  border-color: var(--text-main);
  background: var(--bg-page);
}

.lc-manual-toggle {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.lc-manual-toggle:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
}

.lc-manual-toggle svg {
  width: 14px;
  height: 14px;
  fill: currentcolor;
}

.lc-manual {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-4px);
}

.lc-manual-open {
  max-height: 200px;
  padding-top: 0.75rem;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .lc-row {
    flex-direction: column;
  }

  .lc-dial-row {
    grid-template-columns: 1fr;
  }

  .lc-dial {
    max-width: 160px;
  }
}
